Skip to content

Commit

Permalink
iio: adc: Document the regulator/clocks for exynos-adc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Doug Anderson authored and Jonathan Cameron committed Mar 29, 2013
1 parent f6e8a96 commit 2b68402
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Documentation/devicetree/bindings/arm/samsung/exynos-adc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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>;
};


Expand Down

0 comments on commit 2b68402

Please sign in to comment.