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 79C47C433EF for ; Thu, 25 Nov 2021 13:23:22 +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:From:References:Cc:To:Subject: 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=77cGXNbxhVniBOdB0O4L7ZF3v1XH3a2J6+BC8Zp6fw0=; b=gqH3bPpnntsrXR E6u0wrhU/t6HpO37LErgc7Qs3+stRyvfc0v+KUzXHi0hQpuOfWEBnN2T7iOh4buMYNSwIhaMPMP+I plNQlQ8/Xu0AAvMx/CfUWyTcvMEL+6jZbPkRnxbG0PjMsErhnUC4n7yXJIROZf62ZVjQ5bj0/T/Rn EpknAn8CEzEz0y4JpWar1o32UX2i6wIqTaoV4dOTjGE6K1I53AMCeBmRrAfu9SKKay0HPkQPc+OoF +qWc9C3mKpaeVYBqX8P5KwgiQxNu+IGLTptAAz/J3Ur9ev4Q9m0N+8xMeP053opdS6soRsasF8qB2 vIsCbycyu56C1OqfVTJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqEh8-007dZb-4O; Thu, 25 Nov 2021 13:21:46 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqEh3-007dYR-Ts for linux-arm-kernel@lists.infradead.org; Thu, 25 Nov 2021 13:21:43 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B7EC51FB; Thu, 25 Nov 2021 05:21:38 -0800 (PST) Received: from [10.57.56.56] (unknown [10.57.56.56]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C84213F66F; Thu, 25 Nov 2021 05:21:37 -0800 (PST) Message-ID: Date: Thu, 25 Nov 2021 13:21:33 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: [PATCH v4 04/12] ARM: Add basic support for Airoha EN7523 SoC Content-Language: en-GB To: Felix Fietkau , linux-arm-kernel@lists.infradead.org, Russell King Cc: john@phrozen.org, linux-kernel@vger.kernel.org References: <20211125110738.41028-1-nbd@nbd.name> <20211125110738.41028-5-nbd@nbd.name> From: Robin Murphy In-Reply-To: <20211125110738.41028-5-nbd@nbd.name> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211125_052142_065641_87554356 X-CRM114-Status: GOOD ( 16.54 ) 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 2021-11-25 11:07, 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 > --- > arch/arm/Kconfig | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index f0f9e8bec83a..8468361a8721 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -573,6 +573,20 @@ 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_DMA_USE_IOMMU Is this really needed? TBH I'd be rather surprised to see IOMMUs in a small-scale embedded router SoC, or are there others in a similar vein to MT7623N with random multimedia bits thrown in as well? > + select ARM_PSCI > + select HAVE_ARM_ARCH_TIMER > + select IOMMU_DMA This does nothing (except bloat your image with some dead code which won't be called). Robin. > + select COMMON_CLK > + help > + Support for Airoha EN7523 SoCs > + > # > # 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