dt-bindings: display: panel: constrain 'reg' in SPI panels

SPI-attached devices could have more than one chip-select, thus their
bindings are supposed to constrain the 'reg' property to match hardware.
Add missing 'reg' constrain for SPI-attached display panels.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240509-dt-bindings-dsi-panel-reg-v1-2-8b2443705be0@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
This commit is contained in:
Krzysztof Kozlowski 2024-05-09 11:42:52 +02:00 committed by Rob Herring (Arm)
parent 2ca99e6efc
commit 6b2358ff94
22 changed files with 60 additions and 16 deletions

View file

@ -17,10 +17,12 @@ properties:
compatible:
const: abt,y030xx067a
reg:
maxItems: 1
backlight: true
port: true
power-supply: true
reg: true
reset-gpios: true
required:

View file

@ -17,6 +17,9 @@ properties:
compatible:
const: fascontek,fs035vg158
reg:
maxItems: 1
spi-3wire: true
required:

View file

@ -24,6 +24,9 @@ properties:
- newhaven,1.8-128160EF
- const: ilitek,ili9163
reg:
maxItems: 1
spi-max-frequency:
maximum: 32000000
@ -32,7 +35,6 @@ properties:
description: Display data/command selection (D/CX)
backlight: true
reg: true
reset-gpios: true
rotation: true

View file

@ -26,6 +26,9 @@ properties:
- dlink,dir-685-panel
- const: ilitek,ili9322
reg:
maxItems: 1
reset-gpios: true
port: true

View file

@ -28,7 +28,8 @@ properties:
- canaan,kd233-tft
- const: ilitek,ili9341
reg: true
reg:
maxItems: 1
dc-gpios:
maxItems: 1

View file

@ -17,10 +17,12 @@ properties:
compatible:
const: innolux,ej030na
reg:
maxItems: 1
backlight: true
port: true
power-supply: true
reg: true
reset-gpios: true
required:

View file

@ -17,10 +17,12 @@ properties:
compatible:
const: kingdisplay,kd035g6-54nt
reg:
maxItems: 1
backlight: true
port: true
power-supply: true
reg: true
reset-gpios: true
spi-3wire: true

View file

@ -18,6 +18,9 @@ properties:
compatible:
const: leadtek,ltk035c5444t
reg:
maxItems: 1
spi-3wire: true
required:

View file

@ -21,7 +21,8 @@ properties:
compatible:
const: lg,lg4573
reg: true
reg:
maxItems: 1
required:
- compatible

View file

@ -17,6 +17,9 @@ properties:
compatible:
const: lgphilips,lb035q02
reg:
maxItems: 1
label: true
enable-gpios: true
port: true

View file

@ -21,9 +21,11 @@ properties:
compatible:
const: nec,nl8048hl11
reg:
maxItems: 1
label: true
port: true
reg: true
reset-gpios: true
spi-max-frequency:

View file

@ -71,6 +71,9 @@ properties:
- shineworld,lh133k
- const: panel-mipi-dbi-spi
reg:
maxItems: 1
write-only:
type: boolean
description:

View file

@ -17,7 +17,9 @@ properties:
compatible:
const: samsung,ams495qa01
reg: true
reg:
maxItems: 1
reset-gpios:
description: reset gpio, must be GPIO_ACTIVE_LOW
elvdd-supply:

View file

@ -17,9 +17,11 @@ properties:
compatible:
const: samsung,ld9040
reg:
maxItems: 1
display-timings: true
port: true
reg: true
reset-gpios: true
vdd3-supply:

View file

@ -21,7 +21,8 @@ properties:
compatible:
const: samsung,lms380kf01
reg: true
reg:
maxItems: 1
interrupts:
description: provides an optional ESD (electrostatic discharge)

View file

@ -20,7 +20,8 @@ properties:
compatible:
const: samsung,lms397kf04
reg: true
reg:
maxItems: 1
reset-gpios: true

View file

@ -20,7 +20,8 @@ properties:
compatible:
const: samsung,s6d27a1
reg: true
reg:
maxItems: 1
interrupts:
description: provides an optional ESD (electrostatic discharge)

View file

@ -18,7 +18,9 @@ properties:
compatible:
const: samsung,s6e63m0
reg: true
reg:
maxItems: 1
reset-gpios: true
port: true
default-brightness: true

View file

@ -21,7 +21,9 @@ properties:
- jasonic,jt240mhqs-hwt-ek-e3
- sitronix,st7789v
reg: true
reg:
maxItems: 1
reset-gpios: true
power-supply: true
backlight: true

View file

@ -17,6 +17,9 @@ properties:
compatible:
const: sony,acx565akm
reg:
maxItems: 1
label: true
reset-gpios: true
port: true

View file

@ -22,7 +22,9 @@ properties:
# Toppoly TD043MTEA1 Panel
- tpo,td043mtea1
reg: true
reg:
maxItems: 1
label: true
reset-gpios: true
backlight: true

View file

@ -52,7 +52,8 @@ properties:
- const: tpo,tpg110
- const: tpo,tpg110
reg: true
reg:
maxItems: 1
grestb-gpios:
maxItems: 1