lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250915003923.GA2318579-robh@kernel.org>
Date: Sun, 14 Sep 2025 19:39:23 -0500
From: Rob Herring <robh@...nel.org>
To: Paul Sajna <sajattack@...tmarketos.org>
Cc: Neil Armstrong <neil.armstrong@...aro.org>,
	Jessica Zhang <quic_jesszhan@...cinc.com>,
	Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
	Maxime Ripard <mripard@...nel.org>,
	Thomas Zimmermann <tzimmermann@...e.de>,
	David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
	Krzysztof Kozlowski <krzk+dt@...nel.org>,
	Conor Dooley <conor+dt@...nel.org>, linux-kernel@...r.kernel.org,
	dri-devel@...ts.freedesktop.org, devicetree@...r.kernel.org,
	David Heidelberg <david@...t.cz>,
	Amir Dahan <system64fumo@...tonmail.com>
Subject: Re: [PATCH 2/3] dt-bindings: display: panel: Add devicetree
 documentation for lg,sw49410

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@...tmarketos.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@...lsajna.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
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