From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Sender: rtc-linux@googlegroups.com Received: from muru.com (muru.com. [72.249.23.125]) by gmr-mx.google.com with ESMTP id d63si376516pfe.2.2017.02.20.08.32.00 for ; Mon, 20 Feb 2017 08:32:01 -0800 (PST) Date: Mon, 20 Feb 2017 08:31:56 -0800 From: Tony Lindgren To: Sebastian Reichel Cc: Alessandro Zummo , Alexandre Belloni , rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org Subject: [rtc-linux] Re: [PATCH 1/1] rtc: cpcap: new rtc driver Message-ID: <20170220163155.GH21809@atomide.com> References: <20170220073535.27393-1-sre@kernel.org> <20170220073535.27393-2-sre@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 In-Reply-To: <20170220073535.27393-2-sre@kernel.org> Reply-To: rtc-linux@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , * Sebastian Reichel [170219 23:37]: > This driver supports the Motorola CPCAP PMIC found on > some of Motorola's mobile phones, such as the Droid 4. Hey that's cool, works for me for reading and setting date :) Just noticed one thing, see below. > +Requires node properties: > +- compatible: should contain "motorola,cpcap-rtc" > +- interrupts: An interrupt specifier for alarm and 1 Hz irq > + > +Example: > + > +cpcap_rtc: rtc { > + compatible = "motorola,cpcap-rtc"; > + interrupts = <39 IRQ_TYPE_NONE>, <26 IRQ_TYPE_NONE>; > +}; I tried rtcwake -s 3, but got the following: rtcwake: cannot open /sys/class/rtc/rtc0/device/power/wakeup: No such file or directory rtcwake: /dev/rtc0 not enabled for wakeup events Then tried adding "wakeup-source" to above but I think the driver needs something, maybe probably just PM ops? Regards, Tony -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.