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

Commit db653e14 authored by Kiran Gunda's avatar Kiran Gunda Committed by Kavya Nunna
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 976a7fa9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 {
+9 −0
Original line number Diff line number Diff line
@@ -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