mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
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:
@@ -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 },
|
||||
{ }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user