From: Jagan Teki <jagan@edgeble.ai>
To: Heiko Stuebner <heiko@sntech.de>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, Jagan Teki <jagan@edgeble.ai>
Subject: [PATCH 13/13] ARM: dts: rv1126: Add 12V main supply for edgeble-neu2
Date: Mon, 31 Jul 2023 16:05:18 +0530 [thread overview]
Message-ID: <20230731103518.2906147-14-jagan@edgeble.ai> (raw)
In-Reply-To: <20230731103518.2906147-1-jagan@edgeble.ai>
The Main supply volatge for Edgeble Neu2 IO board is 12V DC.
Add the 12v supply regulator for it and input to vcc5v0_sys.
Since the power regulator is part of IO board circuit, move the
regulator in IO dts file.
Signed-off-by: Jagan Teki <jagan@edgeble.ai>
---
.../dts/rockchip/rv1126-edgeble-neu2-io.dts | 19 +++++++++++++++++++
.../dts/rockchip/rv1126-edgeble-neu2.dtsi | 9 ---------
2 files changed, 19 insertions(+), 9 deletions(-)
diff --git a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts
index 1c6a6a134131..f09be8405964 100644
--- a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts
+++ b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io.dts
@@ -21,6 +21,25 @@ chosen {
stdout-path = "serial2:1500000n8";
};
+ vcc12v_dcin: vcc12v-dcin-regulator {
+ compatible = "regulator-fixed";
+ regulator-name = "vcc12v_dcin";
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <12000000>;
+ regulator-max-microvolt = <12000000>;
+ };
+
+ vcc5v0_sys: vcc5v0-sys-regulator {
+ compatible = "regulator-fixed";
+ regulator-name = "vcc5v0_sys";
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ vin-supply = <&vcc12v_dcin>;
+ };
+
v3v3_sys: v3v3-sys-regulator {
compatible = "regulator-fixed";
regulator-name = "v3v3_sys";
diff --git a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi
index 6bbaf6da6545..7ea8d7d16f5f 100644
--- a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi
+++ b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2.dtsi
@@ -11,15 +11,6 @@ aliases {
mmc0 = &emmc;
};
- vcc5v0_sys: vcc5v0-sys-regulator {
- compatible = "regulator-fixed";
- regulator-name = "vcc5v0_sys";
- regulator-always-on;
- regulator-boot-on;
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- };
-
vccio_flash: vccio-flash-regulator {
compatible = "regulator-fixed";
enable-active-high;
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-07-31 10:37 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-31 10:35 [PATCH 00/13] arm64: rockchip: Add more RV1126 DT nodes Jagan Teki
2023-07-31 10:35 ` [PATCH 01/13] dt-bindings: pwm: rockchip: Document rv1126-pwm Jagan Teki
2023-07-31 14:51 ` Uwe Kleine-König
2023-08-09 14:02 ` Heiko Stuebner
2023-08-15 20:59 ` Krzysztof Kozlowski
2023-09-30 19:34 ` Uwe Kleine-König
2023-07-31 15:48 ` Conor Dooley
2023-07-31 10:35 ` [PATCH 02/13] ARM: dts: rockchip: rv1126: Add pwm2m0 pins Jagan Teki
2023-07-31 10:35 ` [PATCH 03/13] ARM: dts: rockchip: rv1126: Add pwm2 node Jagan Teki
2023-07-31 10:35 ` [PATCH 04/13] ARM: dts: rockchip: rv1126: Add pwm11m0 pins Jagan Teki
2023-07-31 10:35 ` [PATCH 05/13] ARM: dts: rockchip: rv1126: Add pwm11 node Jagan Teki
2023-07-31 10:35 ` [PATCH 06/13] ARM: dts: rockchip: rv1126: Add SFC node Jagan Teki
2023-07-31 10:35 ` [PATCH 07/13] ARM: dts: rockchip: rv1126: Add FSPI pins Jagan Teki
2023-07-31 10:35 ` [PATCH 08/13] ARM: dts: rockchip: rv1126: Add uart5m2_xfer pins Jagan Teki
2023-07-31 10:35 ` [PATCH 09/13] ARM: dts: rv1126: Enable pwm fan for edgeble-neu2 Jagan Teki
2023-07-31 10:35 ` [PATCH 10/13] ARM: dts: rv1126: Drop EMMC_RSTN " Jagan Teki
2023-07-31 10:35 ` [PATCH 11/13] ARM: dts: rv1126: Enable SFC " Jagan Teki
2023-07-31 10:35 ` [PATCH 12/13] ARM: dts: rv1126: Add 3V3_SYS regulator " Jagan Teki
2023-07-31 10:35 ` Jagan Teki [this message]
2023-08-10 20:44 ` (subset) [PATCH 00/13] arm64: rockchip: Add more RV1126 DT nodes Heiko Stuebner
2023-10-01 23:02 ` Heiko Stuebner
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=20230731103518.2906147-14-jagan@edgeble.ai \
--to=jagan@edgeble.ai \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=robh+dt@kernel.org \
/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