Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1a596ce authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "platform: qpnp-revid: Add REVID support for PM8008, SMB1355 and SMB1390"

parents 593f9706 01f0b074
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
/* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -68,6 +68,9 @@ static const char *const pmic_names[] = {
	[PM8150A_SUBTYPE] = "PM8150A",
	[PME9205_SUBTYPE] = "PME9205",
	[PM6125_SUBTYPE] = "PM6125",
	[PM8008_SUBTYPE] = "PM8008",
	[SMB1355_SUBTYPE] = "SMB1355",
	[SMB1390_SUBTYPE] = "SMB1390",
};

struct revid_chip {
+7 −1
Original line number Diff line number Diff line
/* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -200,6 +200,9 @@
/* PMI632 */
#define PMI632_SUBTYPE	0x25

/* PM8008 SUBTYPE */
#define PM8008_SUBTYPE	0x2C

/* PMI8998 REV_ID */
#define PMI8998_V1P0_REV1	0x00
#define PMI8998_V1P0_REV2	0x00
@@ -333,6 +336,9 @@
/* PMI8937 */
#define PMI8937_SUBTYPE		0x37

/* SMB1390 */
#define SMB1390_SUBTYPE		0x23

/* SMB1381 */
#define SMB1381_SUBTYPE		0x17