-
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.
Signed-off-by: Soeren Andersen <san@rosetechnology.dk> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
- Loading branch information
Søren Andersen
authored and
Jonathan Cameron
committed
Mar 12, 2015
1 parent
ab28002
commit ef64d3f
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
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,30 @@ | ||
* Microchip Analog to Digital Converter (ADC) | ||
|
||
The node for this driver must be a child node of a SPI controller, hence | ||
all mandatory properties described in | ||
|
||
Documentation/devicetree/bindings/spi/spi-bus.txt | ||
|
||
must be specified. | ||
|
||
Required properties: | ||
- compatible: Must be one of the following, depending on the | ||
model: | ||
"mcp3001" | ||
"mcp3002" | ||
"mcp3004" | ||
"mcp3008" | ||
"mcp3201" | ||
"mcp3202" | ||
"mcp3204" | ||
"mcp3208" | ||
|
||
|
||
Examples: | ||
spi_controller { | ||
mcp3x0x@0 { | ||
compatible = "mcp3002"; | ||
reg = <0>; | ||
spi-max-frequency = <1000000>; | ||
}; | ||
}; |