i2c: rcar: Auto select RESET_CONTROLLER
authorDirk Behme <dirk.behme@de.bosch.com>
Thu, 27 Aug 2020 09:23:30 +0000 (11:23 +0200)
committerWolfram Sang <wsa@kernel.org>
Fri, 28 Aug 2020 07:07:40 +0000 (09:07 +0200)
commit5b9bacf28a973a6b16510493416baeefa2c06289
treece7ca5df94cbc1d8bbd41b29db9379ca64e453f4
parent9e3b184b3b4fff3451b4a4089a727988ca14bee3
i2c: rcar: Auto select RESET_CONTROLLER

The i2c-rcar driver utilizes the Generic Reset Controller kernel
feature, so select the RESET_CONTROLLER option when the I2C_RCAR
option is selected with a Gen3 SoC.

Fixes: 2b16fd63059ab9 ("i2c: rcar: handle RXDMA HW behaviour on Gen3")
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Andy Lowe <andy_lowe@mentor.com>
[erosca: Add "if ARCH_RCAR_GEN3" per Wolfram's request]
Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/Kconfig