From: Rahul T R <r-ravikumar@ti.com>
To: <dri-devel@lists.freedesktop.org>, <robh+dt@kernel.org>,
<krzysztof.kozlowski+dt@linaro.org>,
<tomi.valkeinen@ideasonboard.com>
Cc: <andrzej.hajda@intel.com>, <narmstrong@baylibre.com>,
<robert.foss@linaro.org>, <jonas@kwiboo.se>,
<jernej.skrabec@gmail.com>, <airlied@linux.ie>, <daniel@ffwll.ch>,
<p.zabel@pengutronix.de>, <laurent.pinchart@ideasonboard.com>,
<linux-kernel@vger.kernel.org>, <jpawar@cadence.com>,
<sjakhade@cadence.com>, <mparab@cadence.com>, <a-bhatia1@ti.com>,
<devicetree@vger.kernel.org>, <vigneshr@ti.com>,
<lee.jones@linaro.org>, Rahul T R <r-ravikumar@ti.com>,
Rob Herring <robh@kernel.org>
Subject: [PATCH v9 2/5] dt-bindings: display: bridge: cdns,dsi: Add compatible for dsi on j721e
Date: Mon, 31 Oct 2022 17:49:21 +0530 [thread overview]
Message-ID: <20221031121924.29974-3-r-ravikumar@ti.com> (raw)
In-Reply-To: <20221031121924.29974-1-r-ravikumar@ti.com>
Add compatible to support dsi bridge on j721e
Signed-off-by: Rahul T R <r-ravikumar@ti.com>
Reviewed-by: Rob Herring <robh@kernel.org>
---
.../bindings/display/bridge/cdns,dsi.yaml | 25 ++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/display/bridge/cdns,dsi.yaml b/Documentation/devicetree/bindings/display/bridge/cdns,dsi.yaml
index 3161c33093c1..23060324d16e 100644
--- a/Documentation/devicetree/bindings/display/bridge/cdns,dsi.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/cdns,dsi.yaml
@@ -16,9 +16,15 @@ properties:
compatible:
enum:
- cdns,dsi
+ - ti,j721e-dsi
reg:
- maxItems: 1
+ minItems: 1
+ items:
+ - description:
+ Register block for controller's registers.
+ - description:
+ Register block for wrapper settings registers in case of TI J7 SoCs.
clocks:
items:
@@ -67,6 +73,23 @@ properties:
allOf:
- $ref: ../dsi-controller.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: ti,j721e-dsi
+ then:
+ properties:
+ reg:
+ minItems: 2
+ maxItems: 2
+ power-domains:
+ maxItems: 1
+ else:
+ properties:
+ reg:
+ maxItems: 1
+
required:
- compatible
- reg
--
2.38.0
next prev parent reply other threads:[~2022-10-31 12:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-31 12:19 [PATCH v9 0/5] Add support for CDNS DSI J721E wrapper Rahul T R
2022-10-31 12:19 ` [PATCH v9 1/5] dt-bindings: display: bridge: Convert cdns,dsi.txt to yaml Rahul T R
2022-10-31 12:19 ` Rahul T R [this message]
2022-10-31 12:19 ` [PATCH v9 3/5] drm/bridge: cdns-dsi: Move to drm/bridge/cadence Rahul T R
2022-10-31 12:19 ` [PATCH v9 4/5] drm/bridge: cdns-dsi: Create a header file Rahul T R
2022-10-31 12:19 ` [PATCH v9 5/5] drm/bridge: cdns-dsi: Add support for J721E wrapper Rahul T R
2022-12-21 10:57 ` Tomi Valkeinen
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=20221031121924.29974-3-r-ravikumar@ti.com \
--to=r-ravikumar@ti.com \
--cc=a-bhatia1@ti.com \
--cc=airlied@linux.ie \
--cc=andrzej.hajda@intel.com \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=jpawar@cadence.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mparab@cadence.com \
--cc=narmstrong@baylibre.com \
--cc=p.zabel@pengutronix.de \
--cc=robert.foss@linaro.org \
--cc=robh+dt@kernel.org \
--cc=robh@kernel.org \
--cc=sjakhade@cadence.com \
--cc=tomi.valkeinen@ideasonboard.com \
--cc=vigneshr@ti.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).