]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i2c: riic: Add support for fast mode plus
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Tue, 20 Aug 2024 10:19:15 +0000 (13:19 +0300)
committerAndi Shyti <andi.shyti@kernel.org>
Mon, 9 Sep 2024 22:34:02 +0000 (00:34 +0200)
commit3e3c9bea659a48388a7444b6c2c41e967b263a24
tree9e06b89924a06892e9c3ae37958acbdab9143f82
parentcaad8883e4202c4ba002b9b1adc62e123f739394
i2c: riic: Add support for fast mode plus

Fast mode plus is available on most of the IP variants that RIIC driver
is working with. The exception is (according to HW manuals of the SoCs
where this IP is available) the Renesas RZ/A1H. For this, patch
introduces the struct riic_of_data::fast_mode_plus.

Fast mode plus was tested on RZ/G3S, RZ/G2{L,UL,LC}, RZ/Five by
instantiating the RIIC frequency to 1MHz and issuing i2c reads on the
fast mode plus capable devices (and the i2c clock frequency was checked on
RZ/G3S).

Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-riic.c