Skip to content

Commit

Permalink
dt-bindings: iio: ad7192: Fix Regulator Properties
Browse files Browse the repository at this point in the history
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: f7356e4 ("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>
  • Loading branch information
Maxime Ripard authored and Rob Herring committed Oct 2, 2019
1 parent 58c50fe commit 932bae3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 932bae3

Please sign in to comment.