Commit 6eda6f6d authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Rob Herring

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: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Acked-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent ca9ccc0d
...@@ -133,6 +133,8 @@ examples: ...@@ -133,6 +133,8 @@ examples:
}; };
- | - |
#include <dt-bindings/clock/exynos3250.h>
adc@126c0000 { adc@126c0000 {
compatible = "samsung,exynos3250-adc"; compatible = "samsung,exynos3250-adc";
reg = <0x126C0000 0x100>; reg = <0x126C0000 0x100>;
...@@ -140,8 +142,8 @@ examples: ...@@ -140,8 +142,8 @@ examples:
#io-channel-cells = <1>; #io-channel-cells = <1>;
io-channel-ranges; io-channel-ranges;
clocks = <&cmu 0>, // CLK_TSADC clocks = <&cmu CLK_TSADC>,
<&cmu 1>; // CLK_SCLK_TSADC <&cmu CLK_SCLK_TSADC>;
clock-names = "adc", "sclk"; clock-names = "adc", "sclk";
vdd-supply = <&buck5_reg>; vdd-supply = <&buck5_reg>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment