Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752001AbbHEHYN (ORCPT ); Wed, 5 Aug 2015 03:24:13 -0400 Received: from mail1.bemta14.messagelabs.com ([193.109.254.118]:10436 "EHLO mail1.bemta14.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751256AbbHEHYL convert rfc822-to-8bit (ORCPT ); Wed, 5 Aug 2015 03:24:11 -0400 X-Env-Sender: stwiss.opensource@diasemi.com X-Msg-Ref: server-9.tower-193.messagelabs.com!1438759443!5958800!1 X-Originating-IP: [94.185.165.51] X-StarScan-Received: X-StarScan-Version: 6.13.6; banners=-,-,- X-VirusChecked: Checked From: "Opensource [Steve Twiss]" To: Alexandre Belloni CC: Alessandro Zummo , DEVICETREE , LINUXINPUT , LINUXKERNEL , RTCLINUX , David Dajun Chen , "Ian Campbell" , Kumar Gala , Lee Jones , Mark Rutland , "Pawel Moll" , Rob Herring , Samuel Ortiz , Support Opensource Subject: RE: [PATCH V3 3/3] rtc: da9063: Add DA9062 RTC capability to DA9063 RTC driver Thread-Topic: [PATCH V3 3/3] rtc: da9063: Add DA9062 RTC capability to DA9063 RTC driver Thread-Index: AQHQw6C1lh9IBWqL1kCsYk2It0ohcJ38q4uAgABsW3A= Date: Wed, 5 Aug 2015 07:24:03 +0000 Message-ID: <6ED8E3B22081A4459DAC7699F3695FB7014B2606F8@SW-EX-MBX02.diasemi.com> References: <20150805015519.GZ3486@piout.net> In-Reply-To: <20150805015519.GZ3486@piout.net> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.20.26.77] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1681 Lines: 37 On 05 August 2015 02:55 Alexandre Belloni wrote: > Subject: Re: [PATCH V3 3/3] rtc: da9063: Add DA9062 RTC capability to DA9063 RTC driver > > On 21/07/2015 at 11:29:07 +0100, S Twiss wrote : > > From: S Twiss > > > > Add DA9062 RTC support into the existing DA9063 RTC driver component by > > using generic access tables for common register and bit mask definitions. > > > > The following change will add generic register and bit mask support to the > > DA9063 RTC. The changes are slightly complicated by requiring support for > > three register sets: DA9063-AD, DA9063-BB and DA9062-AA. > > > > The following alterations have been made to the DA9063 RTC: > > > > - Addition of a da9063_compatible_rtc_regmap structure to hold all generic > > registers and bitmasks for this type of RTC component. > > - A re-write of struct da9063 to use pointers for regmap and compatible > > registers/masks definitions > > - Addition of a of_device_id table for DA9063 and DA9062 defaults > > - Refactoring functions to use struct da9063_compatible_rtc accesses to > > generic registers/masks instead of using defines from registers.h > > - Re-work of da9063_rtc_probe() to use of_match_node() and dev_get_regmap() > > to provide initialisation of generic registers and masks and access to > > regmap > > > > Signed-off-by: Steve Twiss > > > Applied, thanks. Thank you. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/