dt-bindings: iio: ad7192: Fix Regulator Properties
authorMaxime Ripard <mripard@kernel.org>
Wed, 2 Oct 2019 14:45:41 +0000 (16:45 +0200)
committerRob Herring <robh@kernel.org>
Wed, 2 Oct 2019 19:14:01 +0000 (14:14 -0500)
The AD7192 binding describes two regulator properties, avdd-supply and
dvdd-supply, but describes it as a constant string that must be avdd and
dvdd. This is wrong since a *-supply property is actually a phandle, and
results in warnings when the example is validated (or any device tree using
that device, for that matter).

Let's remove that requirement.

Fixes: f7356e47032c ("dt-bindings: iio: adc: ad7192: Add binding documentation for AD7192")
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml

index 676ec42e143819665215bf79ffad2b2c148690f8..9e62f54c891aade43503446b783e4b6f92a4c526 100644 (file)
@@ -43,13 +43,9 @@ properties:
 
   dvdd-supply:
     description: DVdd voltage supply
-    items:
-      - const: dvdd
 
   avdd-supply:
     description: AVdd voltage supply
-    items:
-      - const: avdd
 
   adi,rejection-60-Hz-enable:
     description: |