From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751842AbdB0XuB (ORCPT ); Mon, 27 Feb 2017 18:50:01 -0500 Received: from mail-ot0-f195.google.com ([74.125.82.195]:36043 "EHLO mail-ot0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751465AbdB0Xtz (ORCPT ); Mon, 27 Feb 2017 18:49:55 -0500 Date: Mon, 27 Feb 2017 17:49:49 -0600 From: Rob Herring To: Sebastian Reichel Cc: Tony Lindgren , Alessandro Zummo , Alexandre Belloni , Mark Rutland , rtc-linux@googlegroups.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv3 2/2] rtc: cpcap: new rtc driver Message-ID: <20170227234949.ylaf2n3jrwtzoemy@rob-hp-laptop> References: <20170220073535.27393-1-sre@kernel.org> <20170223010353.24351-1-sre@kernel.org> <20170223010353.24351-2-sre@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170223010353.24351-2-sre@kernel.org> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 23, 2017 at 02:03:53AM +0100, Sebastian Reichel wrote: > This driver supports the Motorola CPCAP PMIC found on > some of Motorola's mobile phones, such as the Droid 4. > > Tested-by: Tony Lindgren > Signed-off-by: Sebastian Reichel > --- > > Changes since PATCHv2: > - checkpatch fixes > - add comment for update irq > - introduced vendor prefix patch > Changes since PATCHv1: > - added device_init_wakeup() at the end of probe > - added Tested-by from Tony > > --- > .../devicetree/bindings/rtc/cpcap-rtc.txt | 13 + > drivers/rtc/Kconfig | 7 + > drivers/rtc/Makefile | 1 + > drivers/rtc/rtc-cpcap.c | 332 +++++++++++++++++++++ > 4 files changed, 353 insertions(+) > create mode 100644 Documentation/devicetree/bindings/rtc/cpcap-rtc.txt > create mode 100644 drivers/rtc/rtc-cpcap.c > > diff --git a/Documentation/devicetree/bindings/rtc/cpcap-rtc.txt b/Documentation/devicetree/bindings/rtc/cpcap-rtc.txt > new file mode 100644 > index 000000000000..2709c32baf2c > --- /dev/null > +++ b/Documentation/devicetree/bindings/rtc/cpcap-rtc.txt > @@ -0,0 +1,13 @@ > +Motorola CPCAP PMIC RTC > +------------------------------------ Need to state what this is a child of. > + > +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>; > +};