mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 23:35:03 +07:00
62bc9f15e4
The ina209 binding only differs from other ina2xx bindings in the compatible string, so add it to the common binding and remove the ina209 binding file. Signed-off-by: Rob Herring <robh@kernel.org> Cc: Pawel Moll <pawel.moll@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Ian Campbell <ijc+devicetree@hellion.org.uk> Cc: Kumar Gala <galak@codeaurora.org>
24 lines
402 B
Plaintext
24 lines
402 B
Plaintext
ina2xx properties
|
|
|
|
Required properties:
|
|
- compatible: Must be one of the following:
|
|
- "ti,ina209" for ina209
|
|
- "ti,ina219" for ina219
|
|
- "ti,ina220" for ina220
|
|
- "ti,ina226" for ina226
|
|
- "ti,ina230" for ina230
|
|
- reg: I2C address
|
|
|
|
Optional properties:
|
|
|
|
- shunt-resistor
|
|
Shunt resistor value in micro-Ohm
|
|
|
|
Example:
|
|
|
|
ina220@44 {
|
|
compatible = "ti,ina220";
|
|
reg = <0x44>;
|
|
shunt-resistor = <1000>;
|
|
};
|