From 6eda6f6d8dcdfed6c102d755d632122c612257d9 Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Wed, 2 Oct 2019 18:07:44 +0200 Subject: [PATCH] dt-bindings: iio: adc: exynos: Use defines instead of clock numbers Make the examples in Exynos ADC bindings more readable and bring them closer to real DTS by using defines for clocks. Signed-off-by: Krzysztof Kozlowski Acked-by: Jonathan Cameron Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml index 82bfea1..f46de17 100644 --- a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml @@ -133,6 +133,8 @@ examples: }; - | + #include + adc@126c0000 { compatible = "samsung,exynos3250-adc"; reg = <0x126C0000 0x100>; @@ -140,8 +142,8 @@ examples: #io-channel-cells = <1>; io-channel-ranges; - clocks = <&cmu 0>, // CLK_TSADC - <&cmu 1>; // CLK_SCLK_TSADC + clocks = <&cmu CLK_TSADC>, + <&cmu CLK_SCLK_TSADC>; clock-names = "adc", "sclk"; vdd-supply = <&buck5_reg>; -- 2.7.4