Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@
shunt-resistor-micro-ohms = <5000>;
};

pmic@66 {
pmic: pmic@66 {
compatible = "maxim,max77759";
reg = <0x66>;

Expand Down
20 changes: 20 additions & 0 deletions arch/arm64/boot/dts/exynos/google/gs101-raven.dts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,21 @@
*/
bootargs = "console=tty0 panic=10 clk_ignore_unused rdinit=/init";
};

battery: battery {
compatible = "simple-battery";
/* google,chg-battery-capacity */
charge-full-design-microamp-hours = <4905000>;
/*
* Charger limits without Google's step charging: the float
* voltage is google,fv-max-uv, the top of google,chg-cv-limits
* (4.2/4.3/4.45 V). The fast charge current is 0.3 C, the
* lowest google,chg-cc-limits entry at any voltage tier from
* 10 to 46 degC, rounded down to a charger selector (0x16).
*/
constant-charge-voltage-max-microvolt = <4450000>;
constant-charge-current-max-microamp = <1466730>;
};
};

&acpm_ipc {
Expand Down Expand Up @@ -277,3 +292,8 @@
pmsg-size = <0x200000>;
};
};

&pmic {
/* for the charger cell */
monitored-battery = <&battery>;
};