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:
committed by
Rob Herring (Arm)
parent
2ca99e6efc
commit
6b2358ff94
@@ -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:
|
||||
|
||||
@@ -17,6 +17,9 @@ properties:
|
||||
compatible:
|
||||
const: fascontek,fs035vg158
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
spi-3wire: true
|
||||
|
||||
required:
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -26,6 +26,9 @@ properties:
|
||||
- dlink,dir-685-panel
|
||||
- const: ilitek,ili9322
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
reset-gpios: true
|
||||
port: true
|
||||
|
||||
|
||||
@@ -28,7 +28,8 @@ properties:
|
||||
- canaan,kd233-tft
|
||||
- const: ilitek,ili9341
|
||||
|
||||
reg: true
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
dc-gpios:
|
||||
maxItems: 1
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -18,6 +18,9 @@ properties:
|
||||
compatible:
|
||||
const: leadtek,ltk035c5444t
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
spi-3wire: true
|
||||
|
||||
required:
|
||||
|
||||
@@ -21,7 +21,8 @@ properties:
|
||||
compatible:
|
||||
const: lg,lg4573
|
||||
|
||||
reg: true
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
required:
|
||||
- compatible
|
||||
|
||||
@@ -17,6 +17,9 @@ properties:
|
||||
compatible:
|
||||
const: lgphilips,lb035q02
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
label: true
|
||||
enable-gpios: true
|
||||
port: true
|
||||
|
||||
@@ -21,9 +21,11 @@ properties:
|
||||
compatible:
|
||||
const: nec,nl8048hl11
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
label: true
|
||||
port: true
|
||||
reg: true
|
||||
reset-gpios: true
|
||||
|
||||
spi-max-frequency:
|
||||
|
||||
@@ -71,6 +71,9 @@ properties:
|
||||
- shineworld,lh133k
|
||||
- const: panel-mipi-dbi-spi
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
write-only:
|
||||
type: boolean
|
||||
description:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -17,9 +17,11 @@ properties:
|
||||
compatible:
|
||||
const: samsung,ld9040
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
display-timings: true
|
||||
port: true
|
||||
reg: true
|
||||
reset-gpios: true
|
||||
|
||||
vdd3-supply:
|
||||
|
||||
@@ -21,7 +21,8 @@ properties:
|
||||
compatible:
|
||||
const: samsung,lms380kf01
|
||||
|
||||
reg: true
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
interrupts:
|
||||
description: provides an optional ESD (electrostatic discharge)
|
||||
|
||||
@@ -20,7 +20,8 @@ properties:
|
||||
compatible:
|
||||
const: samsung,lms397kf04
|
||||
|
||||
reg: true
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
reset-gpios: true
|
||||
|
||||
|
||||
@@ -20,7 +20,8 @@ properties:
|
||||
compatible:
|
||||
const: samsung,s6d27a1
|
||||
|
||||
reg: true
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
interrupts:
|
||||
description: provides an optional ESD (electrostatic discharge)
|
||||
|
||||
@@ -18,7 +18,9 @@ properties:
|
||||
compatible:
|
||||
const: samsung,s6e63m0
|
||||
|
||||
reg: true
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
reset-gpios: true
|
||||
port: true
|
||||
default-brightness: true
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -17,6 +17,9 @@ properties:
|
||||
compatible:
|
||||
const: sony,acx565akm
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
label: true
|
||||
reset-gpios: true
|
||||
port: true
|
||||
|
||||
@@ -22,7 +22,9 @@ properties:
|
||||
# Toppoly TD043MTEA1 Panel
|
||||
- tpo,td043mtea1
|
||||
|
||||
reg: true
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
label: true
|
||||
reset-gpios: true
|
||||
backlight: true
|
||||
|
||||
@@ -52,7 +52,8 @@ properties:
|
||||
- const: tpo,tpg110
|
||||
- const: tpo,tpg110
|
||||
|
||||
reg: true
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
grestb-gpios:
|
||||
maxItems: 1
|
||||
|
||||
Reference in New Issue
Block a user