aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSander Vanheule <sander@svanheule.net>2021-02-20 14:45:26 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2021-02-23 21:10:56 +0100
commit773949c152f7378a303919e790210113012fea04 (patch)
tree9013685cf5f27f327523c3518b913763d99a73f1
parentd1dfb577f1c0d5b1f1fa35000c9ad7abdb7d10ed (diff)
downloadupstream-773949c152f7378a303919e790210113012fea04.tar.gz
upstream-773949c152f7378a303919e790210113012fea04.tar.bz2
upstream-773949c152f7378a303919e790210113012fea04.zip
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 <foss@volatilesystems.org> Cc: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Sander Vanheule <sander@svanheule.net> Tested-by: Stijn Segers <foss@volatilesystems.org>
-rw-r--r--target/linux/ramips/mt7621/config-5.41
1 files changed, 1 insertions, 0 deletions
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