Commit 10de07f4 authored by Clemens Gruber's avatar Clemens Gruber Committed by Guenter Roeck

hwmon: (mcp3021) add devicetree bindings documentation

Document the devicetree bindings for the Microchip MCP3021/3221.
Signed-off-by: default avatarClemens Gruber <clemens.gruber@pqgruber.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 00a0c905
mcp3021 properties
Required properties:
- compatible: Must be one of the following:
- "microchip,mcp3021" for mcp3021
- "microchip,mcp3221" for mcp3221
- reg: I2C address
Optional properties:
- reference-voltage-microvolt
Reference voltage in microvolt (uV)
Example:
mcp3021@4d {
compatible = "microchip,mcp3021";
reg = <0x4d>;
reference-voltage-microvolt = <4500000>; /* 4.5 V */
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment