dt-bindings: display: panel: constrain 'reg' in DSI panels
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 9 May 2024 09:42:53 +0000 (11:42 +0200)
committerRob Herring (Arm) <robh@kernel.org>
Mon, 13 May 2024 14:57:34 +0000 (09:57 -0500)
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>
40 files changed:
Documentation/devicetree/bindings/display/panel/asus,z00t-tm5p5-nt35596.yaml
Documentation/devicetree/bindings/display/panel/boe,bf060y8m-aj0.yaml
Documentation/devicetree/bindings/display/panel/boe,himax8279d.yaml
Documentation/devicetree/bindings/display/panel/boe,th101mb31ig002-28a.yaml
Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml
Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml
Documentation/devicetree/bindings/display/panel/feixin,k101-im2ba02.yaml
Documentation/devicetree/bindings/display/panel/himax,hx83112a.yaml
Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml
Documentation/devicetree/bindings/display/panel/ilitek,ili9805.yaml
Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml
Documentation/devicetree/bindings/display/panel/innolux,p097pfg.yaml
Documentation/devicetree/bindings/display/panel/jadard,jd9365da-h3.yaml
Documentation/devicetree/bindings/display/panel/jdi,lpm102a188a.yaml
Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.yaml
Documentation/devicetree/bindings/display/panel/leadtek,ltk050h3146w.yaml
Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml
Documentation/devicetree/bindings/display/panel/newvision,nv3051d.yaml
Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml
Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml
Documentation/devicetree/bindings/display/panel/novatek,nt36523.yaml
Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml
Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.yaml
Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml
Documentation/devicetree/bindings/display/panel/raydium,rm692e5.yaml
Documentation/devicetree/bindings/display/panel/ronbo,rb070d30.yaml
Documentation/devicetree/bindings/display/panel/samsung,amoled-mipi-dsi.yaml
Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.yaml
Documentation/devicetree/bindings/display/panel/samsung,s6d7aa0.yaml
Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams452ef01.yaml
Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml
Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml
Documentation/devicetree/bindings/display/panel/sharp,ls043t1le01.yaml
Documentation/devicetree/bindings/display/panel/sharp,ls060t1sx01.yaml
Documentation/devicetree/bindings/display/panel/sony,acx424akp.yaml
Documentation/devicetree/bindings/display/panel/sony,td4353-jdi.yaml
Documentation/devicetree/bindings/display/panel/sony,tulip-truly-nt35521.yaml
Documentation/devicetree/bindings/display/panel/synaptics,r63353.yaml
Documentation/devicetree/bindings/display/panel/visionox,rm69299.yaml
Documentation/devicetree/bindings/display/panel/xinpeng,xpp055c272.yaml

index 75a09df68ba00b0cdfc5a5064cdd809cb7849a05..2399cabf044c2fdde7b17fea546b69d095559d69 100644 (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
index a8f3afa922c89a3161fc9a111bf1c907f0b1d57c..8b7448ad9138f4bb289c41ad8b04e64ddf691851 100644 (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:
index 272a3a018a33a43cc85ffa3130823ac67b2a7583..f2496cdd9260294f187aeff7e4067968329aa071 100644 (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
index 32df26cbfeed737c4761df211efbb8782c12f25e..5eaccce13c216ffe210f408068a637f54d17f213 100644 (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
index 906ef62709b8a8f35970abc0b1b5903e80840ac2..9e603cad1348003d3565455e2549f9fd505361d1 100644 (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
index 265ab6d30572674b09cca57c71d1334761de6221..f4cb825d1e9660ed1e89a563b79503d8333b5ecf 100644 (file)
@@ -15,7 +15,10 @@ allOf:
 properties:
   compatible:
     const: elida,kd35t133
-  reg: true
+
+  reg:
+    maxItems: 1
+
   backlight: true
   port: true
   reset-gpios: true
index 81adb82f061d2c1183202e2e9445b56e01bf126b..0d8707a5844dd6238d832d2b600ef168db6b9cec 100644 (file)
@@ -15,7 +15,10 @@ allOf:
 properties:
   compatible:
     const: feixin,k101-im2ba02
-  reg: true
+
+  reg:
+    maxItems: 1
+
   backlight: true
   reset-gpios: true
   avdd-supply:
index 174661d13811119d2861f204d2c18371d5d06c4c..56bcd152f43cbeadd6ac67311c089b419ac45c49 100644 (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:
index 916bb7f94206293bf9d7584a1dc77e482cc91ee6..644387e4fb6f9f6ac876f50d181e30ac009d3470 100644 (file)
@@ -26,7 +26,8 @@ properties:
           - powkiddy,x55-panel
       - const: himax,hx8394
 
-  reg: true
+  reg:
+    maxItems: 1
 
   reset-gpios: true
 
index f4f91f93f4903c748ad2fb26e8df0c7acfa8116c..ff67129c94669f0730288a259da5a13d5fee9414 100644 (file)
@@ -20,9 +20,11 @@ properties:
           - tianma,tm041xdhg01
       - const: ilitek,ili9805
 
+  reg:
+    maxItems: 1
+
   avdd-supply: true
   dvdd-supply: true
-  reg: true
 
 required:
   - compatible
index b1e624be3e3349e08e8d2784a4a258e0718b9e1a..ac226d5b2c1e94e8fdb7318a57428a07107aea30 100644 (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
 
index 5a5f071627fb2ca1fc3a5c1021afb365c2cfc3f9..4164e3f7061d86124fd5aaa9cfb0de245e62b817 100644 (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
index 41eb7fbf7715bb1c930fe3e773f934c5a7315eab..20afdb4568a26fe1aff28e70e53da9892ee1cb8c 100644 (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
index 2f4d27a309a782ce4f2c41f13525e27a4fd6f6d6..a8621459005bfd7a381595b8333f9ae58449a6f4 100644 (file)
@@ -26,7 +26,9 @@ properties:
   compatible:
     const: jdi,lpm102a188a
 
-  reg: true
+  reg:
+    maxItems: 1
+
   enable-gpios: true
   reset-gpios: true
   power-supply: true
index 63c82a4378ff5deff6a7d7a82cf6a04ab2effe5c..0c8b5cb78bfe4f96b01a5f9fad3e2141236b83b2 100644 (file)
@@ -16,8 +16,10 @@ properties:
   compatible:
     const: jdi,lt070me05000
 
+  reg:
+    maxItems: 1
+
   enable-gpios: true
-  reg: true
   reset-gpios: true
 
   vddp-supply:
index a40ab887ada7beb5c1373b036470d12688b03903..e2a2dd4ef5fa21546ac833fbae40bb5525687272 100644 (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:
index d589f1677214501b8c643aff22df1dac444d21a5..af9e0ea0e72f94f3fe30fac4eaf4ec0691e93144 100644 (file)
@@ -17,7 +17,10 @@ properties:
     enum:
       - leadtek,ltk101b4029w
       - leadtek,ltk500hd1829
-  reg: true
+
+  reg:
+    maxItems: 1
+
   backlight: true
   reset-gpios: true
   iovcc-supply:
index 7a634fbc465e042943d499397f502cec0d9fdd35..d3a25a8fd7e39ac9479fb16865965ea7eca6234d 100644 (file)
@@ -24,7 +24,9 @@ properties:
           - powkiddy,rk2023-panel
       - const: newvision,nv3051d
 
-  reg: true
+  reg:
+    maxItems: 1
+
   backlight: true
   port: true
   reset-gpios:
index 91921f4b0e5fa0869c0fc0ef46c4e988445daa8b..bb50fd5506c3d8a45377721654f13d0460cac50f 100644 (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
index 377a05d48a02a40e1b224eeeba4d8b5761f9a9d4..52cee4ee84b48dc937008855b6b797490cd02891 100644 (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
index 5f7e4c486094426b49629337e154e981471c3e95..0447ee724947423fa1f855694afde3f1c8a7a217 100644 (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
index ae821f465e1c8644ca99542091e0a13cf88fe812..800a2f0a4dad98954ef60c3bb04d8eb2243cae7a 100644 (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
 
index 72463795e4c6da5a6d665bc794479dbdc12b74aa..e5d8785fdf9055429b654ca53e2cad0d2845f7c4 100644 (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
index d62fd692bf10621cc357b11bf8d852565bcdcf32..4825792bf712f0d219119034fdaace72f4c2487d 100644 (file)
@@ -16,7 +16,9 @@ properties:
   compatible:
     const: raydium,rm67191
 
-  reg: true
+  reg:
+    maxItems: 1
+
   port: true
   reset-gpios: true
   width-mm: true
index f436ba6738caa92e47e344724c7125c5d872b16b..7ad223f98253a4484dd1091d18fe7fed9585c771 100644 (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:
index 95ce22c6787a7aba341749c8774585efbe1f2dc2..04f86e0cbac91fff84593bc9daa86471140067ec 100644 (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
index ccc482570d6a39ad5fd7208b54bab22184e540c2..e8f9e9d06a2921f88a75cb80e600564013ee3be1 100644 (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
index 66d147496bc3d60ee1bc6e5699bda46c9f108b82..2af5bc47323f5077ff14f6f10a29f9067d07afc9 100644 (file)
@@ -16,8 +16,10 @@ properties:
   compatible:
     const: samsung,s6d16d0
 
+  reg:
+    maxItems: 1
+
   port: true
-  reg: true
   reset-gpios: true
 
   vdd1-supply:
index 45a236d2cc70a357ed3af79a49f6c145c5221969..939da65114bfc2efddcf808a8d1d82dc37115494 100644 (file)
@@ -24,7 +24,8 @@ properties:
           - samsung,ltl101at01
       - const: samsung,s6d7aa0
 
-  reg: true
+  reg:
+    maxItems: 1
 
   backlight:
     description:
index b749e9e906b7e9c7afdd34f976b26db6efeeada5..42634fc3b5b20de2eb815bb91990b193f74e30e9 100644 (file)
@@ -15,7 +15,10 @@ allOf:
 properties:
   compatible:
     const: samsung,s6e88a0-ams452ef01
-  reg: true
+
+  reg:
+    maxItems: 1
+
   port: true
   reset-gpios: true
   vdd3-supply:
index 200fbf1c74a0bf1adadf7f85571608103354b30b..4601fa460680772c73bda245cd6f0638e629de05 100644 (file)
@@ -16,7 +16,9 @@ properties:
   compatible:
     const: samsung,s6e8aa0
 
-  reg: true
+  reg:
+    maxItems: 1
+
   reset-gpios: true
   display-timings: true
 
index 57b44a0e763de49e7f871891bd0d0a4ea5776fc4..ce820b96a7e2f9d5ba313796ea5eb202fab0d2f8 100644 (file)
@@ -37,7 +37,9 @@ properties:
       - enum:
           - sharp,lq101r1sx01
 
-  reg: true
+  reg:
+    maxItems: 1
+
   power-supply: true
   backlight: true
 
index a90d0d8bf7c9e18f0f1c2900d1fb91d82f2cd0ef..b6ea246430ceeb3b35a84f79f0f90aeb0795c10d 100644 (file)
@@ -16,7 +16,9 @@ properties:
   compatible:
     const: sharp,ls043t1le01-qhd
 
-  reg: true
+  reg:
+    maxItems: 1
+
   backlight: true
   reset-gpios: true
   port: true
index 271c097cc9a4439abd11324c613f48e01b06ea53..77a4fce129e75bd09a27ee1193f362ece656479b 100644 (file)
@@ -16,7 +16,9 @@ properties:
   compatible:
     const: sharp,ls060t1sx01
 
-  reg: true
+  reg:
+    maxItems: 1
+
   backlight: true
   reset-gpios: true
   port: true
index 059cc6dbcfca9f08f1f4f1ed9965c229b67bbd22..fd778a20f760990c2d6dd5fc9a1d1335095d909b 100644 (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
index b6b885b4c22dc8351b2b60cd9757989de3a8406e..feca40b0d759147bf5f369c122ae9cc1cb0e1b1e 100644 (file)
@@ -20,7 +20,8 @@ properties:
   compatible:
     const: sony,td4353-jdi-tama
 
-  reg: true
+  reg:
+    maxItems: 1
 
   backlight: true
 
index 9679729395988792db0903b9305896f7e9287adf..a58a31349757d458b11bcbe64213bb714ba67576 100644 (file)
@@ -21,7 +21,8 @@ properties:
   compatible:
     const: sony,tulip-truly-nt35521
 
-  reg: true
+  reg:
+    maxItems: 1
 
   positive5-supply:
     description: Positive 5V supply
index e5617d125567d2f1ae13ce5a9de3647cb772b7f3..2fd6e0ec36825999b820505ee6cf10c57840da75 100644 (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
index 7723990675158781204b83d6dc0e60089d489ef8..30047a62fc111ff63cbbc275914ef8bb7cb4ffd6 100644 (file)
@@ -20,7 +20,8 @@ properties:
   compatible:
     const: visionox,rm69299-1080p-display
 
-  reg: true
+  reg:
+    maxItems: 1
 
   vdda-supply:
     description: |
index c407deb6afb11d9041b0eba5cbe587e2aa596708..9c9743a23500df3619d9bdec93e5a23c6efdeb64 100644 (file)
@@ -15,7 +15,10 @@ allOf:
 properties:
   compatible:
     const: xinpeng,xpp055c272
-  reg: true
+
+  reg:
+    maxItems: 1
+
   backlight: true
   port: true
   reset-gpios: true