Skip to content

Commit

Permalink
dt-bindings: iio: adc: adi,ad7292: Fix additionalProperties on channe…
Browse files Browse the repository at this point in the history
…l nodes

"additionalProperties: true" is only for incomplete schemas such as bus
child nodes in a bus's schema. That doesn't apply to the "channel" nodes
in the adi,ad7292 binding, so fix additionalProperties to be false.

Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Acked-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Link: https://lore.kernel.org/r/20230926164357.100325-1-robh@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
  • Loading branch information
Rob Herring authored and Jonathan Cameron committed Oct 5, 2023
1 parent 7e7dcab commit 87b9a0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ patternProperties:
required:
- reg

additionalProperties: true
additionalProperties: false

allOf:
- $ref: /schemas/spi/spi-peripheral-props.yaml#
Expand Down

0 comments on commit 87b9a0e

Please sign in to comment.