i2c: muxes: pca954x: Add support for pca9848

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
This commit is contained in:
Michal Simek
2026-02-16 09:14:01 +01:00
parent eb00c71050
commit f4b8135239

View 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 },
{ }
};