9
0
Fork 0

mfd mc13xxx: add MC13892_REVISION_2_4

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 <akurz@blala.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Alexander Kurz 2016-08-17 15:12:19 +02:00 committed by Sascha Hauer
parent eabab33283
commit d3c3e40355
2 changed files with 8 additions and 6 deletions

View File

@ -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" },

View File

@ -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)