projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41f0e06
)
ARM: dts: am335x-chiliboard: Support charger
author
Marcin Niestroj
<m.niestroj@grinn-global.com>
Thu, 2 Feb 2017 12:11:55 +0000
(13:11 +0100)
committer
Tony Lindgren
<tony@atomide.com>
Thu, 2 Feb 2017 17:46:30 +0000
(09:46 -0800)
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@grinn-global.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-chiliboard.dts
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/am335x-chiliboard.dts
b/arch/arm/boot/dts/am335x-chiliboard.dts
index 4e13cc03d6563bc5572f392ec8e7b486b65a9feb..d8769799772ea6cdacb0693427648cf61e0f0879 100644
(file)
--- 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";