From patchwork Sun Dec 12 23:04:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Merlijn Wajer X-Patchwork-Id: 12695812 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CA068C433EF for ; Sun, 12 Dec 2021 23:01:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/gAMp62McSuBS7B5h8o0RmhhHd8s5Zk1XTHEgWk5IN8=; b=u8og6daoUaOZn5 Kincngqz3vfyht1ghuToPUhLdXPBHzZ/sAAM7IhlDuc1b8qEpJyNdUJz1KnrwlN+AGMaiq/DzQ9aV tDBYDOY+HxJTY8ljcdUzVqNF48jkTYhM2wDlth5weu0p3TdGlsaYZNTGbL0651uZw3UnyE4DMqdyC rveSuO2ikISZ+Fexb/VIvUhG0oh+UByzNu11LNN7+AcFDGtbTJmuA9vLIvQ4IV80xqpxVaGW9VRy1 g83aSx8JUF4Bx+vLrrVkV5IYS2o8RZG5JFzOxMwrlWJOr2kuRksKPe0mMrLBMkmh4vxbd0XgxAfV9 qaysnakbo1ahQE3hz/6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwXon-007SGk-LU; Sun, 12 Dec 2021 22:59:45 +0000 Received: from mail.wizzup.org ([95.217.97.174] helo=wizzup.org) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwXoj-007SFR-Gf for linux-arm-kernel@lists.infradead.org; Sun, 12 Dec 2021 22:59:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=wizzup.org; s=mail; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=iCURCfCbzJn+HEHUhNN/JYBZDwSNfAwJCRsM/r+iH+A=; b=awZCgtBEhWetUPvIgAOFRUewAO iEzXr9eIXFiUSqlZJU70c+9oM0WR8ngQInLfxu7cszQ6hpQlEGbHCovkh776gVELReNLc/lifg3O5 xYr/dZwiGaEvFeGnQi9UZpNnrlANPGcZyE+9FEXrTTzzRA9G8sGl3IXOdMShFazLk1176V0dcNKIx YCMMLfw3SY0eLBp6YdyWQ1p5VW9M+PgSr9YTFFE1Fzz9VwZEwcTlUuWGSAsvKWaoVsgIpl1kVoXEb GBcD7VEk3Sclgz4nlTKWEwIJmCv8x4bpQy38X2Xded4SnDZNiyP/l/tV6+AQ4blSLDDM13UsjQnzy ciIbcacw==; Received: from [45.83.235.159] (helo=gentoo-x13.fritz.box) by wizzup.org with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mwXoV-0001el-JE; Sun, 12 Dec 2021 22:59:27 +0000 From: Merlijn Wajer To: merlijn@wizzup.org Cc: Ivaylo Dimitrov , Dev Null , Tony Lindgren , Sebastian Reichel , linux-omap@vger.kernel.org, Kevin Hilman , Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH 1/2] pmic-cpcap: add motorola,droid3 compatible Date: Mon, 13 Dec 2021 00:04:58 +0100 Message-Id: <20211212230459.13579-2-merlijn@wizzup.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211212230459.13579-1-merlijn@wizzup.org> References: <20211212230459.13579-1-merlijn@wizzup.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211212_145941_741630_C798622C X-CRM114-Status: UNSURE ( 9.58 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- 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);