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