devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] arm64: dts: rockchip: Update Radxa E52C support
@ 2025-09-01 10:00 Chukun Pan
  2025-09-01 10:00 ` [PATCH v3 1/3] arm64: dts: rockchip: disable display subsystem for Radxa E52C Chukun Pan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chukun Pan @ 2025-09-01 10:00 UTC (permalink / raw)
  To: Heiko Stuebner
  Cc: Chukun Pan, FUKAUMI Naoki, Conor Dooley, Krzysztof Kozlowski,
	Rob Herring, linux-arm-kernel, linux-rockchip, linux-kernel,
	devicetree

Changed from v3:
  Add vcc_3v3_pmu label to vcc_3v3_s3

Changed from v2:
  Remove merged patches
  Remove VCC_3V3_PMU for Radxa E52C (new)
  Update pinctrl names for Radxa E52C (new)
  Update commit message for disabling display subsystem

Chukun Pan (3):
  arm64: dts: rockchip: disable display subsystem for Radxa E52C
  arm64: dts: rockchip: remove vcc_3v3_pmu regulator for Radxa E52C
  arm64: dts: rockchip: update pinctrl names for Radxa E52C

 .../boot/dts/rockchip/rk3582-radxa-e52c.dts   | 30 ++++++++-----------
 1 file changed, 12 insertions(+), 18 deletions(-)

-- 
2.25.1


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

* [PATCH v3 1/3] arm64: dts: rockchip: disable display subsystem for Radxa E52C
  2025-09-01 10:00 [PATCH v3 0/3] arm64: dts: rockchip: Update Radxa E52C support Chukun Pan
@ 2025-09-01 10:00 ` Chukun Pan
  2025-09-01 10:00 ` [PATCH v3 2/3] arm64: dts: rockchip: remove vcc_3v3_pmu regulator " Chukun Pan
  2025-09-01 10:00 ` [PATCH v3 3/3] arm64: dts: rockchip: update pinctrl names " Chukun Pan
  2 siblings, 0 replies; 4+ messages in thread
From: Chukun Pan @ 2025-09-01 10:00 UTC (permalink / raw)
  To: Heiko Stuebner
  Cc: Chukun Pan, FUKAUMI Naoki, Conor Dooley, Krzysztof Kozlowski,
	Rob Herring, linux-arm-kernel, linux-rockchip, linux-kernel,
	devicetree

The Radxa E52C SBC do not have HDMI output, so disable
the display subsystem to avoid the following error log:

*ERROR* No available vop found for display-subsystem.

Fixes: 9be4171219b6 ("arm64: dts: rockchip: Add Radxa E52C")
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
---
 arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts b/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts
index 48ddc43e2ab5..1883bd183396 100644
--- a/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts
@@ -207,6 +207,10 @@ &cpu_l3 {
 	cpu-supply = <&vdd_cpu_lit_s0>;
 };
 
+&display_subsystem {
+	status = "disabled";
+};
+
 &i2c0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c0m2_xfer>;
-- 
2.25.1


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

* [PATCH v3 2/3] arm64: dts: rockchip: remove vcc_3v3_pmu regulator for Radxa E52C
  2025-09-01 10:00 [PATCH v3 0/3] arm64: dts: rockchip: Update Radxa E52C support Chukun Pan
  2025-09-01 10:00 ` [PATCH v3 1/3] arm64: dts: rockchip: disable display subsystem for Radxa E52C Chukun Pan
@ 2025-09-01 10:00 ` Chukun Pan
  2025-09-01 10:00 ` [PATCH v3 3/3] arm64: dts: rockchip: update pinctrl names " Chukun Pan
  2 siblings, 0 replies; 4+ messages in thread
From: Chukun Pan @ 2025-09-01 10:00 UTC (permalink / raw)
  To: Heiko Stuebner
  Cc: Chukun Pan, FUKAUMI Naoki, Conor Dooley, Krzysztof Kozlowski,
	Rob Herring, linux-arm-kernel, linux-rockchip, linux-kernel,
	devicetree

According to Radxa E52C Schematic V1.2 [1] page 5, vcc_3v3_pmu
is directly connected to vcc_3v3_s3 via a 0 ohm resistor.
The vcc_3v3_pmu is not a new regulator, so remove it.

[1] https://dl.radxa.com/e/e52c/hw/radxa_e52c_v1.2_schematic.pdf

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
---
 arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts b/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts
index 1883bd183396..302a30e423ad 100644
--- a/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts
@@ -98,16 +98,6 @@ vcc_1v1_nldo_s3: regulator-1v1 {
 		vin-supply = <&vcc_sysin>;
 	};
 
-	vcc_3v3_pmu: regulator-3v3-0 {
-		compatible = "regulator-fixed";
-		regulator-name = "vcc_3v3_pmu";
-		regulator-always-on;
-		regulator-boot-on;
-		regulator-min-microvolt = <3300000>;
-		regulator-max-microvolt = <3300000>;
-		vin-supply = <&vcc_3v3_s3>;
-	};
-
 	vcc_3v3_s0: regulator-3v3-1 {
 		compatible = "regulator-fixed";
 		regulator-name = "vcc_3v3_s0";
@@ -542,7 +532,7 @@ regulator-state-mem {
 				};
 			};
 
-			vcc_3v3_s3: dcdc-reg8 {
+			vcc_3v3_s3: vcc_3v3_pmu: dcdc-reg8 {
 				regulator-name = "vcc_3v3_s3";
 				regulator-always-on;
 				regulator-boot-on;
-- 
2.25.1


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

* [PATCH v3 3/3] arm64: dts: rockchip: update pinctrl names for Radxa E52C
  2025-09-01 10:00 [PATCH v3 0/3] arm64: dts: rockchip: Update Radxa E52C support Chukun Pan
  2025-09-01 10:00 ` [PATCH v3 1/3] arm64: dts: rockchip: disable display subsystem for Radxa E52C Chukun Pan
  2025-09-01 10:00 ` [PATCH v3 2/3] arm64: dts: rockchip: remove vcc_3v3_pmu regulator " Chukun Pan
@ 2025-09-01 10:00 ` Chukun Pan
  2 siblings, 0 replies; 4+ messages in thread
From: Chukun Pan @ 2025-09-01 10:00 UTC (permalink / raw)
  To: Heiko Stuebner
  Cc: Chukun Pan, FUKAUMI Naoki, Conor Dooley, Krzysztof Kozlowski,
	Rob Herring, linux-arm-kernel, linux-rockchip, linux-kernel,
	devicetree

Updated the pinctrl names of the user key and power LED according
to the schematic. Also updated the nodenames of other pinctrls.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
---
 arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts b/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts
index 302a30e423ad..5d000b9e49a8 100644
--- a/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts
@@ -42,7 +42,7 @@ button-0 {
 	keys-1 {
 		compatible = "gpio-keys";
 		pinctrl-names = "default";
-		pinctrl-0 = <&btn_0>;
+		pinctrl-0 = <&pwm15_ir_m1>;
 
 		button-1 {
 			label = "User";
@@ -55,7 +55,7 @@ button-1 {
 	leds-0 {
 		compatible = "gpio-leds";
 		pinctrl-names = "default";
-		pinctrl-0 = <&led_0>;
+		pinctrl-0 = <&power_led>;
 
 		led-0 {
 			color = <LED_COLOR_ID_GREEN>;
@@ -306,13 +306,13 @@ &pcie2x1l2 {
 
 &pinctrl {
 	keys {
-		btn_0: button-0 {
+		pwm15_ir_m1: pwm15-ir-m1 {
 			rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
 		};
 	};
 
 	leds {
-		led_0: led-0 {
+		power_led: power-led {
 			rockchip,pins = <3 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
 		};
 	};
@@ -328,19 +328,19 @@ pcie20x1_2_perstn_m0: pcie-2 {
 	};
 
 	regulators {
-		vcc_5v0_pwren_h: regulator-5v0-1 {
+		vcc_5v0_pwren_h: vcc-5v0-pwren-h {
 			rockchip,pins = <4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
 		};
 	};
 
 	rtc {
-		rtc_int_l: rtc-0 {
+		rtc_int_l: rtc-int-l {
 			rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
 		};
 	};
 
 	usb {
-		usb_otg_pwren_h: regulator-5v0-0 {
+		usb_otg_pwren_h: usb-otg-pwren-h {
 			rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
 		};
 	};
-- 
2.25.1


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

end of thread, other threads:[~2025-09-01 10:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-01 10:00 [PATCH v3 0/3] arm64: dts: rockchip: Update Radxa E52C support Chukun Pan
2025-09-01 10:00 ` [PATCH v3 1/3] arm64: dts: rockchip: disable display subsystem for Radxa E52C Chukun Pan
2025-09-01 10:00 ` [PATCH v3 2/3] arm64: dts: rockchip: remove vcc_3v3_pmu regulator " Chukun Pan
2025-09-01 10:00 ` [PATCH v3 3/3] arm64: dts: rockchip: update pinctrl names " Chukun Pan

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