Linux GPIO subsystem development
 help / color / mirror / Atom feed
* [PATCH RFC 0/3] Pinctrl: Add Amlogic pinctrl driver
@ 2024-12-11  6:47 Xianwei Zhao via B4 Relay
  2024-12-11  6:47 ` [PATCH RFC 1/3] dt-bindings: pinctrl: Add support for Amlogic SoCs Xianwei Zhao via B4 Relay
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Xianwei Zhao via B4 Relay @ 2024-12-11  6:47 UTC (permalink / raw)
  To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Neil Armstrong, Kevin Hilman, Jerome Brunet, Martin Blumenstingl
  Cc: linux-gpio, devicetree, linux-kernel, linux-arm-kernel,
	linux-amlogic, Xianwei Zhao

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@amlogic.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@amlogic.com>



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-12-31  8:26 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-11  6:47 [PATCH RFC 0/3] Pinctrl: Add Amlogic pinctrl driver Xianwei Zhao via B4 Relay
2024-12-11  6:47 ` [PATCH RFC 1/3] dt-bindings: pinctrl: Add support for Amlogic SoCs Xianwei Zhao via B4 Relay
2024-12-17 14:20   ` Rob Herring
2024-12-18  8:47     ` Xianwei Zhao
2024-12-11  6:47 ` [PATCH RFC 2/3] pinctrl: Add driver " Xianwei Zhao via B4 Relay
2024-12-17 14:49   ` Linus Walleij
2024-12-17 14:53     ` Neil Armstrong
2024-12-18  9:37     ` Xianwei Zhao
2024-12-22  9:08       ` Linus Walleij
2024-12-26  7:49         ` Xianwei Zhao
2024-12-27 17:19         ` Linus Walleij
2024-12-27 21:01           ` Martin Blumenstingl
2024-12-31  8:26           ` Xianwei Zhao
2024-12-11  6:47 ` [PATCH RFC 3/3] arm64: dts: amlogic: a4: add pinctrl node Xianwei Zhao via B4 Relay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox