Commit 41d208c4 authored by Sebastian Krzyszkowiak's avatar Sebastian Krzyszkowiak Committed by Shawn Guo

arm64: dts: imx8mq-librem5: Set charger parameters for each batch

Correctly set regulation-voltage, termination-current and charge-current
for the different librem 5 board revisions.
Signed-off-by: default avatarSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Signed-off-by: default avatarMartin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 956fdfe7
......@@ -12,18 +12,16 @@ / {
compatible = "purism,librem5r2", "purism,librem5", "fsl,imx8mq";
};
&bq25895 {
ti,battery-regulation-voltage = <4192000>; /* uV */
ti,charge-current = <1600000>; /* uA */
ti,termination-current = <66000>; /* uA */
};
&accel_gyro {
mount-matrix = "1", "0", "0",
"0", "-1", "0",
"0", "0", "1";
};
&bq25895 {
ti,charge-current = <1600000>; /* uA */
};
&proximity {
proximity-near-level = <120>;
};
......@@ -22,9 +22,7 @@ &accel_gyro {
};
&bq25895 {
ti,battery-regulation-voltage = <4200000>; /* uV */
ti,charge-current = <1500000>; /* uA */
ti,termination-current = <144000>; /* uA */
};
&camera_front {
......
......@@ -1147,7 +1147,9 @@ bq25895: charger@6a {
interrupt-parent = <&gpio3>;
interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
phys = <&usb3_phy0>;
ti,precharge-current = <130000>; /* uA */
ti,battery-regulation-voltage = <4208000>; /* uV */
ti,termination-current = <128000>; /* uA */
ti,precharge-current = <128000>; /* uA */
ti,minimum-sys-voltage = <3700000>; /* uV */
ti,boost-voltage = <5000000>; /* uV */
ti,boost-max-current = <1500000>; /* uA */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment