Add support for PCA9848 chip.

Signed-off-by: Michal Simek <[email protected]>
---

 drivers/i2c/muxes/pca954x.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/i2c/muxes/pca954x.c b/drivers/i2c/muxes/pca954x.c
index d13947a0d9cc..3e933acb24bc 100644
--- a/drivers/i2c/muxes/pca954x.c
+++ b/drivers/i2c/muxes/pca954x.c
@@ -28,6 +28,7 @@ enum pca_type {
        PCA9548,
        PCA9646,
        PCA9847,
+       PCA9848,
 };
 
 struct chip_desc {
@@ -106,6 +107,10 @@ static const struct chip_desc chips[] = {
                .muxtype = pca954x_ismux,
                .width = 8,
        },
+       [PCA9848] = {
+               .muxtype = pca954x_isswi,
+               .width = 8,
+       },
 };
 
 static int pca954x_deselect(struct udevice *mux, struct udevice *bus,
@@ -152,6 +157,7 @@ static const struct udevice_id pca954x_ids[] = {
        { .compatible = "nxp,pca9548", .data = PCA9548 },
        { .compatible = "nxp,pca9646", .data = PCA9646 },
        { .compatible = "nxp,pca9847", .data = PCA9847 },
+       { .compatible = "nxp,pca9848", .data = PCA9848 },
        { }
 };
 
-- 
2.43.0

base-commit: ed6e970569b45c02a354f443502ed7616e0b0adf

Reply via email to