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

Commit f8b00cea authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "platform: qpnp-revid: Add REVID support for PM2250"

parents 097ffa6c 16be97cc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2013-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2013-2020, The Linux Foundation. All rights reserved.
 */

#include <linux/module.h>
@@ -53,7 +53,7 @@ static const char *const pmic_names[] = {
	[PM660L_SUBTYPE] = "PM660L",
	[PM660_SUBTYPE] = "PM660",
	[PMI632_SUBTYPE] = "PMI632",
	[PMI8937_SUBTYPE] = "PMI8937",
	[PM2250_SUBTYPE] = "PM2250",
	[PM8150_SUBTYPE] = "PM8150",
	[PM8150B_SUBTYPE] = "PM8150B",
	[PM8150L_SUBTYPE] = "PM8150L",
+9 −3
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (c) 2013-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2013-2020, The Linux Foundation. All rights reserved.
 */

#ifndef __QPNP_REVID
@@ -291,6 +291,12 @@
#define PM6125_V1P0_REV3	0x00
#define PM6125_V1P0_REV4	0x01

/* PM2250_REV_ID */
#define PM2250_V1P0_REV1	0x00
#define PM2250_V1P0_REV2	0x01
#define PM2250_V1P0_REV3	0x01
#define PM2250_V1P0_REV4	0x01

/* PMI8998 FAB_ID */
#define PMI8998_FAB_ID_SMIC	0x11
#define PMI8998_FAB_ID_GF	0x30
@@ -306,8 +312,8 @@
/* PM8937 */
#define PM8937_SUBTYPE		0x19

/* PMI8937 */
#define PMI8937_SUBTYPE		0x37
/* PM2250 */
#define PM2250_SUBTYPE		0x37

/* SMB1390 */
#define SMB1390_SUBTYPE		0x23