From: Sander Vanheule Date: Sat, 20 Feb 2021 13:45:26 +0000 (+0100) Subject: ramips: mt7621: enable SX150x driver X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=773949c152f7378a303919e790210113012fea04;p=openwrt%2Fstaging%2Fstintel.git ramips: mt7621: enable SX150x driver The Netgear R6800 and R6700v2 devices have a Semtech SX1503 GPIO expander controlling the device LEDs. This expander was initially supported on 4.14, but support was lost in the transition to 5.4. Since this driver cannot be built as a kernel module, enable it in the kernel config for all mt7621 devices. Run-tested on a Netgear R6800. Cc: Stijn Segers Cc: Hauke Mehrtens Signed-off-by: Sander Vanheule Tested-by: Stijn Segers --- diff --git a/target/linux/ramips/mt7621/config-5.4 b/target/linux/ramips/mt7621/config-5.4 index fba22a39cf..057c782760 100644 --- a/target/linux/ramips/mt7621/config-5.4 +++ b/target/linux/ramips/mt7621/config-5.4 @@ -210,6 +210,7 @@ CONFIG_PHYLINK=y CONFIG_PINCTRL=y CONFIG_PINCTRL_RT2880=y # CONFIG_PINCTRL_SINGLE is not set +CONFIG_PINCTRL_SX150X=y CONFIG_POWER_RESET=y CONFIG_POWER_RESET_GPIO=y CONFIG_POWER_SUPPLY=y