From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 81220C433EF for ; Wed, 29 Dec 2021 15:23:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:Subject:From:References:Cc:To: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LQdOmZI9La2R8IOgdWARfurrA4C3xvHyzo8UWR7kZMo=; b=aDQPc4zltRIHTu 0g73nc4TOSU+DUkIhR7nDxbkUlSu4RygYYLTJ24YkH95tWkiSdGCS7cDJediIGHwSRtgQuOnqu7T6 ppcS8qyBmnkbCgMesOdPZBmCB5gEqiSZ9pVXafzrV6kgN3aZAAOrq+ayT5FcW6rMTAzvEeeDQ5UvC D6xnzQnKoedDHfBlaLFPR39yEs5XVxRhTXcla0I0HIOb48Smrw7UJsWhrYUpM17ydQ0G0obYkNMjE jzPZ7l2eTrjzxqjwZ68Sh7k/pM0SXIpxyefVM2REab8GYYco4NEPoAk/nvHD+q5HEg0v72Mi6QLth E2Hf2B9LCYsYbTaOxKRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n2amJ-0030do-PJ; Wed, 29 Dec 2021 15:22:11 +0000 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n2amG-0030dT-I9 for linux-arm-kernel@lists.infradead.org; Wed, 29 Dec 2021 15:22:09 +0000 Received: by mail-wr1-x42b.google.com with SMTP id s1so45162464wrg.1 for ; Wed, 29 Dec 2021 07:22:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:content-language:to:cc :references:from:subject:in-reply-to:content-transfer-encoding; bh=sTlsJk6fgdPgEQy5tYoKBcpGYLJ94wt81Boye+wusEo=; b=f864DTdNmKce0giPakxwtHGURp8fPIziMVJHYwP95w2JcxVM0EExuXgzoBDMjH8RUQ YpufOVjhtOooCC7mnQGjZo2P9/jPqQlInglH99xiXSLaShOt7Z1KLfj8T28FAgqlxJKT DmFtbqrWJsiMdLcgTZ/L/EDoOMX6OAJBV+yPSHJ7k3DzcJPt4fjbgfm2/FmqIMC4oz8z O28FMpbp9KCoXmkPmn+N4taU4oPhGO7Ly2NAo8lbXSv/5o12d8ECoNTia3Id5whYwQOJ YfDIElQIuxmtEsAm2lDi3I/G9vLDc0aKb8CzzSYpIAr3rXPQ4kAXPajtK4oxdSNoXYGN nZmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:cc:references:from:subject:in-reply-to :content-transfer-encoding; bh=sTlsJk6fgdPgEQy5tYoKBcpGYLJ94wt81Boye+wusEo=; b=vzjiyoZgOA2SJ8mqJW3J4plbR8Btg1bWHI1w3YqdeU5+nl/ueTXhocUSbIVRlqPN6X Je0EYNL39HeZ6EAOv0XRuM+3efNOyQ9W6M3waEDDbyuDZA2KKqemT6wrHXEG6tS97tzW OV4k7V/VAi4Isgs4CKfujg+fPO0N5EomiYO3JF1o0zklOWYoqkPXB/nYsvAtuTdcKHsP pktfpdmWKsF6U5U2GiqTdl9D6CFvrV/eF9nZAOryM1pcpxHMV0w75yfpDGcQgbnm8Isy X89VMYqaMp/cy7XuaLonfCl0P3LM/q420uxxy8eb/W4dkrg2pTpcHDhkq4J1nf+KOIjk /RQg== X-Gm-Message-State: AOAM532qzHyR/qPfKeedcqwk/VEDwvJreSU4Ce3mabZjelHdvnT4oEu/ 91j3h7fdWwzY9ocLDKOFOCA= X-Google-Smtp-Source: ABdhPJzDT7+Rp/h+VzuaTTtrAX0MHh/t0UPWuFAwiATQA5boBr3ec55ht8diSgECzfKzwSYNSwcxZA== X-Received: by 2002:adf:fa83:: with SMTP id h3mr21479889wrr.434.1640791325584; Wed, 29 Dec 2021 07:22:05 -0800 (PST) Received: from [192.168.2.177] ([207.188.161.251]) by smtp.gmail.com with ESMTPSA id s1sm23919768wmh.35.2021.12.29.07.22.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 07:22:05 -0800 (PST) Message-ID: <872b08a5-169e-45da-9e7e-4ece481514c7@gmail.com> Date: Wed, 29 Dec 2021 16:22:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Content-Language: en-US To: Felix Fietkau , linux-arm-kernel@lists.infradead.org, Russell King Cc: john@phrozen.org, linux-kernel@vger.kernel.org References: <20211220211854.89452-1-nbd@nbd.name> <20211220211854.89452-5-nbd@nbd.name> From: Matthias Brugger Subject: Re: [PATCH v8 04/14] ARM: Add basic support for Airoha EN7523 SoC In-Reply-To: <20211220211854.89452-5-nbd@nbd.name> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211229_072208_675481_91496957 X-CRM114-Status: GOOD ( 20.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 20/12/2021 22:18, Felix Fietkau wrote: > From: John Crispin > > 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 > Signed-off-by: Bert Vermeulen > Signed-off-by: Felix Fietkau > --- > 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