Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934151AbbEMKr2 (ORCPT ); Wed, 13 May 2015 06:47:28 -0400 Received: from mail1.bemta14.messagelabs.com ([193.109.254.105]:34740 "EHLO mail1.bemta14.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933838AbbEMKr0 (ORCPT ); Wed, 13 May 2015 06:47:26 -0400 X-Env-Sender: stwiss.opensource@diasemi.com X-Msg-Ref: server-2.tower-193.messagelabs.com!1431514042!14488698!1 X-Originating-IP: [94.185.165.51] X-StarScan-Received: X-StarScan-Version: 6.13.14; banners=-,-,- X-VirusChecked: Checked From: "Opensource [Steve Twiss]" To: Lee Jones CC: Samuel Ortiz , DT , David Dajun Chen , Dmitry Torokhov , INPUT , "Ian Campbell" , Kumar Gala , LKML , Mark Rutland , Pawel Moll , Rob Herring , "Support Opensource" Subject: RE: [PATCH V4 3/3] mfd: da9063: MFD support for OnKey driver Thread-Topic: [PATCH V4 3/3] mfd: da9063: MFD support for OnKey driver Thread-Index: AQHQjLjQrMiheh8rr0CysaxPLpTCUJ15pqIAgAARIHA= Date: Wed, 13 May 2015 10:47:21 +0000 Message-ID: <6ED8E3B22081A4459DAC7699F3695FB7014B22A375@SW-EX-MBX02.diasemi.com> References: <81dec245f0d1a3a0713e6e2966d2278e422208f2.1431437466.git.stwiss.opensource@diasemi.com> <20150513103442.GG3394@x1> In-Reply-To: <20150513103442.GG3394@x1> 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="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by nfs id t4DAlXPR025356 Content-Length: 1513 Lines: 44 On 13 May 2015 11:35 Lee Jones wrote: > > From: Steve Twiss > > > > Add MFD support for the DA9063 OnKey driver > > > > The function da9063_clear_fault_log() is added to mitigate the case of a > > hardware power-cut after a long-long OnKey press. Although there is no > > software intervention in this case (by definition) such a shutdown would > > cause persistent information within the DA9063 FAULT_LOG that would be > > available during the next device restart. > > > > Clearance of this persistent register must be completed after such a > > hardware power-cut operation has happened so that the FAULT_LOG does not > > continue with previous values. The clearance function has been added here > > in the kernel driver because wiping the fault-log cannot be counted on > > outside the Linux kernel. > > > > > > Signed-off-by: Steve Twiss > > [...] > > drivers/mfd/da9063-core.c | 54 > ++++++++++++++++++++++++++++++++++++++++ > > include/linux/mfd/da9063/pdata.h | 1 + > > 2 files changed, 55 insertions(+) > > I'll wait to see what Dmitry has to say before applying, but for my > own reference: Understood. Thank you. > Acked-by: Lee Jones Thanks for this Ack. And for [PATCH V4 2/3] devicetree: Add bindings for DA9063 OnKey Regards, Steve ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?