x86/platform/intel-mid: Enable spidev on Intel Edison
Subsystems (2)
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.
Cc Dan O'Donovan <[email protected]>
Signed-off-by Andy Shevchenko <[email protected]>
--- 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
@@ -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
tip-bot for Andy Shevchenko
merge bot[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.
Signed-off-by Andy Shevchenko <[email protected]>
Cc Dan O'Donovan <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Thomas Gleixner <[email protected]>
Link http://lkml.kernel.org/r/1467677690-90007-1-git-send-email-andriy.shevchenko@linux.intel.com open here
Signed-off-by Ingo Molnar <[email protected]>
--- 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
@@ -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