ARM: dts: ux500: Add line impedance to fuel gauge
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 26 Feb 2022 01:29:48 +0000 (02:29 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 4 Apr 2022 20:50:30 +0000 (22:50 +0200)
The line impedance is used to improve battery capacity estimation.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/ste-ux500-samsung-codina-tmo.dts
arch/arm/boot/dts/ste-ux500-samsung-codina.dts
arch/arm/boot/dts/ste-ux500-samsung-gavini.dts
arch/arm/boot/dts/ste-ux500-samsung-golden.dts
arch/arm/boot/dts/ste-ux500-samsung-janice.dts
arch/arm/boot/dts/ste-ux500-samsung-kyle.dts
arch/arm/boot/dts/ste-ux500-samsung-skomer.dts

index 80ae6ad059858228d7b680272579c08b055f0221..d6940e0afa8639314c2adee33f6e69ec2025bbde 100644 (file)
                                        pinctrl-1 = <&usb_a_1_sleep>;
                                };
 
+                               ab8500_fg {
+                                       line-impedance-micro-ohms = <36000>;
+                               };
+
                                /* This is mostly identical to the Codina v0.4 regulators */
                                regulator {
                                        ab8500_ldo_aux1 {
index e6ea63d23d2675e82cc9238f80fff566088fb414..acbe43269c38e0f69cd673b34b8452147b87726f 100644 (file)
                                        pinctrl-1 = <&usb_a_1_sleep>;
                                };
 
+                               ab8500_fg {
+                                       line-impedance-micro-ohms = <36000>;
+                               };
+
                                regulator {
                                        ab8500_ldo_aux1 {
                                                /* Used for VDD for sensors */
index fd170974765fb784e16bd41edb129d68c58dd3dc..53062d50e455abac1e6fd0dced6903e7db456dc3 100644 (file)
                                        pinctrl-1 = <&usb_a_1_sleep>;
                                };
 
+                               ab8500_fg {
+                                       line-impedance-micro-ohms = <43000>;
+                               };
+
                                regulator {
                                        ab8500_ldo_aux1 {
                                                /* Used for VDD for sensors */
index 290ab59e863d7a9e41695c12f45b5186b541e6ed..b0dce91aff4bee78a8f2a57cbea42f3f3c72783f 100644 (file)
                                        pinctrl-1 = <&usb_a_1_sleep>;
                                };
 
+                               ab8500_fg {
+                                       line-impedance-micro-ohms = <36000>;
+                               };
+
                                regulator {
                                        ab8500_ldo_aux1 {
                                                regulator-name = "sensor_3v";
index 42762bfcd8781a8ab87651dd06a47b64cd19dee9..16f61d8acf4c771ab146bc05cca653a044486539 100644 (file)
                                        pinctrl-1 = <&usb_a_1_sleep>;
                                };
 
+                               ab8500_fg {
+                                       line-impedance-micro-ohms = <15000>;
+                               };
+
                                regulator {
                                        ab8500_ldo_aux1 {
                                                /* Used for VDD for sensors */
index 2a5bf54137ce695678fdd3a10958381d5e609619..c57676faf181bd514b44a2e6286a89d364249f3e 100644 (file)
                                        pinctrl-1 = <&usb_a_1_sleep>;
                                };
 
+                               ab8500_fg {
+                                       line-impedance-micro-ohms = <36000>;
+                               };
+
                                regulator {
                                        ab8500_ldo_aux1 {
                                                /* Used for VDD for sensors */
index dcb03ce7cbd4a03da0cf7d6b803a8296ed180049..dcdec867f24d2c96fe3ea066e643ec95cb5248a3 100644 (file)
                                        pinctrl-1 = <&usb_a_1_sleep>;
                                };
 
+                               ab8500_fg {
+                                       line-impedance-micro-ohms = <16000>;
+                               };
+
                                regulator {
                                        ab8500_ldo_aux1 {
                                                /* Used for VDD for sensors */