summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <[email protected]>2026-02-16 09:14:01 +0100
committerMichal Simek <[email protected]>2026-03-23 14:58:46 +0100
commitf4b8135239618662deb76d672cb4ab234db5c9ae (patch)
treeff4dbb789843424e90e3dcb63fbd2b6601ee0112
parenteb00c710508d09b2a3b9aca75dd18280f1304703 (diff)
i2c: muxes: pca954x: Add support for pca9848
Add support for PCA9848 chip. Reviewed-by: Heiko Schocher <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/72cadba2a21e9d5723d54994b898d8a6880042e0.1771229639.git.michal.simek@amd.com
-rw-r--r--drivers/i2c/muxes/pca954x.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/i2c/muxes/pca954x.c b/drivers/i2c/muxes/pca954x.c
index d13947a0d9c..3e933acb24b 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 },
{ }
};