aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Anderson <dianders@chromium.org>2013-03-13 16:39:00 -0400
committerJonathan Cameron <jic23@kernel.org>2013-03-29 05:33:45 -0400
commit2b684024b59c4b1a1440e8c7499b7060a22d1ec1 (patch)
tree62a1c5d261732c32f6b171e3cc193efd1fb2ce55
parentf6e8a9687b785b4c75d71370681f7a6e9fd89685 (diff)
iio: adc: Document the regulator/clocks for exynos-adc
The exynos ADC won't work without a regulator called "vdd" and a clock called "adc". Document this fact in the device tree bindings. Signed-off-by: Doug Anderson <dianders@chromium.org> Reviewed-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/arm/samsung/exynos-adc.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/samsung/exynos-adc.txt b/Documentation/devicetree/bindings/arm/samsung/exynos-adc.txt
index 1fc744bd7166..47ada1dff216 100644
--- a/Documentation/devicetree/bindings/arm/samsung/exynos-adc.txt
+++ b/Documentation/devicetree/bindings/arm/samsung/exynos-adc.txt
@@ -20,6 +20,9 @@ Required properties:
20 format is being dependent on which interrupt controller 20 format is being dependent on which interrupt controller
21 the Samsung device uses. 21 the Samsung device uses.
22- #io-channel-cells = <1>; As ADC has multiple outputs 22- #io-channel-cells = <1>; As ADC has multiple outputs
23- clocks From common clock binding: handle to adc clock.
24- clock-names From common clock binding: Shall be "adc".
25- vdd-supply VDD input supply.
23 26
24Note: child nodes can be added for auto probing from device tree. 27Note: child nodes can be added for auto probing from device tree.
25 28
@@ -31,6 +34,11 @@ adc: adc@12D10000 {
31 interrupts = <0 106 0>; 34 interrupts = <0 106 0>;
32 #io-channel-cells = <1>; 35 #io-channel-cells = <1>;
33 io-channel-ranges; 36 io-channel-ranges;
37
38 clocks = <&clock 303>;
39 clock-names = "adc";
40
41 vdd-supply = <&buck5_reg>;
34}; 42};
35 43
36 44