All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Nishanth Menon <nm@ti.com>
Cc: "Benoît Cousson" <bcousson@baylibre.com>,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-omap@vger.kernel.org
Subject: Re: [PATCH] ARM: dts: am57xx-beagle-x15: Add wakeup irq for mcp79410
Date: Mon, 14 Sep 2015 11:56:43 -0700	[thread overview]
Message-ID: <20150914185643.GT4215@atomide.com> (raw)
In-Reply-To: <1441308240-26725-1-git-send-email-nm@ti.com>

* Nishanth Menon <nm@ti.com> [150903 12:27]:
> With the support in the generic PM framework for wakeirq and capability
> added to the rtc-ds1307 driver to support this, we can now define the
> optional wakeup irq to allow the RTC to wakeup the system from low power
> modes as part of suspend.
> 
> Signed-off-by: Nishanth Menon <nm@ti.com>
> ---
> 
> This patch depends on upcoming merge for RTC
> https://git.kernel.org/cgit/linux/kernel/git/abelloni/linux.git/log/?h=rtc-next&ofs=50
> 
> merge to master of:
> 9901c41bd019 rtc: ds1307: Support optional wakeup interrupt source
> 496a7ede6cac rtc: ds1307: Sort the headers
> e28475b15b65 rtc: ds1307: Switch to managed irq allocation
> 27a1dce6528a rtc: ds1307: Convert to threaded IRQ
> 
> Tested with the above commits from linux-next: http://pastebin.ubuntu.com/12265857/
> 
> Could probably go in round 2 of merges for 4.3?

Applying into omap-for-v4.3/fixes thanks.

Tony
 
>  arch/arm/boot/dts/am57xx-beagle-x15.dts |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts
> index ede7fb73c717..8464f3cea280 100644
> --- a/arch/arm/boot/dts/am57xx-beagle-x15.dts
> +++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts
> @@ -526,7 +526,8 @@
>  	mcp_rtc: rtc@6f {
>  		compatible = "microchip,mcp7941x";
>  		reg = <0x6f>;
> -		interrupts = <GIC_SPI 2 IRQ_TYPE_EDGE_RISING>;  /* IRQ_SYS_1N */
> +		interrupts-extended = <&crossbar_mpu GIC_SPI 2 IRQ_TYPE_EDGE_RISING>,
> +				      <&dra7_pmx_core 0x424>;
>  
>  		pinctrl-names = "default";
>  		pinctrl-0 = <&mcp79410_pins_default>;
> -- 
> 1.7.9.5
> 

WARNING: multiple messages have this Message-ID (diff)
From: Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
To: Nishanth Menon <nm-l0cyMroinI0@public.gmane.org>
Cc: "Benoît Cousson"
	<bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] ARM: dts: am57xx-beagle-x15: Add wakeup irq for mcp79410
Date: Mon, 14 Sep 2015 11:56:43 -0700	[thread overview]
Message-ID: <20150914185643.GT4215@atomide.com> (raw)
In-Reply-To: <1441308240-26725-1-git-send-email-nm-l0cyMroinI0@public.gmane.org>

* Nishanth Menon <nm-l0cyMroinI0@public.gmane.org> [150903 12:27]:
> With the support in the generic PM framework for wakeirq and capability
> added to the rtc-ds1307 driver to support this, we can now define the
> optional wakeup irq to allow the RTC to wakeup the system from low power
> modes as part of suspend.
> 
> Signed-off-by: Nishanth Menon <nm-l0cyMroinI0@public.gmane.org>
> ---
> 
> This patch depends on upcoming merge for RTC
> https://git.kernel.org/cgit/linux/kernel/git/abelloni/linux.git/log/?h=rtc-next&ofs=50
> 
> merge to master of:
> 9901c41bd019 rtc: ds1307: Support optional wakeup interrupt source
> 496a7ede6cac rtc: ds1307: Sort the headers
> e28475b15b65 rtc: ds1307: Switch to managed irq allocation
> 27a1dce6528a rtc: ds1307: Convert to threaded IRQ
> 
> Tested with the above commits from linux-next: http://pastebin.ubuntu.com/12265857/
> 
> Could probably go in round 2 of merges for 4.3?

Applying into omap-for-v4.3/fixes thanks.

Tony
 
>  arch/arm/boot/dts/am57xx-beagle-x15.dts |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts
> index ede7fb73c717..8464f3cea280 100644
> --- a/arch/arm/boot/dts/am57xx-beagle-x15.dts
> +++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts
> @@ -526,7 +526,8 @@
>  	mcp_rtc: rtc@6f {
>  		compatible = "microchip,mcp7941x";
>  		reg = <0x6f>;
> -		interrupts = <GIC_SPI 2 IRQ_TYPE_EDGE_RISING>;  /* IRQ_SYS_1N */
> +		interrupts-extended = <&crossbar_mpu GIC_SPI 2 IRQ_TYPE_EDGE_RISING>,
> +				      <&dra7_pmx_core 0x424>;
>  
>  		pinctrl-names = "default";
>  		pinctrl-0 = <&mcp79410_pins_default>;
> -- 
> 1.7.9.5
> 
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: am57xx-beagle-x15: Add wakeup irq for mcp79410
Date: Mon, 14 Sep 2015 11:56:43 -0700	[thread overview]
Message-ID: <20150914185643.GT4215@atomide.com> (raw)
In-Reply-To: <1441308240-26725-1-git-send-email-nm@ti.com>

* Nishanth Menon <nm@ti.com> [150903 12:27]:
> With the support in the generic PM framework for wakeirq and capability
> added to the rtc-ds1307 driver to support this, we can now define the
> optional wakeup irq to allow the RTC to wakeup the system from low power
> modes as part of suspend.
> 
> Signed-off-by: Nishanth Menon <nm@ti.com>
> ---
> 
> This patch depends on upcoming merge for RTC
> https://git.kernel.org/cgit/linux/kernel/git/abelloni/linux.git/log/?h=rtc-next&ofs=50
> 
> merge to master of:
> 9901c41bd019 rtc: ds1307: Support optional wakeup interrupt source
> 496a7ede6cac rtc: ds1307: Sort the headers
> e28475b15b65 rtc: ds1307: Switch to managed irq allocation
> 27a1dce6528a rtc: ds1307: Convert to threaded IRQ
> 
> Tested with the above commits from linux-next: http://pastebin.ubuntu.com/12265857/
> 
> Could probably go in round 2 of merges for 4.3?

Applying into omap-for-v4.3/fixes thanks.

Tony
 
>  arch/arm/boot/dts/am57xx-beagle-x15.dts |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts
> index ede7fb73c717..8464f3cea280 100644
> --- a/arch/arm/boot/dts/am57xx-beagle-x15.dts
> +++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts
> @@ -526,7 +526,8 @@
>  	mcp_rtc: rtc at 6f {
>  		compatible = "microchip,mcp7941x";
>  		reg = <0x6f>;
> -		interrupts = <GIC_SPI 2 IRQ_TYPE_EDGE_RISING>;  /* IRQ_SYS_1N */
> +		interrupts-extended = <&crossbar_mpu GIC_SPI 2 IRQ_TYPE_EDGE_RISING>,
> +				      <&dra7_pmx_core 0x424>;
>  
>  		pinctrl-names = "default";
>  		pinctrl-0 = <&mcp79410_pins_default>;
> -- 
> 1.7.9.5
> 

  reply	other threads:[~2015-09-14 18:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-03 19:24 [PATCH] ARM: dts: am57xx-beagle-x15: Add wakeup irq for mcp79410 Nishanth Menon
2015-09-03 19:24 ` Nishanth Menon
2015-09-03 19:24 ` Nishanth Menon
2015-09-14 18:56 ` Tony Lindgren [this message]
2015-09-14 18:56   ` Tony Lindgren
2015-09-14 18:56   ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150914185643.GT4215@atomide.com \
    --to=tony@atomide.com \
    --cc=bcousson@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=nm@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.