diff mbox series

i2c: rcar: Prepare for the advent of ARCH_RCAR_GEN4

Message ID bf7b105f7d9728ae5cd9fa99d1cdd278d71e7df2.1704723713.git.geert+renesas@glider.be (mailing list archive)
State Accepted
Delegated to: Geert Uytterhoeven
Headers show
Series i2c: rcar: Prepare for the advent of ARCH_RCAR_GEN4 | expand

Commit Message

Geert Uytterhoeven Jan. 8, 2024, 2:24 p.m. UTC
Currently, all Kconfig symbols for R-Car Gen4 SoCs select
ARCH_RCAR_GEN3, which might confuse the casual reader.  Prepare for the
advent of ARCH_RCAR_GEN4 by extending the dependency for auto-selecting
reset controller support.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Wolfram Sang Feb. 3, 2024, 8:45 p.m. UTC | #1
On Mon, Jan 08, 2024 at 03:24:20PM +0100, Geert Uytterhoeven wrote:
> Currently, all Kconfig symbols for R-Car Gen4 SoCs select
> ARCH_RCAR_GEN3, which might confuse the casual reader.  Prepare for the
> advent of ARCH_RCAR_GEN4 by extending the dependency for auto-selecting
> reset controller support.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Wolfram Sang Feb. 22, 2024, 5:28 p.m. UTC | #2
On Sat, Feb 03, 2024 at 09:45:20PM +0100, Wolfram Sang wrote:
> On Mon, Jan 08, 2024 at 03:24:20PM +0100, Geert Uytterhoeven wrote:
> > Currently, all Kconfig symbols for R-Car Gen4 SoCs select
> > ARCH_RCAR_GEN3, which might confuse the casual reader.  Prepare for the
> > advent of ARCH_RCAR_GEN4 by extending the dependency for auto-selecting
> > reset controller support.
> > 
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> 
> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Andi, can we have this simple patch in 6.9 pretty please?
Geert Uytterhoeven March 5, 2024, 9:39 a.m. UTC | #3
On Thu, Feb 22, 2024 at 6:28 PM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> On Sat, Feb 03, 2024 at 09:45:20PM +0100, Wolfram Sang wrote:
> > On Mon, Jan 08, 2024 at 03:24:20PM +0100, Geert Uytterhoeven wrote:
> > > Currently, all Kconfig symbols for R-Car Gen4 SoCs select
> > > ARCH_RCAR_GEN3, which might confuse the casual reader.  Prepare for the
> > > advent of ARCH_RCAR_GEN4 by extending the dependency for auto-selecting
> > > reset controller support.
> > >
> > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> >
> > Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
>
> Andi, can we have this simple patch in 6.9 pretty please?

+1

Thanks!

Gr{oetje,eeting}s,

                        Geert
Andi Shyti March 6, 2024, 3:43 p.m. UTC | #4
Hi

On Mon, 08 Jan 2024 15:24:20 +0100, Geert Uytterhoeven wrote:
> Currently, all Kconfig symbols for R-Car Gen4 SoCs select
> ARCH_RCAR_GEN3, which might confuse the casual reader.  Prepare for the
> advent of ARCH_RCAR_GEN4 by extending the dependency for auto-selecting
> reset controller support.
> 
> 

Applied to i2c/i2c-host on

git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git

Thank you,
Andi

Patches applied
===============
[1/1] i2c: rcar: Prepare for the advent of ARCH_RCAR_GEN4
      commit: 5d85665181beb6d75a0e9e0652f41bd0acb877df
diff mbox series

Patch

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 819fd76545d99d1f..71ff107e82a009fc 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -1242,7 +1242,7 @@  config I2C_RCAR
 	depends on ARCH_RENESAS || COMPILE_TEST
 	select I2C_SLAVE
 	select I2C_SMBUS
-	select RESET_CONTROLLER if ARCH_RCAR_GEN3
+	select RESET_CONTROLLER if ARCH_RCAR_GEN3 || ARCH_RCAR_GEN4
 	help
 	  If you say yes to this option, support will be included for the
 	  R-Car I2C controller.