diff mbox series

[5/9] ARM: dts: s5pv210: Drop incorrect use of io-channel-ranges property.

Message ID 20201115192951.1073632-6-jic23@kernel.org (mailing list archive)
State New, archived
Headers show
Series [1/9] dt-bindings:iio:qcom-spmi-vadc drop incorrect io-channel-ranges from example | expand

Commit Message

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

This property is relevant to consumers of io-channels.  Here it is
used by a provider.

dt_schema will now report and error as this property must be in the
same node as io-channels and it is not here.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
---
 arch/arm/boot/dts/s5pv210.dtsi | 1 -
 1 file changed, 1 deletion(-)

Comments

Krzysztof Kozlowski Nov. 17, 2020, 7:46 p.m. UTC | #1
On Sun, Nov 15, 2020 at 07:29:47PM +0000, Jonathan Cameron wrote:
> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> 
> This property is relevant to consumers of io-channels.  Here it is
> used by a provider.
> 
> dt_schema will now report and error as this property must be in the
> same node as io-channels and it is not here.
> 
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> Cc: Krzysztof Kozlowski <krzk@kernel.org>
> ---
>  arch/arm/boot/dts/s5pv210.dtsi | 1 -
>  1 file changed, 1 deletion(-)

Thanks, applied.

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/s5pv210.dtsi b/arch/arm/boot/dts/s5pv210.dtsi
index 2871351ab907..353ba7b09a0c 100644
--- a/arch/arm/boot/dts/s5pv210.dtsi
+++ b/arch/arm/boot/dts/s5pv210.dtsi
@@ -149,7 +149,6 @@  adc: adc@e1700000 {
 			clocks = <&clocks CLK_TSADC>;
 			clock-names = "adc";
 			#io-channel-cells = <1>;
-			io-channel-ranges;
 			status = "disabled";
 		};