linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] pinctrl: Add T-Head TH1520 SoC pin controllers
@ 2024-09-03  4:06 Drew Fustini
  2024-09-03  4:06 ` [PATCH 1/8] dt-bindings: pinctrl: Add thead,th1520-pinctrl bindings Drew Fustini
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Drew Fustini @ 2024-09-03  4:06 UTC (permalink / raw)
  To: Drew Fustini, Guo Ren, Fu Wei, Linus Walleij, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Emil Renner Berthing,
	Thomas Bonnefille, Paul Walmsley, Palmer Dabbelt, Albert Ou
  Cc: linux-riscv, linux-gpio, devicetree, linux-kernel, Drew Fustini

This adds a pin control driver created by Emil for the T-Head TH1520
RISC-V SoC used on the Lichee Pi 4A and BeagleV Ahead boards and
updates the device trees to make use of it.

Emil's series from January used separate compatibles for each pin
controller instance. Rob did not think this was appropriate because the
programming model is the same for each instance.

This series takes a different approach. There is now only a single
compatible for all pin controller instances. The pinctrl driver checks
the unit address to identity which pin controller instance is being
probed.

Link: https://lore.kernel.org/lkml/20240103132852.298964-1-emil.renner.berthing@canonical.com/

Signed-off-by: Drew Fustini <dfustini@tenstorrent.com>
---
Emil Renner Berthing (8):
      dt-bindings: pinctrl: Add thead,th1520-pinctrl bindings
      pinctrl: Add driver for the T-Head TH1520 SoC
      riscv: dts: thead: Add TH1520 pin control nodes
      riscv: dts: thead: Add TH1520 GPIO ranges
      riscv: dts: thead: Adjust TH1520 GPIO labels
      riscv: dts: thead: Add Lichee Pi 4M GPIO line names
      riscv: dts: thead: Add TH1520 pinctrl settings for UART0
      riscv: dtb: thead: Add BeagleV Ahead LEDs

 .../bindings/pinctrl/thead,th1520-pinctrl.yaml     | 165 ++++
 MAINTAINERS                                        |   2 +
 arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts |  87 ++
 .../boot/dts/thead/th1520-lichee-module-4a.dtsi    |  43 +
 arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts  |  28 +
 arch/riscv/boot/dts/thead/th1520.dtsi              |  62 +-
 drivers/pinctrl/Kconfig                            |  13 +
 drivers/pinctrl/Makefile                           |   1 +
 drivers/pinctrl/pinctrl-th1520.c                   | 906 +++++++++++++++++++++
 9 files changed, 1291 insertions(+), 16 deletions(-)
---
base-commit: 5be63fc19fcaa4c236b307420483578a56986a37
change-id: 20240902-th1520-pinctrl-d71de44acc66

Best regards,
-- 
Drew Fustini <dfustini@tenstorrent.com>


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

end of thread, other threads:[~2024-09-05 13:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-03  4:06 [PATCH 0/8] pinctrl: Add T-Head TH1520 SoC pin controllers Drew Fustini
2024-09-03  4:06 ` [PATCH 1/8] dt-bindings: pinctrl: Add thead,th1520-pinctrl bindings Drew Fustini
2024-09-03 15:18   ` Rob Herring
2024-09-03  4:06 ` [PATCH 2/8] pinctrl: Add driver for the T-Head TH1520 SoC Drew Fustini
2024-09-05 13:12   ` Linus Walleij
2024-09-03  4:06 ` [PATCH 3/8] riscv: dts: thead: Add TH1520 pin control nodes Drew Fustini
2024-09-03  4:06 ` [PATCH 4/8] riscv: dts: thead: Add TH1520 GPIO ranges Drew Fustini
2024-09-03  4:06 ` [PATCH 5/8] riscv: dts: thead: Adjust TH1520 GPIO labels Drew Fustini
2024-09-03  4:06 ` [PATCH 6/8] riscv: dts: thead: Add Lichee Pi 4M GPIO line names Drew Fustini
2024-09-03  4:07 ` [PATCH 7/8] riscv: dts: thead: Add TH1520 pinctrl settings for UART0 Drew Fustini
2024-09-03  4:07 ` [PATCH 8/8] riscv: dtb: thead: Add BeagleV Ahead LEDs Drew Fustini
2024-09-05 11:46 ` [PATCH 0/8] pinctrl: Add T-Head TH1520 SoC pin controllers Linus Walleij

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).