[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241211-amlogic-pinctrl-v1-0-410727335119@amlogic.com>
Date: Wed, 11 Dec 2024 14:47:48 +0800
From: Xianwei Zhao via B4 Relay <devnull+xianwei.zhao.amlogic.com@...nel.org>
To: Linus Walleij <linus.walleij@...aro.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Neil Armstrong <neil.armstrong@...aro.org>,
Kevin Hilman <khilman@...libre.com>, Jerome Brunet <jbrunet@...libre.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>
Cc: linux-gpio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-amlogic@...ts.infradead.org, Xianwei Zhao <xianwei.zhao@...ogic.com>
Subject: [PATCH RFC 0/3] Pinctrl: Add Amlogic pinctrl driver
Add pinctrl driver support for Amloigc SoCs
Base on the previous discussion,
https://lore.kernel.org/r/20241113-a4_pinctrl-v6-0-35ba2401ee35@amlogic.com
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@...ogic.com>
---
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@...ogic.com>
Powered by blists - more mailing lists