diff mbox series

ARM: dts: imx28-tx28: Move phy_type to USB node

Message ID 20230923182906.573913-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: imx28-tx28: Move phy_type to USB node | expand

Commit Message

Fabio Estevam Sept. 23, 2023, 6:29 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

phy_type is a property for the USB controller, not for the USB PHY.

Move it to the USB controller nodes to fix the following schema
warning:

imx28-tx28.dtb: usbphy@8007c000: 'phy_type' does not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/phy/fsl,mxs-usbphy.yaml

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Shawn Guo Sept. 25, 2023, 3:58 a.m. UTC | #1
On Sat, Sep 23, 2023 at 03:29:06PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> phy_type is a property for the USB controller, not for the USB PHY.
> 
> Move it to the USB controller nodes to fix the following schema
> warning:
> 
> imx28-tx28.dtb: usbphy@8007c000: 'phy_type' does not match any of the regexes: 'pinctrl-[0-9]+'
> 	from schema $id: http://devicetree.org/schemas/phy/fsl,mxs-usbphy.yaml
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts b/arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts
index 0391ffd15866..153e4017951d 100644
--- a/arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts
+++ b/arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts
@@ -652,6 +652,7 @@  &usb0 {
 	vbus-supply = <&reg_usb0_vbus>;
 	disable-over-current;
 	dr_mode = "peripheral";
+	phy_type = "utmi";
 	status = "okay";
 };
 
@@ -659,19 +660,18 @@  &usb1 {
 	vbus-supply = <&reg_usb1_vbus>;
 	disable-over-current;
 	dr_mode = "host";
+	phy_type = "utmi";
 	status = "okay";
 };
 
 &usbphy0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&tx28_usbphy0_pins>;
-	phy_type = "utmi";
 	status = "okay";
 };
 
 &usbphy1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&tx28_usbphy1_pins>;
-	phy_type = "utmi";
 	status = "okay";
 };