diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2019-10-02 18:07:44 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-10-15 12:29:35 -0500 |
commit | 6eda6f6d8dcdfed6c102d755d632122c612257d9 (patch) | |
tree | 3211cb1518b1e468fa91172b1e56ad937237cdda /Documentation/devicetree/bindings/iio | |
parent | ca9ccc0d8dc8a73e0b186f9c164c4982c5c42539 (diff) | |
download | lwn-6eda6f6d8dcdfed6c102d755d632122c612257d9.tar.gz lwn-6eda6f6d8dcdfed6c102d755d632122c612257d9.zip |
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 <krzk@kernel.org>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iio')
-rw-r--r-- | Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml | 6 |
1 files 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 82bfea12e98c..f46de17c0878 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 <dt-bindings/clock/exynos3250.h> + 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>; |