-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: Add device tree support to LPC32xx ADC
This patch adds device tree support to the LPC32xx's ADC. Signed-off-by: Roland Stigge <stigge@antcom.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information
Roland Stigge
authored and
Greg Kroah-Hartman
committed
Apr 24, 2012
1 parent
057340e
commit 1f9e349
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
Documentation/devicetree/bindings/staging/iio/adc/lpc32xx-adc.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
* NXP LPC32xx SoC ADC controller | ||
|
||
Required properties: | ||
- compatible: must be "nxp,lpc3220-adc" | ||
- reg: physical base address of the controller and length of memory mapped | ||
region. | ||
- interrupts: The ADC interrupt | ||
|
||
Example: | ||
|
||
adc@40048000 { | ||
compatible = "nxp,lpc3220-adc"; | ||
reg = <0x40048000 0x1000>; | ||
interrupt-parent = <&mic>; | ||
interrupts = <39 0>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters