linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i2c: imx: Allow the driver to be built for ARM64 SoCs such as i.MX8M
@ 2019-08-07 11:44 Schrempf Frieder
  2019-08-07 12:09 ` Alexander Stein
  0 siblings, 1 reply; 3+ messages in thread
From: Schrempf Frieder @ 2019-08-07 11:44 UTC (permalink / raw)
  To: Wolfram Sang, Jean Delvare, Jarkko Nikula, Florian Fainelli,
	Juergen Fitschen, Ajay Gupta, Shreesha Rajashekar, Vignesh R,
	Elie Morisse, Stefan Roese, Paul Cercueil, Kamal Dasu,
	Schrempf Frieder
  Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org

From: Frieder Schrempf <frieder.schrempf@kontron.de>

The imx I2C controller is used in some ARM64 SoCs such as i.MX8M.
To make use of it, append ARM64 to the list of dependencies.

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 09367fc014c3..46b653621513 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -664,7 +664,7 @@ config I2C_IMG
 
 config I2C_IMX
 	tristate "IMX I2C interface"
-	depends on ARCH_MXC || ARCH_LAYERSCAPE || COLDFIRE
+	depends on ARCH_MXC || ARCH_LAYERSCAPE || COLDFIRE || ARM64
 	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

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

* Re: [PATCH] i2c: imx: Allow the driver to be built for ARM64 SoCs such as i.MX8M
  2019-08-07 11:44 [PATCH] i2c: imx: Allow the driver to be built for ARM64 SoCs such as i.MX8M Schrempf Frieder
@ 2019-08-07 12:09 ` Alexander Stein
  2019-08-07 13:25   ` Schrempf Frieder
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Stein @ 2019-08-07 12:09 UTC (permalink / raw)
  To: Schrempf Frieder
  Cc: Wolfram Sang, Jean Delvare, Jarkko Nikula, Florian Fainelli,
	Juergen Fitschen, Ajay Gupta, Shreesha Rajashekar, Vignesh R,
	Elie Morisse, Stefan Roese, Paul Cercueil, Kamal Dasu,
	linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org

On Wednesday, August 7, 2019, 1:44:06 PM CEST Schrempf Frieder wrote:
> From: Frieder Schrempf <frieder.schrempf@kontron.de>
> 
> The imx I2C controller is used in some ARM64 SoCs such as i.MX8M.
> To make use of it, append ARM64 to the list of dependencies.
> 
> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
> ---
>  drivers/i2c/busses/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
> index 09367fc014c3..46b653621513 100644
> --- a/drivers/i2c/busses/Kconfig
> +++ b/drivers/i2c/busses/Kconfig
> @@ -664,7 +664,7 @@ config I2C_IMG
>  
>  config I2C_IMX
>  	tristate "IMX I2C interface"
> -	depends on ARCH_MXC || ARCH_LAYERSCAPE || COLDFIRE
> +	depends on ARCH_MXC || ARCH_LAYERSCAPE || COLDFIRE || ARM64

I don't think this should be necessary at all as ARCH_MXC is also available for arm64, see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/Kconfig.platforms#n167
I rather wonder why ARCH_MXC is not set. Same for fec.

>  	help
>  	  Say Y here if you want to use the IIC bus controller on
>  	  the Freescale i.MX/MXC, Layerscape or ColdFire processors.
> 

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

* Re: [PATCH] i2c: imx: Allow the driver to be built for ARM64 SoCs such as i.MX8M
  2019-08-07 12:09 ` Alexander Stein
@ 2019-08-07 13:25   ` Schrempf Frieder
  0 siblings, 0 replies; 3+ messages in thread
From: Schrempf Frieder @ 2019-08-07 13:25 UTC (permalink / raw)
  To: Alexander Stein
  Cc: Wolfram Sang, Jean Delvare, Jarkko Nikula, Florian Fainelli,
	Juergen Fitschen, Ajay Gupta, Shreesha Rajashekar, Vignesh R,
	Elie Morisse, Stefan Roese, Paul Cercueil, Kamal Dasu,
	linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org

On 07.08.19 14:09, Alexander Stein wrote:
> On Wednesday, August 7, 2019, 1:44:06 PM CEST Schrempf Frieder wrote:
>> From: Frieder Schrempf <frieder.schrempf@kontron.de>
>>
>> The imx I2C controller is used in some ARM64 SoCs such as i.MX8M.
>> To make use of it, append ARM64 to the list of dependencies.
>>
>> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
>> ---
>>   drivers/i2c/busses/Kconfig | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
>> index 09367fc014c3..46b653621513 100644
>> --- a/drivers/i2c/busses/Kconfig
>> +++ b/drivers/i2c/busses/Kconfig
>> @@ -664,7 +664,7 @@ config I2C_IMG
>>   
>>   config I2C_IMX
>>   	tristate "IMX I2C interface"
>> -	depends on ARCH_MXC || ARCH_LAYERSCAPE || COLDFIRE
>> +	depends on ARCH_MXC || ARCH_LAYERSCAPE || COLDFIRE || ARM64
> 
> I don't think this should be necessary at all as ARCH_MXC is also available for arm64, see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/Kconfig.platforms#n167
> I rather wonder why ARCH_MXC is not set. Same for fec.

You're right of course. I somehow managed to mess up my defconfig. I 
started over with a clean config from arch/arm64/configs/defconfig and 
everything seems fine now. Sorry for the noise.

> 
>>   	help
>>   	  Say Y here if you want to use the IIC bus controller on
>>   	  the Freescale i.MX/MXC, Layerscape or ColdFire processors.
>>
> 
> 
> 
> 

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

end of thread, other threads:[~2019-08-07 13:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-07 11:44 [PATCH] i2c: imx: Allow the driver to be built for ARM64 SoCs such as i.MX8M Schrempf Frieder
2019-08-07 12:09 ` Alexander Stein
2019-08-07 13:25   ` Schrempf Frieder

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).