From patchwork Tue May 7 12:21:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neha Malcom Francis X-Patchwork-Id: 13656767 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 36C7CC10F1A for ; Tue, 7 May 2024 12:22:34 +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=r2GcFxoinyGdi7Ot89nQDoaqnZ/VkdxGB3s13dvnrmY=; b=kT/HCCIjcsCvpZ U2E1Un/ecKoOtrg5jf3YMP9cSNe91LIhtyFwU6qjN7aM361cfI6crSueodwNlGo3G5zUSXycWXMD1 QtELV9AxCxKCU3wi51AxWarBGsnYZNsPRSGlKJCaeolmuVEKWlD+EHg2wgmXB8pC4QZao2z+9GsLT Am1WAduU6ESSDdaCeV2bbHwUl08Uw/dMfD9EzHHOPO8nF2ijIw5StJfWdJaEF+Goyz9+OEvNwCmLC rnI4bbulJ9QbtrOUmLoLlKLn01fhEaynrQfqAQeFam9g/ecDULqN3dihyeuFNXTtQj4hAty8LM8zV BHQFHON3+STGn5rszg9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4Jpw-0000000AsuD-3dFr; Tue, 07 May 2024 12:22:24 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4Jpt-0000000AsrQ-1xxx for linux-arm-kernel@lists.infradead.org; Tue, 07 May 2024 12:22:23 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 447CMCEY090978; Tue, 7 May 2024 07:22:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1715084532; bh=ukmd+IAHRmXUMzadAfPwIJvTLf63VTyB1DG1jtJodEE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=KGFMB14aB9GQllMSWopeRdw0eubxbw776IYgKHmmhGq+Z7hTG4my/TRaaQYXuhNNH 6EdmtNxWHtul5IV7B4ZIUfjlsyqOr7VDS864JnccxtD2Tc2TVXwPJE5QWhORAzbEXK wh092fHe3VLPTn0IMdnRFBWbSKWl4SxEeZkXDl/U= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 447CMCbn049977 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 7 May 2024 07:22:12 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 7 May 2024 07:22:11 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 7 May 2024 07:22:11 -0500 Received: from a0497641-HP-Z2-Tower-G9-Workstation-Desktop-PC.dhcp.ti.com (a0497641-hp-z2-tower-g9-workstation-desktop-pc.dhcp.ti.com [172.24.227.36]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 447CLwDP038074; Tue, 7 May 2024 07:22:07 -0500 From: Neha Malcom Francis To: , , , , , , , CC: , , , , , Subject: [PATCH 2/5] drivers: regulator: tps6287x: Unify compatible Date: Tue, 7 May 2024 17:51:55 +0530 Message-ID: <20240507122158.3739291-3-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240507122158.3739291-1-n-francis@ti.com> References: <20240507122158.3739291-1-n-francis@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240507_052221_791825_B47E28B4 X-CRM114-Status: GOOD ( 12.16 ) 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 TPS62870/1/2/3 devices have different output currents (6A/9A/12A/15A) of the TPS6287x family. The I2C addresses are the same between them. Since the dt-binding now only recognizes ti,tps6287x for the same reason; modify the driver compatible to reflect the same. Signed-off-by: Neha Malcom Francis --- drivers/regulator/tps6287x-regulator.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/regulator/tps6287x-regulator.c b/drivers/regulator/tps6287x-regulator.c index 9b7c3d77789e..6dc8511bdd3e 100644 --- a/drivers/regulator/tps6287x-regulator.c +++ b/drivers/regulator/tps6287x-regulator.c @@ -154,20 +154,14 @@ static int tps6287x_i2c_probe(struct i2c_client *i2c) } static const struct of_device_id tps6287x_dt_ids[] = { - { .compatible = "ti,tps62870", }, - { .compatible = "ti,tps62871", }, - { .compatible = "ti,tps62872", }, - { .compatible = "ti,tps62873", }, + { .compatible = "ti,tps6287x", }, { } }; MODULE_DEVICE_TABLE(of, tps6287x_dt_ids); static const struct i2c_device_id tps6287x_i2c_id[] = { - { "tps62870", 0 }, - { "tps62871", 0 }, - { "tps62872", 0 }, - { "tps62873", 0 }, + { "tps6287x", 0 }, {}, };