i2c: riic: Define individual arrays to describe the register offsets
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Tue, 20 Aug 2024 10:19:13 +0000 (13:19 +0300)
committerAndi Shyti <andi.shyti@kernel.org>
Mon, 9 Sep 2024 22:34:01 +0000 (00:34 +0200)
commit88c5cf45927bb43328b869b0bda7276e47896c44
tree8f4ea6cbba51f559dde076717128668c41f4cdc5
parent53326135d0e041ebe7d08bf22f82529ae69a096e
i2c: riic: Define individual arrays to describe the register offsets

Define individual arrays to describe the register offsets. In this way
we can describe different IP variants that share the same register offsets
but have differences in other characteristics. Commit prepares for the
addition of fast mode plus.

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
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