]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
i2c: muxes: pca954x: add pca9545 support
authorFrank Wunderlich <frank-w@public-files.de>
Fri, 6 Jun 2025 09:50:54 +0000 (11:50 +0200)
committerHeiko Schocher <hs@denx.de>
Sat, 12 Jul 2025 05:36:30 +0000 (07:36 +0200)
Add support for 4 channel pca9545 found on Bananapi R4.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Acked-by: Michal Simek <michal.simek@amd.com>
drivers/i2c/muxes/pca954x.c

index 9dd26972703650e0e071f917f207af4dc83003fc..d13947a0d9cccec37ef78e33705dfeea0023704d 100644 (file)
@@ -22,6 +22,7 @@ enum pca_type {
        MAX7369,
        PCA9543,
        PCA9544,
+       PCA9545,
        PCA9546,
        PCA9547,
        PCA9548,
@@ -79,6 +80,10 @@ static const struct chip_desc chips[] = {
                .muxtype = pca954x_ismux,
                .width = 4,
        },
+       [PCA9545] = {
+               .muxtype = pca954x_isswi,
+               .width = 4,
+       },
        [PCA9546] = {
                .muxtype = pca954x_isswi,
                .width = 4,
@@ -141,6 +146,7 @@ static const struct udevice_id pca954x_ids[] = {
        { .compatible = "maxim,max7369", .data = MAX7369 },
        { .compatible = "nxp,pca9543", .data = PCA9543 },
        { .compatible = "nxp,pca9544", .data = PCA9544 },
+       { .compatible = "nxp,pca9545", .data = PCA9545 },
        { .compatible = "nxp,pca9546", .data = PCA9546 },
        { .compatible = "nxp,pca9547", .data = PCA9547 },
        { .compatible = "nxp,pca9548", .data = PCA9548 },