[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID:
<IA1PR20MB495374DB8C4208575AAC9675BB972@IA1PR20MB4953.namprd20.prod.outlook.com>
Date: Sat, 31 Aug 2024 06:38:40 +0800
From: Inochi Amaoto <inochiama@...look.com>
To: Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Chen Wang <unicorn_wang@...look.com>,
Inochi Amaoto <inochiama@...look.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>,
Jisheng Zhang <jszhang@...nel.org>,
Haylen Chu <heylenay@...look.com>
Cc: devicetree@...r.kernel.org,
linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v5 0/2] riscv: sophgo: Add pinctrl support for CV1800 series SoC
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
Powered by blists - more mailing lists