devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Rahul T R <r-ravikumar@ti.com>,
	dri-devel@lists.freedesktop.org, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org
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, tomi.valkeinen@ideasonboard.com,
	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
Subject: Re: [PATCH v4 2/5] dt-bindings: display: bridge: cdns,dsi: Add compatible for dsi on j721e
Date: Wed, 6 Jul 2022 10:19:30 +0200	[thread overview]
Message-ID: <189a226c-1664-9a07-cd0d-6ab8242d5443@linaro.org> (raw)
In-Reply-To: <20220705121116.24121-3-r-ravikumar@ti.com>

On 05/07/2022 14:11, Rahul T R wrote:
> Add compatible to support dsi bridge on j721e
> 
> Signed-off-by: Rahul T R <r-ravikumar@ti.com>
> ---
>  .../bindings/display/bridge/cdns,dsi.yaml     | 24 +++++++++++++++++--
>  1 file changed, 22 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/display/bridge/cdns,dsi.yaml b/Documentation/devicetree/bindings/display/bridge/cdns,dsi.yaml
> index ccedc73d8c18..33a88b39cf09 100644
> --- a/Documentation/devicetree/bindings/display/bridge/cdns,dsi.yaml
> +++ b/Documentation/devicetree/bindings/display/bridge/cdns,dsi.yaml
> @@ -14,13 +14,17 @@ description: |
>  
>  properties:
>    compatible:
> -    items:
> -      - const: cdns,dsi
> +    enum:
> +      - cdns,dsi
> +      - ti,j721e-dsi
>  
>    reg:
> +    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:
> @@ -74,6 +78,22 @@ properties:
>  allOf:
>    - $ref: ../dsi-controller.yaml#
>  
> +  - if:
> +      properties:
> +        compatible:
> +          contains:
> +            const: ti,j721e-dsi
> +    then:
> +      properties:
> +        reg:
> +          minItems: 2
> +          maxItems: 2
> +    else:
> +      properties:
> +        reg:
> +          minItems: 1

minItems are not needed here.

> +          maxItems: 1
> +
>  required:
>    - compatible
>    - reg


Best regards,
Krzysztof

  reply	other threads:[~2022-07-06  8:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-05 12:11 [PATCH v4 0/5] Add support for CDNS DSI J721E wrapper Rahul T R
2022-07-05 12:11 ` [PATCH v4 1/5] dt-bindings: display: bridge: Convert cdns,dsi.txt to yaml Rahul T R
2022-07-06  8:17   ` Krzysztof Kozlowski
2022-07-06 11:49     ` Rahul T R
2022-07-05 12:11 ` [PATCH v4 2/5] dt-bindings: display: bridge: cdns,dsi: Add compatible for dsi on j721e Rahul T R
2022-07-06  8:19   ` Krzysztof Kozlowski [this message]
2022-07-05 12:11 ` [PATCH v4 3/5] drm/bridge: cdns-dsi: Move to drm/bridge/cadence Rahul T R
2022-07-06  8:22   ` Krzysztof Kozlowski
2022-07-05 12:11 ` [PATCH v4 4/5] drm/bridge: cdns-dsi: Create a header file Rahul T R
2022-07-05 12:11 ` [PATCH v4 5/5] drm/bridge: cdns-dsi: Add support for J721E wrapper Rahul T R

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=189a226c-1664-9a07-cd0d-6ab8242d5443@linaro.org \
    --to=krzysztof.kozlowski@linaro.org \
    --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=r-ravikumar@ti.com \
    --cc=robert.foss@linaro.org \
    --cc=robh+dt@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).