devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx7ulp: Fix usbphy1 compatible
@ 2023-09-23 18:50 Fabio Estevam
  2023-09-25  3:59 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2023-09-23 18:50 UTC (permalink / raw)
  To: shawnguo
  Cc: robh+dt, krzysztof.kozlowski+dt, conor+dt, linux-imx, devicetree,
	linux-arm-kernel, xu.yang_2, Fabio Estevam

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(-)

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>;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: imx7ulp: Fix usbphy1 compatible
  2023-09-23 18:50 [PATCH] ARM: dts: imx7ulp: Fix usbphy1 compatible Fabio Estevam
@ 2023-09-25  3:59 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2023-09-25  3:59 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: robh+dt, krzysztof.kozlowski+dt, conor+dt, linux-imx, devicetree,
	linux-arm-kernel, xu.yang_2, Fabio Estevam

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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-25  3:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-23 18:50 [PATCH] ARM: dts: imx7ulp: Fix usbphy1 compatible Fabio Estevam
2023-09-25  3:59 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).