From: Angelo Compagnucci Date: Sun, 8 Mar 2015 13:37:23 +0000 (+0100) Subject: iio: mcp3422: Add DT binding documentation X-Git-Tag: v4.14-rc1~5616^2~138^2~102^2~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4a428bf3d92385f27cbb15bef90754027ba4f2d9;p=platform%2Fkernel%2Flinux-rpi.git iio: mcp3422: Add DT binding documentation Adding binding documentation for ADC MCP3422. Signed-off-by: Angelo Compagnucci Signed-off-by: Jonathan Cameron --- diff --git a/Documentation/devicetree/bindings/iio/adc/mcp3422.txt b/Documentation/devicetree/bindings/iio/adc/mcp3422.txt new file mode 100644 index 0000000..333139c --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/mcp3422.txt @@ -0,0 +1,17 @@ +* Microchip mcp3422/3/4/6/7/8 chip family (ADC) + +Required properties: + - compatible: Should be + "microchip,mcp3422" or + "microchip,mcp3423" or + "microchip,mcp3424" or + "microchip,mcp3426" or + "microchip,mcp3427" or + "microchip,mcp3428" + - reg: I2C address for the device + +Example: +adc@0 { + compatible = "microchip,mcp3424"; + reg = <0x68>; +};