iio: adc: Document the regulator/clocks for exynos-adc
authorDoug Anderson <dianders@chromium.org>
Wed, 13 Mar 2013 20:39:00 +0000 (20:39 +0000)
committerJonathan Cameron <jic23@kernel.org>
Fri, 29 Mar 2013 09:33:45 +0000 (09:33 +0000)
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>
Documentation/devicetree/bindings/arm/samsung/exynos-adc.txt

index 1fc744bd7166094bf5e1b3c7e5d48d5afacbec0f..47ada1dff2165bfb836600e606adfd79ac7eca3a 100644 (file)
@@ -20,6 +20,9 @@ Required properties:
                        format is being dependent on which interrupt controller
                        the Samsung device uses.
 - #io-channel-cells = <1>; As ADC has multiple outputs
+- clocks               From common clock binding: handle to adc clock.
+- clock-names          From common clock binding: Shall be "adc".
+- vdd-supply           VDD input supply.
 
 Note: child nodes can be added for auto probing from device tree.
 
@@ -31,6 +34,11 @@ adc: adc@12D10000 {
        interrupts = <0 106 0>;
        #io-channel-cells = <1>;
        io-channel-ranges;
+
+       clocks = <&clock 303>;
+       clock-names = "adc";
+
+       vdd-supply = <&buck5_reg>;
 };