linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Matthias Brugger <matthias.bgg@gmail.com>
To: Felix Fietkau <nbd@nbd.name>,
	linux-arm-kernel@lists.infradead.org,
	Russell King <linux@armlinux.org.uk>
Cc: john@phrozen.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v8 04/14] ARM: Add basic support for Airoha EN7523 SoC
Date: Wed, 29 Dec 2021 16:22:04 +0100	[thread overview]
Message-ID: <872b08a5-169e-45da-9e7e-4ece481514c7@gmail.com> (raw)
In-Reply-To: <20211220211854.89452-5-nbd@nbd.name>



On 20/12/2021 22:18, Felix Fietkau wrote:
> From: John Crispin <john@phrozen.org>
> 
> EN7523 is an armv8 based silicon used inside broadband access type devices
> such as xPON and xDSL. It shares various silicon blocks with MediaTek
> silicon such as the MT7622.
> 
> Signed-off-by: John Crispin <john@phrozen.org>
> Signed-off-by: Bert Vermeulen <bert@biot.com>
> Signed-off-by: Felix Fietkau <nbd@nbd.name>
> ---
>   arch/arm/Kconfig | 12 ++++++++++++
>   1 file changed, 12 insertions(+)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index f0f9e8bec83a..8dcd05ef31cc 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -573,6 +573,18 @@ config ARCH_VIRT
>   	select HAVE_ARM_ARCH_TIMER
>   	select ARCH_SUPPORTS_BIG_ENDIAN
>   
> +config ARCH_AIROHA
> +	bool "Airoha SoC Support"
> +	depends on ARCH_MULTI_V7
> +	select ARM_AMBA
> +	select ARM_GIC
> +	select ARM_GIC_V3
> +	select ARM_PSCI
> +	select HAVE_ARM_ARCH_TIMER
> +	select COMMON_CLK
> +	help
> +	  Support for Airoha EN7523 SoCs
> +

We should add a new subfolder
arm/mach-airoha or add the config in arm/mach-mediatek, as it re-uses part of 
the MediaTek IP.

Please merge this with 3/14

I also wonder if this actually boots. I suspect we need DT_MACHINE_START() macro 
and the compatibles defined. It's many years ago I did this for MediaTek but I 
remember that the system won't boot without that. Maybe things have changed over 
time though.

Regards,
Matthias

>   #
>   # This is sorted alphabetically by mach-* pathname.  However, plat-*
>   # Kconfigs may be included either alphabetically (according to the
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2021-12-29 15:23 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-20 21:18 [PATCH v8 00/14] Add support for Airoha EN7523 SoC Felix Fietkau
2021-12-20 21:18 ` [PATCH v8 01/14] dt-bindings: Add vendor prefix for Airoha Felix Fietkau
2021-12-29 14:47   ` Matthias Brugger
2021-12-20 21:18 ` [PATCH v8 02/14] dt-bindings: arm: airoha: Add binding for EN7523 SoC and EVB Felix Fietkau
2021-12-29 14:48   ` Matthias Brugger
2021-12-20 21:18 ` [PATCH v8 03/14] ARM: dts: Add basic support for Airoha EN7523 Felix Fietkau
2021-12-21 15:02   ` Marc Zyngier
2021-12-22 16:04     ` Felix Fietkau
2021-12-22 18:07       ` Marc Zyngier
2021-12-20 21:18 ` [PATCH v8 04/14] ARM: Add basic support for Airoha EN7523 SoC Felix Fietkau
2021-12-29 15:22   ` Matthias Brugger [this message]
2021-12-20 21:18 ` [PATCH v8 05/14] ARM: multi_v7_defconfig: Add " Felix Fietkau
2021-12-20 21:18 ` [PATCH v8 06/14] dt-bindings: Add en7523-scu device tree binding documentation Felix Fietkau
2021-12-20 21:18 ` [PATCH v8 07/14] clk: en7523: Add clock driver for Airoha EN7523 SoC Felix Fietkau
2021-12-21 14:06   ` Arnd Bergmann
2021-12-22 15:35     ` Felix Fietkau
2021-12-20 21:18 ` [PATCH v8 08/14] ARM: dts: add clock support for Airoha EN7523 Felix Fietkau
2021-12-20 21:18 ` [PATCH v8 09/14] dt-bindings: PCI: Add support for Airoha EN7532 Felix Fietkau
2021-12-20 21:18 ` [PATCH v8 10/14] PCI: mediatek: Allow building for ARCH_AIROHA Felix Fietkau
2022-01-05 14:50   ` Lorenzo Pieralisi
2021-12-20 21:18 ` [PATCH v8 11/14] ARM: dts: Add PCIe support for Airoha EN7523 Felix Fietkau
2021-12-20 21:18 ` [PATCH v8 12/14] dt-bindings: arm: airoha: Add binding for Airoha GPIO controller Felix Fietkau
2021-12-20 21:18 ` [PATCH v8 13/14] gpio: Add support for Airoha EN7523 " Felix Fietkau
2021-12-21 13:49   ` Arnd Bergmann
2021-12-22  2:34     ` Linus Walleij
2021-12-22  7:56   ` Bartosz Golaszewski
2021-12-22 12:03   ` Andy Shevchenko
2021-12-20 21:18 ` [PATCH v8 14/14] ARM: dts: add GPIO support for Airoha EN7523 Felix Fietkau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=872b08a5-169e-45da-9e7e-4ece481514c7@gmail.com \
    --to=matthias.bgg@gmail.com \
    --cc=john@phrozen.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=nbd@nbd.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).