Skip to content

Commit e05956d

Browse files
KarlK90Shawn Guo
authored andcommitted
ARM: dts: imx6sx: add phy-3p0-supply to usb phys
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 regulator handling was introduced by commit `966d73152078 (usb: phy: mxs: enable regulator phy-3p0 to improve signal qualilty, 2024-07-26)`. Signed-off-by: Stefan Kerkmann <s.kerkmann@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent 6c53709 commit e05956d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

arch/arm/boot/dts/nxp/imx/imx6sx.dtsi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,8 +637,8 @@
637637
reg_vdd3p0: regulator-3p0 {
638638
compatible = "fsl,anatop-regulator";
639639
regulator-name = "vdd3p0";
640-
regulator-min-microvolt = <2800000>;
641-
regulator-max-microvolt = <3150000>;
640+
regulator-min-microvolt = <2625000>;
641+
regulator-max-microvolt = <3400000>;
642642
regulator-always-on;
643643
anatop-reg-offset = <0x120>;
644644
anatop-vol-bit-shift = <8>;
@@ -731,6 +731,7 @@
731731
reg = <0x020c9000 0x1000>;
732732
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
733733
clocks = <&clks IMX6SX_CLK_USBPHY1>;
734+
phy-3p0-supply = <&reg_vdd3p0>;
734735
fsl,anatop = <&anatop>;
735736
};
736737

@@ -739,6 +740,7 @@
739740
reg = <0x020ca000 0x1000>;
740741
interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
741742
clocks = <&clks IMX6SX_CLK_USBPHY2>;
743+
phy-3p0-supply = <&reg_vdd3p0>;
742744
fsl,anatop = <&anatop>;
743745
};
744746

0 commit comments

Comments
 (0)