[RFC PATCH 3/7] realtek: add pinctrl for Realtek maple

Sander Vanheule sander at svanheule.net
Sat Jul 16 12:22:33 PDT 2022


On Sat, 2022-07-16 at 21:09 +0200, Sander Vanheule wrote:
> Adds a pin control driver for RTL838x managed gigabit switch SoCs, and
> RTL833x managed fast ethernet switch SoCs, both codenamed "Maple". Only
> RTL838x has been tested, but functionality should be near identical.
> 
> Since control bits for different muxes are scattered throughout the
> switch core's register space, pin control features are provided by a
> table of regmap fields. This should be flexible enough to allow
> extension to other SoC generations providing similar features.
> 
> Signed-off-by: Sander Vanheule <sander at svanheule.net>
> ---
>  .../drivers/leds/leds-rtl-switch-port.c       | 668 ++++++++++++++++++
>  ...inctrl-add-pinctrl-for-Realtek-maple.patch |  51 ++
>  target/linux/realtek/rtl838x/config-5.10      |   1 +
>  3 files changed, 720 insertions(+)
>  create mode 100644 target/linux/realtek/files-5.10/drivers/leds/leds-rtl-
> switch-port.c
>  create mode 100644 target/linux/realtek/patches-5.10/201-pinctrl-add-pinctrl-
> for-Realtek-maple.patch

It appears I have mixed up the contents and description of the pinctrl and leds
patches. The end result of applying both will be the same, but applying only the
first won't work. Sorry the trouble.

Best,
Sander



More information about the openwrt-devel mailing list