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

Commit 0bb9c0c2 authored by Osvaldo Banuelos's avatar Osvaldo Banuelos
Browse files

msm: qpnp-revid: add support for new PMIC subtypes



Currently, there are PMICs with subtype register values ranging from
1 through 19. Update the pmic_names string array to get it in sync
with current PMIC hardware availability.

Change-Id: I26b8b710abde522b5b9c13df7f4fa6aae37348cd
Signed-off-by: default avatarOsvaldo Banuelos <osvaldob@codeaurora.org>
parent 861a4ae9
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2015, 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
@@ -41,6 +41,12 @@ static const char *const pmic_names[] = {
	"PM8916",
	"PM8004",
	"PM8909",
	"PM2433",
	"PMD9655",
	"PM8950",
	"PMI8950",
	"PMK8001",
	"PMI8996",
};

struct revid_chip {