mbox series

[0/3] i2c: rcar: add FastMode+ support

Message ID 20230904135852.12146-1-wsa+renesas@sang-engineering.com (mailing list archive)
Headers show
Series i2c: rcar: add FastMode+ support | expand

Message

Wolfram Sang Sept. 4, 2023, 1:58 p.m. UTC
The newest generation of Renesas R-Car SoCs support FastMode+. This
series enables the driver to use it. After a cleanup (patch 1) and
adding the Gen4 devtype (patch 2), actual FM+ support gets added in
patch 3. Tested on a Falcon board with a R-Car V3U. Getting >16KB of
data from the PMIC was pretty much 2.5x faster than without FM+ which
pretty much matches the theoretical values. Actual scoping still needs
to be done as it needs some logistics because of the board being remote.
But here the patches already for review.

Note: I intend to remove the brute-force algorithm from the regular
clock calculation as well. This will be a separate series, though,
because more cleanups are possible.

Thanks and happy hacking!


Wolfram Sang (3):
  i2c: rcar: avoid non-standard use of goto
  i2c: rcar: introduce Gen4 devices
  i2c: rcar: add FastMode+ support

 drivers/i2c/busses/i2c-rcar.c | 142 +++++++++++++++++++++++-----------
 1 file changed, 95 insertions(+), 47 deletions(-)