Add pinctrl driver support for Amloigc SoCs Base on the previous discussion, https://lore.kernel.org/r/20241113-a4_pinctrl-v6-0-35ba2401ee35@xxxxxxxxxxx The existed meson driver failed to meet the requirement of the current dt-binding. So we start this new pinctrl driver to solve problem. The advantage of this version: Once the source file and binding document are added, adding dts node will be only operation for subsequent Amlogic SoCs (such as A4, A5). The code in DTS file is also readable when using GPIO, as below: reset-gpios = <&gpiob 6 GPIO_ACTIVE_LOW>; Signed-off-by: Xianwei Zhao <xianwei.zhao@xxxxxxxxxxx> --- Xianwei Zhao (3): dt-bindings: pinctrl: Add support for Amlogic SoCs pinctrl: Add driver support for Amlogic SoCs arm64: dts: amlogic: a4: add pinctrl node .../bindings/pinctrl/amlogic,pinctrl.yaml | 150 +++ arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi | 146 +++ drivers/pinctrl/Kconfig | 18 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-amlogic.c | 1190 ++++++++++++++++++++ include/dt-bindings/pinctrl/amlogic,pinctrl.h | 68 ++ 6 files changed, 1573 insertions(+) --- base-commit: 171aa289a6fe65faffeb92a1fda283c055435a62 change-id: 20241211-amlogic-pinctrl-22ea61820d0d Best regards, -- Xianwei Zhao <xianwei.zhao@xxxxxxxxxxx>