Commit 6b2358ff authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Rob Herring (Arm)

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240509-dt-bindings-dsi-panel-reg-v1-2-8b2443705be0@linaro.orgSigned-off-by: default avatarRob Herring (Arm) <robh@kernel.org>
parent 2ca99e6e
...@@ -17,10 +17,12 @@ properties: ...@@ -17,10 +17,12 @@ properties:
compatible: compatible:
const: abt,y030xx067a const: abt,y030xx067a
reg:
maxItems: 1
backlight: true backlight: true
port: true port: true
power-supply: true power-supply: true
reg: true
reset-gpios: true reset-gpios: true
required: required:
......
...@@ -17,6 +17,9 @@ properties: ...@@ -17,6 +17,9 @@ properties:
compatible: compatible:
const: fascontek,fs035vg158 const: fascontek,fs035vg158
reg:
maxItems: 1
spi-3wire: true spi-3wire: true
required: required:
......
...@@ -24,6 +24,9 @@ properties: ...@@ -24,6 +24,9 @@ properties:
- newhaven,1.8-128160EF - newhaven,1.8-128160EF
- const: ilitek,ili9163 - const: ilitek,ili9163
reg:
maxItems: 1
spi-max-frequency: spi-max-frequency:
maximum: 32000000 maximum: 32000000
...@@ -32,7 +35,6 @@ properties: ...@@ -32,7 +35,6 @@ properties:
description: Display data/command selection (D/CX) description: Display data/command selection (D/CX)
backlight: true backlight: true
reg: true
reset-gpios: true reset-gpios: true
rotation: true rotation: true
......
...@@ -26,6 +26,9 @@ properties: ...@@ -26,6 +26,9 @@ properties:
- dlink,dir-685-panel - dlink,dir-685-panel
- const: ilitek,ili9322 - const: ilitek,ili9322
reg:
maxItems: 1
reset-gpios: true reset-gpios: true
port: true port: true
......
...@@ -28,7 +28,8 @@ properties: ...@@ -28,7 +28,8 @@ properties:
- canaan,kd233-tft - canaan,kd233-tft
- const: ilitek,ili9341 - const: ilitek,ili9341
reg: true reg:
maxItems: 1
dc-gpios: dc-gpios:
maxItems: 1 maxItems: 1
......
...@@ -17,10 +17,12 @@ properties: ...@@ -17,10 +17,12 @@ properties:
compatible: compatible:
const: innolux,ej030na const: innolux,ej030na
reg:
maxItems: 1
backlight: true backlight: true
port: true port: true
power-supply: true power-supply: true
reg: true
reset-gpios: true reset-gpios: true
required: required:
......
...@@ -17,10 +17,12 @@ properties: ...@@ -17,10 +17,12 @@ properties:
compatible: compatible:
const: kingdisplay,kd035g6-54nt const: kingdisplay,kd035g6-54nt
reg:
maxItems: 1
backlight: true backlight: true
port: true port: true
power-supply: true power-supply: true
reg: true
reset-gpios: true reset-gpios: true
spi-3wire: true spi-3wire: true
......
...@@ -18,6 +18,9 @@ properties: ...@@ -18,6 +18,9 @@ properties:
compatible: compatible:
const: leadtek,ltk035c5444t const: leadtek,ltk035c5444t
reg:
maxItems: 1
spi-3wire: true spi-3wire: true
required: required:
......
...@@ -21,7 +21,8 @@ properties: ...@@ -21,7 +21,8 @@ properties:
compatible: compatible:
const: lg,lg4573 const: lg,lg4573
reg: true reg:
maxItems: 1
required: required:
- compatible - compatible
......
...@@ -17,6 +17,9 @@ properties: ...@@ -17,6 +17,9 @@ properties:
compatible: compatible:
const: lgphilips,lb035q02 const: lgphilips,lb035q02
reg:
maxItems: 1
label: true label: true
enable-gpios: true enable-gpios: true
port: true port: true
......
...@@ -21,9 +21,11 @@ properties: ...@@ -21,9 +21,11 @@ properties:
compatible: compatible:
const: nec,nl8048hl11 const: nec,nl8048hl11
reg:
maxItems: 1
label: true label: true
port: true port: true
reg: true
reset-gpios: true reset-gpios: true
spi-max-frequency: spi-max-frequency:
......
...@@ -71,6 +71,9 @@ properties: ...@@ -71,6 +71,9 @@ properties:
- shineworld,lh133k - shineworld,lh133k
- const: panel-mipi-dbi-spi - const: panel-mipi-dbi-spi
reg:
maxItems: 1
write-only: write-only:
type: boolean type: boolean
description: description:
......
...@@ -17,7 +17,9 @@ properties: ...@@ -17,7 +17,9 @@ properties:
compatible: compatible:
const: samsung,ams495qa01 const: samsung,ams495qa01
reg: true reg:
maxItems: 1
reset-gpios: reset-gpios:
description: reset gpio, must be GPIO_ACTIVE_LOW description: reset gpio, must be GPIO_ACTIVE_LOW
elvdd-supply: elvdd-supply:
......
...@@ -17,9 +17,11 @@ properties: ...@@ -17,9 +17,11 @@ properties:
compatible: compatible:
const: samsung,ld9040 const: samsung,ld9040
reg:
maxItems: 1
display-timings: true display-timings: true
port: true port: true
reg: true
reset-gpios: true reset-gpios: true
vdd3-supply: vdd3-supply:
......
...@@ -21,7 +21,8 @@ properties: ...@@ -21,7 +21,8 @@ properties:
compatible: compatible:
const: samsung,lms380kf01 const: samsung,lms380kf01
reg: true reg:
maxItems: 1
interrupts: interrupts:
description: provides an optional ESD (electrostatic discharge) description: provides an optional ESD (electrostatic discharge)
......
...@@ -20,7 +20,8 @@ properties: ...@@ -20,7 +20,8 @@ properties:
compatible: compatible:
const: samsung,lms397kf04 const: samsung,lms397kf04
reg: true reg:
maxItems: 1
reset-gpios: true reset-gpios: true
......
...@@ -20,7 +20,8 @@ properties: ...@@ -20,7 +20,8 @@ properties:
compatible: compatible:
const: samsung,s6d27a1 const: samsung,s6d27a1
reg: true reg:
maxItems: 1
interrupts: interrupts:
description: provides an optional ESD (electrostatic discharge) description: provides an optional ESD (electrostatic discharge)
......
...@@ -18,7 +18,9 @@ properties: ...@@ -18,7 +18,9 @@ properties:
compatible: compatible:
const: samsung,s6e63m0 const: samsung,s6e63m0
reg: true reg:
maxItems: 1
reset-gpios: true reset-gpios: true
port: true port: true
default-brightness: true default-brightness: true
......
...@@ -21,7 +21,9 @@ properties: ...@@ -21,7 +21,9 @@ properties:
- jasonic,jt240mhqs-hwt-ek-e3 - jasonic,jt240mhqs-hwt-ek-e3
- sitronix,st7789v - sitronix,st7789v
reg: true reg:
maxItems: 1
reset-gpios: true reset-gpios: true
power-supply: true power-supply: true
backlight: true backlight: true
......
...@@ -17,6 +17,9 @@ properties: ...@@ -17,6 +17,9 @@ properties:
compatible: compatible:
const: sony,acx565akm const: sony,acx565akm
reg:
maxItems: 1
label: true label: true
reset-gpios: true reset-gpios: true
port: true port: true
......
...@@ -22,7 +22,9 @@ properties: ...@@ -22,7 +22,9 @@ properties:
# Toppoly TD043MTEA1 Panel # Toppoly TD043MTEA1 Panel
- tpo,td043mtea1 - tpo,td043mtea1
reg: true reg:
maxItems: 1
label: true label: true
reset-gpios: true reset-gpios: true
backlight: true backlight: true
......
...@@ -52,7 +52,8 @@ properties: ...@@ -52,7 +52,8 @@ properties:
- const: tpo,tpg110 - const: tpo,tpg110
- const: tpo,tpg110 - const: tpo,tpg110
reg: true reg:
maxItems: 1
grestb-gpios: grestb-gpios:
maxItems: 1 maxItems: 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment