]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
i2c: muxes: pca954x: Add support for pca9848
authorMichal Simek <michal.simek@amd.com>
Mon, 16 Feb 2026 08:14:01 +0000 (09:14 +0100)
committerMichal Simek <michal.simek@amd.com>
Mon, 23 Mar 2026 13:58:46 +0000 (14:58 +0100)
Add support for PCA9848 chip.

Reviewed-by: Heiko Schocher <hs@nabladev.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/72cadba2a21e9d5723d54994b898d8a6880042e0.1771229639.git.michal.simek@amd.com
drivers/i2c/muxes/pca954x.c

index d13947a0d9cccec37ef78e33705dfeea0023704d..3e933acb24bc971300ea3fa7176c16c2aaa2437c 100644 (file)
@@ -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 },
        { }
 };