From: Alexander Kurz <akurz@blala.de>
To: barebox@lists.infradead.org
Cc: Alexander Kurz <akurz@blala.de>
Subject: [PATCH] mfd mc13xxx: add MC13892_REVISION_3_6
Date: Tue, 19 Jul 2016 22:09:54 +0200 [thread overview]
Message-ID: <1468958994-10875-1-git-send-email-akurz@blala.de> (raw)
An MC13892CJ having REV[4:0]=0x1e can be found in the kindle-d01100.
Add the revision to the list to support this device.
Signed-off-by: Alexander Kurz <akurz@blala.de>
---
drivers/mfd/mc13xxx.c | 1 +
include/mfd/mc13xxx.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/mfd/mc13xxx.c b/drivers/mfd/mc13xxx.c
index 68d70c5..075ec49 100644
--- a/drivers/mfd/mc13xxx.c
+++ b/drivers/mfd/mc13xxx.c
@@ -225,6 +225,7 @@ static struct __init {
{ 0x02, MC13892_REVISION_3_2a, "3.2a" },
{ 0x1b, MC13892_REVISION_3_3, "3.3" },
{ 0x1d, MC13892_REVISION_3_5, "3.5" },
+ { 0x1e, MC13892_REVISION_3_6, "3.6" },
};
static int __init mc13892_revision(struct mc13xxx *mc13xxx)
diff --git a/include/mfd/mc13xxx.h b/include/mfd/mc13xxx.h
index 96a32e4..8799463 100644
--- a/include/mfd/mc13xxx.h
+++ b/include/mfd/mc13xxx.h
@@ -133,6 +133,7 @@
#define MC13892_REVISION_3_2a 9
#define MC13892_REVISION_3_3 10
#define MC13892_REVISION_3_5 11
+#define MC13892_REVISION_3_6 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
next reply other threads:[~2016-07-19 20:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-19 20:09 Alexander Kurz [this message]
2016-07-21 6:18 ` Sascha Hauer
2016-07-28 10:54 ` Alexander Kurz
2016-08-03 5:31 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1468958994-10875-1-git-send-email-akurz@blala.de \
--to=akurz@blala.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox