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)
29 lines
647 B
Plaintext
29 lines
647 B
Plaintext
Maxim MAX1586 voltage regulator
|
|
|
|
Required properties:
|
|
- compatible: must be "maxim,max1586"
|
|
- reg: I2C slave address, usually 0x14
|
|
- v3-gain: integer specifying the V3 gain as per datasheet
|
|
(1 + R24/R25 + R24/185.5kOhm)
|
|
- any required generic properties defined in regulator.txt
|
|
|
|
Example:
|
|
|
|
i2c_master {
|
|
max1586@14 {
|
|
compatible = "maxim,max1586";
|
|
reg = <0x14>;
|
|
v3-gain = <1000000>;
|
|
|
|
regulators {
|
|
vcc_core: v3 {
|
|
regulator-name = "vcc_core";
|
|
regulator-compatible = "Output_V3";
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <1705000>;
|
|
regulator-always-on;
|
|
};
|
|
};
|
|
};
|
|
};
|