From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by casper.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1baHYa-000656-Uw for barebox@lists.infradead.org; Thu, 18 Aug 2016 07:16:06 +0000 Date: Thu, 18 Aug 2016 09:15:42 +0200 From: Sascha Hauer Message-ID: <20160818071542.GJ20657@pengutronix.de> References: <1471439539-3443-1-git-send-email-akurz@blala.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1471439539-3443-1-git-send-email-akurz@blala.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] mfd mc13xxx: add MC13892_REVISION_2_4 To: Alexander Kurz Cc: barebox@lists.infradead.org On Wed, Aug 17, 2016 at 03:12:19PM +0200, Alexander Kurz wrote: > An MC13892CJ having REV[4:0]=0x14 can be found in the kindle-d01100. > Add the revision to the list to support this device. > > Signed-off-by: Alexander Kurz > --- > drivers/mfd/mc13xxx.c | 1 + > include/mfd/mc13xxx.h | 13 +++++++------ > 2 files changed, 8 insertions(+), 6 deletions(-) Applied, thanks Sascha > > diff --git a/drivers/mfd/mc13xxx.c b/drivers/mfd/mc13xxx.c > index b2fcd95..f6aa922 100644 > --- a/drivers/mfd/mc13xxx.c > +++ b/drivers/mfd/mc13xxx.c > @@ -219,6 +219,7 @@ static struct __init { > { 0x0a, MC13892_REVISION_1_2, "1.2" }, > { 0x10, MC13892_REVISION_2_0, "2.0" }, > { 0x11, MC13892_REVISION_2_1, "2.1" }, > + { 0x14, MC13892_REVISION_2_4, "2.4" }, > { 0x18, MC13892_REVISION_3_0, "3.0" }, > { 0x19, MC13892_REVISION_3_1, "3.1" }, > { 0x1a, MC13892_REVISION_3_2, "3.2" }, > diff --git a/include/mfd/mc13xxx.h b/include/mfd/mc13xxx.h > index 96a32e4..d351c47 100644 > --- a/include/mfd/mc13xxx.h > +++ b/include/mfd/mc13xxx.h > @@ -127,12 +127,13 @@ > #define MC13892_REVISION_2_0 3 > #define MC13892_REVISION_2_0a 4 > #define MC13892_REVISION_2_1 5 > -#define MC13892_REVISION_3_0 6 > -#define MC13892_REVISION_3_1 7 > -#define MC13892_REVISION_3_2 8 > -#define MC13892_REVISION_3_2a 9 > -#define MC13892_REVISION_3_3 10 > -#define MC13892_REVISION_3_5 11 > +#define MC13892_REVISION_2_4 6 > +#define MC13892_REVISION_3_0 7 > +#define MC13892_REVISION_3_1 8 > +#define MC13892_REVISION_3_2 9 > +#define MC13892_REVISION_3_2a 10 > +#define MC13892_REVISION_3_3 11 > +#define MC13892_REVISION_3_5 12 > > #define MC13783_SWX_VOLTAGE(x) ((x) & 0x3f) > #define MC13783_SWX_VOLTAGE_DVS(x) (((x) & 0x3f) << 6) > -- > 2.1.4 > > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox