mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 20:46:48 +02:00
dt-bindings: display: panel: Drop redundant properties
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
This commit is contained in:
parent
32003681e5
commit
72cfe73347
|
|
@ -20,11 +20,6 @@ properties:
|
|||
reg:
|
||||
maxItems: 1
|
||||
|
||||
backlight: true
|
||||
port: true
|
||||
power-supply: true
|
||||
reset-gpios: true
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
|
|
|
|||
|
|
@ -33,8 +33,6 @@ properties:
|
|||
vsp-supply:
|
||||
description: Negative source voltage rail
|
||||
|
||||
port: true
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
|
|
|
|||
|
|
@ -34,10 +34,6 @@ properties:
|
|||
maxItems: 1
|
||||
description: Display data/command selection (D/CX)
|
||||
|
||||
backlight: true
|
||||
reset-gpios: true
|
||||
rotation: true
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
|
|
|
|||
|
|
@ -29,9 +29,6 @@ properties:
|
|||
reg:
|
||||
maxItems: 1
|
||||
|
||||
reset-gpios: true
|
||||
port: true
|
||||
|
||||
vcc-supply:
|
||||
description: Core voltage supply
|
||||
|
||||
|
|
|
|||
|
|
@ -40,8 +40,6 @@ properties:
|
|||
spi-max-frequency:
|
||||
const: 10000000
|
||||
|
||||
port: true
|
||||
|
||||
vci-supply:
|
||||
description: Analog voltage supply (2.5 .. 3.3V)
|
||||
|
||||
|
|
|
|||
|
|
@ -20,11 +20,6 @@ properties:
|
|||
reg:
|
||||
maxItems: 1
|
||||
|
||||
backlight: true
|
||||
port: true
|
||||
power-supply: true
|
||||
reset-gpios: true
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
|
|
|
|||
|
|
@ -20,11 +20,6 @@ properties:
|
|||
reg:
|
||||
maxItems: 1
|
||||
|
||||
backlight: true
|
||||
port: true
|
||||
power-supply: true
|
||||
reset-gpios: true
|
||||
|
||||
spi-3wire: true
|
||||
|
||||
required:
|
||||
|
|
|
|||
|
|
@ -20,10 +20,6 @@ properties:
|
|||
reg:
|
||||
maxItems: 1
|
||||
|
||||
label: true
|
||||
enable-gpios: true
|
||||
port: true
|
||||
|
||||
spi-cpha: true
|
||||
spi-cpol: true
|
||||
|
||||
|
|
|
|||
|
|
@ -24,10 +24,6 @@ properties:
|
|||
reg:
|
||||
maxItems: 1
|
||||
|
||||
label: true
|
||||
port: true
|
||||
reset-gpios: true
|
||||
|
||||
spi-max-frequency:
|
||||
maximum: 10000000
|
||||
|
||||
|
|
|
|||
|
|
@ -37,9 +37,6 @@ properties:
|
|||
vddio-supply:
|
||||
description: regulator that supplies the I/O voltage
|
||||
|
||||
rotation: true
|
||||
backlight: true
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
|
|
|
|||
|
|
@ -47,9 +47,6 @@ properties:
|
|||
vddneg-supply:
|
||||
description: phandle of the negative boost supply regulator
|
||||
|
||||
port: true
|
||||
backlight: true
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
|
|
|
|||
|
|
@ -34,8 +34,6 @@ properties:
|
|||
vddio-supply:
|
||||
description: I/O voltage rail
|
||||
|
||||
port: true
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
|
|
|
|||
|
|
@ -20,10 +20,6 @@ properties:
|
|||
reg:
|
||||
maxItems: 1
|
||||
|
||||
display-timings: true
|
||||
port: true
|
||||
reset-gpios: true
|
||||
|
||||
vdd3-supply:
|
||||
description: core voltage supply
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -22,10 +22,6 @@ properties:
|
|||
reg:
|
||||
maxItems: 1
|
||||
|
||||
reset-gpios: true
|
||||
|
||||
port: true
|
||||
|
||||
vdd3-supply:
|
||||
description: VDD regulator
|
||||
|
||||
|
|
|
|||
|
|
@ -21,8 +21,6 @@ properties:
|
|||
reg:
|
||||
maxItems: 1
|
||||
|
||||
reset-gpios: true
|
||||
port: true
|
||||
default-brightness: true
|
||||
max-brightness: true
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -20,10 +20,6 @@ properties:
|
|||
reg:
|
||||
maxItems: 1
|
||||
|
||||
label: true
|
||||
reset-gpios: true
|
||||
port: true
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- port
|
||||
|
|
|
|||
|
|
@ -25,11 +25,6 @@ properties:
|
|||
reg:
|
||||
maxItems: 1
|
||||
|
||||
label: true
|
||||
reset-gpios: true
|
||||
backlight: true
|
||||
port: true
|
||||
|
||||
spi-cpha: true
|
||||
spi-cpol: true
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user