diff mbox

[PATCHv1,3/3] ARM: dts: omap3-n900: Add link between battery and charger

Message ID 20180222202349.23411-4-sre@kernel.org (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Sebastian Reichel Feb. 22, 2018, 8:23 p.m. UTC
From: Sebastian Reichel <sebastian.reichel@collabora.co.uk>

This adds information, that the battery is charged by the charger.
The Linux kernel uses this information to refresh battery information
when the power-supply changes.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
---
 arch/arm/boot/dts/omap3-n900.dts | 1 +
 1 file changed, 1 insertion(+)

Comments

Tony Lindgren Feb. 22, 2018, 8:42 p.m. UTC | #1
* Sebastian Reichel <sre@kernel.org> [180222 20:24]:
> From: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
> 
> This adds information, that the battery is charged by the charger.
> The Linux kernel uses this information to refresh battery information
> when the power-supply changes.
> 
> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>

Probably best to queue this along with your driver fixes:

Acked-by: Tony Lindgren <tony@atomide.com>

> ---
>  arch/arm/boot/dts/omap3-n900.dts | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
> index ab930581fc7a..182a53991c90 100644
> --- a/arch/arm/boot/dts/omap3-n900.dts
> +++ b/arch/arm/boot/dts/omap3-n900.dts
> @@ -673,6 +673,7 @@
>  	bq27200: bq27200@55 {
>  		compatible = "ti,bq27200";
>  		reg = <0x55>;
> +		power-supplies = <&bq24150a>;
>  	};
>  
>  	/* Stereo headphone amplifier */
> -- 
> 2.16.1
>
diff mbox

Patch

diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index ab930581fc7a..182a53991c90 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -673,6 +673,7 @@ 
 	bq27200: bq27200@55 {
 		compatible = "ti,bq27200";
 		reg = <0x55>;
+		power-supplies = <&bq24150a>;
 	};
 
 	/* Stereo headphone amplifier */