mirror_ubuntu-kernels/drivers/i3c/master
Jeremy Kerr 66b32e3d2c i3c: dw: use bus mode rather than device reg for conditional tCAS setting
In the clock setup path, we set the hardware DEV_CTRL_I2C_SLAVE_PRESENT
bit on a shared mode bus, then read-back this bit for the conditional
tCAS set.

Instead, just use the bus->mode setting for the conditional test.

While we're at it, add a little comment about why the conditional is
there.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Link: https://lore.kernel.org/r/92a933566f7846708a00ad7f5a16ee8e6ed32d0e.1680156630.git.jk@codeconstruct.com.au
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2023-04-27 23:49:43 +02:00
..
mipi-i3c-hci i3c: mipi-i3c-hci: Convert to platform remove callback returning void 2023-03-21 19:25:25 +01:00
dw-i3c-master.c i3c: dw: use bus mode rather than device reg for conditional tCAS setting 2023-04-27 23:49:43 +02:00
i3c-master-cdns.c i3c: cdns: Convert to platform remove callback returning void 2023-03-21 19:25:25 +01:00
Kconfig i3c: master: svc: Add Silvaco I3C master driver 2021-02-06 00:43:29 +01:00
Makefile i3c: master: svc: Add Silvaco I3C master driver 2021-02-06 00:43:29 +01:00
svc-i3c-master.c i3c: svc: Convert to platform remove callback returning void 2023-03-21 19:25:25 +01:00