0425-config-Add-driver-for-mcp23017-I2C-GPIO-expander.patch 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. From 6ff62ca3589f88112cddf0b61d708a784b3283f4 Mon Sep 17 00:00:00 2001
  2. From: Phil Elwell <phil@raspberrypi.org>
  3. Date: Thu, 14 Jul 2016 10:40:20 +0100
  4. Subject: [PATCH] config: Add driver for mcp23017 I2C GPIO expander
  5. There is already an overlay for the mcp23017 I2C GPIO expander,
  6. but it does nothing without the required driver module.
  7. Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  8. ---
  9. arch/arm/configs/bcm2709_defconfig | 3 ++-
  10. arch/arm/configs/bcmrpi_defconfig | 3 ++-
  11. 2 files changed, 4 insertions(+), 2 deletions(-)
  12. --- a/arch/arm/configs/bcm2709_defconfig
  13. +++ b/arch/arm/configs/bcm2709_defconfig
  14. @@ -619,6 +619,7 @@ CONFIG_GPIO_SYSFS=y
  15. CONFIG_GPIO_BCM_VIRT=y
  16. CONFIG_GPIO_ARIZONA=m
  17. CONFIG_GPIO_STMPE=y
  18. +CONFIG_GPIO_MCP23S08=m
  19. CONFIG_W1=m
  20. CONFIG_W1_MASTER_DS2490=m
  21. CONFIG_W1_MASTER_DS2482=m
  22. @@ -867,9 +868,9 @@ CONFIG_SND_BCM2708_SOC_JUSTBOOM_DIGI=m
  23. CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC=m
  24. CONFIG_SND_BCM2708_SOC_IQAUDIO_DIGI=m
  25. CONFIG_SND_BCM2708_SOC_RASPIDAC3=m
  26. +CONFIG_SND_BCM2708_SOC_ADAU1977_ADC=m
  27. CONFIG_SND_AUDIOINJECTOR_PI_SOUNDCARD=m
  28. CONFIG_SND_DIGIDAC1_SOUNDCARD=m
  29. -CONFIG_SND_BCM2708_SOC_ADAU1977_ADC=m
  30. CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO=m
  31. CONFIG_SND_SOC_ADAU1701=m
  32. CONFIG_SND_SOC_WM8804_I2C=m
  33. --- a/arch/arm/configs/bcmrpi_defconfig
  34. +++ b/arch/arm/configs/bcmrpi_defconfig
  35. @@ -611,6 +611,7 @@ CONFIG_PPS_CLIENT_GPIO=m
  36. CONFIG_GPIO_SYSFS=y
  37. CONFIG_GPIO_ARIZONA=m
  38. CONFIG_GPIO_STMPE=y
  39. +CONFIG_GPIO_MCP23S08=m
  40. CONFIG_W1=m
  41. CONFIG_W1_MASTER_DS2490=m
  42. CONFIG_W1_MASTER_DS2482=m
  43. @@ -859,9 +860,9 @@ CONFIG_SND_BCM2708_SOC_JUSTBOOM_DIGI=m
  44. CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC=m
  45. CONFIG_SND_BCM2708_SOC_IQAUDIO_DIGI=m
  46. CONFIG_SND_BCM2708_SOC_RASPIDAC3=m
  47. +CONFIG_SND_BCM2708_SOC_ADAU1977_ADC=m
  48. CONFIG_SND_AUDIOINJECTOR_PI_SOUNDCARD=m
  49. CONFIG_SND_DIGIDAC1_SOUNDCARD=m
  50. -CONFIG_SND_BCM2708_SOC_ADAU1977_ADC=m
  51. CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO=m
  52. CONFIG_SND_SOC_ADAU1701=m
  53. CONFIG_SND_SOC_WM8804_I2C=m