i3c: master: support to adjust first broadcast address speed
authorCarlos Song <carlos.song@nxp.com>
Tue, 10 Sep 2024 05:16:25 +0000 (13:16 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 17 Sep 2024 14:46:22 +0000 (16:46 +0200)
commitaef79e189ba2b32f78bd35daf2c0b41f3868a321
tree6eb9e26a4f8003122a4d94c1328ff868fb287130
parent061dd21ca712cd7103c26ed77bb4a04d98930981
i3c: master: support to adjust first broadcast address speed

According to I3C spec 6.2 Timing Specification, the Open Drain High Period
of SCL Clock timing for first broadcast address should be adjusted to 200ns
at least. I3C device working as i2c device will see the broadcast to close
its Spike Filter then change to work at I3C mode. After that I3C open drain
SCL high level should be adjusted back.

Signed-off-by: Carlos Song <carlos.song@nxp.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20240910051626.4052552-1-carlos.song@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master.c
include/linux/i3c/master.h