Skip to contentSkip to conversation

x86/platform/intel-mid: Enable spidev on Intel Edison

PATCH New Andy Shevchenko 2 participants 2 messages Jul 5, 2016 – Jul 8, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/platform/intel-mid: Enable spidev on Intel Edison

Intel Edison board provides one of the SPI bus for user's connected devices.

Append platform data to get spidev enumerated over it.

---
 arch/x86/platform/intel-mid/device_libs/Makefile   |  2 +
 .../intel-mid/device_libs/platform_spidev.c        | 50 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 arch/x86/platform/intel-mid/device_libs/platform_spidev.c
arch/x86/platform/intel-mid/device_libs/Makefile +2 -0
index c940b15..f9c52fb 100644
@@ -10,6 +10,8 @@ obj-$(subst m,y,$(CONFIG_MFD_INTEL_MSIC)) += platform_msic_battery.o
 obj-$(subst m,y,$(CONFIG_INTEL_MID_POWER_BUTTON)) += platform_msic_power_btn.o
 obj-$(subst m,y,$(CONFIG_GPIO_INTEL_PMIC)) += platform_pmic_gpio.o
 obj-$(subst m,y,$(CONFIG_INTEL_MFLD_THERMAL)) += platform_msic_thermal.o
+# SPI Devices
+obj-$(subst m,y,$(CONFIG_SPI_SPIDEV)) += platform_spidev.o
 # I2C Devices
 obj-$(subst m,y,$(CONFIG_SENSORS_EMC1403)) += platform_emc1403.o
 obj-$(subst m,y,$(CONFIG_SENSORS_LIS3LV02D)) += platform_lis331.o
arch/x86/platform/intel-mid/device_libs/platform_spidev.c new file +50 -0

50 lines not on this page · raw message

Signature · 1 line
2.8.1
#1 lore raw

[tip:x86/platform] x86/platform/intel-mid: Enable spidev on Intel Edison boards

x86/platform/intel-mid: Enable spidev on Intel Edison boards
Commit-ID:  e81e11bc71573709352a5275e175a4b2ee1325e5
Gitweb:     http://git.kernel.org/tip/e81e11bc71573709352a5275e175a4b2ee1325e5
Author:     Andy Shevchenko <[email protected]>
AuthorDate: Tue, 5 Jul 2016 03:14:50 +0300
Committer:  Ingo Molnar <[email protected]>
CommitDate: Fri, 8 Jul 2016 11:15:34 +0200

x86/platform/intel-mid: Enable spidev on Intel Edison boards

Intel Edison board provides one of the SPI bus for user's connected devices.

Append platform data to get spidev enumerated over it.

---
 arch/x86/platform/intel-mid/device_libs/Makefile   |  2 +
 .../intel-mid/device_libs/platform_spidev.c        | 50 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)
arch/x86/platform/intel-mid/device_libs/Makefile +2 -0
index 79e97ed..fc135bf 100644
@@ -10,6 +10,8 @@ obj-$(subst m,y,$(CONFIG_MFD_INTEL_MSIC)) += platform_msic_battery.o
 obj-$(subst m,y,$(CONFIG_INTEL_MID_POWER_BUTTON)) += platform_msic_power_btn.o
 obj-$(subst m,y,$(CONFIG_GPIO_INTEL_PMIC)) += platform_pmic_gpio.o
 obj-$(subst m,y,$(CONFIG_INTEL_MFLD_THERMAL)) += platform_msic_thermal.o
+# SPI Devices
+obj-$(subst m,y,$(CONFIG_SPI_SPIDEV)) += platform_spidev.o
 # I2C Devices
 obj-$(subst m,y,$(CONFIG_SENSORS_EMC1403)) += platform_emc1403.o
 obj-$(subst m,y,$(CONFIG_SENSORS_LIS3LV02D)) += platform_lis331.o
arch/x86/platform/intel-mid/device_libs/platform_spidev.c new file +50 -0

50 lines not on this page · raw message