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)
24 lines
709 B
Plaintext
24 lines
709 B
Plaintext
SBS sbs-charger
|
|
~~~~~~~~~~
|
|
|
|
Required properties:
|
|
- compatible: "<vendor>,<part-number>", "sbs,sbs-charger" as fallback. The part
|
|
number compatible string might be used in order to take care of vendor
|
|
specific registers.
|
|
|
|
Optional properties:
|
|
- interrupt-parent: Should be the phandle for the interrupt controller. Use in
|
|
conjunction with "interrupts".
|
|
- interrupts: Interrupt mapping for GPIO IRQ. Use in conjunction with
|
|
"interrupt-parent". If an interrupt is not provided the driver will switch
|
|
automatically to polling.
|
|
|
|
Example:
|
|
|
|
ltc4100@9 {
|
|
compatible = "lltc,ltc4100", "sbs,sbs-charger";
|
|
reg = <0x9>;
|
|
interrupt-parent = <&gpio6>;
|
|
interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
|
|
};
|