devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Add support for nuvoton ma35d1 pin control
@ 2023-11-28  6:11 Jacky Huang
  2023-11-28  6:11 ` [PATCH v2 1/4] dt-bindings: reset: Add syscon to nuvoton ma35d1 system-management node Jacky Huang
                   ` (3 more replies)
  0 siblings, 4 replies; 36+ messages in thread
From: Jacky Huang @ 2023-11-28  6:11 UTC (permalink / raw)
  To: linus.walleij, robh+dt, krzysztof.kozlowski+dt, conor+dt, p.zabel,
	j.neuschaefer
  Cc: linux-arm-kernel, linux-gpio, devicetree, linux-kernel, ychuang3,
	schung

From: Jacky Huang <ychuang3@nuvoton.com>

This patch series adds the pin control and GPIO driver for the nuvoton ma35d1
ARMv8 SoC. It includes DT binding documentation, the ma35d1 pin control driver,
and device tree updates.

This pin control driver has been tested on the ma35d1 som board with Linux 6.7.

v2:
  - Update nuvoton,ma35d1-pinctrl.yaml
    - Update the 'nuvoton,pins' to follow the style of rockchip pinctrl approch.
    - Use power-source to indicate the pin voltage selection which follow the
      realtek pinctrl approch.
    - Instead of integer, use drive-strength-microamp to specify the real driving
      strength capability of IO pins.
  - Update ma35d1 pinctrl driver
    - Add I/O drive strength lookup table for translating device tree setting
      into control register.
  - Remove ma35d1-pinfunc.h which is unused after update definition of 'nuvoton,pins'.

Jacky Huang (4):
  dt-bindings: reset: Add syscon to nuvoton ma35d1 system-management
    node
  dt-bindings: pinctrl: Document nuvoton ma35d1 pin control
  arm64: dts: nuvoton: Add pinctrl support for ma35d1
  pinctrl: nuvoton: Add ma35d1 pinctrl and GPIO driver

 .../pinctrl/nuvoton,ma35d1-pinctrl.yaml       |  189 ++
 .../bindings/reset/nuvoton,ma35d1-reset.yaml  |    3 +-
 .../boot/dts/nuvoton/ma35d1-iot-512m.dts      |   70 +-
 .../boot/dts/nuvoton/ma35d1-som-256m.dts      |   73 +-
 arch/arm64/boot/dts/nuvoton/ma35d1.dtsi       |  159 +-
 drivers/pinctrl/nuvoton/Kconfig               |   22 +
 drivers/pinctrl/nuvoton/Makefile              |    2 +
 drivers/pinctrl/nuvoton/pinctrl-ma35.c        | 1244 ++++++++++++
 drivers/pinctrl/nuvoton/pinctrl-ma35.h        |   50 +
 drivers/pinctrl/nuvoton/pinctrl-ma35d1.c      | 1797 +++++++++++++++++
 10 files changed, 3599 insertions(+), 10 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/nuvoton,ma35d1-pinctrl.yaml
 create mode 100644 drivers/pinctrl/nuvoton/pinctrl-ma35.c
 create mode 100644 drivers/pinctrl/nuvoton/pinctrl-ma35.h
 create mode 100644 drivers/pinctrl/nuvoton/pinctrl-ma35d1.c

-- 
2.34.1


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

end of thread, other threads:[~2023-11-30  8:23 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-28  6:11 [PATCH v2 0/4] Add support for nuvoton ma35d1 pin control Jacky Huang
2023-11-28  6:11 ` [PATCH v2 1/4] dt-bindings: reset: Add syscon to nuvoton ma35d1 system-management node Jacky Huang
2023-11-28  7:32   ` Krzysztof Kozlowski
2023-11-29 10:28   ` Philipp Zabel
2023-11-28  6:11 ` [PATCH v2 2/4] dt-bindings: pinctrl: Document nuvoton ma35d1 pin control Jacky Huang
2023-11-28  7:23   ` Rob Herring
2023-11-28  7:34   ` Krzysztof Kozlowski
2023-11-28  8:29     ` Jacky Huang
2023-11-28  8:33       ` Krzysztof Kozlowski
2023-11-28  9:32         ` Jacky Huang
2023-11-28  9:35           ` Krzysztof Kozlowski
2023-11-28 11:00             ` Jacky Huang
2023-11-28  6:11 ` [PATCH v2 3/4] arm64: dts: nuvoton: Add pinctrl support for ma35d1 Jacky Huang
2023-11-28  7:35   ` Krzysztof Kozlowski
2023-11-28  8:37     ` Jacky Huang
2023-11-28  9:34       ` Krzysztof Kozlowski
2023-11-28 10:45         ` Jacky Huang
2023-11-28 11:06           ` Krzysztof Kozlowski
2023-11-29  3:35             ` Jacky Huang
2023-11-29  8:11               ` Krzysztof Kozlowski
2023-11-29  9:41                 ` Jacky Huang
2023-11-29 10:02                   ` Krzysztof Kozlowski
2023-11-29 10:14                     ` Jacky Huang
2023-11-29 10:54                       ` Krzysztof Kozlowski
2023-11-30  1:10                         ` Jacky Huang
2023-11-30  8:04                           ` Krzysztof Kozlowski
2023-11-30  8:23                             ` Jacky Huang
2023-11-28 11:03   ` Krzysztof Kozlowski
2023-11-28 11:05     ` Jacky Huang
2023-11-29  1:43     ` Jacky Huang
2023-11-28 11:04   ` Krzysztof Kozlowski
2023-11-29  1:11   ` kernel test robot
2023-11-29  1:11   ` kernel test robot
2023-11-28  6:11 ` [PATCH v2 4/4] pinctrl: nuvoton: Add ma35d1 pinctrl and GPIO driver Jacky Huang
2023-11-28 10:14   ` Linus Walleij
2023-11-29  4:18     ` Jacky Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).