diff mbox series

ARM: dts: imx7ulp: Fix usbphy1 compatible

Message ID 20230923185010.584011-1-festevam@gmail.com
State New
Headers show
Series ARM: dts: imx7ulp: Fix usbphy1 compatible | expand

Commit Message

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

Per fsl,mxs-usbphy.yaml, fsl,imx7ulp-usbphy is not compatible
with fsl,imx6ul-usbphy.

Remove 'fsl,imx6ul-usbphy' from the compatible string to fix the
following schema warning:

imx7ulp-com.dtb: usb-phy@40350000: compatible: 'oneOf' conditional failed, one must be fixed:
	['fsl,imx7ulp-usbphy', 'fsl,imx6ul-usbphy'] is too long

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Shawn Guo Sept. 25, 2023, 3:59 a.m. UTC | #1
On Sat, Sep 23, 2023 at 03:50:10PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> Per fsl,mxs-usbphy.yaml, fsl,imx7ulp-usbphy is not compatible
> with fsl,imx6ul-usbphy.
> 
> Remove 'fsl,imx6ul-usbphy' from the compatible string to fix the
> following schema warning:
> 
> imx7ulp-com.dtb: usb-phy@40350000: compatible: 'oneOf' conditional failed, one must be fixed:
> 	['fsl,imx7ulp-usbphy', 'fsl,imx6ul-usbphy'] is too long
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi b/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi
index b01ddda7bd9e..ac338320ac1d 100644
--- a/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi
@@ -209,7 +209,7 @@  usbmisc1: usbmisc@40330200 {
 		};
 
 		usbphy1: usb-phy@40350000 {
-			compatible = "fsl,imx7ulp-usbphy", "fsl,imx6ul-usbphy";
+			compatible = "fsl,imx7ulp-usbphy";
 			reg = <0x40350000 0x1000>;
 			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&pcc2 IMX7ULP_CLK_USB_PHY>;