diff mbox series

[1/2] dt-bindings: power: supply: ab8500_fg: Add line impedance

Message ID 20220301124254.2338270-1-linus.walleij@linaro.org
State Accepted
Commit 8dc355748a7cb4b374d1296bdd68f66c18aced9e
Headers show
Series [1/2] dt-bindings: power: supply: ab8500_fg: Add line impedance | expand

Commit Message

Linus Walleij March 1, 2022, 12:42 p.m. UTC
To improve the inner resistance measurement of the battery we need
to account for the line impedance of the connector to the battery.

Cc: devicetree@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 .../bindings/power/supply/stericsson,ab8500-fg.yaml          | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Rob Herring (Arm) March 2, 2022, 6:25 p.m. UTC | #1
On Tue, Mar 01, 2022 at 01:42:53PM +0100, Linus Walleij wrote:
> To improve the inner resistance measurement of the battery we need
> to account for the line impedance of the connector to the battery.
> 
> Cc: devicetree@vger.kernel.org
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
>  .../bindings/power/supply/stericsson,ab8500-fg.yaml          | 5 +++++
>  1 file changed, 5 insertions(+)

Acked-by: Rob Herring <robh@kernel.org>
Sebastian Reichel March 4, 2022, 9:09 p.m. UTC | #2
Hi,

On Wed, Mar 02, 2022 at 12:25:26PM -0600, Rob Herring wrote:
> On Tue, Mar 01, 2022 at 01:42:53PM +0100, Linus Walleij wrote:
> > To improve the inner resistance measurement of the battery we need
> > to account for the line impedance of the connector to the battery.
> > 
> > Cc: devicetree@vger.kernel.org
> > Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> > ---
> >  .../bindings/power/supply/stericsson,ab8500-fg.yaml          | 5 +++++
> >  1 file changed, 5 insertions(+)
> 
> Acked-by: Rob Herring <robh@kernel.org>

Thanks, queued (together with patch 2/2)

-- Sebastian
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/power/supply/stericsson,ab8500-fg.yaml b/Documentation/devicetree/bindings/power/supply/stericsson,ab8500-fg.yaml
index 54ac42a9d354..2ce408a7c0ae 100644
--- a/Documentation/devicetree/bindings/power/supply/stericsson,ab8500-fg.yaml
+++ b/Documentation/devicetree/bindings/power/supply/stericsson,ab8500-fg.yaml
@@ -25,6 +25,11 @@  properties:
     $ref: /schemas/types.yaml#/definitions/phandle
     deprecated: true
 
+  line-impedance-micro-ohms:
+    description: The line impedance between the battery and the
+      AB8500 inputs, to compensate for this when determining internal
+      resistance.
+
   interrupts:
     maxItems: 5