Message ID | 14bf3eb38c0a14d4818bf4456aa2fe9d6ea84ebb.1418519430.git.arno@natisbad.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D7723BEEA8 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 14 Dec 2014 01:45:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 06E3320A06 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 14 Dec 2014 01:45:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 29D2A20A07 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 14 Dec 2014 01:45:21 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XzyDZ-0007c4-Ob; Sun, 14 Dec 2014 01:43:29 +0000 Received: from 36.223.133.77.rev.sfr.net ([77.133.223.36] helo=smtp.natisbad.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XzyDB-00079i-R3 for linux-arm-kernel@lists.infradead.org; Sun, 14 Dec 2014 01:43:07 +0000 Received: by smtp.natisbad.org (Postfix, from userid 109) id 4DEFE1700D7A; Sun, 14 Dec 2014 02:42:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=natisbad.org; s=mail; t=1418521366; bh=9+0nbL4xttR9Qsorer3y0ZCME9kbjlp9azxl6O8zQzg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=AkEsgU0kdo3VPfObu3sU3OSnoCblCNa0A+Vs2cwUgJZvZbFRT8TWq4jv1eJCKXAqz sTRDCdLm6zkPFrstUAsrftETdQMKTzCAuDoihGXsXFy1LPsMu+VcF/Yz5szbT8uQRH uDhXKACe5SNCzwVlamXNECTcCpM7sd+pdFOClwUg= X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from small (localhost [IPv6:::1]) by smtp.natisbad.org (Postfix) with ESMTP id AF1CC1700535; Sun, 14 Dec 2014 02:39:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=natisbad.org; s=mail; t=1418521163; bh=9+0nbL4xttR9Qsorer3y0ZCME9kbjlp9azxl6O8zQzg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=mMpk75Gar9RgH5YTqflz/IBskzHuOSoOjJqHj5owxtwiQ8MNGm6TLID1Bw1i0eNaO G9x5ObEbwRVjix9CtJARlmKj+wwmA80MihSbsLRDqEbWrtmAq8fS32O6iH3fGupPnV PyzVRIi8QvHjUXMjLmBl5z0JimR1ql/JUh/xSbk8= X-Hashcash: 1:20:141214:akpm@linux-foundation.org::7gCac0w8T+zZxgNK:0000000000000000000000000000000000002EXR X-Hashcash: 1:20:141214:uwe@kleine-koenig.org::EVsvyoJrlY8XyQ53:00000000000000000000000000000000000000004+qS X-Hashcash: 1:20:141214:mark.rutland@arm.com::hnQnYjGJE+rABldW:000000000000000000000000000000000000000000a0c X-Hashcash: 1:20:141214:a.zummo@towertech.it::NO/W/kh3pKhbCGdy:0000000000000000000000000000000000000000008lZ X-Hashcash: 1:20:141214:peter.huewe@infineon.com::ZmT83u3b0n/0lJL6:000000000000000000000000000000000000015IY X-Hashcash: 1:20:141214:linus.walleij@linaro.org::fzguEDDFNUFu6LU7:00000000000000000000000000000000000000aVO X-Hashcash: 1:20:141214:treding@nvidia.com::20w1Ce6HdBk9ve/2:00000000000000000000000000000000000000000003YZh X-Hashcash: 1:20:141214:broonie@kernel.org::J9ROaE379syQPnMT:00000000000000000000000000000000000000000000ct0 X-Hashcash: 1:20:141214:arnd@arndb.de::5Cm7b3FCmRb37Tda:00000OVG X-Hashcash: 1:20:141214:darshanapadmadas@gmail.com::tjSuNJclgV3uXEtB:000000000000000000000000000000000001Vpj X-Hashcash: 1:20:141214:rob.herring@calxeda.com::r55RRCy3Jk8Lx/f6:000000000000000000000000000000000000004HTD X-Hashcash: 1:20:141214:pawel.moll@arm.com::xqiNdpCIrozbKcrA:000000000000000000000000000000000000000000007X9 X-Hashcash: 1:20:141214:swarren@wwwdotorg.org::NLXpIKALO2t23pwU:00000000000000000000000000000000000000001q0+ X-Hashcash: 1:20:141214:ijc+devicetree@hellion.org.uk::AT7N8FQeU+1oWzZS:0000000000000000000000000000000025Si X-Hashcash: 1:20:141214:grant.likely@linaro.org::/EDSbtB05Ym9LXOL:000000000000000000000000000000000000002cGk X-Hashcash: 1:20:141214:devicetree@vger.kernel.org::iYMTXIXU+N/QoNnp:00000000000000000000000000000000000B19h X-Hashcash: 1:20:141214:linux-doc@vger.kernel.org::6rZY8yHB/Wv5vNtJ:0000000000000000000000000000000000000QzV X-Hashcash: 1:20:141214:rob@landley.net::oWZimw0cwlPkaPXQ:00600L X-Hashcash: 1:20:141214:rtc-linux@googlegroups.com::GohTDhc74108K7lH:000000000000000000000000000000000004EyG X-Hashcash: 1:20:141214:jason@lakedaemon.net::uslEWwtSYw5Q6lkl:00000000000000000000000000000000000000000EMjk X-Hashcash: 1:20:141214:linux@roeck-us.net::vlSfzdBe/oEgQ9NK:00000000000000000000000000000000000000000001CS4 X-Hashcash: 1:20:141214:jgunthorpe@obsidianresearch.com::t0c6mscA8XwTXLaO:0000000000000000000000000000004v93 X-Hashcash: 1:20:141214:galak@codeaurora.org::zEph5qiZv3FE20wI:000000000000000000000000000000000000000004wK/ X-Hashcash: 1:20:141214:linux-arm-kernel@lists.infradead.org::ZhrBEMKhoney4vJN:0000000000000000000000000BBGN From: Arnaud Ebalard <arno@natisbad.org> To: Andrew Morton <akpm@linux-foundation.org>, Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= <uwe@kleine-koenig.org> Subject: [PATCHv0 4/5] ARM: mvebu: ISL12057 rtc chip can be used to wake up RN2120 In-Reply-To: <cover.1418519430.git.arno@natisbad.org> References: <cover.1418519430.git.arno@natisbad.org> Message-Id: <14bf3eb38c0a14d4818bf4456aa2fe9d6ea84ebb.1418519430.git.arno@natisbad.org> Date: Sun, 14 Dec 2014 02:43:02 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141213_174306_224345_F477C385 X-CRM114-Status: GOOD ( 12.45 ) X-Spam-Score: 0.3 (/) Cc: Mark Rutland <mark.rutland@arm.com>, linux-doc@vger.kernel.org, Linus Walleij <linus.walleij@linaro.org>, Arnd Bergmann <arnd@arndb.de>, Ian Campbell <ijc+devicetree@hellion.org.uk>, Jason Gunthorpe <jgunthorpe@obsidianresearch.com>, rtc-linux@googlegroups.com, Thierry Reding <treding@nvidia.com>, Guenter Roeck <linux@roeck-us.net>, devicetree@vger.kernel.org, Jason Cooper <jason@lakedaemon.net>, Pawel Moll <pawel.moll@arm.com>, Stephen Warren <swarren@wwwdotorg.org>, Rob Herring <rob.herring@calxeda.com>, Grant Likely <grant.likely@linaro.org>, Mark Brown <broonie@kernel.org>, Peter Huewe <peter.huewe@infineon.com>, Darshana Padmadas <darshanapadmadas@gmail.com>, linux-arm-kernel@lists.infradead.org, Alessandro Zummo <a.zummo@towertech.it>, Rob Landley <rob@landley.net>, Kumar Gala <galak@codeaurora.org> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/boot/dts/armada-xp-netgear-rn2120.dts b/arch/arm/boot/dts/armada-xp-netgear-rn2120.dts index d81430aa4ab3..f5c7cb52f1f9 100644 --- a/arch/arm/boot/dts/armada-xp-netgear-rn2120.dts +++ b/arch/arm/boot/dts/armada-xp-netgear-rn2120.dts @@ -100,6 +100,7 @@ isl12057: isl12057@68 { compatible = "isil,isl12057"; reg = <0x68>; + can-wakeup-machine; }; /* Controller for rear fan #1 of 3 (Protechnic
Now that alarm support for ISL12057 chip is available, let's use a feature of the driver dedicated to NETGEAR ReadyNAS 2120 specific routing of RTC IRQ#1 pin; on the device, 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 the "can-wakeup-machine" boolean property. This makes 'wakealarm' sysfs entry available to configure the alarm. Signed-off-by: Arnaud Ebalard <arno@natisbad.org> --- arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 1 + 1 file changed, 1 insertion(+)