mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
f686a36b4b
This adds support for Microchip's 13 bit 1 channel AD converter MCP3301 Signed-off-by: Andrea Galbusera <gizero@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
32 lines
580 B
Plaintext
32 lines
580 B
Plaintext
* 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"
|
|
"mcp3301"
|
|
|
|
|
|
Examples:
|
|
spi_controller {
|
|
mcp3x0x@0 {
|
|
compatible = "mcp3002";
|
|
reg = <0>;
|
|
spi-max-frequency = <1000000>;
|
|
};
|
|
};
|