[PATCH 2/2] ARM: dts: am335x-chiliboard: Support charger

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




chiliBoard has a battery connector, so support charging battery
through tps65217 chip.

Additionally, enabling tps65217 charger allows us to get status
of AC power.

Signed-off-by: Marcin Niestroj <m.niestroj@xxxxxxxxxxxxxxxx>
---
 arch/arm/boot/dts/am335x-chiliboard.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/am335x-chiliboard.dts b/arch/arm/boot/dts/am335x-chiliboard.dts
index 4e13cc03d656..d8769799772e 100644
--- a/arch/arm/boot/dts/am335x-chiliboard.dts
+++ b/arch/arm/boot/dts/am335x-chiliboard.dts
@@ -190,6 +190,12 @@
 	interrupt-parent = <&intc>;
 	interrupts = <7>; /* NNMI */
 
+	charger {
+		interrupts = <0>, <1>;
+		interrupt-names = "USB", "AC";
+		status = "okay";
+	};
+
 	pwrbutton {
 		interrupts = <2>;
 		status = "okay";
-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux