fixup! arm64: dts: qcom: msm8998-oneplus-common: add simple-battery
This commit is contained in:
parent
612f9b9b64
commit
819a64b456
1 changed files with 10 additions and 13 deletions
|
|
@ -148,15 +148,16 @@
|
|||
reg = <0x0 0xf6900000 0x0 0x2000>;
|
||||
no-map;
|
||||
};
|
||||
};
|
||||
|
||||
blp637_bat: battery {
|
||||
compatible = "simple-battery";
|
||||
voltage-max-design-microvolt = <4370000>;
|
||||
voltage-min-design-microvolt = <3700000>;
|
||||
charge-full-design-microamp-hours = <3300000>;
|
||||
energy-full-design-microwatt-hours = <12700000>;
|
||||
operating-range-celsius = <0 45>;
|
||||
};
|
||||
blp637: battery {
|
||||
compatible = "simple-battery";
|
||||
|
||||
charge-full-design-microamp-hours = <3300000>;
|
||||
voltage-max-design-microvolt = <4370000>;
|
||||
voltage-min-design-microvolt = <3700000>;
|
||||
energy-full-design-microwatt-hours = <12700000>;
|
||||
//operating-range-celsius = <0 45>;
|
||||
};
|
||||
|
||||
gpio-keys {
|
||||
|
|
@ -319,11 +320,7 @@
|
|||
compatible = "ti,bq27411";
|
||||
reg = <0x55>;
|
||||
|
||||
/*
|
||||
* TODO: Adding this appears to not change any reported stats in:
|
||||
* $ cat /sys/class/power_supply/bq27411-0/uevent
|
||||
*/
|
||||
monitored-battery = <&blp637_bat>;
|
||||
monitored-battery = <&blp637>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue