[PATCH v1] i2c: muxes: pca954x: add pca9545 support

Michal Simek michal.simek at amd.com
Fri Jun 13 12:27:54 CEST 2025



On 6/6/25 11:50, Frank Wunderlich wrote:
> From: Frank Wunderlich <frank-w at public-files.de>
> 
> Add support for 4 channel pca9545 found on Bananapi R4.
> 
> Signed-off-by: Frank Wunderlich <frank-w at public-files.de>
> ---
>   drivers/i2c/muxes/pca954x.c | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/i2c/muxes/pca954x.c b/drivers/i2c/muxes/pca954x.c
> index 9dd269727036..d13947a0d9cc 100644
> --- a/drivers/i2c/muxes/pca954x.c
> +++ b/drivers/i2c/muxes/pca954x.c
> @@ -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 },

Acked-by: Michal Simek <michal.simek at amd.com>

Thanks,
Michal


More information about the U-Boot mailing list