* [PATCH 0/2] i.MX7 DT fixes @ 2025-01-07 9:49 Alexander Stein 2025-01-07 9:49 ` [PATCH 1/2] ARM: dts: imx7s: Move csi-mux to below root Alexander Stein 2025-01-07 9:49 ` [PATCH 2/2] dt-bindings: samsung,mipi-dsim: Add imx7d specific compatible Alexander Stein 0 siblings, 2 replies; 11+ messages in thread From: Alexander Stein @ 2025-01-07 9:49 UTC (permalink / raw) To: Inki Dae, Jagan Teki, Marek Szyprowski, Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam Cc: Alexander Stein, dri-devel, devicetree, linux-kernel, imx, linux-arm-kernel Hi, this fixes two dtbs_check warnings by moving the video muxing node out of gpr and adding a new imx7 specific DSI compatible to DT schema. Best regards, Alexander Alexander Stein (2): ARM: dts: imx7s: Move csi-mux to below root dt-bindings: samsung,mipi-dsim: Add imx7d specific compatible .../display/bridge/samsung,mipi-dsim.yaml | 4 +- arch/arm/boot/dts/nxp/imx/imx7s.dtsi | 56 +++++++++---------- 2 files changed, 31 insertions(+), 29 deletions(-) -- 2.34.1 ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 1/2] ARM: dts: imx7s: Move csi-mux to below root 2025-01-07 9:49 [PATCH 0/2] i.MX7 DT fixes Alexander Stein @ 2025-01-07 9:49 ` Alexander Stein 2025-01-07 10:06 ` Laurent Pinchart ` (2 more replies) 2025-01-07 9:49 ` [PATCH 2/2] dt-bindings: samsung,mipi-dsim: Add imx7d specific compatible Alexander Stein 1 sibling, 3 replies; 11+ messages in thread From: Alexander Stein @ 2025-01-07 9:49 UTC (permalink / raw) To: Inki Dae, Jagan Teki, Marek Szyprowski, Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam Cc: Alexander Stein, dri-devel, devicetree, linux-kernel, imx, linux-arm-kernel fsl,imx-iomuxc-gpr.yaml only contains the mux-controller but the actual video-mux is not part of it. So move it below root node. Fixes the dtbs_check warning: arch/arm/boot/dts/nxp/imx/imx7s-mba7.dtb: iomuxc-gpr@30340000: 'csi-mux' does not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/soc/imx/fsl,imx-iomuxc-gpr.yaml# Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> --- arch/arm/boot/dts/nxp/imx/imx7s.dtsi | 56 ++++++++++++++-------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx7s.dtsi b/arch/arm/boot/dts/nxp/imx/imx7s.dtsi index 22dd72499ef27..2629968001a74 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7s.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7s.dtsi @@ -176,6 +176,34 @@ timer { <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>; }; + video_mux: csi-mux { + compatible = "video-mux"; + mux-controls = <&mux 0>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + port@0 { + reg = <0>; + }; + + port@1 { + reg = <1>; + + csi_mux_from_mipi_vc0: endpoint { + remote-endpoint = <&mipi_vc0_to_csi_mux>; + }; + }; + + port@2 { + reg = <2>; + + csi_mux_to_csi: endpoint { + remote-endpoint = <&csi_from_csi_mux>; + }; + }; + }; + soc: soc { #address-cells = <1>; #size-cells = <1>; @@ -529,34 +557,6 @@ mux: mux-controller { #mux-control-cells = <1>; mux-reg-masks = <0x14 0x00000010>; }; - - video_mux: csi-mux { - compatible = "video-mux"; - mux-controls = <&mux 0>; - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - - port@0 { - reg = <0>; - }; - - port@1 { - reg = <1>; - - csi_mux_from_mipi_vc0: endpoint { - remote-endpoint = <&mipi_vc0_to_csi_mux>; - }; - }; - - port@2 { - reg = <2>; - - csi_mux_to_csi: endpoint { - remote-endpoint = <&csi_from_csi_mux>; - }; - }; - }; }; ocotp: efuse@30350000 { -- 2.34.1 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 1/2] ARM: dts: imx7s: Move csi-mux to below root 2025-01-07 9:49 ` [PATCH 1/2] ARM: dts: imx7s: Move csi-mux to below root Alexander Stein @ 2025-01-07 10:06 ` Laurent Pinchart 2025-01-07 10:37 ` Fabio Estevam 2025-02-18 5:21 ` Shawn Guo 2 siblings, 0 replies; 11+ messages in thread From: Laurent Pinchart @ 2025-01-07 10:06 UTC (permalink / raw) To: Alexander Stein Cc: Inki Dae, Jagan Teki, Marek Szyprowski, Andrzej Hajda, Neil Armstrong, Robert Foss, Jonas Karlman, Jernej Skrabec, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, dri-devel, devicetree, linux-kernel, imx, linux-arm-kernel Hi Alexander, Thank you for the patch. On Tue, Jan 07, 2025 at 10:49:41AM +0100, Alexander Stein wrote: > fsl,imx-iomuxc-gpr.yaml only contains the mux-controller but the actual > video-mux is not part of it. So move it below root node. > Fixes the dtbs_check warning: > arch/arm/boot/dts/nxp/imx/imx7s-mba7.dtb: iomuxc-gpr@30340000: 'csi-mux' does not match any of the regexes: 'pinctrl-[0-9]+' > from schema $id: http://devicetree.org/schemas/soc/imx/fsl,imx-iomuxc-gpr.yaml# > > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > --- > arch/arm/boot/dts/nxp/imx/imx7s.dtsi | 56 ++++++++++++++-------------- > 1 file changed, 28 insertions(+), 28 deletions(-) > > diff --git a/arch/arm/boot/dts/nxp/imx/imx7s.dtsi b/arch/arm/boot/dts/nxp/imx/imx7s.dtsi > index 22dd72499ef27..2629968001a74 100644 > --- a/arch/arm/boot/dts/nxp/imx/imx7s.dtsi > +++ b/arch/arm/boot/dts/nxp/imx/imx7s.dtsi > @@ -176,6 +176,34 @@ timer { > <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>; > }; > > + video_mux: csi-mux { > + compatible = "video-mux"; > + mux-controls = <&mux 0>; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + > + port@0 { > + reg = <0>; > + }; > + > + port@1 { > + reg = <1>; > + > + csi_mux_from_mipi_vc0: endpoint { > + remote-endpoint = <&mipi_vc0_to_csi_mux>; > + }; > + }; > + > + port@2 { > + reg = <2>; > + > + csi_mux_to_csi: endpoint { > + remote-endpoint = <&csi_from_csi_mux>; > + }; > + }; > + }; > + > soc: soc { > #address-cells = <1>; > #size-cells = <1>; > @@ -529,34 +557,6 @@ mux: mux-controller { > #mux-control-cells = <1>; > mux-reg-masks = <0x14 0x00000010>; > }; > - > - video_mux: csi-mux { > - compatible = "video-mux"; > - mux-controls = <&mux 0>; > - #address-cells = <1>; > - #size-cells = <0>; > - status = "disabled"; > - > - port@0 { > - reg = <0>; > - }; > - > - port@1 { > - reg = <1>; > - > - csi_mux_from_mipi_vc0: endpoint { > - remote-endpoint = <&mipi_vc0_to_csi_mux>; > - }; > - }; > - > - port@2 { > - reg = <2>; > - > - csi_mux_to_csi: endpoint { > - remote-endpoint = <&csi_from_csi_mux>; > - }; > - }; > - }; > }; > > ocotp: efuse@30350000 { -- Regards, Laurent Pinchart ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/2] ARM: dts: imx7s: Move csi-mux to below root 2025-01-07 9:49 ` [PATCH 1/2] ARM: dts: imx7s: Move csi-mux to below root Alexander Stein 2025-01-07 10:06 ` Laurent Pinchart @ 2025-01-07 10:37 ` Fabio Estevam 2025-02-18 5:21 ` Shawn Guo 2 siblings, 0 replies; 11+ messages in thread From: Fabio Estevam @ 2025-01-07 10:37 UTC (permalink / raw) To: Alexander Stein Cc: Inki Dae, Jagan Teki, Marek Szyprowski, Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, dri-devel, devicetree, linux-kernel, imx, linux-arm-kernel On Tue, Jan 7, 2025 at 6:50 AM Alexander Stein <alexander.stein@ew.tq-group.com> wrote: > > fsl,imx-iomuxc-gpr.yaml only contains the mux-controller but the actual > video-mux is not part of it. So move it below root node. > Fixes the dtbs_check warning: > arch/arm/boot/dts/nxp/imx/imx7s-mba7.dtb: iomuxc-gpr@30340000: 'csi-mux' does not match any of the regexes: 'pinctrl-[0-9]+' > from schema $id: http://devicetree.org/schemas/soc/imx/fsl,imx-iomuxc-gpr.yaml# > > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Reviewed-by: Fabio Estevam <festevam@gmail.com> ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/2] ARM: dts: imx7s: Move csi-mux to below root 2025-01-07 9:49 ` [PATCH 1/2] ARM: dts: imx7s: Move csi-mux to below root Alexander Stein 2025-01-07 10:06 ` Laurent Pinchart 2025-01-07 10:37 ` Fabio Estevam @ 2025-02-18 5:21 ` Shawn Guo 2 siblings, 0 replies; 11+ messages in thread From: Shawn Guo @ 2025-02-18 5:21 UTC (permalink / raw) To: Alexander Stein Cc: Inki Dae, Jagan Teki, Marek Szyprowski, Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, dri-devel, devicetree, linux-kernel, imx, linux-arm-kernel On Tue, Jan 07, 2025 at 10:49:41AM +0100, Alexander Stein wrote: > fsl,imx-iomuxc-gpr.yaml only contains the mux-controller but the actual > video-mux is not part of it. So move it below root node. > Fixes the dtbs_check warning: > arch/arm/boot/dts/nxp/imx/imx7s-mba7.dtb: iomuxc-gpr@30340000: 'csi-mux' does not match any of the regexes: 'pinctrl-[0-9]+' > from schema $id: http://devicetree.org/schemas/soc/imx/fsl,imx-iomuxc-gpr.yaml# > > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Applied, thanks! ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 2/2] dt-bindings: samsung,mipi-dsim: Add imx7d specific compatible 2025-01-07 9:49 [PATCH 0/2] i.MX7 DT fixes Alexander Stein 2025-01-07 9:49 ` [PATCH 1/2] ARM: dts: imx7s: Move csi-mux to below root Alexander Stein @ 2025-01-07 9:49 ` Alexander Stein 2025-01-07 10:07 ` Laurent Pinchart ` (2 more replies) 1 sibling, 3 replies; 11+ messages in thread From: Alexander Stein @ 2025-01-07 9:49 UTC (permalink / raw) To: Inki Dae, Jagan Teki, Marek Szyprowski, Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam Cc: Alexander Stein, dri-devel, devicetree, linux-kernel, imx, linux-arm-kernel This add a imx7(d) specific compatible which is compatible to imx8mm. This silences the dtbs_check warning: arch/arm/boot/dts/nxp/imx/imx7s-mba7.dtb: dsi@30760000: compatible: 'oneOf' conditional failed, one must be fixed: ['fsl,imx7d-mipi-dsim', 'fsl,imx8mm-mipi-dsim'] is too long Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> --- .../devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml b/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml index 4ed7a799ba26b..e43fec5609417 100644 --- a/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml +++ b/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml @@ -27,7 +27,9 @@ properties: - fsl,imx8mm-mipi-dsim - fsl,imx8mp-mipi-dsim - items: - - const: fsl,imx8mn-mipi-dsim + - enum: + - fsl,imx7d-mipi-dsim + - fsl,imx8mn-mipi-dsim - const: fsl,imx8mm-mipi-dsim reg: -- 2.34.1 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 2/2] dt-bindings: samsung,mipi-dsim: Add imx7d specific compatible 2025-01-07 9:49 ` [PATCH 2/2] dt-bindings: samsung,mipi-dsim: Add imx7d specific compatible Alexander Stein @ 2025-01-07 10:07 ` Laurent Pinchart 2025-01-07 10:35 ` Fabio Estevam 2025-01-07 23:21 ` [PATCH 2/2] dt-bindings: samsung,mipi-dsim: " Rob Herring (Arm) 2 siblings, 0 replies; 11+ messages in thread From: Laurent Pinchart @ 2025-01-07 10:07 UTC (permalink / raw) To: Alexander Stein Cc: Inki Dae, Jagan Teki, Marek Szyprowski, Andrzej Hajda, Neil Armstrong, Robert Foss, Jonas Karlman, Jernej Skrabec, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, dri-devel, devicetree, linux-kernel, imx, linux-arm-kernel Hi Alexander, Thank you for the patch. On Tue, Jan 07, 2025 at 10:49:42AM +0100, Alexander Stein wrote: > This add a imx7(d) specific compatible which is compatible to imx8mm. > This silences the dtbs_check warning: > arch/arm/boot/dts/nxp/imx/imx7s-mba7.dtb: dsi@30760000: compatible: 'oneOf' conditional failed, one must be fixed: > ['fsl,imx7d-mipi-dsim', 'fsl,imx8mm-mipi-dsim'] is too long > > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > --- > .../devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml b/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml > index 4ed7a799ba26b..e43fec5609417 100644 > --- a/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml > +++ b/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml > @@ -27,7 +27,9 @@ properties: > - fsl,imx8mm-mipi-dsim > - fsl,imx8mp-mipi-dsim > - items: > - - const: fsl,imx8mn-mipi-dsim > + - enum: > + - fsl,imx7d-mipi-dsim > + - fsl,imx8mn-mipi-dsim > - const: fsl,imx8mm-mipi-dsim > > reg: -- Regards, Laurent Pinchart ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 2/2] dt-bindings: samsung,mipi-dsim: Add imx7d specific compatible 2025-01-07 9:49 ` [PATCH 2/2] dt-bindings: samsung,mipi-dsim: Add imx7d specific compatible Alexander Stein 2025-01-07 10:07 ` Laurent Pinchart @ 2025-01-07 10:35 ` Fabio Estevam 2025-01-07 10:44 ` [PATCH 2/2] dt-bindings: samsung, mipi-dsim: " Alexander Stein 2025-01-07 23:21 ` [PATCH 2/2] dt-bindings: samsung,mipi-dsim: " Rob Herring (Arm) 2 siblings, 1 reply; 11+ messages in thread From: Fabio Estevam @ 2025-01-07 10:35 UTC (permalink / raw) To: Alexander Stein Cc: Inki Dae, Jagan Teki, Marek Szyprowski, Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, dri-devel, devicetree, linux-kernel, imx, linux-arm-kernel Hi Alexander, On Tue, Jan 7, 2025 at 6:50 AM Alexander Stein <alexander.stein@ew.tq-group.com> wrote: > > This add a imx7(d) specific compatible which is compatible to imx8mm. > This silences the dtbs_check warning: > arch/arm/boot/dts/nxp/imx/imx7s-mba7.dtb: dsi@30760000: compatible: 'oneOf' conditional failed, one must be fixed: > ['fsl,imx7d-mipi-dsim', 'fsl,imx8mm-mipi-dsim'] is too long The warning here is about using fsl,imx8mm-mipi-dsim. > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> > --- > .../devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml b/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml > index 4ed7a799ba26b..e43fec5609417 100644 > --- a/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml > +++ b/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml > @@ -27,7 +27,9 @@ properties: > - fsl,imx8mm-mipi-dsim > - fsl,imx8mp-mipi-dsim > - items: > - - const: fsl,imx8mn-mipi-dsim > + - enum: > + - fsl,imx7d-mipi-dsim > + - fsl,imx8mn-mipi-dsim But you added a fallback to fsl,imx8mn-mipi-dsim, so this does not look right. I have already sent the following fix to address this issue: https://lore.kernel.org/all/20241217131431.1464983-1-festevam@gmail.com/T/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 2/2] dt-bindings: samsung, mipi-dsim: Add imx7d specific compatible 2025-01-07 10:35 ` Fabio Estevam @ 2025-01-07 10:44 ` Alexander Stein 0 siblings, 0 replies; 11+ messages in thread From: Alexander Stein @ 2025-01-07 10:44 UTC (permalink / raw) To: Fabio Estevam Cc: Inki Dae, Jagan Teki, Marek Szyprowski, Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, dri-devel, devicetree, linux-kernel, imx, linux-arm-kernel Hi Fabio, Am Dienstag, 7. Januar 2025, 11:35:48 CET schrieb Fabio Estevam: > Hi Alexander, > > On Tue, Jan 7, 2025 at 6:50 AM Alexander Stein > <alexander.stein@ew.tq-group.com> wrote: > > > > This add a imx7(d) specific compatible which is compatible to imx8mm. > > This silences the dtbs_check warning: > > arch/arm/boot/dts/nxp/imx/imx7s-mba7.dtb: dsi@30760000: compatible: 'oneOf' conditional failed, one must be fixed: > > ['fsl,imx7d-mipi-dsim', 'fsl,imx8mm-mipi-dsim'] is too long > > The warning here is about using fsl,imx8mm-mipi-dsim. I'm not sure what you exactly mean. The warning isn't about using fsl,imx8mm-mipi-dsim, instead fsl,imx7d-mipi-dsim does not match any compatibles listed in the schema. > > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> > > --- > > .../devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml b/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml > > index 4ed7a799ba26b..e43fec5609417 100644 > > --- a/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml > > +++ b/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml > > @@ -27,7 +27,9 @@ properties: > > - fsl,imx8mm-mipi-dsim > > - fsl,imx8mp-mipi-dsim > > - items: > > - - const: fsl,imx8mn-mipi-dsim > > + - enum: > > + - fsl,imx7d-mipi-dsim > > + - fsl,imx8mn-mipi-dsim > > But you added a fallback to fsl,imx8mn-mipi-dsim, so this does not look right. Admittedly I'm having a hard time on DT schemas at times, but this change allows imx7d OR imx8mn to be used together with imx8mm. > I have already sent the following fix to address this issue: > > https://lore.kernel.org/all/20241217131431.1464983-1-festevam@gmail.com/T/ This patch essentially does the same but add a new entry to the oneOf. If you add fsl,imx8mn-mipi-dsim to that enum as we end up with the same solution. Best regards, Alexander -- TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht München, HRB 105018 Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider http://www.tq-group.com/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 2/2] dt-bindings: samsung,mipi-dsim: Add imx7d specific compatible 2025-01-07 9:49 ` [PATCH 2/2] dt-bindings: samsung,mipi-dsim: Add imx7d specific compatible Alexander Stein 2025-01-07 10:07 ` Laurent Pinchart 2025-01-07 10:35 ` Fabio Estevam @ 2025-01-07 23:21 ` Rob Herring (Arm) 2025-01-08 14:25 ` Fabio Estevam 2 siblings, 1 reply; 11+ messages in thread From: Rob Herring (Arm) @ 2025-01-07 23:21 UTC (permalink / raw) To: Alexander Stein Cc: imx, Simona Vetter, Maxime Ripard, Inki Dae, Krzysztof Kozlowski, Marek Szyprowski, Laurent Pinchart, devicetree, Jonas Karlman, Jernej Skrabec, Shawn Guo, Robert Foss, Fabio Estevam, dri-devel, Thomas Zimmermann, linux-kernel, Maarten Lankhorst, Sascha Hauer, David Airlie, Andrzej Hajda, Neil Armstrong, Jagan Teki, linux-arm-kernel, Conor Dooley, Pengutronix Kernel Team On Tue, 07 Jan 2025 10:49:42 +0100, Alexander Stein wrote: > This add a imx7(d) specific compatible which is compatible to imx8mm. > This silences the dtbs_check warning: > arch/arm/boot/dts/nxp/imx/imx7s-mba7.dtb: dsi@30760000: compatible: 'oneOf' conditional failed, one must be fixed: > ['fsl,imx7d-mipi-dsim', 'fsl,imx8mm-mipi-dsim'] is too long > > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> > --- > .../devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > Fabio is clearly confused, and I prefer this patch over his. As it is probably past the drm-misc cutoff, I applied it to DT tree. Thanks, Rob ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 2/2] dt-bindings: samsung,mipi-dsim: Add imx7d specific compatible 2025-01-07 23:21 ` [PATCH 2/2] dt-bindings: samsung,mipi-dsim: " Rob Herring (Arm) @ 2025-01-08 14:25 ` Fabio Estevam 0 siblings, 0 replies; 11+ messages in thread From: Fabio Estevam @ 2025-01-08 14:25 UTC (permalink / raw) To: Rob Herring (Arm) Cc: Alexander Stein, imx, Simona Vetter, Maxime Ripard, Inki Dae, Krzysztof Kozlowski, Marek Szyprowski, Laurent Pinchart, devicetree, Jonas Karlman, Jernej Skrabec, Shawn Guo, Robert Foss, dri-devel, Thomas Zimmermann, linux-kernel, Maarten Lankhorst, Sascha Hauer, David Airlie, Andrzej Hajda, Neil Armstrong, Jagan Teki, linux-arm-kernel, Conor Dooley, Pengutronix Kernel Team On Tue, Jan 7, 2025 at 8:21 PM Rob Herring (Arm) <robh@kernel.org> wrote: > Fabio is clearly confused, and I prefer this patch over his. As > it is probably past the drm-misc cutoff, I applied it to DT tree. You are right. I am sorry for the confusion. ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2025-02-18 5:30 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2025-01-07 9:49 [PATCH 0/2] i.MX7 DT fixes Alexander Stein 2025-01-07 9:49 ` [PATCH 1/2] ARM: dts: imx7s: Move csi-mux to below root Alexander Stein 2025-01-07 10:06 ` Laurent Pinchart 2025-01-07 10:37 ` Fabio Estevam 2025-02-18 5:21 ` Shawn Guo 2025-01-07 9:49 ` [PATCH 2/2] dt-bindings: samsung,mipi-dsim: Add imx7d specific compatible Alexander Stein 2025-01-07 10:07 ` Laurent Pinchart 2025-01-07 10:35 ` Fabio Estevam 2025-01-07 10:44 ` [PATCH 2/2] dt-bindings: samsung, mipi-dsim: " Alexander Stein 2025-01-07 23:21 ` [PATCH 2/2] dt-bindings: samsung,mipi-dsim: " Rob Herring (Arm) 2025-01-08 14:25 ` Fabio Estevam
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).