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

Commit c3d22c42 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy Committed by Ashay Jaiswal
Browse files

qpnp-revid: Add subtypes for PM855/PM855B/PM855L



Add the subtypes for PM855/PM855B/PM855L that can be used by
the peripheral drivers.

Change-Id: I7133160e7198fb2d2c20af6701d4a45bb28b3fbf
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 7fcbc660
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
/* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2018, 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
@@ -61,6 +61,9 @@ static const char *const pmic_names[] = {
	[PM660_SUBTYPE] = "PM660",
	[PMI632_SUBTYPE] = "PMI632",
	[PMI8937_SUBTYPE] = "PMI8937",
	[PM855_SUBTYPE] = "PM855",
	[PM855B_SUBTYPE] = "PM855B",
	[PM855L_SUBTYPE] = "PM855L",
};

struct revid_chip {
+6 −1
Original line number Diff line number Diff line
/* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2018, 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
@@ -184,6 +184,11 @@
/* PMI632 */
#define PMI632_SUBTYPE	0x25

/* PM855 */
#define PM855_SUBTYPE		0x1E
#define PM855L_SUBTYPE		0x1F
#define PM855B_SUBTYPE		0x20

/* PMI8998 REV_ID */
#define PMI8998_V1P0_REV1	0x00
#define PMI8998_V1P0_REV2	0x00