[PATCH] ramips: mt7621: enable SX150x driver

Stijn Segers foss at volatilesystems.org
Sat Feb 20 09:04:23 EST 2021


Hi,

Sander Vanheule <sander at svanheule.net> schreef op 20 februari 2021 14:45:26 CET:
>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.

Works fine here too.
>
>Cc: Stijn Segers <foss at volatilesystems.org>
>Cc: Hauke Mehrtens <hauke at hauke-m.de>
>Signed-off-by: Sander Vanheule <sander at svanheule.net>

Tested-by: Stijn Segers <foss at volatilesystems.org>

>---
> target/linux/ramips/mt7621/config-5.4 | 1 +
> 1 file changed, 1 insertion(+)
>
>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

-- 
Verstuurd vanaf mijn Android apparaat met K-9 Mail. Excuseer mijn beknoptheid.



More information about the openwrt-devel mailing list