ARM: imx25: set default phy_type and dr_mode for usbotg port
Subsystems (2)
PATCH 1/1 ARM: imx25: set default phy_type and dr_mode for usbotg port
All currently supported i.MX25-based machines use phy_type = "utmi" and dr_mode = "otg". So this seems to be a sensible default.
This also doesn't hurt out-of-tree machines because up to now they had to specify these two properties in the machine.dts which still takes precedence by just overwriting the defaults added here.
--- arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts | 2 -- arch/arm/boot/dts/imx25-pdk.dts | 2 -- arch/arm/boot/dts/imx25.dtsi | 2 ++ 3 files changed, 2 insertions(+), 4 deletions(-)
arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts +0 -2
@@ -179,8 +179,6 @@ }; &usbotg { - phy_type = "utmi"; - dr_mode = "otg"; external-vbus-divider; status = "okay"; };
arch/arm/boot/dts/imx25-pdk.dts +0 -2
@@ -309,8 +309,6 @@ }; &usbotg { - phy_type = "utmi"; - dr_mode = "otg"; external-vbus-divider; status = "okay"; };
arch/arm/boot/dts/imx25.dtsi +2 -0
@@ -535,6 +535,8 @@ clock-names = "ipg", "ahb", "per"; fsl,usbmisc = <&usbmisc 0>; fsl,usbphy = <&usbphy0>; + phy_type = "utmi"; + dr_mode = "otg"; status = "disabled"; };
Signature · 1 line
2.11.0
Fabio Estevam
reviewerPATCH 1/1 ARM: imx25: set default phy_type and dr_mode for usbotg port
Quoted 8 lines · Uwe Kleine-K?nig
All currently supported i.MX25-based machines use
phy_type= "utmi" anddr_mode= "otg". So this seems to be a sensible default.This also doesn't hurt out-of-tree machines because up to now they had to specify these two properties in the
machine.dtswhich still takes precedence by just overwriting the defaults added here.Signed-off-by Uwe Kleine-K?nig <[email protected]>
Shawn Guo
AppliedPATCH 1/1 ARM: imx25: set default phy_type and dr_mode for usbotg port
In reply to Uwe Kleine-KönigQuoted 8 lines · Uwe Kleine-K?nig
All currently supported i.MX25-based machines use
phy_type= "utmi" anddr_mode= "otg". So this seems to be a sensible default.This also doesn't hurt out-of-tree machines because up to now they had to specify these two properties in the
machine.dtswhich still takes precedence by just overwriting the defaults added here.Signed-off-by Uwe Kleine-K?nig <[email protected]>
Applied, thanks.