* [PATCH] dt-bindings: display/msm: hdmi: Fix constraints on additional 'port' properties
@ 2025-05-07 21:59 Rob Herring (Arm)
2025-05-07 23:07 ` Rob Herring (Arm)
2025-05-08 4:03 ` Dmitry Baryshkov
0 siblings, 2 replies; 4+ messages in thread
From: Rob Herring (Arm) @ 2025-05-07 21:59 UTC (permalink / raw)
To: Rob Clark, Abhinav Kumar, Dmitry Baryshkov, Sean Paul,
Marijn Suijten, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
The MSM HDMI port nodes are missing any restrictions on additional
properties. The $ref should be to "/properties/port" rather than
"/$defs/port-base" as there are not additional properties in the nodes
to define.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
Documentation/devicetree/bindings/display/msm/hdmi.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/display/msm/hdmi.yaml b/Documentation/devicetree/bindings/display/msm/hdmi.yaml
index d4a2033afea8..099274d35680 100644
--- a/Documentation/devicetree/bindings/display/msm/hdmi.yaml
+++ b/Documentation/devicetree/bindings/display/msm/hdmi.yaml
@@ -89,12 +89,12 @@ properties:
$ref: /schemas/graph.yaml#/properties/ports
properties:
port@0:
- $ref: /schemas/graph.yaml#/$defs/port-base
+ $ref: /schemas/graph.yaml#/properties/port
description: |
Input endpoints of the controller.
port@1:
- $ref: /schemas/graph.yaml#/$defs/port-base
+ $ref: /schemas/graph.yaml#/properties/port
description: |
Output endpoints of the controller.
--
2.47.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: display/msm: hdmi: Fix constraints on additional 'port' properties
2025-05-07 21:59 [PATCH] dt-bindings: display/msm: hdmi: Fix constraints on additional 'port' properties Rob Herring (Arm)
@ 2025-05-07 23:07 ` Rob Herring (Arm)
2025-05-08 4:03 ` Dmitry Baryshkov
1 sibling, 0 replies; 4+ messages in thread
From: Rob Herring (Arm) @ 2025-05-07 23:07 UTC (permalink / raw)
To: Rob Herring (Arm)
Cc: Marijn Suijten, Dmitry Baryshkov, Rob Clark, devicetree,
Conor Dooley, linux-kernel, Abhinav Kumar, Sean Paul,
David Airlie, Simona Vetter, Maxime Ripard, Maarten Lankhorst,
Krzysztof Kozlowski, dri-devel, freedreno, linux-arm-msm,
Thomas Zimmermann
On Wed, 07 May 2025 16:59:12 -0500, Rob Herring (Arm) wrote:
> The MSM HDMI port nodes are missing any restrictions on additional
> properties. The $ref should be to "/properties/port" rather than
> "/$defs/port-base" as there are not additional properties in the nodes
> to define.
>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
> Documentation/devicetree/bindings/display/msm/hdmi.yaml | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20250507215912.2748964-1-robh@kernel.org
The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: display/msm: hdmi: Fix constraints on additional 'port' properties
2025-05-07 21:59 [PATCH] dt-bindings: display/msm: hdmi: Fix constraints on additional 'port' properties Rob Herring (Arm)
2025-05-07 23:07 ` Rob Herring (Arm)
@ 2025-05-08 4:03 ` Dmitry Baryshkov
2025-05-09 15:49 ` Rob Herring
1 sibling, 1 reply; 4+ messages in thread
From: Dmitry Baryshkov @ 2025-05-08 4:03 UTC (permalink / raw)
To: Rob Herring (Arm)
Cc: Rob Clark, Abhinav Kumar, Sean Paul, Marijn Suijten,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
Simona Vetter, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
dri-devel, freedreno, devicetree, linux-kernel
On Wed, May 07, 2025 at 04:59:12PM -0500, Rob Herring (Arm) wrote:
> The MSM HDMI port nodes are missing any restrictions on additional
> properties. The $ref should be to "/properties/port" rather than
> "/$defs/port-base" as there are not additional properties in the nodes
> to define.
>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
> Documentation/devicetree/bindings/display/msm/hdmi.yaml | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
I've verified, it applies on top of msm-next and produces no errors. I
don't see a meaningful error in the bot's message (Rob, is there a
chance to fix the bot?).
>
> diff --git a/Documentation/devicetree/bindings/display/msm/hdmi.yaml b/Documentation/devicetree/bindings/display/msm/hdmi.yaml
> index d4a2033afea8..099274d35680 100644
> --- a/Documentation/devicetree/bindings/display/msm/hdmi.yaml
> +++ b/Documentation/devicetree/bindings/display/msm/hdmi.yaml
> @@ -89,12 +89,12 @@ properties:
> $ref: /schemas/graph.yaml#/properties/ports
> properties:
> port@0:
> - $ref: /schemas/graph.yaml#/$defs/port-base
> + $ref: /schemas/graph.yaml#/properties/port
> description: |
> Input endpoints of the controller.
>
> port@1:
> - $ref: /schemas/graph.yaml#/$defs/port-base
> + $ref: /schemas/graph.yaml#/properties/port
> description: |
> Output endpoints of the controller.
>
> --
> 2.47.2
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: display/msm: hdmi: Fix constraints on additional 'port' properties
2025-05-08 4:03 ` Dmitry Baryshkov
@ 2025-05-09 15:49 ` Rob Herring
0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2025-05-09 15:49 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Rob Clark, Abhinav Kumar, Sean Paul, Marijn Suijten,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
Simona Vetter, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
dri-devel, freedreno, devicetree, linux-kernel
On Thu, May 08, 2025 at 07:03:17AM +0300, Dmitry Baryshkov wrote:
> On Wed, May 07, 2025 at 04:59:12PM -0500, Rob Herring (Arm) wrote:
> > The MSM HDMI port nodes are missing any restrictions on additional
> > properties. The $ref should be to "/properties/port" rather than
> > "/$defs/port-base" as there are not additional properties in the nodes
> > to define.
> >
> > Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> > ---
> > Documentation/devicetree/bindings/display/msm/hdmi.yaml | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
>
>
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
>
> I've verified, it applies on top of msm-next and produces no errors. I
> don't see a meaningful error in the bot's message (Rob, is there a
> chance to fix the bot?).
The problem was I broke dtschema on python 3.11 and earlier. It's now
fixed.
Rob
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-05-09 15:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-07 21:59 [PATCH] dt-bindings: display/msm: hdmi: Fix constraints on additional 'port' properties Rob Herring (Arm)
2025-05-07 23:07 ` Rob Herring (Arm)
2025-05-08 4:03 ` Dmitry Baryshkov
2025-05-09 15:49 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).