linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: iio: ad7192: Fix Regulator Properties
@ 2019-10-02 14:45 Maxime Ripard
  2019-10-02 14:45 ` [PATCH 2/2] dt-bindings: iio: ad7192: Fix DTC warning in the example Maxime Ripard
  2019-10-02 19:14 ` [PATCH 1/2] dt-bindings: iio: ad7192: Fix Regulator Properties Rob Herring
  0 siblings, 2 replies; 5+ messages in thread
From: Maxime Ripard @ 2019-10-02 14:45 UTC (permalink / raw)
  To: Mark Rutland, Rob Herring, Frank Rowand, jic23, knaack.h, lars, pmeerw
  Cc: linux-iio, devicetree, Maxime Ripard

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>
---
 Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
index 676ec42e1438..9e62f54c891a 100644
--- a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
@@ -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: |
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-10-06  9:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-02 14:45 [PATCH 1/2] dt-bindings: iio: ad7192: Fix Regulator Properties Maxime Ripard
2019-10-02 14:45 ` [PATCH 2/2] dt-bindings: iio: ad7192: Fix DTC warning in the example Maxime Ripard
2019-10-02 19:14   ` Rob Herring
2019-10-02 19:14 ` [PATCH 1/2] dt-bindings: iio: ad7192: Fix Regulator Properties Rob Herring
2019-10-06  9:59   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).