diff mbox series

[2/9] dt-bindings:iio:samsung,exynos-adc: drop missuse of io-channel-ranges

Message ID 20201115192951.1073632-3-jic23@kernel.org (mailing list archive)
State New, archived
Headers show
Series dt-bindings: IIO: Drop wrong use of io-channel-ranges then drop it as well. | expand

Commit Message

Jonathan Cameron Nov. 15, 2020, 7:29 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

io-channel-ranges is a property for consumers of io-channels, not
providers.  Hence it is not relevant in this binding or the examples
given.

Recent changes to dt-schema result int his being reported as an error
as a dependency is enforced between this property and io-channels.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reported-by: Rob Herring <robh@kernel.org>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
---
 .../devicetree/bindings/iio/adc/samsung,exynos-adc.yaml       | 4 ----
 1 file changed, 4 deletions(-)

Comments

Krzysztof Kozlowski Nov. 17, 2020, 9:49 a.m. UTC | #1
On Sun, Nov 15, 2020 at 07:29:44PM +0000, Jonathan Cameron wrote:
> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> 
> io-channel-ranges is a property for consumers of io-channels, not
> providers.  Hence it is not relevant in this binding or the examples
> given.
> 
> Recent changes to dt-schema result int his being reported as an error

s/int his/in this/

Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof
Jonathan Cameron Nov. 28, 2020, 3:35 p.m. UTC | #2
On Tue, 17 Nov 2020 10:49:11 +0100
Krzysztof Kozlowski <krzk@kernel.org> wrote:

> On Sun, Nov 15, 2020 at 07:29:44PM +0000, Jonathan Cameron wrote:
> > From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> > 
> > io-channel-ranges is a property for consumers of io-channels, not
> > providers.  Hence it is not relevant in this binding or the examples
> > given.
> > 
> > Recent changes to dt-schema result int his being reported as an error  
> 
> s/int his/in this/
> 
> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Thanks + applied.

Jonathan

> 
> Best regards,
> Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml
index 5ebb0ab250bd..c65921e66dc1 100644
--- a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml
@@ -49,8 +49,6 @@  properties:
   "#io-channel-cells":
     const: 1
 
-  io-channel-ranges: true
-
   vdd-supply: true
 
   samsung,syscon-phandle:
@@ -130,7 +128,6 @@  examples:
         reg = <0x12d10000 0x100>;
         interrupts = <0 106 0>;
         #io-channel-cells = <1>;
-        io-channel-ranges;
 
         clocks = <&clock 303>;
         clock-names = "adc";
@@ -156,7 +153,6 @@  examples:
         reg = <0x126C0000 0x100>;
         interrupts = <0 137 0>;
         #io-channel-cells = <1>;
-        io-channel-ranges;
 
         clocks = <&cmu CLK_TSADC>,
                  <&cmu CLK_SCLK_TSADC>;