platform: qpnp-revid: Add REVID support for PM6125

Add PMIC subtype and revid details for PM6125.

Change-Id: Ibd185198ba74e31a0c89f640e7de4fdb94f4157d
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
This commit is contained in:
Kiran Gunda 2018-11-09 16:55:06 +05:30 • committed by David Collins
commit f0ba71a517
2 changed files with 10 additions and 0 deletions

View file

@ -59,6 +59,7 @@ static const char *const pmic_names[] = {
[PM8150L_SUBTYPE] = "PM8150L",
[PM6150_SUBTYPE] = "PM6150",
[PM7250B_SUBTYPE] = "PM7250B",
[PM6125_SUBTYPE] = "PM6125",
};
struct revid_chip {

View file

@ -184,6 +184,9 @@
#define PM7250B_SUBTYPE 0x2E
/* PM6125 SUBTYPE */
#define PM6125_SUBTYPE 0x2D
/* PMI632 */
#define PMI632_SUBTYPE 0x25
@ -279,6 +282,12 @@
#define PM7250B_V1P0_REV3 0x00
#define PM7250B_V1P0_REV4 0x01
/* PM6125_REV_ID */
#define PM6125_V1P0_REV1 0x00
#define PM6125_V1P0_REV2 0x00
#define PM6125_V1P0_REV3 0x00
#define PM6125_V1P0_REV4 0x01
/* PMI8998 FAB_ID */
#define PMI8998_FAB_ID_SMIC 0x11
#define PMI8998_FAB_ID_GF 0x30