Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings:iio:adc:adi,ad7292: Use new adc.yaml binding for channels.

Also add additionalProperties: false for the child nodes.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Cc: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Link: https://lore.kernel.org/r/20201031182423.742798-4-jic23@kernel.org

+4 -4
+4 -4
Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
··· 45 45 46 46 patternProperties: 47 47 "^channel@[0-7]$": 48 + $ref: "adc.yaml" 48 49 type: object 49 50 description: | 50 51 Represents the external channels which are connected to the ADC. 51 - See Documentation/devicetree/bindings/iio/adc/adc.txt. 52 52 53 53 properties: 54 54 reg: ··· 58 58 - minimum: 0 59 59 maximum: 7 60 60 61 - diff-channels: 62 - description: see Documentation/devicetree/bindings/iio/adc/adc.txt 63 - maxItems: 1 61 + diff-channels: true 64 62 65 63 required: 66 64 - reg 65 + 66 + additionalProperties: true 67 67 68 68 additionalProperties: false 69 69