mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Neil Armstrong <neil.armstrong@linaro.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>,
	Artur Weber <aweber.kernel@gmail.com>,
	Jessica Zhang <jesszhan0024@gmail.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>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Dzmitry Sankouski <dsankouski@gmail.com>,
	Tomi Valkeinen <tomi.valkeinen@ti.com>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Konrad Dybcio <konradybcio@kernel.org>
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH 3/5] dt-bindings: display: panel: Drop redundant properties
Date: Tue, 10 Mar 2026 14:08:12 +0100	[thread overview]
Message-ID: <f502051e-68a8-424c-90bd-a4d4957904f6@linaro.org> (raw)
In-Reply-To: <20260306-dt-bindings-display-panel-clean-v1-3-3086eda1efaf@oss.qualcomm.com>

On 3/6/26 13:02, Krzysztof Kozlowski wrote:
> The purpose of common schemas, like panel-common.yaml, is to list
> applicable properties.  It can list common ABI, e.g. "label" property,
> and pure hardware related properties like power supply or GPIOs.  In the
> second case it means that all panels have these supplies or GPIOs.
> This is the only meaning when hardware property is allowed in common
> schema, because bindings are precise and we do not define common schemas
> for "possible" hardware configurations.
> 
> Following this, all panel bindings which reference common schema and use
> "unevaluatedProperties: false" do not need to list these common parts.
> 
> Simplify such bindings to also reduce copy-paste code and review time
> for new contributions.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---
>   Documentation/devicetree/bindings/display/panel/abt,y030xx067a.yaml | 5 -----
>   Documentation/devicetree/bindings/display/panel/himax,hx83112a.yaml | 2 --
>   Documentation/devicetree/bindings/display/panel/ilitek,ili9163.yaml | 4 ----
>   Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml | 3 ---
>   Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml | 2 --
>   .../devicetree/bindings/display/panel/innolux,ej030na.yaml          | 5 -----
>   .../devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.yaml | 5 -----
>   .../devicetree/bindings/display/panel/lgphilips,lb035q02.yaml       | 4 ----
>   Documentation/devicetree/bindings/display/panel/nec,nl8048hl11.yaml | 4 ----
>   .../devicetree/bindings/display/panel/novatek,nt36523.yaml          | 3 ---
>   .../devicetree/bindings/display/panel/novatek,nt36672a.yaml         | 3 ---
>   .../devicetree/bindings/display/panel/raydium,rm692e5.yaml          | 2 --
>   Documentation/devicetree/bindings/display/panel/samsung,ld9040.yaml | 4 ----
>   .../devicetree/bindings/display/panel/samsung,lms380kf01.yaml       | 6 ------
>   .../devicetree/bindings/display/panel/samsung,lms397kf04.yaml       | 6 ------
>   .../devicetree/bindings/display/panel/samsung,s6d27a1.yaml          | 6 ------
>   .../devicetree/bindings/display/panel/samsung,s6e3ha8.yaml          | 4 ----
>   .../devicetree/bindings/display/panel/samsung,s6e63m0.yaml          | 2 --
>   .../devicetree/bindings/display/panel/sitronix,st7701.yaml          | 6 ------
>   .../devicetree/bindings/display/panel/sitronix,st7789v.yaml         | 6 ------
>   Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml | 4 ----
>   Documentation/devicetree/bindings/display/panel/tpo,td.yaml         | 5 -----
>   22 files changed, 91 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/display/panel/abt,y030xx067a.yaml b/Documentation/devicetree/bindings/display/panel/abt,y030xx067a.yaml
> index 0aa2d3fbadaa..72cbb9ee5eae 100644
> --- a/Documentation/devicetree/bindings/display/panel/abt,y030xx067a.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/abt,y030xx067a.yaml
> @@ -20,11 +20,6 @@ properties:
>     reg:
>       maxItems: 1
>   
> -  backlight: true
> -  port: true
> -  power-supply: true
> -  reset-gpios: true
> -
>   required:
>     - compatible
>     - reg
> diff --git a/Documentation/devicetree/bindings/display/panel/himax,hx83112a.yaml b/Documentation/devicetree/bindings/display/panel/himax,hx83112a.yaml
> index 56bcd152f43c..2c60d0cd704e 100644
> --- a/Documentation/devicetree/bindings/display/panel/himax,hx83112a.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/himax,hx83112a.yaml
> @@ -33,8 +33,6 @@ properties:
>     vsp-supply:
>       description: Negative source voltage rail
>   
> -  port: true
> -
>   required:
>     - compatible
>     - reg
> diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,ili9163.yaml b/Documentation/devicetree/bindings/display/panel/ilitek,ili9163.yaml
> index ef5a2240b684..cc80d0e90f1a 100644
> --- a/Documentation/devicetree/bindings/display/panel/ilitek,ili9163.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/ilitek,ili9163.yaml
> @@ -34,10 +34,6 @@ properties:
>       maxItems: 1
>       description: Display data/command selection (D/CX)
>   
> -  backlight: true
> -  reset-gpios: true
> -  rotation: true
> -
>   required:
>     - compatible
>     - reg
> diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml b/Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml
> index 4bdc33d12306..c97bfd0f2ebc 100644
> --- a/Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml
> @@ -29,9 +29,6 @@ properties:
>     reg:
>       maxItems: 1
>   
> -  reset-gpios: true
> -  port: true
> -
>     vcc-supply:
>       description: Core voltage supply
>   
> diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml b/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml
> index 5f41758c96d5..3cada0f82951 100644
> --- a/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml
> @@ -40,8 +40,6 @@ properties:
>     spi-max-frequency:
>       const: 10000000
>   
> -  port: true
> -
>     vci-supply:
>       description: Analog voltage supply (2.5 .. 3.3V)
>   
> diff --git a/Documentation/devicetree/bindings/display/panel/innolux,ej030na.yaml b/Documentation/devicetree/bindings/display/panel/innolux,ej030na.yaml
> index c7df9a7f6589..59cc7edb22bb 100644
> --- a/Documentation/devicetree/bindings/display/panel/innolux,ej030na.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/innolux,ej030na.yaml
> @@ -20,11 +20,6 @@ properties:
>     reg:
>       maxItems: 1
>   
> -  backlight: true
> -  port: true
> -  power-supply: true
> -  reset-gpios: true
> -
>   required:
>     - compatible
>     - reg
> diff --git a/Documentation/devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.yaml b/Documentation/devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.yaml
> index d86c916f7b55..fe7ad266e1b0 100644
> --- a/Documentation/devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.yaml
> @@ -20,11 +20,6 @@ properties:
>     reg:
>       maxItems: 1
>   
> -  backlight: true
> -  port: true
> -  power-supply: true
> -  reset-gpios: true
> -
>     spi-3wire: true
>   
>   required:
> diff --git a/Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.yaml b/Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.yaml
> index 3de17fd8513b..3c8c65c6a869 100644
> --- a/Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.yaml
> @@ -20,10 +20,6 @@ properties:
>     reg:
>       maxItems: 1
>   
> -  label: true
> -  enable-gpios: true
> -  port: true
> -
>     spi-cpha: true
>     spi-cpol: true
>   
> diff --git a/Documentation/devicetree/bindings/display/panel/nec,nl8048hl11.yaml b/Documentation/devicetree/bindings/display/panel/nec,nl8048hl11.yaml
> index 1cffe4d6d498..eb9eeba92359 100644
> --- a/Documentation/devicetree/bindings/display/panel/nec,nl8048hl11.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/nec,nl8048hl11.yaml
> @@ -24,10 +24,6 @@ properties:
>     reg:
>       maxItems: 1
>   
> -  label: true
> -  port: true
> -  reset-gpios: true
> -
>     spi-max-frequency:
>       maximum: 10000000
>   
> diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt36523.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt36523.yaml
> index c4bae4f77085..b9300a1f2646 100644
> --- a/Documentation/devicetree/bindings/display/panel/novatek,nt36523.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt36523.yaml
> @@ -37,9 +37,6 @@ properties:
>     vddio-supply:
>       description: regulator that supplies the I/O voltage
>   
> -  rotation: true
> -  backlight: true
> -
>   required:
>     - compatible
>     - reg
> diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml
> index 800a2f0a4dad..5d16d8511725 100644
> --- a/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml
> @@ -47,9 +47,6 @@ properties:
>     vddneg-supply:
>       description: phandle of the negative boost supply regulator
>   
> -  port: true
> -  backlight: true
> -
>   required:
>     - compatible
>     - reg
> diff --git a/Documentation/devicetree/bindings/display/panel/raydium,rm692e5.yaml b/Documentation/devicetree/bindings/display/panel/raydium,rm692e5.yaml
> index 7ad223f98253..616a5f3ec9fc 100644
> --- a/Documentation/devicetree/bindings/display/panel/raydium,rm692e5.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/raydium,rm692e5.yaml
> @@ -34,8 +34,6 @@ properties:
>     vddio-supply:
>       description: I/O voltage rail
>   
> -  port: true
> -
>   required:
>     - compatible
>     - reg
> diff --git a/Documentation/devicetree/bindings/display/panel/samsung,ld9040.yaml b/Documentation/devicetree/bindings/display/panel/samsung,ld9040.yaml
> index bc92b16c95b9..2e64fba472cc 100644
> --- a/Documentation/devicetree/bindings/display/panel/samsung,ld9040.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/samsung,ld9040.yaml
> @@ -20,10 +20,6 @@ properties:
>     reg:
>       maxItems: 1
>   
> -  display-timings: true
> -  port: true
> -  reset-gpios: true
> -
>     vdd3-supply:
>       description: core voltage supply
>   
> diff --git a/Documentation/devicetree/bindings/display/panel/samsung,lms380kf01.yaml b/Documentation/devicetree/bindings/display/panel/samsung,lms380kf01.yaml
> index 74c2a617c2ff..828b7d7ba17f 100644
> --- a/Documentation/devicetree/bindings/display/panel/samsung,lms380kf01.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/samsung,lms380kf01.yaml
> @@ -31,8 +31,6 @@ properties:
>         configuration.
>       maxItems: 1
>   
> -  reset-gpios: true
> -
>     vci-supply:
>       description: regulator that supplies the VCI analog voltage
>         usually around 3.0 V
> @@ -41,8 +39,6 @@ properties:
>       description: regulator that supplies the VCCIO voltage usually
>         around 1.8 V
>   
> -  backlight: true
> -
>     spi-cpha: true
>   
>     spi-cpol: true
> @@ -50,8 +46,6 @@ properties:
>     spi-max-frequency:
>       maximum: 1200000
>   
> -  port: true
> -
>   required:
>     - compatible
>     - reg
> diff --git a/Documentation/devicetree/bindings/display/panel/samsung,lms397kf04.yaml b/Documentation/devicetree/bindings/display/panel/samsung,lms397kf04.yaml
> index 4cecf502a150..c04d47e59f24 100644
> --- a/Documentation/devicetree/bindings/display/panel/samsung,lms397kf04.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/samsung,lms397kf04.yaml
> @@ -23,8 +23,6 @@ properties:
>     reg:
>       maxItems: 1
>   
> -  reset-gpios: true
> -
>     vci-supply:
>       description: regulator that supplies the VCI analog voltage
>         usually around 3.0 V
> @@ -33,8 +31,6 @@ properties:
>       description: regulator that supplies the VCCIO voltage usually
>         around 1.8 V
>   
> -  backlight: true
> -
>     spi-cpha: true
>   
>     spi-cpol: true
> @@ -44,8 +40,6 @@ properties:
>         maximum 300 ns minimum cycle which gives around 3 MHz max frequency
>       maximum: 3000000
>   
> -  port: true
> -
>   required:
>     - compatible
>     - reg
> diff --git a/Documentation/devicetree/bindings/display/panel/samsung,s6d27a1.yaml b/Documentation/devicetree/bindings/display/panel/samsung,s6d27a1.yaml
> index d74904164719..0d57f97e8a76 100644
> --- a/Documentation/devicetree/bindings/display/panel/samsung,s6d27a1.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/samsung,s6d27a1.yaml
> @@ -30,8 +30,6 @@ properties:
>         configuration.
>       maxItems: 1
>   
> -  reset-gpios: true
> -
>     vci-supply:
>       description: regulator that supplies the VCI analog voltage
>         usually around 3.0 V
> @@ -40,8 +38,6 @@ properties:
>       description: regulator that supplies the VCCIO voltage usually
>         around 1.8 V
>   
> -  backlight: true
> -
>     spi-cpha: true
>   
>     spi-cpol: true
> @@ -49,8 +45,6 @@ properties:
>     spi-max-frequency:
>       maximum: 1200000
>   
> -  port: true
> -
>   required:
>     - compatible
>     - reg
> diff --git a/Documentation/devicetree/bindings/display/panel/samsung,s6e3ha8.yaml b/Documentation/devicetree/bindings/display/panel/samsung,s6e3ha8.yaml
> index 05a78429aaea..00ce5a4e1c6b 100644
> --- a/Documentation/devicetree/bindings/display/panel/samsung,s6e3ha8.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/samsung,s6e3ha8.yaml
> @@ -22,10 +22,6 @@ properties:
>     reg:
>       maxItems: 1
>   
> -  reset-gpios: true
> -
> -  port: true
> -
>     vdd3-supply:
>       description: VDD regulator
>   
> diff --git a/Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.yaml b/Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.yaml
> index c47e2a1a30e5..b65f0688bdf0 100644
> --- a/Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.yaml
> @@ -21,8 +21,6 @@ properties:
>     reg:
>       maxItems: 1
>   
> -  reset-gpios: true
> -  port: true
>     default-brightness: true
>     max-brightness: true
>   
> diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml b/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml
> index 1e434240ea3f..044b84d8638d 100644
> --- a/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml
> @@ -49,12 +49,6 @@ properties:
>         If not set, the controller is in 3-line SPI mode.
>         Disallowed for DSI.
>   
> -  port: true
> -  reset-gpios: true
> -  rotation: true
> -
> -  backlight: true
> -
>   required:
>     - compatible
>     - reg
> diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml
> index c35d4f2ab9a4..e4fa05163d2d 100644
> --- a/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml
> @@ -24,12 +24,6 @@ properties:
>     reg:
>       maxItems: 1
>   
> -  reset-gpios: true
> -  power-supply: true
> -  backlight: true
> -  port: true
> -  rotation: true
> -
>     spi-cpha: true
>     spi-cpol: true
>   
> diff --git a/Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml b/Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml
> index 5a8260224b74..12e5ad504001 100644
> --- a/Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml
> @@ -20,10 +20,6 @@ properties:
>     reg:
>       maxItems: 1
>   
> -  label: true
> -  reset-gpios: true
> -  port: true
> -
>   required:
>     - compatible
>     - port
> diff --git a/Documentation/devicetree/bindings/display/panel/tpo,td.yaml b/Documentation/devicetree/bindings/display/panel/tpo,td.yaml
> index 7edd29df4bbb..855911588d73 100644
> --- a/Documentation/devicetree/bindings/display/panel/tpo,td.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/tpo,td.yaml
> @@ -25,11 +25,6 @@ properties:
>     reg:
>       maxItems: 1
>   
> -  label: true
> -  reset-gpios: true
> -  backlight: true
> -  port: true
> -
>     spi-cpha: true
>     spi-cpol: true
>   
> 

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>

