The patch titled Subject: ARM: mvebu: ISL12057 rtc chip can now wake up RN102, RN102 and RN2120 has been added to the -mm tree. Its filename is arm-mvebu-isl12057-rtc-chip-can-now-wake-up-rn102-rn102-and-rn2120.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/arm-mvebu-isl12057-rtc-chip-can-now-wake-up-rn102-rn102-and-rn2120.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/arm-mvebu-isl12057-rtc-chip-can-now-wake-up-rn102-rn102-and-rn2120.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Arnaud Ebalard <arno@xxxxxxxxxxxx> Subject: ARM: mvebu: ISL12057 rtc chip can now wake up RN102, RN102 and RN2120 Now that alarm support for ISL12057 chip is available w/ the specific "isil,irq2-can-wakeup-machine" property, let's use that feature of the driver dedicated to NETGEAR ReadyNAS 102, 104 and 2120 specific routing of RTC Alarm IRQ#2 pin; on those devices, this pin is not connected to the SoC but to a PMIC, which allows the device to be powered up when RTC alarm rings. For that to work, the chip needs to be explicitly marked as a device wakeup source using this "isil,irq2-can-wakeup-machine" boolean property. This makes 'wakealarm' sysfs entry available to configure the alarm. Signed-off-by: Arnaud Ebalard <arno@xxxxxxxxxxxx> Cc: Mark Rutland <mark.rutland@xxxxxxx> Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx> Cc: Peter Huewe <peter.huewe@xxxxxxxxxxxx> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx> Cc: Thierry Reding <treding@xxxxxxxxxx> Cc: Mark Brown <broonie@xxxxxxxxxx> Cc: Arnd Bergmann <arnd@xxxxxxxx> Cc: Darshana Padmadas <darshanapadmadas@xxxxxxxxx> Cc: Rob Herring <rob.herring@xxxxxxxxxxx> Cc: Pawel Moll <pawel.moll@xxxxxxx> Cc: Stephen Warren <swarren@xxxxxxxxxxxxx> Cc: Ian Campbell <ijc+devicetree@xxxxxxxxxxxxxx> Cc: Grant Likely <grant.likely@xxxxxxxxxx> Cc: Rob Landley <rob@xxxxxxxxxxx> Cc: Jason Cooper <jason@xxxxxxxxxxxxxx> Cc: Guenter Roeck <linux@xxxxxxxxxxxx> Cc: Jason Gunthorpe <jgunthorpe@xxxxxxxxxxxxxxxxxxxx> Cc: Kumar Gala <galak@xxxxxxxxxxxxxx>> Cc: Uwe Kleine-König <uwe@xxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/arm/boot/dts/armada-370-netgear-rn102.dts | 1 + arch/arm/boot/dts/armada-370-netgear-rn104.dts | 1 + arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 1 + 3 files changed, 3 insertions(+) diff -puN arch/arm/boot/dts/armada-370-netgear-rn102.dts~arm-mvebu-isl12057-rtc-chip-can-now-wake-up-rn102-rn102-and-rn2120 arch/arm/boot/dts/armada-370-netgear-rn102.dts --- a/arch/arm/boot/dts/armada-370-netgear-rn102.dts~arm-mvebu-isl12057-rtc-chip-can-now-wake-up-rn102-rn102-and-rn2120 +++ a/arch/arm/boot/dts/armada-370-netgear-rn102.dts @@ -87,6 +87,7 @@ isl12057: isl12057@68 { compatible = "isil,isl12057"; reg = <0x68>; + isil,irq2-can-wakeup-machine; }; g762: g762@3e { diff -puN arch/arm/boot/dts/armada-370-netgear-rn104.dts~arm-mvebu-isl12057-rtc-chip-can-now-wake-up-rn102-rn102-and-rn2120 arch/arm/boot/dts/armada-370-netgear-rn104.dts --- a/arch/arm/boot/dts/armada-370-netgear-rn104.dts~arm-mvebu-isl12057-rtc-chip-can-now-wake-up-rn102-rn102-and-rn2120 +++ a/arch/arm/boot/dts/armada-370-netgear-rn104.dts @@ -93,6 +93,7 @@ isl12057: isl12057@68 { compatible = "isil,isl12057"; reg = <0x68>; + isil,irq2-can-wakeup-machine; }; g762: g762@3e { diff -puN arch/arm/boot/dts/armada-xp-netgear-rn2120.dts~arm-mvebu-isl12057-rtc-chip-can-now-wake-up-rn102-rn102-and-rn2120 arch/arm/boot/dts/armada-xp-netgear-rn2120.dts --- a/arch/arm/boot/dts/armada-xp-netgear-rn2120.dts~arm-mvebu-isl12057-rtc-chip-can-now-wake-up-rn102-rn102-and-rn2120 +++ a/arch/arm/boot/dts/armada-xp-netgear-rn2120.dts @@ -100,6 +100,7 @@ isl12057: isl12057@68 { compatible = "isil,isl12057"; reg = <0x68>; + isil,irq2-can-wakeup-machine; }; /* Controller for rear fan #1 of 3 (Protechnic _ Patches currently in -mm which might be from arno@xxxxxxxxxxxx are origin.patch rtc-rtc-isl12057-add-alarm-support-to-intersil-isl12057-rtc-driver.patch rtc-rtc-isl12057-add-alarm-support-to-intersil-isl12057-rtc-driver-update.patch rtc-rtc-isl12057-add-isilirq2-can-wakeup-machine-property-for-in-tree-users.patch arm-mvebu-isl12057-rtc-chip-can-now-wake-up-rn102-rn102-and-rn2120.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html