Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1934e89a authored by Milo Kim's avatar Milo Kim Committed by Tony Lindgren
Browse files

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: default avatarMilo Kim <woogyom.kim@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 98af5958
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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";