]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: display: panel: Drop redundant properties
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Fri, 6 Mar 2026 12:02:56 +0000 (13:02 +0100)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 10 Mar 2026 13:26:02 +0000 (14:26 +0100)
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>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260306-dt-bindings-display-panel-clean-v1-3-3086eda1efaf@oss.qualcomm.com
22 files changed:
Documentation/devicetree/bindings/display/panel/abt,y030xx067a.yaml
Documentation/devicetree/bindings/display/panel/himax,hx83112a.yaml
Documentation/devicetree/bindings/display/panel/ilitek,ili9163.yaml
Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml
Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml
Documentation/devicetree/bindings/display/panel/innolux,ej030na.yaml
Documentation/devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.yaml
Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.yaml
Documentation/devicetree/bindings/display/panel/nec,nl8048hl11.yaml
Documentation/devicetree/bindings/display/panel/novatek,nt36523.yaml
Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml
Documentation/devicetree/bindings/display/panel/raydium,rm692e5.yaml
Documentation/devicetree/bindings/display/panel/samsung,ld9040.yaml
Documentation/devicetree/bindings/display/panel/samsung,lms380kf01.yaml
Documentation/devicetree/bindings/display/panel/samsung,lms397kf04.yaml
Documentation/devicetree/bindings/display/panel/samsung,s6d27a1.yaml
Documentation/devicetree/bindings/display/panel/samsung,s6e3ha8.yaml
Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.yaml
Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml
Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml
Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml
Documentation/devicetree/bindings/display/panel/tpo,td.yaml

index 0aa2d3fbadaa04918010cc72550375538a04bc0e..72cbb9ee5eae334e0cddc1cf64a73f5803685af7 100644 (file)
@@ -20,11 +20,6 @@ properties:
   reg:
     maxItems: 1
 
-  backlight: true
-  port: true
-  power-supply: true
-  reset-gpios: true
-
 required:
   - compatible
   - reg
index 56bcd152f43cbeadd6ac67311c089b419ac45c49..2c60d0cd704e24d0dff48dfd07ac233847b1f38a 100644 (file)
@@ -33,8 +33,6 @@ properties:
   vsp-supply:
     description: Negative source voltage rail
 
-  port: true
-
 required:
   - compatible
   - reg
index ef5a2240b684d0a19df03189a4b4fcc8b1e0226c..cc80d0e90f1a16d368c66c7abf7adc3663cda125 100644 (file)
@@ -34,10 +34,6 @@ properties:
     maxItems: 1
     description: Display data/command selection (D/CX)
 
-  backlight: true
-  reset-gpios: true
-  rotation: true
-
 required:
   - compatible
   - reg
index 4bdc33d12306b20a58cd4a418528a4191a92e3ec..c97bfd0f2ebcd106fdc025770aee6164a6af71a8 100644 (file)
@@ -29,9 +29,6 @@ properties:
   reg:
     maxItems: 1
 
-  reset-gpios: true
-  port: true
-
   vcc-supply:
     description: Core voltage supply
 
index 5f41758c96d5cbaf64cdeba8b178187708e9d38c..3cada0f829517bb0275a741b4d657c8bb17bab51 100644 (file)
@@ -40,8 +40,6 @@ properties:
   spi-max-frequency:
     const: 10000000
 
-  port: true
-
   vci-supply:
     description: Analog voltage supply (2.5 .. 3.3V)
 
index c7df9a7f6589ec11cc74dfba7de9d3217087fcb0..59cc7edb22bbd27ad3c0924b78b4d2a2b2c6bfcb 100644 (file)
@@ -20,11 +20,6 @@ properties:
   reg:
     maxItems: 1
 
-  backlight: true
-  port: true
-  power-supply: true
-  reset-gpios: true
-
 required:
   - compatible
   - reg
index d86c916f7b5546274670ff6fc5cfe0721533f2b2..fe7ad266e1b0b3822e93e05e9766b2964d2df41b 100644 (file)
@@ -20,11 +20,6 @@ properties:
   reg:
     maxItems: 1
 
-  backlight: true
-  port: true
-  power-supply: true
-  reset-gpios: true
-
   spi-3wire: true
 
 required:
index 3de17fd8513bf869259800c878f5d4d54f95bf13..3c8c65c6a8692c195cab711ac641e90f738286bd 100644 (file)
@@ -20,10 +20,6 @@ properties:
   reg:
     maxItems: 1
 
