devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dts: ARM: e60k02: add interrupt for PMIC
@ 2020-03-29 10:42 Andreas Kemnade
  2020-04-24 19:47 ` Andreas Kemnade
  2020-04-25  0:48 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Andreas Kemnade @ 2020-03-29 10:42 UTC (permalink / raw)
  To: robh+dt, mark.rutland, devicetree, linux-kernel, shawnguo,
	festevam
  Cc: Andreas Kemnade

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

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
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(+)

diff --git a/arch/arm/boot/dts/e60k02.dtsi b/arch/arm/boot/dts/e60k02.dtsi
index ce50c4dc6f2a..3af1ab4458ef 100644
--- a/arch/arm/boot/dts/e60k02.dtsi
+++ b/arch/arm/boot/dts/e60k02.dtsi
@@ -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 {
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-25  0:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-29 10:42 [PATCH] dts: ARM: e60k02: add interrupt for PMIC Andreas Kemnade
2020-04-24 19:47 ` Andreas Kemnade
2020-04-25  0:48 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).