Skip to contentSkip to conversation

dts: ARM: e60k02: add interrupt for PMIC

PATCH In review Andreas Kemnade 2 participants 3 messages Mar 29, 2020 – Apr 25, 2020 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dts: ARM: e60k02: add interrupt for PMIC

Since the PMIC driver now has IRQ handling, add the GPIO to listen to things like RTC alarm or ADC conversion completion.

---
The corresponding property is added to the bindings documentation in
https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git/log/?h=ib-mfd-iio-rtc-5.7

 arch/arm/boot/dts/e60k02.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/boot/dts/e60k02.dtsi +2 -0
index ce50c4dc6f2a..3af1ab4458ef 100644
@@ -117,6 +117,8 @@
 	ricoh619: pmic@32 {
 		compatible = "ricoh,rc5t619";
 		reg = <0x32>;
+		interrupt-parent = <&gpio5>;
+		interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
 		system-power-controller;
 
 		regulators {
Signature · 1 line
2.20.1
#1 lore raw

ping...

Regards,
Andreas

Quoted 23 lines · On Sun, 29 Mar 2020 12:42:50 +0200 Andreas Kemnade <[email protected]> wrote:

Since the PMIC driver now has IRQ handling, add the GPIO to listen to things like RTC alarm or ADC conversion completion.

---
The corresponding property is added to the bindings documentation in
https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git/log/?h=ib-mfd-iio-rtc-5.7

 arch/arm/boot/dts/e60k02.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/boot/dts/e60k02.dtsi +2 -0
index ce50c4dc6f2a..3af1ab4458ef 100644
@@ -117,6 +117,8 @@
 	ricoh619: pmic@32 {
 		compatible = "ricoh,rc5t619";
 		reg = <0x32>;
+		interrupt-parent = <&gpio5>;
+		interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
 		system-power-controller;
 
 		regulators {