x86/platform/intel-mid: Enable GPIO expanders on Edison
Subsystems (2)
PATCH v2 1/1 x86/platform/intel-mid: Enable GPIO expanders on Edison
Intel Edison board provides GPIO expanders connected to I2C bus. Add necessary file to get those enumerated.
Signed-off-by Andy Shevchenko <[email protected]>
---
In v2:
- fix indentation in struct definitions
arch/x86/platform/intel-mid/device_libs/Makefile | 6 +- .../intel-mid/device_libs/platform_pcal9555a.c | 99 ++++++++++++++++++++++ 2 files changed, 103 insertions(+), 2 deletions(-) create mode 100644 arch/x86/platform/intel-mid/device_libs/platform_pcal9555a.c
arch/x86/platform/intel-mid/device_libs/Makefile +4 -2
@@ -11,11 +11,13 @@ obj-$(subst m,y,$(CONFIG_INTEL_MFLD_THERMAL)) += platform_msic_thermal.o # I2C Devices obj-$(subst m,y,$(CONFIG_SENSORS_EMC1403)) += platform_emc1403.o obj-$(subst m,y,$(CONFIG_SENSORS_LIS3LV02D)) += platform_lis331.o -obj-$(subst m,y,$(CONFIG_GPIO_PCA953X)) += platform_max7315.o obj-$(subst m,y,$(CONFIG_INPUT_MPU3050)) += platform_mpu3050.o obj-$(subst m,y,$(CONFIG_INPUT_BMA150)) += platform_bma023.o -obj-$(subst m,y,$(CONFIG_GPIO_PCA953X)) += platform_tca6416.o obj-$(subst m,y,$(CONFIG_DRM_MEDFIELD)) += platform_tc35876x.o +# I2C GPIO Expanders +obj-$(subst m,y,$(CONFIG_GPIO_PCA953X)) += platform_max7315.o +obj-$(subst m,y,$(CONFIG_GPIO_PCA953X)) += platform_pcal9555a.o +obj-$(subst m,y,$(CONFIG_GPIO_PCA953X)) += platform_tca6416.o # MISC Devices obj-$(subst m,y,$(CONFIG_KEYBOARD_GPIO)) += platform_gpio_keys.o obj-$(subst m,y,$(CONFIG_INTEL_MID_WATCHDOG)) += platform_wdt.o
arch/x86/platform/intel-mid/device_libs/platform_pcal9555a.c new file +99 -0
99 lines not on this page · raw message
Signature · 1 line
2.8.1
tip-bot for Andy Shevchenko
merge botx86/platform/intel-mid: Enable GPIO expanders on Edison
Commit-ID: 00688272157d83e48d1369d7d11c479571324e40 Gitweb: http://git.kernel.org/tip/00688272157d83e48d1369d7d11c479571324e40 Author: Andy Shevchenko <[email protected]> AuthorDate: Wed, 15 Jun 2016 12:48:53 +0300 Committer: Ingo Molnar <[email protected]> CommitDate: Wed, 15 Jun 2016 12:52:54 +0200
x86/platform/intel-mid: Enable GPIO expanders on Edison
Intel Edison board provides GPIO expanders connected to I2C bus. Add necessary file to get those enumerated.
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/1465984133-41639-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 | 6 +- .../intel-mid/device_libs/platform_pcal9555a.c | 99 ++++++++++++++++++++++ 2 files changed, 103 insertions(+), 2 deletions(-)
arch/x86/platform/intel-mid/device_libs/Makefile +4 -2
@@ -11,11 +11,13 @@ obj-$(subst m,y,$(CONFIG_INTEL_MFLD_THERMAL)) += platform_msic_thermal.o # I2C Devices obj-$(subst m,y,$(CONFIG_SENSORS_EMC1403)) += platform_emc1403.o obj-$(subst m,y,$(CONFIG_SENSORS_LIS3LV02D)) += platform_lis331.o -obj-$(subst m,y,$(CONFIG_GPIO_PCA953X)) += platform_max7315.o obj-$(subst m,y,$(CONFIG_INPUT_MPU3050)) += platform_mpu3050.o obj-$(subst m,y,$(CONFIG_INPUT_BMA150)) += platform_bma023.o -obj-$(subst m,y,$(CONFIG_GPIO_PCA953X)) += platform_tca6416.o obj-$(subst m,y,$(CONFIG_DRM_MEDFIELD)) += platform_tc35876x.o +# I2C GPIO Expanders +obj-$(subst m,y,$(CONFIG_GPIO_PCA953X)) += platform_max7315.o +obj-$(subst m,y,$(CONFIG_GPIO_PCA953X)) += platform_pcal9555a.o +obj-$(subst m,y,$(CONFIG_GPIO_PCA953X)) += platform_tca6416.o # MISC Devices obj-$(subst m,y,$(CONFIG_KEYBOARD_GPIO)) += platform_gpio_keys.o obj-$(subst m,y,$(CONFIG_INTEL_MID_WATCHDOG)) += platform_wdt.o
arch/x86/platform/intel-mid/device_libs/platform_pcal9555a.c new file +99 -0
99 lines not on this page · raw message