Skip to content

Commit 6b2358f

Browse files
krzkrobherring
authored andcommitted
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 <[email protected]> Acked-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent 2ca99e6 commit 6b2358f

22 files changed

+60
-16
lines changed

Documentation/devicetree/bindings/display/panel/abt,y030xx067a.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ properties:
1717
compatible:
1818
const: abt,y030xx067a
1919

20+
reg:
21+
maxItems: 1
22+
2023
backlight: true
2124
port: true
2225
power-supply: true
23-
reg: true
2426
reset-gpios: true
2527

2628
required:

Documentation/devicetree/bindings/display/panel/fascontek,fs035vg158.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ properties:
1717
compatible:
1818
const: fascontek,fs035vg158
1919

20+
reg:
21+
maxItems: 1
22+
2023
spi-3wire: true
2124

2225
required:

Documentation/devicetree/bindings/display/panel/ilitek,ili9163.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ properties:
2424
- newhaven,1.8-128160EF
2525
- const: ilitek,ili9163
2626

27+
reg:
28+
maxItems: 1
29+
2730
spi-max-frequency:
2831
maximum: 32000000
2932

@@ -32,7 +35,6 @@ properties:
3235
description: Display data/command selection (D/CX)
3336

3437
backlight: true
35-
reg: true
3638
reset-gpios: true
3739
rotation: true
3840

Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ properties:
2626
- dlink,dir-685-panel
2727
- const: ilitek,ili9322
2828

29+
reg:
30+
maxItems: 1
31+
2932
reset-gpios: true
3033
port: true
3134

Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ properties:
2828
- canaan,kd233-tft
2929
- const: ilitek,ili9341
3030

31-
reg: true
31+
reg:
32+
maxItems: 1
3233

3334
dc-gpios:
3435
maxItems: 1

Documentation/devicetree/bindings/display/panel/innolux,ej030na.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ properties:
1717
compatible:
1818
const: innolux,ej030na
1919

20+
reg:
21+
maxItems: 1
22+
2023
backlight: true
2124
port: true
2225
power-supply: true
23-
reg: true
2426
reset-gpios: true
2527

2628
required:

Documentation/devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ properties:
1717
compatible:
1818
const: kingdisplay,kd035g6-54nt
1919

20+
reg:
21+
maxItems: 1
22+
2023
backlight: true
2124
port: true
2225
power-supply: true
23-
reg: true
2426
reset-gpios: true
2527

2628
spi-3wire: true

Documentation/devicetree/bindings/display/panel/leadtek,ltk035c5444t.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ properties:
1818
compatible:
1919
const: leadtek,ltk035c5444t
2020

21+
reg:
22+
maxItems: 1
23+
2124
spi-3wire: true
2225

2326
required:

Documentation/devicetree/bindings/display/panel/lg,lg4573.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ properties:
2121
compatible:
2222
const: lg,lg4573
2323

24-
reg: true
24+
reg:
25+
maxItems: 1
2526

2627
required:
2728
- compatible

Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ properties:
1717
compatible:
1818
const: lgphilips,lb035q02
1919

20+
reg:
21+
maxItems: 1
22+
2023
label: true
2124
enable-gpios: true
2225
port: true

0 commit comments

Comments
 (0)