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

From: Wolfram Sang
Date: Mon Sep 04 2023 - 09:59:08 EST


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(-)

--
2.35.1