Commit 9fa6bcf2 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Rob Herring (Arm)

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: 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-3-8b2443705be0@linaro.orgSigned-off-by: default avatarRob Herring (Arm) <robh@kernel.org>
parent 6b2358ff
......@@ -21,7 +21,10 @@ allOf:
properties:
compatible:
const: asus,z00t-tm5p5-n35596
reg: true
reg:
maxItems: 1
reset-gpios: true
vdd-supply:
description: core voltage supply
......
......@@ -26,6 +26,9 @@ properties:
compatible:
const: boe,bf060y8m-aj0
reg:
maxItems: 1
elvdd-supply:
description: EL Driving positive (VDD) supply (4.40-4.80V)
elvss-supply:
......@@ -38,7 +41,6 @@ properties:
description: I/O voltage supply (1.62-1.98V)
port: true
reg: true
reset-gpios: true
required:
......
......@@ -18,9 +18,11 @@ properties:
- const: boe,himax8279d8p
- const: boe,himax8279d10p
reg:
maxItems: 1
backlight: true
enable-gpios: true
reg: true
pp33-gpios:
maxItems: 1
......
......@@ -18,7 +18,9 @@ properties:
# BOE TH101MB31IG002-28A 10.1" WXGA TFT LCD panel
- boe,th101mb31ig002-28a
reg: true
reg:
maxItems: 1
backlight: true
enable-gpios: true
power-supply: true
......
......@@ -38,7 +38,7 @@ properties:
- starry,ili9882t
reg:
description: the virtual channel number of a DSI peripheral
maxItems: 1
enable-gpios:
description: a GPIO spec for the enable pin
......
......@@ -15,7 +15,10 @@ allOf:
properties:
compatible:
const: elida,kd35t133
reg: true
reg:
maxItems: 1
backlight: true
port: true
reset-gpios: true
......
......@@ -15,7 +15,10 @@ allOf:
properties:
compatible:
const: feixin,k101-im2ba02
reg: true
reg:
maxItems: 1
backlight: true
reset-gpios: true
avdd-supply:
......
......@@ -21,6 +21,9 @@ properties:
contains:
const: djn,9a-3r063-1102b
reg:
maxItems: 1
vdd1-supply:
description: Digital voltage rail
......@@ -30,7 +33,6 @@ properties:
vsp-supply:
description: Negative source voltage rail
reg: true
port: true
required:
......
......@@ -26,7 +26,8 @@ properties:
- powkiddy,x55-panel
- const: himax,hx8394
reg: true
reg:
maxItems: 1
reset-gpios: true
......
......@@ -20,9 +20,11 @@ properties:
- tianma,tm041xdhg01
- const: ilitek,ili9805
reg:
maxItems: 1
avdd-supply: true
dvdd-supply: true
reg: true
required:
- compatible
......
......@@ -23,9 +23,11 @@ properties:
- wanchanglong,w552946aba
- const: ilitek,ili9881c
reg:
maxItems: 1
backlight: true
power-supply: true
reg: true
reset-gpios: true
rotation: true
......
......@@ -16,9 +16,11 @@ properties:
compatible:
const: innolux,p097pfg
reg:
maxItems: 1
backlight: true
enable-gpios: true
reg: true
avdd-supply:
description: The regulator that provides positive voltage
......
......@@ -21,7 +21,8 @@ properties:
- radxa,display-8hd-ad002
- const: jadard,jd9365da-h3
reg: true
reg:
maxItems: 1
vdd-supply:
description: supply regulator for VDD, usually 3.3V
......
......@@ -26,7 +26,9 @@ properties:
compatible:
const: jdi,lpm102a188a
reg: true
reg:
maxItems: 1
enable-gpios: true
reset-gpios: true
power-supply: true
......
......@@ -16,8 +16,10 @@ properties:
compatible:
const: jdi,lt070me05000
reg:
maxItems: 1
enable-gpios: true
reg: true
reset-gpios: true
vddp-supply:
......
......@@ -18,7 +18,10 @@ properties:
- leadtek,ltk050h3146w
- leadtek,ltk050h3146w-a2
- leadtek,ltk050h3148w
reg: true
reg:
maxItems: 1
backlight: true
reset-gpios: true
iovcc-supply:
......
......@@ -17,7 +17,10 @@ properties:
enum:
- leadtek,ltk101b4029w
- leadtek,ltk500hd1829
reg: true
reg:
maxItems: 1
backlight: true
reset-gpios: true
iovcc-supply:
......
......@@ -24,7 +24,9 @@ properties:
- powkiddy,rk2023-panel
- const: newvision,nv3051d
reg: true
reg:
maxItems: 1
backlight: true
port: true
reset-gpios:
......
......@@ -24,7 +24,10 @@ properties:
string determines how the NT35510 panel driver shall be configured
to work with the indicated panel. The novatek,nt35510 compatible shall
always be provided as a fallback.
reg: true
reg:
maxItems: 1
reset-gpios: true
vdd-supply:
description: regulator that supplies the vdd voltage
......
......@@ -33,6 +33,9 @@ properties:
to work with the indicated panel. The novatek,nt35950 compatible shall
always be provided as a fallback.
reg:
maxItems: 1
reset-gpios:
maxItems: 1
description: phandle of gpio for reset line - This should be 8mA, gpio
......@@ -49,7 +52,6 @@ properties:
backlight: true
ports: true
reg: true
required:
- compatible
......
......@@ -30,6 +30,9 @@ properties:
- lenovo,j606f-boe-nt36523w
- const: novatek,nt36523w
reg:
maxItems: 1
reset-gpios:
maxItems: 1
description: phandle of gpio for reset line - This should be 8mA
......@@ -37,7 +40,6 @@ properties:
vddio-supply:
description: regulator that supplies the I/O voltage
reg: true
ports: true
rotation: true
backlight: true
......
......@@ -29,6 +29,9 @@ properties:
determines how the NT36672A panel driver is configured for the indicated
panel. The novatek,nt36672a compatible shall always be provided as a fallback.
reg:
maxItems: 1
reset-gpios:
maxItems: 1
description: phandle of gpio for reset line - This should be 8mA, gpio
......@@ -44,7 +47,6 @@ properties:
vddneg-supply:
description: phandle of the negative boost supply regulator
reg: true
port: true
backlight: true
......
......@@ -38,10 +38,12 @@ properties:
compatible:
const: olimex,lcd-olinuxino
reg:
maxItems: 1
backlight: true
enable-gpios: true
power-supply: true
reg: true
required:
- compatible
......
......@@ -16,7 +16,9 @@ properties:
compatible:
const: raydium,rm67191
reg: true
reg:
maxItems: 1
port: true
reset-gpios: true
width-mm: true
......
......@@ -22,6 +22,9 @@ properties:
- const: fairphone,fp5-rm692e5-boe
- const: raydium,rm692e5
reg:
maxItems: 1
dvdd-supply:
description: Digital voltage rail
......@@ -31,7 +34,6 @@ properties:
vddio-supply:
description: I/O voltage rail
reg: true
port: true
required:
......
......@@ -14,7 +14,7 @@ properties:
const: ronbo,rb070d30
reg:
description: MIPI-DSI virtual channel
maxItems: 1
power-gpios:
description: GPIO used for the power pin
......
......@@ -33,7 +33,9 @@ properties:
# Samsung S6E3HF2 5.65" 1600x2560 AMOLED panel
- samsung,s6e3hf2
reg: true
reg:
maxItems: 1
reset-gpios: true
enable-gpios: true
te-gpios: true
......
......@@ -16,8 +16,10 @@ properties:
compatible:
const: samsung,s6d16d0
reg:
maxItems: 1
port: true
reg: true
reset-gpios: true
vdd1-supply:
......
......@@ -24,7 +24,8 @@ properties:
- samsung,ltl101at01
- const: samsung,s6d7aa0
reg: true
reg:
maxItems: 1
backlight:
description:
......
......@@ -15,7 +15,10 @@ allOf:
properties:
compatible:
const: samsung,s6e88a0-ams452ef01
reg: true
reg:
maxItems: 1
port: true
reset-gpios: true
vdd3-supply:
......
......@@ -16,7 +16,9 @@ properties:
compatible:
const: samsung,s6e8aa0
reg: true
reg:
maxItems: 1
reset-gpios: true
display-timings: true
......
......@@ -37,7 +37,9 @@ properties:
- enum:
- sharp,lq101r1sx01
reg: true
reg:
maxItems: 1
power-supply: true
backlight: true
......
......@@ -16,7 +16,9 @@ properties:
compatible:
const: sharp,ls043t1le01-qhd
reg: true
reg:
maxItems: 1
backlight: true
reset-gpios: true
port: true
......
......@@ -16,7 +16,9 @@ properties:
compatible:
const: sharp,ls060t1sx01
reg: true
reg:
maxItems: 1
backlight: true
reset-gpios: true
port: true
......
......@@ -22,7 +22,10 @@ properties:
enum:
- sony,acx424akp
- sony,acx424akm
reg: true
reg:
maxItems: 1
reset-gpios: true
vddi-supply:
description: regulator that supplies the vddi voltage
......
......@@ -20,7 +20,8 @@ properties:
compatible:
const: sony,td4353-jdi-tama
reg: true
reg:
maxItems: 1
backlight: true
......
......@@ -21,7 +21,8 @@ properties:
compatible:
const: sony,tulip-truly-nt35521
reg: true
reg:
maxItems: 1
positive5-supply:
description: Positive 5V supply
......
......@@ -19,15 +19,17 @@ properties:
- sharp,ls068b3sx02
- const: syna,r63353
reg:
maxItems: 1
avdd-supply: true
dvdd-supply: true
reg: true
required:
- compatible
- reg
- avdd-supply
- dvdd-supply
- reg
- reset-gpios
- port
- backlight
......
......@@ -20,7 +20,8 @@ properties:
compatible:
const: visionox,rm69299-1080p-display
reg: true
reg:
maxItems: 1
vdda-supply:
description: |
......
......@@ -15,7 +15,10 @@ allOf:
properties:
compatible:
const: xinpeng,xpp055c272
reg: true
reg:
maxItems: 1
backlight: true
port: true
reset-gpios: true
......
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