From: Alexander Stein <alexander.stein@ew.tq-group.com>
To: Fabio Estevam <festevam@gmail.com>
Cc: Inki Dae <inki.dae@samsung.com>,
Jagan Teki <jagan@amarulasolutions.com>,
Marek Szyprowski <m.szyprowski@samsung.com>,
Andrzej Hajda <andrzej.hajda@intel.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Robert Foss <rfoss@kernel.org>,
Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
Jonas Karlman <jonas@kwiboo.se>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/2] dt-bindings: samsung, mipi-dsim: Add imx7d specific compatible
Date: Tue, 07 Jan 2025 11:44:10 +0100 [thread overview]
Message-ID: <3358169.aeNJFYEL58@steina-w> (raw)
In-Reply-To: <CAOMZO5CasQDRu=U7zUxzuFVBHyREZ7oyG8+SJjg2BF58B9G3wg@mail.gmail.com>
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/
next prev parent reply other threads:[~2025-01-07 10:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
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 9:49 ` [PATCH 2/2] dt-bindings: samsung, mipi-dsim: " Alexander Stein
2025-01-07 10:07 ` [PATCH 2/2] dt-bindings: samsung,mipi-dsim: " Laurent Pinchart
2025-01-07 10:35 ` Fabio Estevam
2025-01-07 10:35 ` [PATCH 2/2] dt-bindings: samsung, mipi-dsim: " Fabio Estevam
2025-01-07 10:44 ` Alexander Stein [this message]
2025-01-07 23:21 ` [PATCH 2/2] dt-bindings: samsung,mipi-dsim: " Rob Herring (Arm)
2025-01-08 14:25 ` Fabio Estevam
2025-01-08 14:25 ` [PATCH 2/2] dt-bindings: samsung, mipi-dsim: " Fabio Estevam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3358169.aeNJFYEL58@steina-w \
--to=alexander.stein@ew.tq-group.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@gmail.com \
--cc=andrzej.hajda@intel.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=inki.dae@samsung.com \
--cc=jagan@amarulasolutions.com \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=rfoss@kernel.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.