2020-11-02 08:33:34

by Biwen Li (OSS)

[permalink] [raw]
Subject: [v9 2/2] i2c: imx: select I2C_SLAVE by default

From: Biwen Li <[email protected]>

Select I2C_SLAVE by default

Signed-off-by: Biwen Li <[email protected]>
---
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


2020-11-10 10:50:57

by Oleksij Rempel

[permalink] [raw]
Subject: Re: [v9 2/2] i2c: imx: select I2C_SLAVE by default

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 <[email protected]>
>
> Select I2C_SLAVE by default
>
> Signed-off-by: Biwen Li <[email protected]>
> ---
> 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 |

2020-11-11 03:18:44

by Biwen Li (OSS)

[permalink] [raw]
Subject: RE: [v9 2/2] i2c: imx: select I2C_SLAVE by default



> 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 <[email protected]>
> >
> > Select I2C_SLAVE by default
> >
> > Signed-off-by: Biwen Li <[email protected]>
> > ---
> > 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 |