linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i2c: i2c-rcar: Auto select RESET_CONTROLLER
@ 2020-08-24  6:26 Eugeniu Rosca
  2020-08-24 12:07 ` Wolfram Sang
  0 siblings, 1 reply; 2+ messages in thread
From: Eugeniu Rosca @ 2020-08-24  6:26 UTC (permalink / raw)
  To: Wolfram Sang, Geert Uytterhoeven, linux-i2c, linux-kernel
  Cc: stable, Eugeniu Rosca, Eugeniu Rosca, Dirk Behme, Andy Lowe

From: Dirk Behme <dirk.behme@de.bosch.com>

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: stable@vger.kernel.org
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Andy Lowe <andy_lowe@mentor.com>
Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] i2c: i2c-rcar: Auto select RESET_CONTROLLER
  2020-08-24  6:26 [PATCH] i2c: i2c-rcar: Auto select RESET_CONTROLLER Eugeniu Rosca
@ 2020-08-24 12:07 ` Wolfram Sang
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2020-08-24 12:07 UTC (permalink / raw)
  To: Eugeniu Rosca
  Cc: Geert Uytterhoeven, linux-i2c, linux-kernel, stable,
	Eugeniu Rosca, Dirk Behme, Andy Lowe

[-- Attachment #1: Type: text/plain, Size: 77 bytes --]


> +	select RESET_CONTROLLER

Only needed for Gen3, so 'if ARCH_RCAR_GEN3'?


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-24 12:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-24  6:26 [PATCH] i2c: i2c-rcar: Auto select RESET_CONTROLLER Eugeniu Rosca
2020-08-24 12:07 ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).