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)
27 lines
680 B
Plaintext
27 lines
680 B
Plaintext
Dialog Semiconductor DA9150 Charger Power Supply bindings
|
|
|
|
Required properties:
|
|
- compatible: "dlg,da9150-charger" for DA9150 Charger Power Supply
|
|
|
|
Optional properties:
|
|
- io-channels: List of phandle and IIO specifier pairs
|
|
- io-channel-names: List of channel names used by charger
|
|
["CHAN_IBUS", "CHAN_VBUS", "CHAN_TJUNC", "CHAN_VBAT"]
|
|
(See Documentation/devicetree/bindings/iio/iio-bindings.txt for further info)
|
|
|
|
|
|
Example:
|
|
|
|
da9150-charger {
|
|
compatible = "dlg,da9150-charger";
|
|
|
|
io-channels = <&gpadc 0>,
|
|
<&gpadc 2>,
|
|
<&gpadc 8>,
|
|
<&gpadc 5>;
|
|
io-channel-names = "CHAN_IBUS",
|
|
"CHAN_VBUS",
|
|
"CHAN_TJUNC",
|
|
"CHAN_VBAT";
|
|
};
|