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

Commit d179e2b9 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 456c150f
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
@@ -60,6 +60,9 @@ static const char *const pmic_names[] = {
	[PM660L_SUBTYPE] = "PM660L",
	[PM660_SUBTYPE] = "PM660",
	[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
@@ -181,6 +181,11 @@
#define PM660L_SUBTYPE	0x1A
#define PM660_SUBTYPE	0x1B

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