lkml.org 
[lkml]   [2022]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] dt-bindings: mfd: Add missing (unevaluated|additional)Properties on child nodes
Date
Am Dienstag, 23. August 2022, 16:56:35 CEST schrieb Rob Herring:
> In order to ensure only documented properties are present, node schemas
> must have unevaluatedProperties or additionalProperties set to false
> (typically).
>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---

> .../bindings/mfd/rockchip,rk817.yaml | 2 +

> diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml
> index bfc1720adc43..9b2378312ce2 100644
> --- a/Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml
> +++ b/Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml
> @@ -87,6 +87,7 @@ properties:
> patternProperties:
> "^(LDO_REG[1-9]|DCDC_REG[1-4]|BOOST|OTG_SWITCH)$":
> type: object
> + unevaluatedProperties: false
> $ref: ../regulator/regulator.yaml#
> unevaluatedProperties: false
>
> @@ -111,6 +112,7 @@ properties:
> additional properties are required for the codec, this node can be
> omitted.
> type: object
> + additionalProperties: false
> properties:
> rockchip,mic-in-differential:
> type: boolean

Acked-by: Heiko Stuebner <heiko@sntech.de>


\
 
 \ /
  Last update: 2022-08-24 10:47    [W:0.133 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site