kernel: bump 4.14 to 4.14.93
[openwrt/staging/chunkeey.git] / target / linux / brcm2708 / patches-4.14 / 950-0141-config-Add-PINCTRL_MCP23S08.patch
1 From aff7b255fa4482a1b98147eec74a1468ca50a5d5 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Sat, 23 Dec 2017 22:10:37 +0000
4 Subject: [PATCH 141/454] config: Add PINCTRL_MCP23S08
5
6 As of Linux 4.12, the mcp23s08 driver moved from drivers/gpio to
7 drivers/pinctrl. At the same time, the Kconfig symbols changed
8 from CONFIG_GPIO_MCP23S08 to CONFIG_PINCTRL_MCP23S08, effectively
9 removing the MCP23S17 from the downstream defconfigs. Restore
10 support by adding CONFIG_PINCTRL_MCP23S08.
11
12 See: https://github.com/raspberrypi/linux/issues/2311
13
14 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
15 ---
16 arch/arm/configs/bcm2709_defconfig | 1 +
17 arch/arm/configs/bcmrpi_defconfig | 1 +
18 2 files changed, 2 insertions(+)
19
20 --- a/arch/arm/configs/bcm2709_defconfig
21 +++ b/arch/arm/configs/bcm2709_defconfig
22 @@ -613,6 +613,7 @@ CONFIG_SPI_SLAVE=y
23 CONFIG_PPS=m
24 CONFIG_PPS_CLIENT_LDISC=m
25 CONFIG_PPS_CLIENT_GPIO=m
26 +CONFIG_PINCTRL_MCP23S08=m
27 CONFIG_GPIO_SYSFS=y
28 CONFIG_GPIO_BCM_EXP=y
29 CONFIG_GPIO_BCM_VIRT=y
30 --- a/arch/arm/configs/bcmrpi_defconfig
31 +++ b/arch/arm/configs/bcmrpi_defconfig
32 @@ -608,6 +608,7 @@ CONFIG_SPI_SLAVE=y
33 CONFIG_PPS=m
34 CONFIG_PPS_CLIENT_LDISC=m
35 CONFIG_PPS_CLIENT_GPIO=m
36 +CONFIG_PINCTRL_MCP23S08=m
37 CONFIG_GPIO_SYSFS=y
38 CONFIG_GPIO_PCF857X=m
39 CONFIG_GPIO_ARIZONA=m