iio: mcp3422: Add DT binding documentation
Subsystems (2)
PATCH 1/1 iio: mcp3422: Add DT binding documentation
Adding binding documentation for ADC MCP3422.
--- Documentation/devicetree/bindings/iio/adc/mcp3422.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/mcp3422.txt
Documentation/devicetree/bindings/iio/adc/mcp3422.txt new file +12 -0
@@ -0,0 +1,12 @@ +* 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>;
+};
Signature · 1 line
1.9.1
Jonathan Cameron
maintainerQuoted 1 line · Angelo Compagnucci
Adding binding documentation for ADC MCP3422.
No sign off.
Also, should go to the device tree list and maintainers. Another option for this would be to add it to the list in bindings/i2c/trivial-devices - but I think I prefer them to have explicit binding docs myself.
Jonathan
Quoted 29 lines
--- Documentation/devicetree/bindings/iio/adc/mcp3422.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/mcp3422.txtDocumentation/devicetree/bindings/iio/adc/mcp3422.txt new file +17
-0@@ -0,0 +1,12 @@ +* 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>; +};