dt-bindings: display: panel: constrain 'reg'
Subsystems (23)
cover dt-bindings: display: panel: constrain 'reg'
Hi,
Cleanups for display panel bindings.
Rob, maybe you could take entire set if it applies? I based it on linux-next, so letl me know if I need to rebase on your for-next.
I actually do not know if devices affected here take more than one chip select or DSI virtual channel number. I assume DTS and examples are correct here. Worst case this can be fixed later - maxItems:2.
Best regards,
Krzysztof
---
Krzysztof Kozlowski (3):
dt-bindings: display: samsung,ams495qa01: add missing SPI properties ref
dt-bindings: display: panel: constrain 'reg' in SPI panels
dt-bindings: display: panel: constrain 'reg' in DSI panels
Documentation/devicetree/bindings/display/panel/abt,y030xx067a.yaml | 4 +++- .../devicetree/bindings/display/panel/asus,z00t-tm5p5-nt35596.yaml | 5 ++++- .../devicetree/bindings/display/panel/boe,bf060y8m-aj0.yaml | 4 +++- Documentation/devicetree/bindings/display/panel/boe,himax8279d.yaml | 4 +++- .../devicetree/bindings/display/panel/boe,th101mb31ig002-28a.yaml | 4 +++- .../devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml | 2 +- Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml | 5 ++++- .../devicetree/bindings/display/panel/fascontek,fs035vg158.yaml | 3 +++ .../devicetree/bindings/display/panel/feixin,k101-im2ba02.yaml | 5 ++++- Documentation/devicetree/bindings/display/panel/himax,hx83112a.yaml | 4 +++- Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml | 3 ++- Documentation/devicetree/bindings/display/panel/ilitek,ili9163.yaml | 4 +++- Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml | 3 +++ Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml | 3 ++- Documentation/devicetree/bindings/display/panel/ilitek,ili9805.yaml | 4 +++- .../devicetree/bindings/display/panel/ilitek,ili9881c.yaml | 4 +++- .../devicetree/bindings/display/panel/innolux,ej030na.yaml | 4 +++- .../devicetree/bindings/display/panel/innolux,p097pfg.yaml | 4 +++- .../devicetree/bindings/display/panel/jadard,jd9365da-h3.yaml | 3 ++- .../devicetree/bindings/display/panel/jdi,lpm102a188a.yaml | 4 +++- .../devicetree/bindings/display/panel/jdi,lt070me05000.yaml | 4 +++- .../devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.yaml | 4 +++- .../devicetree/bindings/display/panel/leadtek,ltk035c5444t.yaml | 3 +++ .../devicetree/bindings/display/panel/leadtek,ltk050h3146w.yaml | 5 ++++- .../devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml | 5 ++++- Documentation/devicetree/bindings/display/panel/lg,lg4573.yaml | 3 ++- Documentation/devicetree/bindings/display/panel/lg,sw43408.yaml | 4 +++- .../devicetree/bindings/display/panel/lgphilips,lb035q02.yaml | 3 +++ Documentation/devicetree/bindings/display/panel/nec,nl8048hl11.yaml | 4 +++- .../devicetree/bindings/display/panel/newvision,nv3051d.yaml | 4 +++- .../devicetree/bindings/display/panel/novatek,nt35510.yaml | 5 ++++- .../devicetree/bindings/display/panel/novatek,nt35950.yaml | 4 +++- .../devicetree/bindings/display/panel/novatek,nt36523.yaml | 4 +++- .../devicetree/bindings/display/panel/novatek,nt36672a.yaml | 4 +++- .../devicetree/bindings/display/panel/olimex,lcd-olinuxino.yaml | 4 +++- .../devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml | 3 +++ .../devicetree/bindings/display/panel/raydium,rm67191.yaml | 4 +++- .../devicetree/bindings/display/panel/raydium,rm692e5.yaml | 4 +++- .../devicetree/bindings/display/panel/raydium,rm69380.yaml | 5 +++-- Documentation/devicetree/bindings/display/panel/ronbo,rb070d30.yaml | 2 +- .../devicetree/bindings/display/panel/samsung,amoled-mipi-dsi.yaml | 4 +++- .../devicetree/bindings/display/panel/samsung,ams495qa01.yaml | 5 ++++- Documentation/devicetree/bindings/display/panel/samsung,ld9040.yaml | 4 +++- .../devicetree/bindings/display/panel/samsung,lms380kf01.yaml | 3 ++- .../devicetree/bindings/display/panel/samsung,lms397kf04.yaml | 3 ++- .../devicetree/bindings/display/panel/samsung,s6d16d0.yaml | 4 +++- .../devicetree/bindings/display/panel/samsung,s6d27a1.yaml | 3 ++- .../devicetree/bindings/display/panel/samsung,s6d7aa0.yaml | 3 ++- .../devicetree/bindings/display/panel/samsung,s6e63m0.yaml | 4 +++- .../bindings/display/panel/samsung,s6e88a0-ams452ef01.yaml | 5 ++++- .../devicetree/bindings/display/panel/samsung,s6e8aa0.yaml | 4 +++- .../devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml | 4 +++- .../devicetree/bindings/display/panel/sharp,ls043t1le01.yaml | 4 +++- .../devicetree/bindings/display/panel/sharp,ls060t1sx01.yaml | 4 +++- .../devicetree/bindings/display/panel/sitronix,st7789v.yaml | 4 +++- Documentation/devicetree/bindings/display/panel/sony,acx424akp.yaml | 5 ++++- Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml | 3 +++ .../devicetree/bindings/display/panel/sony,td4353-jdi.yaml | 3 ++- .../devicetree/bindings/display/panel/sony,tulip-truly-nt35521.yaml | 3 ++- .../devicetree/bindings/display/panel/synaptics,r63353.yaml | 6 ++++-- Documentation/devicetree/bindings/display/panel/tpo,td.yaml | 4 +++- Documentation/devicetree/bindings/display/panel/tpo,tpg110.yaml | 3 ++- .../devicetree/bindings/display/panel/visionox,rm69299.yaml | 3 ++- .../devicetree/bindings/display/panel/xinpeng,xpp055c272.yaml | 5 ++++- 64 files changed, 187 insertions(+), 60 deletions(-)
---
base-commit: b010817abf0197596fbfddf1957bac968facb991
change-id: 20240509-dt-bindings-dsi-panel-reg-a6e7d930b46f
Best regards,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>
PATCH 1/3 dt-bindings: display: samsung,ams495qa01: add missing SPI properties ref
Samsung AMS495QA01 panel is a SPI device, so it should reference spi-peripheral-props.yaml schema to allow and validate the SPI device properties.
--- Documentation/devicetree/bindings/display/panel/samsung,ams495qa01.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/display/panel/samsung,ams495qa01.yaml +1 -0
@@ -11,6 +11,7 @@ maintainers: allOf: - $ref: panel-common.yaml# + - $ref: /schemas/spi/spi-peripheral-props.yaml# properties: compatible:
Signature · 1 line
2.43.0
Re: [PATCH 1/3] dt-bindings: display: samsung,ams495qa01: add missing SPI properties ref
Quoted 6 lines · Krzysztof Kozlowski
Samsung AMS495QA01 panel is a SPI device, so it should reference
spi-peripheral-props.yamlschema to allow and validate the SPI device properties.Fixes 92be07c65b22 ("dt-bindings: display: panel: Add Samsung AMS495QA01")Signed-off-by Krzysztof Kozlowski <[email protected]>
Cheers,
Conor.
PATCH 2/3 dt-bindings: display: panel: constrain 'reg' in SPI panels
In reply to Krzysztof KozlowskiSPI-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.
--- Documentation/devicetree/bindings/display/panel/abt,y030xx067a.yaml | 4 +++- .../devicetree/bindings/display/panel/fascontek,fs035vg158.yaml | 3 +++ Documentation/devicetree/bindings/display/panel/ilitek,ili9163.yaml | 4 +++- Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml | 3 +++ Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml | 3 ++- Documentation/devicetree/bindings/display/panel/innolux,ej030na.yaml | 4 +++- .../devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.yaml | 4 +++- .../devicetree/bindings/display/panel/leadtek,ltk035c5444t.yaml | 3 +++ Documentation/devicetree/bindings/display/panel/lg,lg4573.yaml | 3 ++- .../devicetree/bindings/display/panel/lgphilips,lb035q02.yaml | 3 +++ Documentation/devicetree/bindings/display/panel/nec,nl8048hl11.yaml | 4 +++- .../devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml | 3 +++ .../devicetree/bindings/display/panel/samsung,ams495qa01.yaml | 4 +++- Documentation/devicetree/bindings/display/panel/samsung,ld9040.yaml | 4 +++- .../devicetree/bindings/display/panel/samsung,lms380kf01.yaml | 3 ++- .../devicetree/bindings/display/panel/samsung,lms397kf04.yaml | 3 ++- Documentation/devicetree/bindings/display/panel/samsung,s6d27a1.yaml | 3 ++- Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.yaml | 4 +++- Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml | 4 +++- Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml | 3 +++ Documentation/devicetree/bindings/display/panel/tpo,td.yaml | 4 +++- Documentation/devicetree/bindings/display/panel/tpo,tpg110.yaml | 3 ++- 22 files changed, 60 insertions(+), 16 deletions(-)
Documentation/devicetree/bindings/display/panel/abt,y030xx067a.yaml +3 -1
@@ -17,10 +17,12 @@ properties: compatible: const: abt,y030xx067a + reg: + maxItems: 1 + backlight: true port: true power-supply: true - reg: true reset-gpios: true required:
Documentation/devicetree/bindings/display/panel/fascontek,fs035vg158.yaml +3 -0
@@ -17,6 +17,9 @@ properties: compatible: const: fascontek,fs035vg158 + reg: + maxItems: 1 + spi-3wire: true required:
Documentation/devicetree/bindings/display/panel/ilitek,ili9163.yaml +3 -1
@@ -24,6 +24,9 @@ properties: - newhaven,1.8-128160EF - const: ilitek,ili9163 + reg: + maxItems: 1 + spi-max-frequency: maximum: 32000000
@@ -32,7 +35,6 @@ properties: description: Display data/command selection (D/CX) backlight: true - reg: true reset-gpios: true rotation: true
Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml +3 -0
@@ -26,6 +26,9 @@ properties: - dlink,dir-685-panel - const: ilitek,ili9322 + reg: + maxItems: 1 + reset-gpios: true port: true
Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml +2 -1
@@ -28,7 +28,8 @@ properties: - canaan,kd233-tft - const: ilitek,ili9341 - reg: true + reg: + maxItems: 1 dc-gpios: maxItems: 1
Documentation/devicetree/bindings/display/panel/innolux,ej030na.yaml +3 -1
@@ -17,10 +17,12 @@ properties: compatible: const: innolux,ej030na + reg: + maxItems: 1 + backlight: true port: true power-supply: true - reg: true reset-gpios: true required:
Documentation/devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.yaml +3 -1
@@ -17,10 +17,12 @@ properties: compatible: const: kingdisplay,kd035g6-54nt + reg: + maxItems: 1 + backlight: true port: true power-supply: true - reg: true reset-gpios: true spi-3wire: true
Documentation/devicetree/bindings/display/panel/leadtek,ltk035c5444t.yaml +3 -0
@@ -18,6 +18,9 @@ properties: compatible: const: leadtek,ltk035c5444t + reg: + maxItems: 1 + spi-3wire: true required:
Documentation/devicetree/bindings/display/panel/lg,lg4573.yaml +2 -1
@@ -21,7 +21,8 @@ properties: compatible: const: lg,lg4573 - reg: true + reg: + maxItems: 1 required: - compatible
Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.yaml +3 -0
@@ -17,6 +17,9 @@ properties: compatible: const: lgphilips,lb035q02 + reg: + maxItems: 1 + label: true enable-gpios: true port: true
Documentation/devicetree/bindings/display/panel/nec,nl8048hl11.yaml +3 -1
@@ -21,9 +21,11 @@ properties: compatible: const: nec,nl8048hl11 + reg: + maxItems: 1 + label: true port: true - reg: true reset-gpios: true spi-max-frequency:
Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml +3 -0
@@ -71,6 +71,9 @@ properties: - shineworld,lh133k - const: panel-mipi-dbi-spi + reg: + maxItems: 1 + write-only: type: boolean description:
Documentation/devicetree/bindings/display/panel/samsung,ams495qa01.yaml +3 -1
@@ -17,7 +17,9 @@ properties: compatible: const: samsung,ams495qa01 - reg: true + reg: + maxItems: 1 + reset-gpios: description: reset gpio, must be GPIO_ACTIVE_LOW elvdd-supply:
Documentation/devicetree/bindings/display/panel/samsung,ld9040.yaml +3 -1
@@ -17,9 +17,11 @@ properties: compatible: const: samsung,ld9040 + reg: + maxItems: 1 + display-timings: true port: true - reg: true reset-gpios: true vdd3-supply:
Documentation/devicetree/bindings/display/panel/samsung,lms380kf01.yaml +2 -1
@@ -21,7 +21,8 @@ properties: compatible: const: samsung,lms380kf01 - reg: true + reg: + maxItems: 1 interrupts: description: provides an optional ESD (electrostatic discharge)
Documentation/devicetree/bindings/display/panel/samsung,lms397kf04.yaml +2 -1
@@ -20,7 +20,8 @@ properties: compatible: const: samsung,lms397kf04 - reg: true + reg: + maxItems: 1 reset-gpios: true
Documentation/devicetree/bindings/display/panel/samsung,s6d27a1.yaml +2 -1
@@ -20,7 +20,8 @@ properties: compatible: const: samsung,s6d27a1 - reg: true + reg: + maxItems: 1 interrupts: description: provides an optional ESD (electrostatic discharge)
Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.yaml +3 -1
@@ -18,7 +18,9 @@ properties: compatible: const: samsung,s6e63m0 - reg: true + reg: + maxItems: 1 + reset-gpios: true port: true default-brightness: true
Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml +3 -1
@@ -21,7 +21,9 @@ properties: - jasonic,jt240mhqs-hwt-ek-e3 - sitronix,st7789v - reg: true + reg: + maxItems: 1 + reset-gpios: true power-supply: true backlight: true
Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml +3 -0
@@ -17,6 +17,9 @@ properties: compatible: const: sony,acx565akm + reg: + maxItems: 1 + label: true reset-gpios: true port: true
Documentation/devicetree/bindings/display/panel/tpo,td.yaml +3 -1
@@ -22,7 +22,9 @@ properties: # Toppoly TD043MTEA1 Panel - tpo,td043mtea1 - reg: true + reg: + maxItems: 1 + label: true reset-gpios: true backlight: true
Documentation/devicetree/bindings/display/panel/tpo,tpg110.yaml +2 -1
@@ -52,7 +52,8 @@ properties: - const: tpo,tpg110 - const: tpo,tpg110 - reg: true + reg: + maxItems: 1 grestb-gpios: maxItems: 1
Signature · 1 line
2.43.0
Re: [PATCH 2/3] dt-bindings: display: panel: constrain 'reg' in SPI panels
Quoted 5 lines · Krzysztof Kozlowski
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]>
Cheers,
Conor.
Re: [PATCH 2/3] dt-bindings: display: panel: constrain 'reg' in SPI panels
In reply to Krzysztof KozlowskiQuoted 5 lines · Krzysztof Kozlowski
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]>
Yours,
Linus Walleij
PATCH 3/3 dt-bindings: display: panel: constrain 'reg' in DSI panels
In reply to Krzysztof KozlowskiDSI-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).
--- .../devicetree/bindings/display/panel/asus,z00t-tm5p5-nt35596.yaml | 5 ++++- .../devicetree/bindings/display/panel/boe,bf060y8m-aj0.yaml | 4 +++- Documentation/devicetree/bindings/display/panel/boe,himax8279d.yaml | 4 +++- .../devicetree/bindings/display/panel/boe,th101mb31ig002-28a.yaml | 4 +++- .../devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml | 2 +- Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml | 5 ++++- .../devicetree/bindings/display/panel/feixin,k101-im2ba02.yaml | 5 ++++- Documentation/devicetree/bindings/display/panel/himax,hx83112a.yaml | 4 +++- Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml | 3 ++- Documentation/devicetree/bindings/display/panel/ilitek,ili9805.yaml | 4 +++- .../devicetree/bindings/display/panel/ilitek,ili9881c.yaml | 4 +++- .../devicetree/bindings/display/panel/innolux,p097pfg.yaml | 4 +++- .../devicetree/bindings/display/panel/jadard,jd9365da-h3.yaml | 3 ++- .../devicetree/bindings/display/panel/jdi,lpm102a188a.yaml | 4 +++- .../devicetree/bindings/display/panel/jdi,lt070me05000.yaml | 4 +++- .../devicetree/bindings/display/panel/leadtek,ltk050h3146w.yaml | 5 ++++- .../devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml | 5 ++++- Documentation/devicetree/bindings/display/panel/lg,sw43408.yaml | 4 +++- .../devicetree/bindings/display/panel/newvision,nv3051d.yaml | 4 +++- .../devicetree/bindings/display/panel/novatek,nt35510.yaml | 5 ++++- .../devicetree/bindings/display/panel/novatek,nt35950.yaml | 4 +++- .../devicetree/bindings/display/panel/novatek,nt36523.yaml | 4 +++- .../devicetree/bindings/display/panel/novatek,nt36672a.yaml | 4 +++- .../devicetree/bindings/display/panel/olimex,lcd-olinuxino.yaml | 4 +++- .../devicetree/bindings/display/panel/raydium,rm67191.yaml | 4 +++- .../devicetree/bindings/display/panel/raydium,rm692e5.yaml | 4 +++- .../devicetree/bindings/display/panel/raydium,rm69380.yaml | 5 +++-- Documentation/devicetree/bindings/display/panel/ronbo,rb070d30.yaml | 2 +- .../devicetree/bindings/display/panel/samsung,amoled-mipi-dsi.yaml | 4 +++- .../devicetree/bindings/display/panel/samsung,s6d16d0.yaml | 4 +++- .../devicetree/bindings/display/panel/samsung,s6d7aa0.yaml | 3 ++- .../bindings/display/panel/samsung,s6e88a0-ams452ef01.yaml | 5 ++++- .../devicetree/bindings/display/panel/samsung,s6e8aa0.yaml | 4 +++- .../devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml | 4 +++- .../devicetree/bindings/display/panel/sharp,ls043t1le01.yaml | 4 +++- .../devicetree/bindings/display/panel/sharp,ls060t1sx01.yaml | 4 +++- Documentation/devicetree/bindings/display/panel/sony,acx424akp.yaml | 5 ++++- .../devicetree/bindings/display/panel/sony,td4353-jdi.yaml | 3 ++- .../devicetree/bindings/display/panel/sony,tulip-truly-nt35521.yaml | 3 ++- .../devicetree/bindings/display/panel/synaptics,r63353.yaml | 6 ++++-- .../devicetree/bindings/display/panel/visionox,rm69299.yaml | 3 ++- .../devicetree/bindings/display/panel/xinpeng,xpp055c272.yaml | 5 ++++- 42 files changed, 126 insertions(+), 44 deletions(-)
Documentation/devicetree/bindings/display/panel/asus,z00t-tm5p5-nt35596.yaml +4 -1
@@ -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
Documentation/devicetree/bindings/display/panel/boe,bf060y8m-aj0.yaml +3 -1
@@ -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:
Documentation/devicetree/bindings/display/panel/boe,himax8279d.yaml +3 -1
@@ -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
Documentation/devicetree/bindings/display/panel/boe,th101mb31ig002-28a.yaml +3 -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
Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml +1 -1
@@ -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
Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml +4 -1
@@ -15,7 +15,10 @@ allOf: properties: compatible: const: elida,kd35t133 - reg: true + + reg: + maxItems: 1 + backlight: true port: true reset-gpios: true
Documentation/devicetree/bindings/display/panel/feixin,k101-im2ba02.yaml +4 -1
@@ -15,7 +15,10 @@ allOf: properties: compatible: const: feixin,k101-im2ba02 - reg: true + + reg: + maxItems: 1 + backlight: true reset-gpios: true avdd-supply:
Documentation/devicetree/bindings/display/panel/himax,hx83112a.yaml +3 -1
@@ -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:
Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml +2 -1
@@ -26,7 +26,8 @@ properties: - powkiddy,x55-panel - const: himax,hx8394 - reg: true + reg: + maxItems: 1 reset-gpios: true
Documentation/devicetree/bindings/display/panel/ilitek,ili9805.yaml +3 -1
@@ -20,9 +20,11 @@ properties: - tianma,tm041xdhg01 - const: ilitek,ili9805 + reg: + maxItems: 1 + avdd-supply: true dvdd-supply: true - reg: true required: - compatible
Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml +3 -1
@@ -24,9 +24,11 @@ properties: - wanchanglong,w552946aba - const: ilitek,ili9881c + reg: + maxItems: 1 + backlight: true power-supply: true - reg: true reset-gpios: true rotation: true
Documentation/devicetree/bindings/display/panel/innolux,p097pfg.yaml +3 -1
@@ -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
Documentation/devicetree/bindings/display/panel/jadard,jd9365da-h3.yaml +2 -1
@@ -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
Documentation/devicetree/bindings/display/panel/jdi,lpm102a188a.yaml +3 -1
@@ -26,7 +26,9 @@ properties: compatible: const: jdi,lpm102a188a - reg: true + reg: + maxItems: 1 + enable-gpios: true reset-gpios: true power-supply: true
Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.yaml +3 -1
@@ -16,8 +16,10 @@ properties: compatible: const: jdi,lt070me05000 + reg: + maxItems: 1 + enable-gpios: true - reg: true reset-gpios: true vddp-supply:
Documentation/devicetree/bindings/display/panel/leadtek,ltk050h3146w.yaml +4 -1
@@ -18,7 +18,10 @@ properties: - leadtek,ltk050h3146w - leadtek,ltk050h3146w-a2 - leadtek,ltk050h3148w - reg: true + + reg: + maxItems: 1 + backlight: true reset-gpios: true iovcc-supply:
Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml +4 -1
@@ -17,7 +17,10 @@ properties: enum: - leadtek,ltk101b4029w - leadtek,ltk500hd1829 - reg: true + + reg: + maxItems: 1 + backlight: true reset-gpios: true iovcc-supply:
Documentation/devicetree/bindings/display/panel/lg,sw43408.yaml +3 -1
@@ -21,7 +21,9 @@ properties: items: - const: lg,sw43408 - reg: true + reg: + maxItems: 1 + port: true vddi-supply: true vpnl-supply: true
Documentation/devicetree/bindings/display/panel/newvision,nv3051d.yaml +3 -1
@@ -24,7 +24,9 @@ properties: - powkiddy,rk2023-panel - const: newvision,nv3051d - reg: true + reg: + maxItems: 1 + backlight: true port: true reset-gpios:
Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml +4 -1
@@ -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
Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml +3 -1
@@ -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
Documentation/devicetree/bindings/display/panel/novatek,nt36523.yaml +3 -1
@@ -27,6 +27,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
@@ -34,7 +37,6 @@ properties: vddio-supply: description: regulator that supplies the I/O voltage - reg: true rotation: true backlight: true
Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml +3 -1
@@ -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
Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.yaml +3 -1
@@ -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
Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml +3 -1
@@ -16,7 +16,9 @@ properties: compatible: const: raydium,rm67191 - reg: true + reg: + maxItems: 1 + port: true reset-gpios: true width-mm: true
Documentation/devicetree/bindings/display/panel/raydium,rm692e5.yaml +3 -1
@@ -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:
Documentation/devicetree/bindings/display/panel/raydium,rm69380.yaml +3 -2
@@ -28,6 +28,9 @@ properties: to work with the indicated panel. The raydium,rm69380 compatible shall always be provided as a fallback. + reg: + maxItems: 1 + avdd-supply: description: Analog voltage rail
@@ -38,8 +41,6 @@ properties: maxItems: 1 description: phandle of gpio for reset line - This should be active low - reg: true - required: - compatible - reg
Documentation/devicetree/bindings/display/panel/ronbo,rb070d30.yaml +1 -1
@@ -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
Documentation/devicetree/bindings/display/panel/samsung,amoled-mipi-dsi.yaml +3 -1
@@ -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
Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.yaml +3 -1
@@ -16,8 +16,10 @@ properties: compatible: const: samsung,s6d16d0 + reg: + maxItems: 1 + port: true - reg: true reset-gpios: true vdd1-supply:
Documentation/devicetree/bindings/display/panel/samsung,s6d7aa0.yaml +2 -1
@@ -24,7 +24,8 @@ properties: - samsung,ltl101at01 - const: samsung,s6d7aa0 - reg: true + reg: + maxItems: 1 backlight: description:
Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams452ef01.yaml +4 -1
@@ -15,7 +15,10 @@ allOf: properties: compatible: const: samsung,s6e88a0-ams452ef01 - reg: true + + reg: + maxItems: 1 + port: true reset-gpios: true vdd3-supply:
Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml +3 -1
@@ -16,7 +16,9 @@ properties: compatible: const: samsung,s6e8aa0 - reg: true + reg: + maxItems: 1 + reset-gpios: true display-timings: true
Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml +3 -1
@@ -37,7 +37,9 @@ properties: - enum: - sharp,lq101r1sx01 - reg: true + reg: + maxItems: 1 + power-supply: true backlight: true
Documentation/devicetree/bindings/display/panel/sharp,ls043t1le01.yaml +3 -1
@@ -16,7 +16,9 @@ properties: compatible: const: sharp,ls043t1le01-qhd - reg: true + reg: + maxItems: 1 + backlight: true reset-gpios: true port: true
Documentation/devicetree/bindings/display/panel/sharp,ls060t1sx01.yaml +3 -1
@@ -16,7 +16,9 @@ properties: compatible: const: sharp,ls060t1sx01 - reg: true + reg: + maxItems: 1 + backlight: true reset-gpios: true port: true
Documentation/devicetree/bindings/display/panel/sony,acx424akp.yaml +4 -1
@@ -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
Documentation/devicetree/bindings/display/panel/sony,td4353-jdi.yaml +2 -1
@@ -20,7 +20,8 @@ properties: compatible: const: sony,td4353-jdi-tama - reg: true + reg: + maxItems: 1 backlight: true width-mm: true
Documentation/devicetree/bindings/display/panel/sony,tulip-truly-nt35521.yaml +2 -1
@@ -21,7 +21,8 @@ properties: compatible: const: sony,tulip-truly-nt35521 - reg: true + reg: + maxItems: 1 positive5-supply: description: Positive 5V supply
Documentation/devicetree/bindings/display/panel/synaptics,r63353.yaml +4 -2
@@ -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
Documentation/devicetree/bindings/display/panel/visionox,rm69299.yaml +2 -1
@@ -20,7 +20,8 @@ properties: compatible: const: visionox,rm69299-1080p-display - reg: true + reg: + maxItems: 1 vdda-supply: description: |
Documentation/devicetree/bindings/display/panel/xinpeng,xpp055c272.yaml +4 -1
@@ -15,7 +15,10 @@ allOf: properties: compatible: const: xinpeng,xpp055c272 - reg: true + + reg: + maxItems: 1 + backlight: true port: true reset-gpios: true
Signature · 1 line
2.43.0
Re: [PATCH 3/3] dt-bindings: display: panel: constrain 'reg' in DSI panels
Quoted 7 lines · Krzysztof Kozlowski
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]>
Thanks,
Conor.
Re: [PATCH 3/3] dt-bindings: display: panel: constrain 'reg' in DSI panels
In reply to Krzysztof KozlowskiQuoted 7 lines · Krzysztof Kozlowski
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]>
Looks right to me.
Yours,
Linus Walleij
Quoted 6 lines · Krzysztof Kozlowski
Hi,
Cleanups for display panel bindings.
Rob, maybe you could take entire set if it applies? I based it on linux-next, so letl me know if I need to rebase on your for-next.
Applied. These 2 don't exist in my tree:
Documentation/devicetree/bindings/display/panel/lg,sw43408.yaml Documentation/devicetree/bindings/display/panel/raydium,rm69380.yaml
Rob
Quoted 10 lines · Rob Herring
Quoted 6 lines · Krzysztof Kozlowski
Hi,
Cleanups for display panel bindings.
Rob, maybe you could take entire set if it applies? I based it on linux-next, so letl me know if I need to rebase on your for-next.
Applied. These 2 don't exist in my tree:
It's most likely fine, but was there an ack from drm-misc maintainers?
Quoted 2 lines
Documentation/devicetree/bindings/display/panel/lg,sw43408.yamlDocumentation/devicetree/bindings/display/panel/raydium,rm69380.yaml
Because those were added to drm-misc during the last cycle. So ideally the patch should have gone through drm-misc.
Signature · 2 lines
With best wishes Dmitry
Neil Armstrong
maintainerQuoted 12 lines · Dmitry Baryshkov
Quoted 10 lines · Rob Herring
Quoted 6 lines · Krzysztof Kozlowski
Hi,
Cleanups for display panel bindings.
Rob, maybe you could take entire set if it applies? I based it on linux-next, so letl me know if I need to rebase on your for-next.
Applied. These 2 don't exist in my tree:
Quoted 8 lines
It's most likely fine, but was there an ack from drm-misc maintainers?
Quoted 2 lines
Documentation/devicetree/bindings/display/panel/lg,sw43408.yamlDocumentation/devicetree/bindings/display/panel/raydium,rm69380.yamlBecause those were added to drm-misc during the last cycle. So ideally the patch should have gone through drm-misc.
Exact there's a conflict on today's next, Rob can you drop them so I can apply them via drm-misc ?
Thanks,
Neil
Quoted 15 lines · Neil Armstrong
Quoted 14 lines · Dmitry Baryshkov
Quoted 10 lines · Rob Herring
Quoted 6 lines · Krzysztof Kozlowski
Hi,
Cleanups for display panel bindings.
Rob, maybe you could take entire set if it applies? I based it on linux-next, so letl me know if I need to rebase on your for-next.
Applied. These 2 don't exist in my tree:
It's most likely fine, but was there an ack from drm-misc maintainers?
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
Documentation/devicetree/bindings/display/panel/lg,sw43408.yamlDocumentation/devicetree/bindings/display/panel/raydium,rm69380.yamlBecause those were added to drm-misc during the last cycle. So ideally the patch should have gone through drm-misc.
Exact there's a conflict on today's next, Rob can you drop them so I can apply them via drm-misc ?
It's almost the first time I see bindings picked up via drm-misc. Is this an exception or rather new trend (which would be awesome as this is what we prefer usually)?
Best regards,
Krzysztof
[email protected]
maintainerQuoted 23 lines · Krzysztof Kozlowski
Quoted 22 lines · Neil Armstrong
Quoted 20 lines · Dmitry Baryshkov
Quoted 10 lines · Rob Herring
Quoted 6 lines · Krzysztof Kozlowski
Hi,
Cleanups for display panel bindings.
Rob, maybe you could take entire set if it applies? I based it on linux-next, so letl me know if I need to rebase on your for-next.
Applied. These 2 don't exist in my tree:
It's most likely fine, but was there an ack from drm-misc maintainers?
Quoted 2 lines
Documentation/devicetree/bindings/display/panel/lg,sw43408.yamlDocumentation/devicetree/bindings/display/panel/raydium,rm69380.yamlBecause those were added to drm-misc during the last cycle. So ideally the patch should have gone through drm-misc.
Quoted 5 lines
Quoted 1 line
Exact there's a conflict on today's next, Rob can you drop them so I can apply them via drm-misc ?
It's almost the first time I see bindings picked up via drm-misc. Is this an exception or rather new trend (which would be awesome as this is what we prefer usually)?
I usually pick up bindings along drivers like other subsystems, and when reviewed I take independent bindings fixes aswell when rob doesn't pick them before.
Neil
Quoted 4 lines
Best regards,
Krzysztof