From: Krzysztof Kozlowski Date: Wed, 2 Oct 2019 16:07:44 +0000 (+0200) Subject: dt-bindings: iio: adc: exynos: Use defines instead of clock numbers X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6eda6f6d8dcdfed6c102d755d632122c612257d9;p=linux.git 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 --- diff --git a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml index 82bfea12e98c5..f46de17c08788 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>;