From: Krzysztof Kozlowski <krzk@kernel.org>
To: David Wronek <david@mainlining.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Jessica Zhang <quic_jesszhan@quicinc.com>,
Sam Ravnborg <sam@ravnborg.org>, David Airlie <airlied@gmail.com>,
Daniel Vetter <daniel@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>,
Marijn Suijten <marijn.suijten@somainline.org>,
Konrad Dybcio <konradybcio@kernel.org>
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
~postmarketos/upstreaming@lists.sr.ht
Subject: Re: [PATCH 1/2] dt-bindings: display: panel: Add Raydium RM69380
Date: Sun, 14 Apr 2024 17:43:44 +0200 [thread overview]
Message-ID: <58c6b9ce-9fef-49be-90db-dbcfba34bf69@kernel.org> (raw)
In-Reply-To: <20240414-raydium-rm69380-driver-v1-1-5e86ba2490b5@mainlining.org>
On 14/04/2024 17:22, David Wronek wrote:
> Raydium RM69380 is a display driver IC used to drive OLED DSI panels.
> Add a dt-binding for it.
>
> Signed-off-by: David Wronek <david@mainlining.org>
> ---
> .../bindings/display/panel/raydium,rm69380.yaml | 94 ++++++++++++++++++++++
> 1 file changed, 94 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/display/panel/raydium,rm69380.yaml b/Documentation/devicetree/bindings/display/panel/raydium,rm69380.yaml
> new file mode 100644
> index 000000000000..9b01b9c22ae9
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/panel/raydium,rm69380.yaml
> @@ -0,0 +1,94 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/panel/raydium,rm69380.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Raydium RM6380-based DSI display panels
> +
> +maintainers:
> + - David Wronek <david@mainlining.org>
> +
> +description:
> + The Raydium RM69380 is a generic DSI Panel IC used to control
> + OLED panels.
> +
> +properties:
> + compatible:
> + items:
> + - const: lenovo,j716f-edo-rm69380
> + - const: raydium,rm69380
> +
> + avdd-supply:
> + description: Analog voltage rail
> +
> + vddio-supply:
> + description: I/O voltage rail
> +
> + reset-gpios:
> + maxItems: 1
> +
> + reg: true
> +
> +required:
> + - compatible
> + - reg
> + - avdd-supply
> + - vddio-supply
> + - reset-gpios
> +
> +allOf:
> + - $ref: panel-common-dual.yaml#
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - lenovo,j716f-edo-rm69380
You have only one variant, so entire if: is not needed. Just require
ports in top-level, if you say this device cannot support single-link
(just to remind: we talk about what device supports, not driver).
> + then:
> + properties:
> + port: false
Redundant, drop.
> + ports:
> + required:
> + - port@1
> +
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-04-14 15:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-14 15:22 [PATCH 0/2] Add driver for Raydium RM69380-based DSI panels David Wronek
2024-04-14 15:22 ` [PATCH 1/2] dt-bindings: display: panel: Add Raydium RM69380 David Wronek
2024-04-14 15:43 ` Krzysztof Kozlowski [this message]
2024-04-14 16:24 ` Rob Herring
2024-04-14 15:22 ` [PATCH 2/2] drm/panel: Add driver for EDO RM69380 OLED panel David Wronek
2024-04-14 20:00 ` Dmitry Baryshkov
2024-04-15 5:58 ` David Wronek
2024-04-14 20:22 ` Christophe JAILLET
2024-04-15 5:37 ` david
2024-04-15 5:39 ` Christophe JAILLET
2024-04-15 5:44 ` David Wronek
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=58c6b9ce-9fef-49be-90db-dbcfba34bf69@kernel.org \
--to=krzk@kernel.org \
--cc=airlied@gmail.com \
--cc=conor+dt@kernel.org \
--cc=daniel@ffwll.ch \
--cc=david@mainlining.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=marijn.suijten@somainline.org \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=quic_jesszhan@quicinc.com \
--cc=robh@kernel.org \
--cc=sam@ravnborg.org \
--cc=tzimmermann@suse.de \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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