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

Commit 9995b020 authored by Kavya Nunna's avatar Kavya Nunna
Browse files

platform: qpnp-revid: Add REVID support for PM8010



Add PMIC subtype for PM8010.

Change-Id: I6e185be5db95687b06fa3b15e43c5f223622647b
Signed-off-by: default avatarKavya Nunna <knunna@codeaurora.org>
parent 3686a15a
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
// SPDX-License-Identifier: GPL-2.0-only
/*
/*
 * Copyright (c) 2013-2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2013-2021, The Linux Foundation. All rights reserved.
 */
 */


#include <linux/module.h>
#include <linux/module.h>
@@ -64,6 +64,7 @@ static const char *const pmic_names[] = {
	[PMR735B_SUBTYPE] = "PMR735B",
	[PMR735B_SUBTYPE] = "PMR735B",
	[PM6125_SUBTYPE] = "PM6125",
	[PM6125_SUBTYPE] = "PM6125",
	[PM8008_SUBTYPE] = "PM8008",
	[PM8008_SUBTYPE] = "PM8008",
	[PM8010_SUBTYPE] = "PM8010",
	[SMB1355_SUBTYPE] = "SMB1355",
	[SMB1355_SUBTYPE] = "SMB1355",
	[SMB1390_SUBTYPE] = "SMB1390",
	[SMB1390_SUBTYPE] = "SMB1390",
};
};
+4 −1
Original line number Original line Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0 */
/* SPDX-License-Identifier: GPL-2.0 */
/*
/*
 * Copyright (c) 2013-2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2013-2021, The Linux Foundation. All rights reserved.
 */
 */


#ifndef __QPNP_REVID
#ifndef __QPNP_REVID
@@ -202,6 +202,9 @@
/* PM8008 SUBTYPE */
/* PM8008 SUBTYPE */
#define PM8008_SUBTYPE	0x2C
#define PM8008_SUBTYPE	0x2C


/* PM8010 SUBTYPE */
#define PM8010_SUBTYPE	0x41

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