aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2019-10-11 13:44:13 -0500
committerRob Herring <robh@kernel.org>2019-10-14 09:23:54 -0500
commitf3dde260bb0ed197dd85809f8281eb5a552e8594 (patch)
treee7c196367dd36f492c68cd6aafbf06374bb89de7 /Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
parentcheckpatch: Warn if DT bindings are not in schema format (diff)
downloadlinux-dev-f3dde260bb0ed197dd85809f8281eb5a552e8594.tar.xz
linux-dev-f3dde260bb0ed197dd85809f8281eb5a552e8594.zip
dt-bindings: Clean-up regulator '-supply' schemas
Regulator '*-supply' properties are always a single phandle, so 'maxItems: 1' or a $ref is not necessary. All that's needed is either 'true' or an optional 'description'. Following this clean-up, the meta-schema will enforce this pattern. There's one case in tree with 'innolux,n156bge-l21' having 2 phandles. This appears to be a mistake or abuse of simple-panel as it's 2 different voltage rails connected to 'power-supply'. Cc: Neil Armstrong <narmstrong@baylibre.com> Cc: Kevin Hilman <khilman@baylibre.com> Cc: Jonathan Cameron <jic23@kernel.org> Cc: Krzysztof Kozlowski <krzk@kernel.org> Cc: Kishon Vijay Abraham I <kishon@ti.com> Cc: Liam Girdwood <lgirdwood@gmail.com> Cc: Mark Brown <broonie@kernel.org> Cc: linux-iio@vger.kernel.org Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> # for iio Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml')
-rw-r--r--Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml5
1 files changed, 1 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
index cc544fdc38be..6eb33207a167 100644
--- a/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
@@ -31,10 +31,7 @@ properties:
spi-cpha: true
- avcc-supply:
- description:
- Phandle to the Avcc power supply
- maxItems: 1
+ avcc-supply: true
interrupts:
maxItems: 1