Re: [PATCH 3/3] i3c: dw: Add limited bus mode support

From: Boris Brezillon
Date: Tue Apr 16 2019 - 02:10:01 EST


+Przemek

On Mon, 15 Apr 2019 20:46:43 +0200
Vitor Soares <vitor.soares@xxxxxxxxxxxx> wrote:

> This patch add limited bus mode support for DesignWare i3c master
>
> Signed-off-by: Vitor Soares <vitor.soares@xxxxxxxxxxxx>
> Cc: Boris Brezillon <bbrezillon@xxxxxxxxxx>
> Cc: <linux-kernel@xxxxxxxxxxxxxxx>
> ---
> drivers/i3c/master/dw-i3c-master.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/i3c/master/dw-i3c-master.c b/drivers/i3c/master/dw-i3c-master.c
> index 0b01607..4005508 100644
> --- a/drivers/i3c/master/dw-i3c-master.c
> +++ b/drivers/i3c/master/dw-i3c-master.c
> @@ -650,6 +650,7 @@ static int dw_i3c_master_bus_init(struct i3c_master_controller *m)
>
> switch (bus->mode) {
> case I3C_BUS_MODE_MIXED_FAST:
> + case I3C_BUS_MODE_MIXED_LIMITED:
> ret = dw_i2c_clk_cfg(master);
> if (ret)
> return ret;

Przemek, you might want to do the same thing in the Cadence driver.