[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 13 Dec 2021 00:04:58 +0100
From: Merlijn Wajer <merlijn@...zup.org>
To: merlijn@...zup.org
Cc: Ivaylo Dimitrov <ivo.g.dimitrov.75@...il.com>,
Dev Null <devnull@...s.xyz>, Tony Lindgren <tony@...mide.com>,
Sebastian Reichel <sre@...nel.org>, linux-omap@...r.kernel.org,
Kevin Hilman <khilman@...nel.org>,
Russell King <linux@...linux.org.uk>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [RFC PATCH 1/2] pmic-cpcap: add motorola,droid3 compatible
The Droid 3 and the Bionic appear to share the same hardware, so add
the compatible for the Droid 3 as well.
Signed-off-by: Merlijn Wajer <merlijn@...zup.org>
---
arch/arm/mach-omap2/pmic-cpcap.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/pmic-cpcap.c b/arch/arm/mach-omap2/pmic-cpcap.c
index 668dc84fd31e..b9188dde13b9 100644
--- a/arch/arm/mach-omap2/pmic-cpcap.c
+++ b/arch/arm/mach-omap2/pmic-cpcap.c
@@ -245,7 +245,8 @@ int __init omap4_cpcap_init(void)
voltdm = voltdm_lookup("mpu");
omap_voltage_register_pmic(voltdm, &omap443x_max8952_mpu);
- if (of_machine_is_compatible("motorola,droid-bionic")) {
+ if (of_machine_is_compatible("motorola,droid-bionic") ||
+ of_machine_is_compatible("motorola,droid3")) {
voltdm = voltdm_lookup("core");
omap_voltage_register_pmic(voltdm, &omap_cpcap_core);
--
2.32.0
Powered by blists - more mailing lists