浏览代码

ARM: dts: omap3-n900: Add link between battery and charger

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.

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Sebastian Reichel 7 年之前
父节点
当前提交
3c6b4f46b4
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/arm/boot/dts/omap3-n900.dts

+ 1 - 0
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 */