Skip to contentSkip to conversation

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

PATCH Applied Fabio Estevam 2 participants 2 messages Sep 23, 2023 – Sep 25, 2023

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: dts: imx28-tx28: Move phy_type to USB node

From: Fabio Estevam <[email protected]>

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

---
 arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts +2 -2
index 0391ffd15866..153e4017951d 100644
@@ -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";
 };
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Applied
#1 lore raw
Quoted 11 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

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

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel