]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: imx6sl: add phy-3p0-supply to usb phys
authorStefan Kerkmann <s.kerkmann@pengutronix.de>
Tue, 26 Nov 2024 09:22:14 +0000 (10:22 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 30 Dec 2024 04:03:52 +0000 (12:03 +0800)
The integrated usb phys are supplied by the 3p0 regulator, which has a
voltage range of 2.625V to 3.4V. Thus the min and max values are
corrected and the regulator added as a proper supply for the usb phys.

This fixes the following warnings during the probe of the mxs_phy
driver:

mxs_phy 20c9000.usbphy: supply phy-3p0 not found, using dummy regulator
mxs_phy 20ca000.usbphy: supply phy-3p0 not found, using dummy regulator

The 3p0 regulator handling was introduced by commit 966d73152078 ("usb:
phy: mxs: enable regulator phy-3p0 to improve signal qualilty")`.

Signed-off-by: Stefan Kerkmann <s.kerkmann@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx6sl.dtsi

index 941a2f185056d92f11e6d274d9633b0a3739c4b9..7381fb7f89126e29db05491e751a0d6e519f22f2 100644 (file)
                                reg_vdd3p0: regulator-3p0 {
                                        compatible = "fsl,anatop-regulator";
                                        regulator-name = "vdd3p0";
-                                       regulator-min-microvolt = <2800000>;
-                                       regulator-max-microvolt = <3150000>;
+                                       regulator-min-microvolt = <2625000>;
+                                       regulator-max-microvolt = <3400000>;
                                        regulator-always-on;
                                        anatop-reg-offset = <0x120>;
                                        anatop-vol-bit-shift = <8>;
                                reg = <0x020c9000 0x1000>;
                                interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clks IMX6SL_CLK_USBPHY1>;
+                               phy-3p0-supply = <&reg_vdd3p0>;
                                fsl,anatop = <&anatop>;
                        };
 
                                reg = <0x020ca000 0x1000>;
                                interrupts = <0 45 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clks IMX6SL_CLK_USBPHY2>;
+                               phy-3p0-supply = <&reg_vdd3p0>;
                                fsl,anatop = <&anatop>;
                        };