public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/2] riscv: sophgo: Add pinctrl support for CV1800 series SoC
@ 2024-08-30 22:38 Inochi Amaoto
  2024-08-30 22:39 ` [PATCH v5 1/2] riscv: dts: sophgo: cv1800b: add pinctrl support Inochi Amaoto
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Inochi Amaoto @ 2024-08-30 22:38 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Chen Wang,
	Inochi Amaoto, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Jisheng Zhang, Haylen Chu
  Cc: devicetree, linux-riscv, linux-kernel

Add basic pinctrl driver for Sophgo CV1800 series SoCs.
This patch series aims to replace the previous patch from Jisheng [1].
Since the pinctrl of cv1800 has nested mux and its pin definination
is discrete, it is not suitable to use "pinctrl-single" to cover the
pinctrl device.

This patch require another patch [2] that provides standard attribute
"input-schmitt-microvolt"

The v4 version is from [3]

Note: As current documentation is not enough to guess the pin
configuration of Huashan Pi, only the pinctrl node is added.

[1] https://lore.kernel.org/linux-riscv/20231113005702.2467-1-jszhang@kernel.org/
[2] https://lore.kernel.org/all/IA1PR20MB495346246245074234D337A6BBAC2@IA1PR20MB4953.namprd20.prod.outlook.com/
[3] https://lore.kernel.org/all/IA1PR20MB4953DC78BB0FE0C57EA94F91BBB32@IA1PR20MB4953.namprd20.prod.outlook.com/

Changed from v4:
1. remove the alreay applied patch
2. fix 1812h header file problem.

Changed from v3:
1. binding: drop unnecessary type
2. binding: use right ref for pin node.
3. binding: remove mixed spaces and tabs.

Changed from v2:
1. remove unused export function.
2. drop "drive-strength" and only use "drive-strength-microamp" in
the binding.
3. drop unnecessary ref in the binding.
4. drop unnecessary entry for binding example.

Changed from v1:
1. replace attribute "sophgo,bus-holder" with standard "bias-bus-hold".
2. replace attribute "input-schmitt" with "input-schmitt-microvolt".
3. add vddio operations support to report pin state.

Inochi Amaoto (2):
  riscv: dts: sophgo: cv1800b: add pinctrl support
  riscv: dts: sophgo: cv1812h: add pinctrl support

 .../boot/dts/sophgo/cv1800b-milkv-duo.dts     | 49 +++++++++++++++++++
 arch/riscv/boot/dts/sophgo/cv1800b.dtsi       | 10 ++++
 arch/riscv/boot/dts/sophgo/cv1812h.dtsi       | 10 ++++
 3 files changed, 69 insertions(+)

--
2.46.0


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

end of thread, other threads:[~2024-09-11 22:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-30 22:38 [PATCH v5 0/2] riscv: sophgo: Add pinctrl support for CV1800 series SoC Inochi Amaoto
2024-08-30 22:39 ` [PATCH v5 1/2] riscv: dts: sophgo: cv1800b: add pinctrl support Inochi Amaoto
2024-08-30 22:39 ` [PATCH v5 2/2] riscv: dts: sophgo: cv1812h: " Inochi Amaoto
2024-09-09 14:41 ` [PATCH v5 0/2] riscv: sophgo: Add pinctrl support for CV1800 series SoC Conor Dooley
2024-09-09 22:24   ` Inochi Amaoto
2024-09-10 16:13     ` Conor Dooley
2024-09-10 22:25       ` Inochi Amaoto
2024-09-11 19:11         ` Conor Dooley
2024-09-11 22:43           ` Inochi Amaoto
2024-09-11 22:51             ` Conor Dooley

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