dts: ARM: e60k02: add interrupt for PMIC
diff mbox series

Message ID 20200329104250.15194-1-andreas@kemnade.info
State In Next
Commit e0d8d4eaccc29959f20de8bef9f1bcce4e952dfc
Headers show
Series
  • dts: ARM: e60k02: add interrupt for PMIC
Related show

Commit Message

Andreas Kemnade March 29, 2020, 10:42 a.m. UTC
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(+)

Comments

Andreas Kemnade April 24, 2020, 7:47 p.m. UTC | #1
ping...

Regards,
Andreas

On Sun, 29 Mar 2020 12:42:50 +0200
Andreas Kemnade <andreas@kemnade.info> wrote:

> 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 {
Shawn Guo April 25, 2020, 12:48 a.m. UTC | #2
On Sun, Mar 29, 2020 at 12:42:50PM +0200, Andreas Kemnade wrote:
> 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>

Subject should be prefixed like 'ARM: dts: ...'

I fixed it up and applied the patch.

Shawn

Patch
diff mbox series

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 {