Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
25 lines
428 B
Plaintext
25 lines
428 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
|
|
- "ti,ina231" for ina231
|
|
- reg: I2C address
|
|
|
|
Optional properties:
|
|
|
|
- shunt-resistor
|
|
Shunt resistor value in micro-Ohm
|
|
|
|
Example:
|
|
|
|
ina220@44 {
|
|
compatible = "ti,ina220";
|
|
reg = <0x44>;
|
|
shunt-resistor = <1000>;
|
|
};
|