From: Rob Herring <robh@kernel.org>
To: Paul Sajna <sajattack@postmarketos.org>
Cc: Neil Armstrong <neil.armstrong@linaro.org>,
Jessica Zhang <quic_jesszhan@quicinc.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
devicetree@vger.kernel.org, David Heidelberg <david@ixit.cz>,
Amir Dahan <system64fumo@protonmail.com>
Subject: Re: [PATCH 2/3] dt-bindings: display: panel: Add devicetree documentation for lg,sw49410
Date: Sun, 14 Sep 2025 19:39:23 -0500 [thread overview]
Message-ID: <20250915003923.GA2318579-robh@kernel.org> (raw)
In-Reply-To: <20250910-judyln-panel-v1-2-825c74403bbb@postmarketos.org>
On Wed, Sep 10, 2025 at 08:08:21PM -0700, Paul Sajna wrote:
> Document how to use lg,sw49410 in a devicetree
>
> Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
> ---
> .../bindings/display/panel/lg,sw49410.yaml | 66 ++++++++++++++++++++++
> 1 file changed, 66 insertions(+)
Looks like you can just add the compatible to panel-simple.yaml. All the
properties here are valid for it. And whether you use the simple driver
or not doesn't matter.
>
> diff --git a/Documentation/devicetree/bindings/display/panel/lg,sw49410.yaml b/Documentation/devicetree/bindings/display/panel/lg,sw49410.yaml
> new file mode 100644
> index 0000000000000000000000000000000000000000..7e0db98687d9cfc4da7137e8781752e1401d5ed7
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/panel/lg,sw49410.yaml
> @@ -0,0 +1,66 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/panel/lg,sw49410.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: LG SW49410 MIPI-DSI panels
> +
> +maintainers:
> + - Paul Sajna <hello@paulsajna.com>
> +
> +description:
> + LG SW49410 6.1" 1440x3120 panel found in LG G7 ThinQ smartphone.
> +
> +allOf:
> + - $ref: panel-common.yaml#
> +
> +properties:
> + compatible:
> + items:
> + - const: lg,sw49410
> +
> + reg:
> + maxItems: 1
> +
> + backlight:
> + description: Backlight device reference
> +
> + reset-gpios:
> + description: Reset pin reference
> +
> +required:
> + - compatible
> + - reg
> + - reset-gpios
> + - port
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> +
> + dsi {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + display_panel: panel@0 {
> + reg = <0>;
> + compatible = "lg,sw49410";
> +
> + backlight = <&pmi8998_wled>;
> + reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
> +
> + pinctrl-names = "default", "sleep";
> + pinctrl-0 = <&sde_dsi_active &sde_te_active>;
> + pinctrl-1 = <&sde_dsi_sleep &sde_te_sleep>;
> +
> + port {
> + panel_in: endpoint {
> + remote-endpoint = <&mdss_dsi0_out>;
> + };
> + };
> + };
> + };
> +...
>
> --
> 2.51.0
>
next prev parent reply other threads:[~2025-09-15 0:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-11 3:08 [PATCH 0/3] Add LG SW49410 Panel Driver Paul Sajna
2025-09-11 3:08 ` [PATCH 1/3] drm/panel: Add LG SW49410 Panel Paul Sajna
2025-09-15 0:52 ` Dmitry Baryshkov
2025-09-11 3:08 ` [PATCH 2/3] dt-bindings: display: panel: Add devicetree documentation for lg,sw49410 Paul Sajna
2025-09-15 0:39 ` Rob Herring [this message]
2025-09-11 3:08 ` [PATCH 3/3] Update MAINTAINERS " Paul Sajna
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=20250915003923.GA2318579-robh@kernel.org \
--to=robh@kernel.org \
--cc=airlied@gmail.com \
--cc=conor+dt@kernel.org \
--cc=david@ixit.cz \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=quic_jesszhan@quicinc.com \
--cc=sajattack@postmarketos.org \
--cc=simona@ffwll.ch \
--cc=system64fumo@protonmail.com \
--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 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).