Skip to content

Commit 9fa6bcf

Browse files
krzkrobherring
authored andcommitted
dt-bindings: display: panel: constrain 'reg' in DSI panels
DSI-attached devices could respond to more than one virtual channel number, thus their bindings are supposed to constrain the 'reg' property to match hardware. Add missing 'reg' constrain for DSI-attached display panels, based on DTS sources in Linux kernel (assume all devices take only one channel number). 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 6b2358f commit 9fa6bcf

40 files changed

+120
-41
lines changed

Documentation/devicetree/bindings/display/panel/asus,z00t-tm5p5-nt35596.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ allOf:
2121
properties:
2222
compatible:
2323
const: asus,z00t-tm5p5-n35596
24-
reg: true
24+
25+
reg:
26+
maxItems: 1
27+
2528
reset-gpios: true
2629
vdd-supply:
2730
description: core voltage supply

Documentation/devicetree/bindings/display/panel/boe,bf060y8m-aj0.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ properties:
2626
compatible:
2727
const: boe,bf060y8m-aj0
2828

29+
reg:
30+
maxItems: 1
31+
2932
elvdd-supply:
3033
description: EL Driving positive (VDD) supply (4.40-4.80V)
3134
elvss-supply:
@@ -38,7 +41,6 @@ properties:
3841
description: I/O voltage supply (1.62-1.98V)
3942

4043
port: true
41-
reg: true
4244
reset-gpios: true
4345

4446
required:

Documentation/devicetree/bindings/display/panel/boe,himax8279d.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ properties:
1818
- const: boe,himax8279d8p
1919
- const: boe,himax8279d10p
2020

21+
reg:
22+
maxItems: 1
23+
2124
backlight: true
2225
enable-gpios: true
23-
reg: true
2426

2527
pp33-gpios:
2628
maxItems: 1

Documentation/devicetree/bindings/display/panel/boe,th101mb31ig002-28a.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ properties:
1818
# BOE TH101MB31IG002-28A 10.1" WXGA TFT LCD panel
1919
- boe,th101mb31ig002-28a
2020

21-
reg: true
21+
reg:
22+
maxItems: 1
23+
2224
backlight: true
2325
enable-gpios: true
2426
power-supply: true

Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ properties:
3838
- starry,ili9882t
3939

4040
reg:
41-
description: the virtual channel number of a DSI peripheral
41+
maxItems: 1
4242

4343
enable-gpios:
4444
description: a GPIO spec for the enable pin

Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ allOf:
1515
properties:
1616
compatible:
1717
const: elida,kd35t133
18-
reg: true
18+
19+
reg:
20+
maxItems: 1
21+
1922
backlight: true
2023
port: true
2124
reset-gpios: true

Documentation/devicetree/bindings/display/panel/feixin,k101-im2ba02.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ allOf:
1515
properties:
1616
compatible:
1717
const: feixin,k101-im2ba02
18-
reg: true
18+
19+
reg:
20+
maxItems: 1
21+
1922
backlight: true
2023
reset-gpios: true
2124
avdd-supply:

Documentation/devicetree/bindings/display/panel/himax,hx83112a.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ properties:
2121
contains:
2222
const: djn,9a-3r063-1102b
2323

24+
reg:
25+
maxItems: 1
26+
2427
vdd1-supply:
2528
description: Digital voltage rail
2629

@@ -30,7 +33,6 @@ properties:
3033
vsp-supply:
3134
description: Negative source voltage rail
3235

33-
reg: true
3436
port: true
3537

3638
required:

Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ properties:
2626
- powkiddy,x55-panel
2727
- const: himax,hx8394
2828

29-
reg: true
29+
reg:
30+
maxItems: 1
3031

3132
reset-gpios: true
3233

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ properties:
2020
- tianma,tm041xdhg01
2121
- const: ilitek,ili9805
2222

23+
reg:
24+
maxItems: 1
25+
2326
avdd-supply: true
2427
dvdd-supply: true
25-
reg: true
2628

2729
required:
2830
- compatible

0 commit comments

Comments
 (0)