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

Commit db9d9a9f authored by Kiran Gunda's avatar Kiran Gunda
Browse files

platform: qpnp-revid: Add REVID support for PM6125



Add PMIC subtype and revid details for PM6125.

Change-Id: Ibd185198ba74e31a0c89f640e7de4fdb94f4157d
Signed-off-by: default avatarKiran Gunda <kgunda@codeaurora.org>
parent 630cb930
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ static const char *const pmic_names[] = {
	[PM6150_SUBTYPE] = "PM6150",
	[PM8150A_SUBTYPE] = "PM8150A",
	[PME9205_SUBTYPE] = "PME9205",
	[PM6125_SUBTYPE] = "PM6125",
};

struct revid_chip {
+9 −0
Original line number Diff line number Diff line
@@ -194,6 +194,9 @@
/* PME9205 SUBTYPE */
#define PME9205_SUBTYPE		0x24

/* PM6125 SUBTYPE */
#define PM6125_SUBTYPE		0x2D

/* PMI632 */
#define PMI632_SUBTYPE	0x25

@@ -306,6 +309,12 @@
#define PM6150_V2P0_REV3	0x00
#define PM6150_V2P0_REV4	0x02

/* 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