提交 1934e89a 编写于 作者: M Milo Kim 提交者: Tony Lindgren

ARM: dts: am335x: Add the charger interrupt

This enables the charger driver gets corresponding IRQ number by using
platform_get_irq_byname() helper.
Signed-off-by: NMilo Kim <woogyom.kim@gmail.com>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 98af5958
......@@ -6,6 +6,8 @@
* published by the Free Software Foundation.
*/
#include <dt-bindings/mfd/tps65217.h>
/ {
cpus {
cpu@0 {
......@@ -316,6 +318,12 @@
ti,pmic-shutdown-controller;
charger {
interrupts = <TPS65217_IRQ_AC>, <TPS65217_IRQ_USB>;
interrupts-names = "AC", "USB";
status = "okay";
};
regulators {
dcdc1_reg: regulator@0 {
regulator-name = "vdds_dpr";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册