* [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 11:44 ` [PATCH] net: fec: Allow the driver to be built for ARM64 SoCs such as i.MX8 Schrempf Frieder
2019-08-07 12:09 ` [PATCH] i2c: imx: Allow the driver to be built for ARM64 SoCs such as i.MX8M Alexander Stein
0 siblings, 2 replies; 6+ 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, linux-kernel
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] 6+ messages in thread
* [PATCH] net: fec: Allow the driver to be built for ARM64 SoCs such as i.MX8
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 11:44 ` Schrempf Frieder
2019-08-07 12:20 ` Fabio Estevam
2019-08-07 12:09 ` [PATCH] i2c: imx: Allow the driver to be built for ARM64 SoCs such as i.MX8M Alexander Stein
1 sibling, 1 reply; 6+ messages in thread
From: Schrempf Frieder @ 2019-08-07 11:44 UTC (permalink / raw)
To: David S. Miller, Ioana Radulescu, Claudiu Manoil,
Thomas Gleixner, Yangbo Lu, Schrempf Frieder
Cc: netdev, linux-kernel
From: Frieder Schrempf <frieder.schrempf@kontron.de>
The FEC ethernet controller is used in some ARM64 SoCs such as i.MX8.
To make use of it, append ARM64 to the list of dependencies.
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
---
drivers/net/ethernet/freescale/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/freescale/Kconfig b/drivers/net/ethernet/freescale/Kconfig
index 6a7e8993119f..f7f4e073d955 100644
--- a/drivers/net/ethernet/freescale/Kconfig
+++ b/drivers/net/ethernet/freescale/Kconfig
@@ -23,7 +23,7 @@ if NET_VENDOR_FREESCALE
config FEC
tristate "FEC ethernet controller (of ColdFire and some i.MX CPUs)"
depends on (M523x || M527x || M5272 || M528x || M520x || M532x || \
- ARCH_MXC || SOC_IMX28 || COMPILE_TEST)
+ ARCH_MXC || ARM64 || SOC_IMX28 || COMPILE_TEST)
default ARCH_MXC || SOC_IMX28 if ARM
select PHYLIB
imply PTP_1588_CLOCK
--
2.17.1
^ permalink raw reply related [flat|nested] 6+ 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 11:44 ` [PATCH] net: fec: Allow the driver to be built for ARM64 SoCs such as i.MX8 Schrempf Frieder
@ 2019-08-07 12:09 ` Alexander Stein
2019-08-07 13:25 ` Schrempf Frieder
1 sibling, 1 reply; 6+ 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,
linux-kernel
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] 6+ messages in thread
* Re: [PATCH] net: fec: Allow the driver to be built for ARM64 SoCs such as i.MX8
2019-08-07 11:44 ` [PATCH] net: fec: Allow the driver to be built for ARM64 SoCs such as i.MX8 Schrempf Frieder
@ 2019-08-07 12:20 ` Fabio Estevam
2019-08-07 13:25 ` Schrempf Frieder
0 siblings, 1 reply; 6+ messages in thread
From: Fabio Estevam @ 2019-08-07 12:20 UTC (permalink / raw)
To: Schrempf Frieder
Cc: David S. Miller, Ioana Radulescu, Claudiu Manoil,
Thomas Gleixner, Yangbo Lu, netdev, linux-kernel
Hi Frieder,
On Wed, Aug 7, 2019 at 9:04 AM Schrempf Frieder
<frieder.schrempf@kontron.de> wrote:
>
> From: Frieder Schrempf <frieder.schrempf@kontron.de>
>
> The FEC ethernet controller is used in some ARM64 SoCs such as i.MX8.
> To make use of it, append ARM64 to the list of dependencies.
ARCH_MXC is also used by i.MX8, so there is no need for such change.
By the way: arch/arm64/configs/defconfig has CONFIG_FEC=y by default.
^ permalink raw reply [flat|nested] 6+ 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 ` [PATCH] i2c: imx: Allow the driver to be built for ARM64 SoCs such as i.MX8M Alexander Stein
@ 2019-08-07 13:25 ` Schrempf Frieder
0 siblings, 0 replies; 6+ 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,
linux-kernel
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] 6+ messages in thread
* Re: [PATCH] net: fec: Allow the driver to be built for ARM64 SoCs such as i.MX8
2019-08-07 12:20 ` Fabio Estevam
@ 2019-08-07 13:25 ` Schrempf Frieder
0 siblings, 0 replies; 6+ messages in thread
From: Schrempf Frieder @ 2019-08-07 13:25 UTC (permalink / raw)
To: Fabio Estevam
Cc: David S. Miller, Ioana Radulescu, Claudiu Manoil,
Thomas Gleixner, Yangbo Lu, netdev, linux-kernel
On 07.08.19 14:20, Fabio Estevam wrote:
> Hi Frieder,
>
> On Wed, Aug 7, 2019 at 9:04 AM Schrempf Frieder
> <frieder.schrempf@kontron.de> wrote:
>>
>> From: Frieder Schrempf <frieder.schrempf@kontron.de>
>>
>> The FEC ethernet controller is used in some ARM64 SoCs such as i.MX8.
>> To make use of it, append ARM64 to the list of dependencies.
>
> ARCH_MXC is also used by i.MX8, so there is no need for such change.
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.
>
> By the way: arch/arm64/configs/defconfig has CONFIG_FEC=y by default.
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-08-07 13:25 UTC | newest]
Thread overview: 6+ 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 11:44 ` [PATCH] net: fec: Allow the driver to be built for ARM64 SoCs such as i.MX8 Schrempf Frieder
2019-08-07 12:20 ` Fabio Estevam
2019-08-07 13:25 ` Schrempf Frieder
2019-08-07 12:09 ` [PATCH] i2c: imx: Allow the driver to be built for ARM64 SoCs such as i.MX8M 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).