Files
threeeye bc1d038eac REVVL 6 Pro kernel bring-up: full working tree snapshot (2026-09-12)
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)
2026-09-12 13:36:46 +00:00

43 lines
1.2 KiB
Devicetree

&i2c0{
status = "okay";
ln8000_charger@51 {
compatible = "lionsemi,ln8000";
reg = <0x51>;
/* bank <bit-idx> <flags: active-low> */
//irq-gpios = <&tlmm 55 0x2002>;
//ln8000_charger,irq_index = <296>; /* please update index value */
//interrupt-parent = <&tlmm>;
//interrupts = <55 0x2002>;
//pinctrl-names = "default";
//pinctrl-0 = <&bq2597x_int_default &bq2597x_int_suspend>;
/* device configuration */
ln8000_charger,bat-ovp-threshold = <4550>;
ln8000_charger,bat-ovp-alarm-threshold = <4525>;
ln8000_charger,bus-ovp-threshold = <11000>;
ln8000_charger,bus-ovp-alarm-threshold = <11000>;
ln8000_charger,bus-ocp-threshold = <3750>;
ln8000_charger,bus-ocp-alarm-threshold = <3500>;
ln8000_charger,ntc-alarm-cfg = <226>;
/* protection enable/disable flags
* vbat-ovp-disable
* vbat-reg-disable
* iin-ocp-disable
* iin-reg-disable
* tbus-mon-disable
* tbat-mon-disable
* tdie-prot-disable
* tdie-reg-disable
* revcurr-prot-disable
*/
ln8000_charger,tdie-prot-disable;
ln8000_charger,tbus-mon-disable;
ln8000_charger,tbat-mon-disable;
ln8000_charger,iin-ocp-disable;
ln8000_charger,iin-reg-disable;
ln8000_charger,tdie-reg-disable;
ln8000_charger,vbat-reg-disable;
};
};