[PATCH 01/41] power: pmic: pca9450: support pca9451a

Peng Fan (OSS) peng.fan at oss.nxp.com
Mon Jan 23 10:16:20 CET 2023


From: Peng Fan <peng.fan at nxp.com>

Support NXP pca9451a

Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
 drivers/power/pmic/pca9450.c | 1 +
 include/power/pca9450.h      | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/power/pmic/pca9450.c b/drivers/power/pmic/pca9450.c
index a186edc08da..3c4f5207e14 100644
--- a/drivers/power/pmic/pca9450.c
+++ b/drivers/power/pmic/pca9450.c
@@ -111,6 +111,7 @@ static const struct udevice_id pca9450_ids[] = {
 	{ .compatible = "nxp,pca9450a", .data = NXP_CHIP_TYPE_PCA9450A, },
 	{ .compatible = "nxp,pca9450b", .data = NXP_CHIP_TYPE_PCA9450BC, },
 	{ .compatible = "nxp,pca9450c", .data = NXP_CHIP_TYPE_PCA9450BC, },
+	{ .compatible = "nxp,pca9451a", .data = NXP_CHIP_TYPE_PCA9451A, },
 	{ }
 };
 
diff --git a/include/power/pca9450.h b/include/power/pca9450.h
index fa0405fcb87..f6d546f5711 100644
--- a/include/power/pca9450.h
+++ b/include/power/pca9450.h
@@ -59,6 +59,7 @@ int power_pca9450_init(unsigned char bus, unsigned char addr);
 enum {
 	NXP_CHIP_TYPE_PCA9450A = 0,
 	NXP_CHIP_TYPE_PCA9450BC,
+	NXP_CHIP_TYPE_PCA9451A,
 	NXP_CHIP_TYPE_AMOUNT
 };
 
-- 
2.36.0



More information about the U-Boot mailing list