Hi Philipp, On Mon, Jun 14, 2021 at 3:27 PM Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> wrote: > On Fri, 2021-06-11 at 17:56 +0100, Biju Das wrote: > > RZ/G2L i2c controller is compatible with RZ/A i2c controller. > > By default IP is in reset state, so need to perform release > > reset before accessing any register. > > > > Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx> > > Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx> > > --- > > drivers/i2c/busses/Kconfig | 1 + > > drivers/i2c/busses/i2c-riic.c | 21 +++++++++++++++++++++ > > 2 files changed, 22 insertions(+) > > > > diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig > > index 281a65d9b44b..5da09288b461 100644 > > --- a/drivers/i2c/busses/Kconfig > > +++ b/drivers/i2c/busses/Kconfig > > @@ -941,6 +941,7 @@ config I2C_QUP > > config I2C_RIIC > > tristate "Renesas RIIC adapter" > > depends on ARCH_RENESAS || COMPILE_TEST > > + select RESET_CONTROLLER > > There's no need for this. The reset API defines inline stubs so this can > be compiled without RESET_CONTROLLER enabled. AFAIK, the issue is that RIIC on RZ/G2L requires reset support, so it must be enabled when building a kernel for RZ/G2L. As RZ/A does not need or use it, and may run from SRAM, I'd like to leave it disabled when building a kernel not including RZ/G2L support. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds