[PATCH] dt-bindings: drm/bridge: ti-sn65dsi83: drop $ref to fix lvds-vod* warnings

Andrej Picej posted 1 patch 6 months, 3 weeks ago
.../devicetree/bindings/display/bridge/ti,sn65dsi83.yaml      | 4 ----
1 file changed, 4 deletions(-)
[PATCH] dt-bindings: drm/bridge: ti-sn65dsi83: drop $ref to fix lvds-vod* warnings
Posted by Andrej Picej 6 months, 3 weeks ago
The kernel test robot reported a warning related to the use of "$ref"
type definitions for custom endpoint properties
- "ti,lvds-vod-swing-clock-microvolt" and
- "ti,lvds-vod-swing-data-microvolt".

Using "$ref" with "uint32-array" is not correctly handled in this
context. Removing "$ref" and relying solely on "maxItems: 2" enforces
the intended requirement of specifying exactly two values, without
triggering a schema validation warning.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505021937.efnQPPqx-lkp@intel.com/
Signed-off-by: Andrej Picej <andrej.picej@norik.com>
---
 .../devicetree/bindings/display/bridge/ti,sn65dsi83.yaml      | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml
index 9b5f3f3eab19..e69b6343a8eb 100644
--- a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml
@@ -118,15 +118,11 @@ $defs:
           ti,lvds-vod-swing-clock-microvolt:
             description: LVDS diferential output voltage <min max> for clock
               lanes in microvolts.
-            $ref: /schemas/types.yaml#/definitions/uint32-array
-            minItems: 2
             maxItems: 2
 
           ti,lvds-vod-swing-data-microvolt:
             description: LVDS diferential output voltage <min max> for data
               lanes in microvolts.
-            $ref: /schemas/types.yaml#/definitions/uint32-array
-            minItems: 2
             maxItems: 2
 
 allOf:
-- 
2.34.1
Re: [PATCH] dt-bindings: drm/bridge: ti-sn65dsi83: drop $ref to fix lvds-vod* warnings
Posted by Rob Herring (Arm) 6 months, 1 week ago
On Thu, 29 May 2025 07:36:53 +0200, Andrej Picej wrote:
> The kernel test robot reported a warning related to the use of "$ref"
> type definitions for custom endpoint properties
> - "ti,lvds-vod-swing-clock-microvolt" and
> - "ti,lvds-vod-swing-data-microvolt".
> 
> Using "$ref" with "uint32-array" is not correctly handled in this
> context. Removing "$ref" and relying solely on "maxItems: 2" enforces
> the intended requirement of specifying exactly two values, without
> triggering a schema validation warning.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202505021937.efnQPPqx-lkp@intel.com/
> Signed-off-by: Andrej Picej <andrej.picej@norik.com>
> ---
>  .../devicetree/bindings/display/bridge/ti,sn65dsi83.yaml      | 4 ----
>  1 file changed, 4 deletions(-)
> 

Applied, thanks!