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 <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-3-8b2443705be0@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
This commit is contained in:
Krzysztof Kozlowski 2024-05-09 11:42:53 +02:00 committed by Rob Herring (Arm)
parent 6b2358ff94
commit 9fa6bcf23e
40 changed files with 120 additions and 41 deletions

View File

@ -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

View File

@ -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:

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -15,7 +15,10 @@ allOf:
properties:
compatible:
const: elida,kd35t133
reg: true
reg:
maxItems: 1
backlight: true
port: true
reset-gpios: true

View File

@ -15,7 +15,10 @@ allOf:
properties:
compatible:
const: feixin,k101-im2ba02
reg: true
reg:
maxItems: 1
backlight: true
reset-gpios: true
avdd-supply:

View File

@ -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:

View File

@ -26,7 +26,8 @@ properties:
- powkiddy,x55-panel
- const: himax,hx8394
reg: true
reg:
maxItems: 1
reset-gpios: true

View File

@ -20,9 +20,11 @@ properties:
- tianma,tm041xdhg01
- const: ilitek,ili9805
reg:
maxItems: 1
avdd-supply: true
dvdd-supply: true
reg: true
required:
- compatible

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -26,7 +26,9 @@ properties:
compatible:
const: jdi,lpm102a188a
reg: true
reg:
maxItems: 1
enable-gpios: true
reset-gpios: true
power-supply: true

View File

@ -16,8 +16,10 @@ properties:
compatible:
const: jdi,lt070me05000
reg:
maxItems: 1
enable-gpios: true
reg: true
reset-gpios: true
vddp-supply:

View File

@ -18,7 +18,10 @@ properties:
- leadtek,ltk050h3146w
- leadtek,ltk050h3146w-a2
- leadtek,ltk050h3148w
reg: true
reg:
maxItems: 1
backlight: true
reset-gpios: true
iovcc-supply:

View File

@ -17,7 +17,10 @@ properties:
enum:
- leadtek,ltk101b4029w
- leadtek,ltk500hd1829
reg: true
reg:
maxItems: 1
backlight: true
reset-gpios: true
iovcc-supply:

View File

@ -24,7 +24,9 @@ properties:
- powkiddy,rk2023-panel
- const: newvision,nv3051d
reg: true
reg:
maxItems: 1
backlight: true
port: true
reset-gpios:

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -16,7 +16,9 @@ properties:
compatible:
const: raydium,rm67191
reg: true
reg:
maxItems: 1
port: true
reset-gpios: true
width-mm: true

View File

@ -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:

View File

@ -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

View File

@ -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

View File

@ -16,8 +16,10 @@ properties:
compatible:
const: samsung,s6d16d0
reg:
maxItems: 1
port: true
reg: true
reset-gpios: true
vdd1-supply:

View File

@ -24,7 +24,8 @@ properties:
- samsung,ltl101at01
- const: samsung,s6d7aa0
reg: true
reg:
maxItems: 1
backlight:
description:

View File

@ -15,7 +15,10 @@ allOf:
properties:
compatible:
const: samsung,s6e88a0-ams452ef01
reg: true
reg:
maxItems: 1
port: true
reset-gpios: true
vdd3-supply:

View File

@ -16,7 +16,9 @@ properties:
compatible:
const: samsung,s6e8aa0
reg: true
reg:
maxItems: 1
reset-gpios: true
display-timings: true

View File

@ -37,7 +37,9 @@ properties:
- enum:
- sharp,lq101r1sx01
reg: true
reg:
maxItems: 1
power-supply: true
backlight: true

View File

@ -16,7 +16,9 @@ properties:
compatible:
const: sharp,ls043t1le01-qhd
reg: true
reg:
maxItems: 1
backlight: true
reset-gpios: true
port: true

View File

@ -16,7 +16,9 @@ properties:
compatible:
const: sharp,ls060t1sx01
reg: true
reg:
maxItems: 1
backlight: true
reset-gpios: true
port: true

View File

@ -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

View File

@ -20,7 +20,8 @@ properties:
compatible:
const: sony,td4353-jdi-tama
reg: true
reg:
maxItems: 1
backlight: true

View File

@ -21,7 +21,8 @@ properties:
compatible:
const: sony,tulip-truly-nt35521
reg: true
reg:
maxItems: 1
positive5-supply:
description: Positive 5V supply

View File

@ -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

View File

@ -20,7 +20,8 @@ properties:
compatible:
const: visionox,rm69299-1080p-display
reg: true
reg:
maxItems: 1
vdda-supply:
description: |

View File

@ -15,7 +15,10 @@ allOf:
properties:
compatible:
const: xinpeng,xpp055c272
reg: true
reg:
maxItems: 1
backlight: true
port: true
reset-gpios: true