i3c: dw: add limited bus mode support
authorVitor Soares <Vitor.Soares@synopsys.com>
Wed, 19 Jun 2019 18:36:33 +0000 (20:36 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Thu, 20 Jun 2019 07:23:22 +0000 (09:23 +0200)
This patch add limited bus mode support for DesignWare i3c master

Signed-off-by: Vitor Soares <vitor.soares@synopsys.com>
Cc: Boris Brezillon <bbrezillon@kernel.org>
Cc: <linux-kernel@vger.kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
drivers/i3c/master/dw-i3c-master.c

index d6e517e69f84806fa62baea4979b368944cf1999..09912d75c6d5398e63ebd5148a6cc5441721d595 100644 (file)
@@ -599,6 +599,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;