mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
10de07f446
Document the devicetree bindings for the Microchip MCP3021/3221. Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
22 lines
396 B
Plaintext
22 lines
396 B
Plaintext
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 */
|
|
};
|