From: FUKAUMI Naoki <naoki@radxa.com>
To: heiko@sntech.de
Cc: robh@kernel.org, conor+dt@kernel.org, inindev@gmail.com,
devicetree@vger.kernel.org, sebastian.reichel@collabora.com,
linux-rockchip@lists.infradead.org, alchark@gmail.com,
FUKAUMI Naoki <naoki@radxa.com>,
krzk+dt@kernel.org, dsimic@manjaro.org
Subject: [PATCH 3/6] arm64: dts: rockchip: fix pmic regulators for Radxa ROCK 5B
Date: Sat, 30 Nov 2024 00:40:54 +0000 [thread overview]
Message-ID: <20241130004057.7432-4-naoki@radxa.com> (raw)
In-Reply-To: <20241130004057.7432-1-naoki@radxa.com>
fix regulator names to match with schematic. fix properties to match
with vendor kernel.
Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
---
.../boot/dts/rockchip/rk3588-rock-5b.dts | 80 +++++++++----------
1 file changed, 40 insertions(+), 40 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
index 3cd8c63151db..95f2f4dbf12d 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
@@ -461,7 +461,7 @@ &pwm1 {
};
&saradc {
- vref-supply = <&avcc_1v8_s0>;
+ vref-supply = <&vcca_1v8_s0>;
status = "okay";
};
@@ -588,12 +588,12 @@ rk806_dvs3_null: dvs3-null-pins {
};
regulators {
- vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 {
+ vdd_gpu_s0: dcdc-reg1 {
+ regulator-name = "vdd_gpu_s0";
regulator-boot-on;
regulator-min-microvolt = <550000>;
regulator-max-microvolt = <950000>;
regulator-ramp-delay = <12500>;
- regulator-name = "vdd_gpu_s0";
regulator-enable-ramp-delay = <400>;
regulator-state-mem {
@@ -601,13 +601,13 @@ regulator-state-mem {
};
};
- vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 {
+ vdd_cpu_lit_s0: dcdc-reg2 {
+ regulator-name = "vdd_cpu_lit_s0";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <550000>;
regulator-max-microvolt = <950000>;
regulator-ramp-delay = <12500>;
- regulator-name = "vdd_cpu_lit_s0";
regulator-state-mem {
regulator-off-in-suspend;
@@ -615,26 +615,26 @@ regulator-state-mem {
};
vdd_log_s0: dcdc-reg3 {
+ regulator-name = "vdd_log_s0";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <675000>;
regulator-max-microvolt = <750000>;
regulator-ramp-delay = <12500>;
- regulator-name = "vdd_log_s0";
regulator-state-mem {
- regulator-off-in-suspend;
+ regulator-on-in-suspend;
regulator-suspend-microvolt = <750000>;
};
};
- vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 {
+ vdd_vdenc_s0: dcdc-reg4 {
+ regulator-name = "vdd_vdenc_s0";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <550000>;
regulator-max-microvolt = <950000>;
regulator-ramp-delay = <12500>;
- regulator-name = "vdd_vdenc_s0";
regulator-state-mem {
regulator-off-in-suspend;
@@ -642,12 +642,12 @@ regulator-state-mem {
};
vdd_ddr_s0: dcdc-reg5 {
+ regulator-name = "vdd_ddr_s0";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <675000>;
regulator-max-microvolt = <900000>;
regulator-ramp-delay = <12500>;
- regulator-name = "vdd_ddr_s0";
regulator-state-mem {
regulator-off-in-suspend;
@@ -656,9 +656,9 @@ regulator-state-mem {
};
vdd2_ddr_s3: dcdc-reg6 {
+ regulator-name = "vdd2_ddr_s3";
regulator-always-on;
regulator-boot-on;
- regulator-name = "vdd2_ddr_s3";
regulator-state-mem {
regulator-on-in-suspend;
@@ -666,12 +666,11 @@ regulator-state-mem {
};
vcc_2v0_pldo_s3: dcdc-reg7 {
+ regulator-name = "vcc_2v0_pldo_s3";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <2000000>;
regulator-max-microvolt = <2000000>;
- regulator-ramp-delay = <12500>;
- regulator-name = "vdd_2v0_pldo_s3";
regulator-state-mem {
regulator-on-in-suspend;
@@ -680,11 +679,11 @@ regulator-state-mem {
};
vcc_3v3_s3: dcdc-reg8 {
+ regulator-name = "vcc_3v3_s3";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
- regulator-name = "vcc_3v3_s3";
regulator-state-mem {
regulator-on-in-suspend;
@@ -693,9 +692,9 @@ regulator-state-mem {
};
vddq_ddr_s0: dcdc-reg9 {
+ regulator-name = "vddq_ddr_s0";
regulator-always-on;
regulator-boot-on;
- regulator-name = "vddq_ddr_s0";
regulator-state-mem {
regulator-off-in-suspend;
@@ -703,11 +702,11 @@ regulator-state-mem {
};
vcc_1v8_s3: dcdc-reg10 {
+ regulator-name = "vcc_1v8_s3";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
- regulator-name = "vcc_1v8_s3";
regulator-state-mem {
regulator-on-in-suspend;
@@ -715,63 +714,63 @@ regulator-state-mem {
};
};
- avcc_1v8_s0: pldo-reg1 {
+ vcca_1v8_s0: pldo-reg1 {
+ regulator-name = "vcca_1v8_s0";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
- regulator-name = "avcc_1v8_s0";
regulator-state-mem {
- regulator-off-in-suspend;
+ regulator-on-in-suspend;
+ regulator-suspend-microvolt = <1800000>;
};
};
vcc_1v8_s0: pldo-reg2 {
+ regulator-name = "vcc_1v8_s0";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
- regulator-name = "vcc_1v8_s0";
regulator-state-mem {
- regulator-off-in-suspend;
+ regulator-on-in-suspend;
regulator-suspend-microvolt = <1800000>;
};
};
- avdd_1v2_s0: pldo-reg3 {
+ vdda_1v2_s0: pldo-reg3 {
+ regulator-name = "vdda_1v2_s0";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
- regulator-name = "avdd_1v2_s0";
regulator-state-mem {
regulator-off-in-suspend;
};
};
- vcc_3v3_s0: pldo-reg4 {
+ vcca_3v3_s0: pldo-reg4 {
+ regulator-name = "vcca_3v3_s0";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
- regulator-ramp-delay = <12500>;
- regulator-name = "vcc_3v3_s0";
regulator-state-mem {
- regulator-off-in-suspend;
+ regulator-on-in-suspend;
+ regulator-suspend-microvolt = <3300000>;
};
};
vccio_sd_s0: pldo-reg5 {
+ regulator-name = "vccio_sd_s0";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
- regulator-ramp-delay = <12500>;
- regulator-name = "vccio_sd_s0";
regulator-state-mem {
regulator-off-in-suspend;
@@ -779,11 +778,11 @@ regulator-state-mem {
};
pldo6_s3: pldo-reg6 {
+ regulator-name = "pldo6_s3";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
- regulator-name = "pldo6_s3";
regulator-state-mem {
regulator-on-in-suspend;
@@ -792,11 +791,11 @@ regulator-state-mem {
};
vdd_0v75_s3: nldo-reg1 {
+ regulator-name = "vdd_0v75_s3";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <750000>;
regulator-max-microvolt = <750000>;
- regulator-name = "vdd_0v75_s3";
regulator-state-mem {
regulator-on-in-suspend;
@@ -804,37 +803,38 @@ regulator-state-mem {
};
};
- vdd_ddr_pll_s0: nldo-reg2 {
+ vdda_ddr_pll_s0: nldo-reg2 {
+ regulator-name = "vdda_ddr_pll_s0";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <850000>;
- regulator-name = "vdd_ddr_pll_s0";
regulator-state-mem {
- regulator-off-in-suspend;
+ regulator-on-in-suspend;
regulator-suspend-microvolt = <850000>;
};
};
- avdd_0v75_s0: nldo-reg3 {
+ vdda_0v75_s0: nldo-reg3 {
+ regulator-name = "vdda_0v75_s0";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <750000>;
regulator-max-microvolt = <750000>;
- regulator-name = "avdd_0v75_s0";
regulator-state-mem {
- regulator-off-in-suspend;
+ regulator-on-in-suspend;
+ regulator-suspend-microvolt = <750000>;
};
};
- vdd_0v85_s0: nldo-reg4 {
+ vdda_0v85_s0: nldo-reg4 {
+ regulator-name = "vdda_0v85_s0";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <850000>;
- regulator-name = "vdd_0v85_s0";
regulator-state-mem {
regulator-off-in-suspend;
@@ -842,11 +842,11 @@ regulator-state-mem {
};
vdd_0v75_s0: nldo-reg5 {
+ regulator-name = "vdd_0v75_s0";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <750000>;
regulator-max-microvolt = <750000>;
- regulator-name = "vdd_0v75_s0";
regulator-state-mem {
regulator-off-in-suspend;
--
2.43.0
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
next prev parent reply other threads:[~2024-11-30 0:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-30 0:40 [PATCH 0/6] arm64: dts: rockchip: sync dts with schematic for Radxa ROCK 5B FUKAUMI Naoki
2024-11-30 0:40 ` [PATCH 1/6] arm64: dts: rockchip: fix regulators " FUKAUMI Naoki
2024-11-30 0:40 ` [PATCH 2/6] arm64: dts: rockchip: add regulator for NPU " FUKAUMI Naoki
2024-11-30 0:40 ` FUKAUMI Naoki [this message]
2024-11-30 0:40 ` [PATCH 4/6] arm64: dts: rockchip: convert leds node to "pwm-led" " FUKAUMI Naoki
2024-11-30 0:40 ` [PATCH 5/6] arm64: dts: rockchip: fix pwm-fan node " FUKAUMI Naoki
2024-12-02 13:39 ` Alexey Charkov
2024-12-02 20:53 ` FUKAUMI Naoki
2024-11-30 0:40 ` [PATCH 6/6] arm64: dts: rockchip: fix rtc " FUKAUMI Naoki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241130004057.7432-4-naoki@radxa.com \
--to=naoki@radxa.com \
--cc=alchark@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dsimic@manjaro.org \
--cc=heiko@sntech.de \
--cc=inindev@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=robh@kernel.org \
--cc=sebastian.reichel@collabora.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox