From patchwork Thu Dec 26 21:54:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shree Ramamoorthy X-Patchwork-Id: 13921460 Received: from fllvem-ot03.ext.ti.com (fllvem-ot03.ext.ti.com [198.47.19.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B261D1684B0; Thu, 26 Dec 2024 21:54:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.245 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735250067; cv=none; b=re3XEXF8ektqKVDmgeMnn/o0chdyOLJVp1i/kcbXswt6I6tfwd7tNpEjbzLcenqLFqSi54GcTw5LDbgNMfXfzR4bWUXiV4RMFf/xTZW8VLIrxyusUWkYtSYuL82/0nWh848QYzI812ycNekWhni7WxPAc637kzGPHhJUEasZnqw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735250067; c=relaxed/simple; bh=e/zeyI5zExgJ4RHOIiaxDmE7CjOCbpA6opaTTFkX498=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=erc7GvVMpx4OesxufWtlHsn0pHM8Ul9c3KMN8O2uVYjszusTzX4rmHg73Vir69GNlI5APyZfbP6xIU3NYicUD9X3Pb+SUxoxdj0r6/ax0/iIK7tcV5Or2p6dvGDr2aMUwUIQCGh3kuIACCXBiUpF25ZgSegHzUKeTUml3kmt+zA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=gjY2IKjx; arc=none smtp.client-ip=198.47.19.245 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="gjY2IKjx" Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllvem-ot03.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 4BQLsEaj1011184 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 26 Dec 2024 15:54:14 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1735250055; bh=3BKYHxvtIGTgGXg1b5n3N05S9acaujyMSu3tAxyFL3w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=gjY2IKjx3mZkuHvklEYd5cKJ8urThCadf8JllzJwH9KyfbJ4TUqi8oLtvWxWpHldM iboXa345q6sOJZxZDBzP3XeJKlOF/ZE1ILRJ2u3Kljj6fTsc0JxdXR/BbWTrBaUIis Rg7+O8RvmZPwwjtP7tS7zW3r4D9sadEfGXyx8TA4= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 4BQLsEqG074130 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 26 Dec 2024 15:54:14 -0600 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 26 Dec 2024 15:54:14 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE112.ent.ti.com (157.170.170.23) 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; Thu, 26 Dec 2024 15:54:14 -0600 Received: from DMZ007XYY.dhcp.ti.com ([10.250.33.34]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 4BQLsC9K052274; Thu, 26 Dec 2024 15:54:13 -0600 From: Shree Ramamoorthy To: , , , , , , , , , , , , , CC: , Subject: [PATCH v1 2/7] regulator: tps65215: Update platform_device_id table Date: Thu, 26 Dec 2024 15:54:07 -0600 Message-ID: <20241226215412.395822-3-s-ramamoorthy@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241226215412.395822-1-s-ramamoorthy@ti.com> References: <20241226215412.395822-1-s-ramamoorthy@ti.com> Precedence: bulk X-Mailing-List: linux-omap@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea Add TI TPS65215 PMIC to the existing platform_device_id struct, so the regulator probe() can match which PMIC chip_data information. Signed-off-by: Shree Ramamoorthy --- drivers/regulator/tps65219-regulator.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/tps65219-regulator.c b/drivers/regulator/tps65219-regulator.c index aa65077f9d41..b8a178ae6b42 100644 --- a/drivers/regulator/tps65219-regulator.c +++ b/drivers/regulator/tps65219-regulator.c @@ -344,7 +344,8 @@ static int tps65219_regulator_probe(struct platform_device *pdev) } static const struct platform_device_id tps65219_regulator_id_table[] = { - { "tps65219-regulator", }, + { "tps65219-regulator", TPS65219 }, + { "tps65215-regulator", TPS65215 }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(platform, tps65219_regulator_id_table);