Thanks,
Neil

  reply	other threads:[~2026-03-10 13:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-06 12:02 [PATCH 0/5] dt-bindings: display: panel: Few cleanups and fixes Krzysztof Kozlowski
2026-03-06 12:02 ` [PATCH 1/5] dt-bindings: display: samsung,s6d7aa0: Document port Krzysztof Kozlowski
2026-03-10 13:21   ` Neil Armstrong
2026-03-06 12:02 ` [PATCH 2/5] dt-bindings: display: innolux,p097pfg: Document ports Krzysztof Kozlowski
2026-03-10 13:21   ` Neil Armstrong
2026-03-06 12:02 ` [PATCH 3/5] dt-bindings: display: panel: Drop redundant properties Krzysztof Kozlowski
2026-03-10 13:08   ` Neil Armstrong [this message]
2026-03-06 12:02 ` [PATCH 4/5] dt-bindings: display: panel: Align style of additionalProperties Krzysztof Kozlowski
2026-03-10 13:08   ` Neil Armstrong
2026-03-06 12:02 ` [PATCH 5/5] dt-bindings: display: panel: Align style of "true" properties Krzysztof Kozlowski
2026-03-10 13:08   ` Neil Armstrong
2026-03-10 13:29 ` [PATCH 0/5] dt-bindings: display: panel: Few cleanups and fixes Neil Armstrong
2026-03-10 13:32   ` Neil Armstrong
2026-03-13  8:16     ` Krzysztof Kozlowski

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=f502051e-68a8-424c-90bd-a4d4957904f6@linaro.org \
    --to=neil.armstrong@linaro.org \
    --cc=airlied@gmail.com \
    --cc=aweber.kernel@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=dsankouski@gmail.com \
    --cc=jesszhan0024@gmail.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzysztof.kozlowski@oss.qualcomm.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=robh@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=tomi.valkeinen@ti.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

all inboxes | Powered by JetHome®