-  label: true
-  enable-gpios: true
-  port: true
-
   spi-cpha: true
   spi-cpol: true
 
index 1cffe4d6d49844b0adcdc39153aae8bf08f05948..eb9eeba92359ca6782e2afdb94de813fb9951f05 100644 (file)
@@ -24,10 +24,6 @@ properties:
   reg:
     maxItems: 1
 
-  label: true
-  port: true
-  reset-gpios: true
-
   spi-max-frequency:
     maximum: 10000000
 
index c4bae4f77085bf1e7ed8bfcd090b99e7a7fd9214..b9300a1f264652557b8c19b00c3c86e1d559b75c 100644 (file)
@@ -37,9 +37,6 @@ properties:
   vddio-supply:
     description: regulator that supplies the I/O voltage
 
-  rotation: true
-  backlight: true
-
 required:
   - compatible
   - reg
index 800a2f0a4dad98954ef60c3bb04d8eb2243cae7a..5d16d85117254ce479cfe9b9b33df8eeafeed1e1 100644 (file)
@@ -47,9 +47,6 @@ properties:
   vddneg-supply:
     description: phandle of the negative boost supply regulator
 
-  port: true
-  backlight: true
-
 required:
   - compatible
   - reg
index 7ad223f98253a4484dd1091d18fe7fed9585c771..616a5f3ec9fc06f92f9ddad4a009b6650b6e4d9d 100644 (file)
@@ -34,8 +34,6 @@ properties:
   vddio-supply:
     description: I/O voltage rail
 
-  port: true
-
 required:
   - compatible
   - reg
index bc92b16c95b9eef932b1022a0fa3eeef43bf984b..2e64fba472cc90220ff1c0a9dc93e67df9cc1ae2 100644 (file)
@@ -20,10 +20,6 @@ properties:
   reg:
     maxItems: 1
 
-  display-timings: true
-  port: true
-  reset-gpios: true
-
   vdd3-supply:
     description: core voltage supply
 
index 74c2a617c2ff30d42a5f5a06feaacf8506b3eb7f..828b7d7ba17f874de91c8ae59480c71201d8d762 100644 (file)
@@ -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
index 4cecf502a1506db136d9d307291d6b970453ed6f..c04d47e59f24e98c66de255bc383756906eed0aa 100644 (file)
@@ -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
index d74904164719d432b77036fb66c51fde8b765f7f..0d57f97e8a76ea13ec27a2ce253c3503780a5d89 100644 (file)
@@ -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
index 05a78429aaead80ed06d196482032ae20517fa41..00ce5a4e1c6becfcb18209e36f28cfa2c0f5fc54 100644 (file)
@@ -22,10 +22,6 @@ properties:
   reg:
     maxItems: 1
 
-  reset-gpios: true
-
-  port: true
-
   vdd3-supply:
     description: VDD regulator
 
index c47e2a1a30e5b771b49d99663ceae6a9217bb909..b65f0688bdf0b9ab26c8319a35dc891f1ece60b8 100644 (file)
@@ -21,8 +21,6 @@ properties:
   reg:
     maxItems: 1
 
-  reset-gpios: true
-  port: true
   default-brightness: true
   max-brightness: true
 
index 1e434240ea3f6afd4b5d29f4f59df0b787702d87..044b84d8638d62186790083120e1a551b768af7f 100644 (file)
@@ -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
index c35d4f2ab9a44f8ae36c485081a5e8b5ab9f6fa7..e4fa05163d2d9dd7e6de5658e30ca2d80f98f307 100644 (file)
@@ -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
 
index 5a8260224b74778014371608fdf5fe37aaac803b..12e5ad50400180dd7bcd32d8b08e969c7a911b0c 100644 (file)
@@ -20,10 +20,6 @@ properties:
   reg:
     maxItems: 1
 
-  label: true
-  reset-gpios: true
-  port: true
-
 required:
   - compatible
   - port
index 7edd29df4bbb5164d0f23abacfedffa1a6e090da..855911588d731ac4aa0439bccaf723d89a7247d0 100644 (file)
@@ -25,11 +25,6 @@ properties:
   reg:
     maxItems: 1
 
-  label: true
-  reset-gpios: true
-  backlight: true
-  port: true
-
   spi-cpha: true
   spi-cpol: true