diff mbox series

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

Message ID 20230930130102.798822-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series dt-bindings: display: fsl, imx6-hdmi: Change to 'unevaluatedProperties: false' | expand

Commit Message

Fabio Estevam Sept. 30, 2023, 1:01 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

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#

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 .../devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Conor Dooley Oct. 2, 2023, 12:04 p.m. UTC | #1
On Sat, Sep 30, 2023 at 10:01:02AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> 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#

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Thanks,
Conor.

> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> ---
>  .../devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml          | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml b/Documentation/devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml
> index af7fe9c4d196..7979cf07f119 100644
> --- a/Documentation/devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml
> +++ b/Documentation/devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml
> @@ -87,7 +87,7 @@ required:
>    - interrupts
>    - ports
>  
> -additionalProperties: false
> +unevaluatedProperties: false
>  
>  examples:
>    - |
> -- 
> 2.34.1
>
Rob Herring Oct. 2, 2023, 2:58 p.m. UTC | #2
On Sat, 30 Sep 2023 10:01:02 -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> 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#
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> ---
>  .../devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml          | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied, thanks!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml b/Documentation/devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml
index af7fe9c4d196..7979cf07f119 100644
--- a/Documentation/devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml
+++ b/Documentation/devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml
@@ -87,7 +87,7 @@  required:
   - interrupts
   - ports
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |