2020-08-24 06:27:49

by Eugeniu Rosca

[permalink] [raw]
Subject: [PATCH] i2c: i2c-rcar: Auto select RESET_CONTROLLER

From: Dirk Behme <[email protected]>

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

Fixes: 2b16fd63059ab9 ("i2c: rcar: handle RXDMA HW behaviour on Gen3")
Cc: [email protected]
Signed-off-by: Dirk Behme <[email protected]>
Signed-off-by: Andy Lowe <[email protected]>
Signed-off-by: Eugeniu Rosca <[email protected]>
---
drivers/i2c/busses/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 293e7a0760e7..bb80f0944d61 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -1181,6 +1181,7 @@ config I2C_RCAR
tristate "Renesas R-Car I2C Controller"
depends on ARCH_RENESAS || COMPILE_TEST
select I2C_SLAVE
+ select RESET_CONTROLLER
help
If you say yes to this option, support will be included for the
R-Car I2C controller.
--
2.28.0


2020-08-24 12:09:16

by Wolfram Sang

[permalink] [raw]
Subject: Re: [PATCH] i2c: i2c-rcar: Auto select RESET_CONTROLLER


> + select RESET_CONTROLLER

Only needed for Gen3, so 'if ARCH_RCAR_GEN3'?


Attachments:
(No filename) (82.00 B)
signature.asc (849.00 B)
Download all attachments