From: Geert Uytterhoeven <geert+renesas@glider.be>
Date: Mon, 9 Mar 2015 20:06:56 +0000 (+0100)
Subject: ARM: shmobile: lager dts: Add da9210 regulator interrupt
X-Git-Tag: firefly_0821_release~176^2~1897^2~11^2~1
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ceb7747993adcc40581629e4abb0d9ea7853e857;p=firefly-linux-kernel-4.4.55.git

ARM: shmobile: lager dts: Add da9210 regulator interrupt

The da9210 regulator is connected to IRQ2. Reflect this in its device
node, so the driver can use it when it gains interrupt support.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---

diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index 0c3b6783b72a..e2f47464f023 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -516,6 +516,8 @@
 	vdd_dvfs: regulator@68 {
 		compatible = "dlg,da9210";
 		reg = <0x68>;
+		interrupt-parent = <&irqc0>;
+		interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
 
 		regulator-min-microvolt = <1000000>;
 		regulator-max-microvolt = <1000000>;