Hi,
On Tue, Jan 24, 2023 at 05:02:28PM -0600, Rob Herring wrote:
Just as unevaluatedProperties or additionalProperties are required at the top level of schemas, they should (and will) also be required for child node schemas. That ensures only documented properties are present.
Add unevaluatedProperties or additionalProperties as appropriate, and then add any missing properties flagged by the addition.
Signed-off-by: Rob Herring robh@kernel.org
[...] diff --git a/Documentation/devicetree/bindings/power/supply/ti,lp8727.yaml b/Documentation/devicetree/bindings/power/supply/ti,lp8727.yaml index ce6fbdba8f6b..0542d4126cf5 100644 --- a/Documentation/devicetree/bindings/power/supply/ti,lp8727.yaml +++ b/Documentation/devicetree/bindings/power/supply/ti,lp8727.yaml @@ -28,6 +28,7 @@ properties: patternProperties: '^(ac|usb)$': type: object
- additionalProperties: false description: USB/AC charging parameters properties: charger-type:
Acked-by: Sebastian Reichel sebastian.reichel@collabora.com
-- Sebastian