dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: David Heidelberg <david@ixit.cz>
To: Marek Vasut <marex@denx.de>, Stefan Agner <stefan@agner.ch>,
	David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>, Liu Ying <victor.liu@nxp.com>
Cc: kernel@puri.sm, devicetree@vger.kernel.org,
	"Guido Günther" <agx@sigxcpu.org>,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
	"Krzysztof Kozlowski" <krzysztof.kozlowski@linaro.org>,
	"David Heidelberg" <david@ixit.cz>
Subject: [PATCH] dt-bindings: mxsfb: Exclude i.MX8MQ from power-domains requirement
Date: Sun, 30 Jul 2023 21:41:20 +0300	[thread overview]
Message-ID: <20230730184120.94984-1-david@ixit.cz> (raw)

i.MX8MQ uses as secondary compatible fsl,imx6sx-lcdif, which triggers
requirement of power-domains, thou it's not required.

Fixes: f62678a77d58 ("dt-bindings: mxsfb: Document i.MX8M/i.MX6SX/i.MX6SL power-domains property")

Signed-off-by: David Heidelberg <david@ixit.cz>
---
 .../devicetree/bindings/display/fsl,lcdif.yaml        | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
index fc11ab5fc465..2d868276b0f9 100644
--- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
+++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
@@ -129,8 +129,15 @@ allOf:
               - fsl,imx8mp-lcdif
               - fsl,imx93-lcdif
     then:
-      required:
-        - power-domains
+      if:
+        properties:
+          compatible:
+            not:
+              contains:
+                const: fsl,imx8mq-lcdif
+      then:
+        required:
+          - power-domains
 
 examples:
   - |
-- 
2.40.1


             reply	other threads:[~2023-07-30 18:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-30 18:41 David Heidelberg [this message]
2023-08-02  9:51 ` [PATCH] dt-bindings: mxsfb: Exclude i.MX8MQ from power-domains requirement Guido Günther
2023-08-10 19:30   ` Conor Dooley
2023-08-11  3:47     ` Marek Vasut
2023-08-11  5:49     ` Ying Liu
2023-08-11  6:53     ` Conor Dooley
2023-08-17 15:26 ` Guido Günther

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=20230730184120.94984-1-david@ixit.cz \
    --to=david@ixit.cz \
    --cc=agx@sigxcpu.org \
    --cc=airlied@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=daniel@ffwll.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kernel@puri.sm \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marex@denx.de \
    --cc=robh+dt@kernel.org \
    --cc=stefan@agner.ch \
    --cc=victor.liu@nxp.com \
    /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 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).