From: Chukun Pan <amadeus@jmu.edu.cn>
To: Heiko Stuebner <heiko@sntech.de>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Rob Herring <robh@kernel.org>,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, Chukun Pan <amadeus@jmu.edu.cn>
Subject: [PATCH v2 2/9] arm64: dts: rockchip: fix usb regulator for Lunzn Fastrhino R6xS
Date: Sun, 30 Jun 2024 23:00:03 +0800 [thread overview]
Message-ID: <20240630150010.55729-3-amadeus@jmu.edu.cn> (raw)
In-Reply-To: <20240630150010.55729-1-amadeus@jmu.edu.cn>
Remove the non-existent usb_host regulator and fix the supply according
to the schematic. Also remove the unnecessary always-on and boot-on for
the usb_otg regulator.
Fixes: c79dab407afd ("arm64: dts: rockchip: Add Lunzn Fastrhino R66S")
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
---
.../boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi | 16 ++++------------
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi b/arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi
index 93987c8740f7..8f587978fa3b 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi
@@ -78,15 +78,6 @@ vcc5v0_sys: vcc5v0-sys-regulator {
vin-supply = <&vcc12v_dcin>;
};
- vcc5v0_usb_host: vcc5v0-usb-host-regulator {
- compatible = "regulator-fixed";
- regulator-name = "vcc5v0_usb_host";
- regulator-always-on;
- regulator-boot-on;
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- };
-
vcc5v0_usb_otg: vcc5v0-usb-otg-regulator {
compatible = "regulator-fixed";
enable-active-high;
@@ -94,8 +85,9 @@ vcc5v0_usb_otg: vcc5v0-usb-otg-regulator {
pinctrl-names = "default";
pinctrl-0 = <&vcc5v0_usb_otg_en>;
regulator-name = "vcc5v0_usb_otg";
- regulator-always-on;
- regulator-boot-on;
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ vin-supply = <&vcc5v0_sys>;
};
};
@@ -460,7 +452,7 @@ &usb2phy0 {
};
&usb2phy0_host {
- phy-supply = <&vcc5v0_usb_host>;
+ phy-supply = <&vcc5v0_sys>;
status = "okay";
};
--
2.25.1
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
WARNING: multiple messages have this Message-ID (diff)
From: Chukun Pan <amadeus@jmu.edu.cn>
To: Heiko Stuebner <heiko@sntech.de>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Rob Herring <robh@kernel.org>,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, Chukun Pan <amadeus@jmu.edu.cn>
Subject: [PATCH v2 2/9] arm64: dts: rockchip: fix usb regulator for Lunzn Fastrhino R6xS
Date: Sun, 30 Jun 2024 23:00:03 +0800 [thread overview]
Message-ID: <20240630150010.55729-3-amadeus@jmu.edu.cn> (raw)
In-Reply-To: <20240630150010.55729-1-amadeus@jmu.edu.cn>
Remove the non-existent usb_host regulator and fix the supply according
to the schematic. Also remove the unnecessary always-on and boot-on for
the usb_otg regulator.
Fixes: c79dab407afd ("arm64: dts: rockchip: Add Lunzn Fastrhino R66S")
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
---
.../boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi | 16 ++++------------
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi b/arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi
index 93987c8740f7..8f587978fa3b 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi
@@ -78,15 +78,6 @@ vcc5v0_sys: vcc5v0-sys-regulator {
vin-supply = <&vcc12v_dcin>;
};
- vcc5v0_usb_host: vcc5v0-usb-host-regulator {
- compatible = "regulator-fixed";
- regulator-name = "vcc5v0_usb_host";
- regulator-always-on;
- regulator-boot-on;
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- };
-
vcc5v0_usb_otg: vcc5v0-usb-otg-regulator {
compatible = "regulator-fixed";
enable-active-high;
@@ -94,8 +85,9 @@ vcc5v0_usb_otg: vcc5v0-usb-otg-regulator {
pinctrl-names = "default";
pinctrl-0 = <&vcc5v0_usb_otg_en>;
regulator-name = "vcc5v0_usb_otg";
- regulator-always-on;
- regulator-boot-on;
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ vin-supply = <&vcc5v0_sys>;
};
};
@@ -460,7 +452,7 @@ &usb2phy0 {
};
&usb2phy0_host {
- phy-supply = <&vcc5v0_usb_host>;
+ phy-supply = <&vcc5v0_sys>;
status = "okay";
};
--
2.25.1
next prev parent reply other threads:[~2024-06-30 15:01 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-30 15:00 [PATCH v2 0/9] arm64: dts: rockchip: fixes support for Lunzn Fastrhino R6xS Chukun Pan
2024-06-30 15:00 ` Chukun Pan
2024-06-30 15:00 ` [PATCH v2 1/9] arm64: dts: rockchip: fix regulator name " Chukun Pan
2024-06-30 15:00 ` Chukun Pan
2024-06-30 15:00 ` Chukun Pan [this message]
2024-06-30 15:00 ` [PATCH v2 2/9] arm64: dts: rockchip: fix usb regulator " Chukun Pan
2024-06-30 15:00 ` [PATCH v2 3/9] arm64: dts: rockchip: fix pmu_io supply " Chukun Pan
2024-06-30 15:00 ` Chukun Pan
2024-06-30 15:00 ` [PATCH v2 4/9] arm64: dts: rockchip: remove unused usb2 nodes " Chukun Pan
2024-06-30 15:00 ` Chukun Pan
2024-06-30 15:00 ` [PATCH v2 5/9] arm64: dts: rockchip: disable display subsystem " Chukun Pan
2024-06-30 15:00 ` Chukun Pan
2024-06-30 15:00 ` [PATCH v2 6/9] arm64: dts: rockchip: fixes PHY reset for Lunzn Fastrhino R68S Chukun Pan
2024-06-30 15:00 ` Chukun Pan
2024-06-30 15:00 ` [PATCH v2 7/9] arm64: dts: rockchip: use generic Ethernet PHY reset bindings " Chukun Pan
2024-06-30 15:00 ` Chukun Pan
2024-07-04 19:12 ` Heiko Stübner
2024-07-04 19:12 ` Heiko Stübner
2024-07-10 13:30 ` Chukun Pan
2024-07-10 13:30 ` Chukun Pan
2024-07-10 14:30 ` Jonas Karlman
2024-07-10 14:30 ` Jonas Karlman
2024-07-10 14:50 ` Chukun Pan
2024-07-10 14:50 ` Chukun Pan
2024-07-10 15:07 ` Jonas Karlman
2024-07-10 15:07 ` Jonas Karlman
2024-06-30 15:00 ` [PATCH v2 8/9] arm64: dts: rockchip: remove useless tx/rx_delay " Chukun Pan
2024-06-30 15:00 ` Chukun Pan
2024-06-30 15:00 ` [PATCH v2 9/9] arm64: dts: rockchip: Enable UHS-I SDR-50 for Lunzn FastRhino R66S Chukun Pan
2024-06-30 15:00 ` Chukun Pan
2024-07-01 14:30 ` [PATCH v2 0/9] arm64: dts: rockchip: fixes support for Lunzn Fastrhino R6xS Chukun Pan
2024-07-01 14:30 ` Chukun Pan
2024-07-01 14:30 ` [PATCH v2 2/9] arm64: dts: rockchip: fix usb regulator " Chukun Pan
2024-07-01 14:30 ` Chukun Pan
2024-07-01 14:30 ` [PATCH v2 5/9] arm64: dts: rockchip: disable display subsystem " Chukun Pan
2024-07-01 14:30 ` Chukun Pan
2024-07-01 14:30 ` [PATCH v2 7/9] arm64: dts: rockchip: use generic Ethernet PHY reset bindings for Lunzn Fastrhino R68S Chukun Pan
2024-07-01 14:30 ` Chukun Pan
2024-07-04 19:10 ` (subset) [PATCH v2 0/9] arm64: dts: rockchip: fixes support for Lunzn Fastrhino R6xS Heiko Stuebner
2024-07-04 19:10 ` 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=20240630150010.55729-3-amadeus@jmu.edu.cn \
--to=amadeus@jmu.edu.cn \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=robh@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.