On Wed, Jun 18, 2025 at 09:54:55AM +0000, Yao Zi wrote:
> The SoC pads of TH1520 are separated into three groups (AP 1, AP 2 and
> AON) controlled by independent pin controllers. This patch ports their
> driver from Linux kernel with most code for setting pinconf and pinmux
> kept as is.
> 
> The dt-binding of TH1520 pin controller uses a schema where pins to
> configure are specfied as strings and looked up at runtime, which the
> generic pinctrl helpers of U-Boot cannot parse, thus a customized
> set_state() callback is implemented to parse pinconfig nodes and setup
> the configuration.
> 
> Signed-off-by: Yao Zi <zi...@disroot.org>
> ---
>  MAINTAINERS                      |   1 +
>  drivers/pinctrl/Kconfig          |   8 +
>  drivers/pinctrl/Makefile         |   1 +
>  drivers/pinctrl/pinctrl-th1520.c | 700 +++++++++++++++++++++++++++++++
>  4 files changed, 710 insertions(+)
>  create mode 100644 drivers/pinctrl/pinctrl-th1520.c

Acked-by: Leo Yu-Chi Liang <ycli...@andestech.com>

Reply via email to