mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
platform: qpnp-revid: Add REVID support for PM8008, SMB1355 and SMB1390
Add PMIC subtypes for PM8008, SMB1355 and SMB1390. Change-Id: I03929a86686aa5e3affde1c7a208f29e1639aadd Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
This commit is contained in:
parent
f0ba71a517
commit
cc4ca3f412
2 changed files with 9 additions and 0 deletions
|
|
@ -60,6 +60,9 @@ static const char *const pmic_names[] = {
|
|||
[PM6150_SUBTYPE] = "PM6150",
|
||||
[PM7250B_SUBTYPE] = "PM7250B",
|
||||
[PM6125_SUBTYPE] = "PM6125",
|
||||
[PM8008_SUBTYPE] = "PM8008",
|
||||
[SMB1355_SUBTYPE] = "SMB1355",
|
||||
[SMB1390_SUBTYPE] = "SMB1390",
|
||||
};
|
||||
|
||||
struct revid_chip {
|
||||
|
|
|
|||
|
|
@ -190,6 +190,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
|
||||
|
|
@ -306,6 +309,9 @@
|
|||
/* PMI8937 */
|
||||
#define PMI8937_SUBTYPE 0x37
|
||||
|
||||
/* SMB1390 */
|
||||
#define SMB1390_SUBTYPE 0x23
|
||||
|
||||
/* SMB1381 */
|
||||
#define SMB1381_SUBTYPE 0x17
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue