diff mbox series

[v9,2/2] i2c: imx: select I2C_SLAVE by default

Message ID 20201102082102.16508-2-biwen.li@oss.nxp.com
State New
Headers show
Series [v9,1/2] i2c: imx: support slave mode for imx I2C driver | expand

Commit Message

Biwen Li Nov. 2, 2020, 8:21 a.m. UTC
From: Biwen Li <biwen.li@nxp.com>

Select I2C_SLAVE by default

Signed-off-by: Biwen Li <biwen.li@nxp.com>
---
Change in v9:
	- none

 drivers/i2c/busses/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Oleksij Rempel Nov. 10, 2020, 10:48 a.m. UTC | #1
Hi,

it makes no sense to have separate patch for it

On Mon, Nov 02, 2020 at 04:21:02PM +0800, Biwen Li wrote:
> From: Biwen Li <biwen.li@nxp.com>
> 
> Select I2C_SLAVE by default
> 
> Signed-off-by: Biwen Li <biwen.li@nxp.com>
> ---
> Change in v9:
> 	- none
> 
>  drivers/i2c/busses/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
> index a4f473ef4e5c..d3d9a61db76e 100644
> --- a/drivers/i2c/busses/Kconfig
> +++ b/drivers/i2c/busses/Kconfig
> @@ -675,6 +675,7 @@ config I2C_IMG
>  config I2C_IMX
>  	tristate "IMX I2C interface"
>  	depends on ARCH_MXC || ARCH_LAYERSCAPE || COLDFIRE
> +	select I2C_SLAVE
>  	help
>  	  Say Y here if you want to use the IIC bus controller on
>  	  the Freescale i.MX/MXC, Layerscape or ColdFire processors.
> -- 
> 2.17.1
> 
>
Biwen Li Nov. 11, 2020, 3:16 a.m. UTC | #2
> Hi,
> 
> it makes no sense to have separate patch for it
Okay, got it. I will merge it.
> 
> On Mon, Nov 02, 2020 at 04:21:02PM +0800, Biwen Li wrote:
> > From: Biwen Li <biwen.li@nxp.com>
> >
> > Select I2C_SLAVE by default
> >
> > Signed-off-by: Biwen Li <biwen.li@nxp.com>
> > ---
> > Change in v9:
> > 	- none
> >
> >  drivers/i2c/busses/Kconfig | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
> > index a4f473ef4e5c..d3d9a61db76e 100644
> > --- a/drivers/i2c/busses/Kconfig
> > +++ b/drivers/i2c/busses/Kconfig
> > @@ -675,6 +675,7 @@ config I2C_IMG
> >  config I2C_IMX
> >  	tristate "IMX I2C interface"
> >  	depends on ARCH_MXC || ARCH_LAYERSCAPE || COLDFIRE
> > +	select I2C_SLAVE
> >  	help
> >  	  Say Y here if you want to use the IIC bus controller on
> >  	  the Freescale i.MX/MXC, Layerscape or ColdFire processors.
> > --
> > 2.17.1
> >
> >
> 
> --
> Pengutronix e.K.                           |
> |
> Steuerwalder Str. 21                       | http://www.pengutronix.de/
> |
> 31137 Hildesheim, Germany                  | Phone:
> +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:
> +49-5121-206917-5555 |
diff mbox series

Patch

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index a4f473ef4e5c..d3d9a61db76e 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -675,6 +675,7 @@  config I2C_IMG
 config I2C_IMX
 	tristate "IMX I2C interface"
 	depends on ARCH_MXC || ARCH_LAYERSCAPE || COLDFIRE
+	select I2C_SLAVE
 	help
 	  Say Y here if you want to use the IIC bus controller on
 	  the Freescale i.MX/MXC, Layerscape or ColdFire processors.