Skip to contentSkip to conversation

dt-bindings: display: fsl, imx6-hdmi: Change to 'unevaluatedProperties: false'

PATCH Applied Fabio Estevam 3 participants 3 messages Sep 30, 2023 – Oct 2, 2023

Subsystems (5)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 dt-bindings: display: fsl, imx6-hdmi: Change to 'unevaluatedProperties: false'

From: Fabio Estevam <[email protected]>

fsl,imx6-hdmi.yaml makes a reference to synopsys,dw-hdmi.yaml.

The 'interrupts'and 'reg' properties are described in synopsys,dw-hdmi.yaml, so use 'unevaluatedProperties: false' so that these two properties can be accepted.

This fixes the following schema warnings:

hdmi@120000: 'interrupts', 'reg' do not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/display/imx/fsl,imx6-hdmi.yaml#

---
 .../devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml +1 -1
index af7fe9c4d196..7979cf07f119 100644
@@ -87,7 +87,7 @@ required:
   - interrupts
   - ports
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw

Re: [PATCH] dt-bindings: display: fsl,imx6-hdmi: Change to 'unevaluatedProperties: false'

Quoted 4 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

fsl,imx6-hdmi.yaml makes a reference to synopsys,dw-hdmi.yaml.

Quoted 8 lines

The 'interrupts'and 'reg' properties are described in synopsys,dw-hdmi.yaml, so use 'unevaluatedProperties: false' so that these two properties can be accepted.

This fixes the following schema warnings:

hdmi@120000: 'interrupts', 'reg' do not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/display/imx/fsl,imx6-hdmi.yaml#

Thanks,
Conor.

Quoted 22 lines
---
 .../devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml +1 -1
index af7fe9c4d196..7979cf07f119 100644
@@ -87,7 +87,7 @@ required:
   - interrupts
   - ports
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
Signature · 1 line
2.34.1
maintainer Applied
#2 lore raw

Re: [PATCH] dt-bindings: display: fsl,imx6-hdmi: Change to 'unevaluatedProperties: false'

In reply to Fabio Estevam
Quoted 10 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

fsl,imx6-hdmi.yaml makes a reference to synopsys,dw-hdmi.yaml.

The 'interrupts'and 'reg' properties are described in synopsys,dw-hdmi.yaml, so use 'unevaluatedProperties: false' so that these two properties can be accepted.

This fixes the following schema warnings:

Quoted 8 lines

hdmi@120000: 'interrupts', 'reg' do not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/display/imx/fsl,imx6-hdmi.yaml#

---
 .../devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks!