ARM: dts: am57xx-beagle-x15: Add wakeup irq for mcp79410
PATCH 1/1 ARM: dts: am57xx-beagle-x15: Add wakeup irq for mcp79410
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.
---
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 headerse28475b15b65 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?
arch/arm/boot/dts/am57xx-beagle-x15.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/am57xx-beagle-x15.dts +2 -1
@@ -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>;
Signature · 1 line
1.7.9.5
Quoted 17 lines · Nishanth Menon
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 <[email protected]>---
This patch depends on upcoming merge for RTC
https://git.kernel.org/cgit/linux/kernel/git/abelloni/linux.git/log/?h=rtc-next&ofs=50merge to master of:
9901c41bd019rtc: ds1307: Support optional wakeup interrupt source496a7ede6cacrtc: ds1307: Sort the headerse28475b15b65rtc: ds1307: Switch to managed irq allocation27a1dce6528artc: ds1307: Convert to threaded IRQ
Quoted 3 lines
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
Quoted 20 lines
arch/arm/boot/dts/am57xx-beagle-x15.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)arch/arm/boot/dts/am57xx-beagle-x15.dts +2
-1@@ -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>;Signature · 1 line
1.7.9.5