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)
35 lines
1020 B
Plaintext
35 lines
1020 B
Plaintext
Fixed Voltage regulators
|
|
|
|
Required properties:
|
|
- compatible: Must be "regulator-fixed";
|
|
|
|
Optional properties:
|
|
- gpio: gpio to use for enable control
|
|
- startup-delay-us: startup time in microseconds
|
|
- enable-active-high: Polarity of GPIO is Active high
|
|
If this property is missing, the default assumed is Active low.
|
|
- gpio-open-drain: GPIO is open drain type.
|
|
If this property is missing then default assumption is false.
|
|
-vin-supply: Input supply name.
|
|
|
|
Any property defined as part of the core regulator
|
|
binding, defined in regulator.txt, can also be used.
|
|
However a fixed voltage regulator is expected to have the
|
|
regulator-min-microvolt and regulator-max-microvolt
|
|
to be the same.
|
|
|
|
Example:
|
|
|
|
abc: fixedregulator@0 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "fixed-supply";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
gpio = <&gpio1 16 0>;
|
|
startup-delay-us = <70000>;
|
|
enable-active-high;
|
|
regulator-boot-on;
|
|
gpio-open-drain;
|
|
vin-supply = <&parent_reg>;
|
|
};
|