mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
40 lines
1.3 KiB
Diff
40 lines
1.3 KiB
Diff
|
From aff7b255fa4482a1b98147eec74a1468ca50a5d5 Mon Sep 17 00:00:00 2001
|
||
|
From: Phil Elwell <phil@raspberrypi.org>
|
||
|
Date: Sat, 23 Dec 2017 22:10:37 +0000
|
||
|
Subject: [PATCH 141/454] config: Add PINCTRL_MCP23S08
|
||
|
|
||
|
As of Linux 4.12, the mcp23s08 driver moved from drivers/gpio to
|
||
|
drivers/pinctrl. At the same time, the Kconfig symbols changed
|
||
|
from CONFIG_GPIO_MCP23S08 to CONFIG_PINCTRL_MCP23S08, effectively
|
||
|
removing the MCP23S17 from the downstream defconfigs. Restore
|
||
|
support by adding CONFIG_PINCTRL_MCP23S08.
|
||
|
|
||
|
See: https://github.com/raspberrypi/linux/issues/2311
|
||
|
|
||
|
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
|
||
|
---
|
||
|
arch/arm/configs/bcm2709_defconfig | 1 +
|
||
|
arch/arm/configs/bcmrpi_defconfig | 1 +
|
||
|
2 files changed, 2 insertions(+)
|
||
|
|
||
|
--- a/arch/arm/configs/bcm2709_defconfig
|
||
|
+++ b/arch/arm/configs/bcm2709_defconfig
|
||
|
@@ -613,6 +613,7 @@ CONFIG_SPI_SLAVE=y
|
||
|
CONFIG_PPS=m
|
||
|
CONFIG_PPS_CLIENT_LDISC=m
|
||
|
CONFIG_PPS_CLIENT_GPIO=m
|
||
|
+CONFIG_PINCTRL_MCP23S08=m
|
||
|
CONFIG_GPIO_SYSFS=y
|
||
|
CONFIG_GPIO_BCM_EXP=y
|
||
|
CONFIG_GPIO_BCM_VIRT=y
|
||
|
--- a/arch/arm/configs/bcmrpi_defconfig
|
||
|
+++ b/arch/arm/configs/bcmrpi_defconfig
|
||
|
@@ -608,6 +608,7 @@ CONFIG_SPI_SLAVE=y
|
||
|
CONFIG_PPS=m
|
||
|
CONFIG_PPS_CLIENT_LDISC=m
|
||
|
CONFIG_PPS_CLIENT_GPIO=m
|
||
|
+CONFIG_PINCTRL_MCP23S08=m
|
||
|
CONFIG_GPIO_SYSFS=y
|
||
|
CONFIG_GPIO_PCF857X=m
|
||
|
CONFIG_GPIO_ARIZONA=m
|