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 C7DA7C4332F for ; Thu, 8 Dec 2022 09:29:08 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:References: In-Reply-To:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HBxsoYSsrmeZqYunnJg0nX+iVfJsAYXt20CPZHztJ/k=; b=ZHpq1PxwoaOx5s fo0osj0kloZRLxkgRaT9dNhsN5L5/A6fR5IKkSTUAAaKbv0njvDPLO4gDiK+Y/0/65LoMdZoUg1GX udwsmFYMNGnL8h+tyQ+6bCxgQyUfDRl1Bg4333rITPg0YqTuXCChhLnV9LfaIIYm/Pw9ufAVXUYMq mbSRs0hasQW9OUPavGKSejNH8Qf9I/NJGB0rekW+c8bmJ9Ygq1yz6U+oYYoRbKXPFaXHPNZLpyPi4 igE3nhqluPt3w9+Y9+FIKtyohjAqxq2ttJgUAPZHEZiW2ETDmwHsUS/bXXdsNrLbDTJ0eOlYeH8Ee 559HsWnBIgfnDl1mP5yg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p3DBz-00AriV-Hh; Thu, 08 Dec 2022 09:27:48 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p3CwH-00Afz0-FU; Thu, 08 Dec 2022 09:11:35 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 329CC61E2E; Thu, 8 Dec 2022 09:11:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4AFDDC433C1; Thu, 8 Dec 2022 09:11:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670490691; bh=eB4ZBzqRKY2P+/+kH7tim6V7TrIqU7mlpztlV40cPFU=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=PHwu2bk4WOCZYFh8XO3jtWg/Pqk7EEQQjg33qH6C+4xAIGzOCLb9mTyZPJNKenFKo 22Tz49fpit01wAbYhQoch29pUGvrdFyc56IqREzb/3ZFkO6Ew1hUfM7eljfGv/VKr3 BPmKjO/WI8WMSz7locQd3+fD8Xq6Vov/4VvXJGhgjJdEjC/3QZXno3fpgw10qpapE0 B+KWpPk2e9BtlSulZzHDCwkokUFo24XuJji5J0V3o9ExtUjINHnyL6X8+PsogYCzZO gHndsRDdhhWB8CMm7/VHXWcENBVU4I36xOXK1Ssifwc1kiHf+B6IOw4jZnJRSk/aCA ua3TxYplb88XA== Date: Thu, 08 Dec 2022 10:10:49 +0100 From: Conor Dooley To: Samuel Holland , Chen-Yu Tsai , Jernej Skrabec , linux-sunxi@lists.linux.dev, Palmer Dabbelt , linux-riscv@lists.infradead.org CC: Jisheng Zhang , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski , Rob Herring , Heiko Stuebner , linux-arm-kernel@lists.infradead.org, Andre Przywara , Palmer Dabbelt , Guo Ren Subject: =?US-ASCII?Q?Re=3A_=5BPATCH_v3_11/12=5D_riscv=3A_Add_the?= =?US-ASCII?Q?_Allwinner_SoC_family_Kconfig_option?= User-Agent: K-9 Mail for Android In-Reply-To: <20221208090237.20572-12-samuel@sholland.org> References: <20221208090237.20572-1-samuel@sholland.org> <20221208090237.20572-12-samuel@sholland.org> Message-ID: <3480FA50-B88E-4BD9-8E9F-27F231C2BAC6@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221208_011133_686448_D2930C26 X-CRM114-Status: GOOD ( 12.12 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Acked-by: Conor Dooley On 8 December 2022 10:02:36 GMT+01:00, Samuel Holland wrote: >Allwinner manufactures the sunxi family of application processors. This >includes the "sun8i" series of ARMv7 SoCs, the "sun50i" series of ARMv8 >SoCs, and now the "sun20i" series of 64-bit RISC-V SoCs. > >The first SoC in the sun20i series is D1, containing a single T-HEAD >C906 core. D1s is a low-pin-count variant of D1 with co-packaged DRAM. > >Most peripherals are shared across the entire chip family. In fact, the >ARMv7 T113 SoC is pin-compatible and almost entirely register-compatible >with the D1s. > >This means many existing device drivers can be reused. To facilitate >this reuse, name the symbol ARCH_SUNXI, since that is what the existing >drivers have as their dependency. > >Acked-by: Palmer Dabbelt >Reviewed-by: Guo Ren >Reviewed-by: Heiko Stuebner >Tested-by: Heiko Stuebner >Signed-off-by: Samuel Holland >--- > >Changes in v3: > - ARCH_SUNXI depends on MMU && !XIP_KERNEL > >Changes in v2: > - Sort Kconfig as if we had done s/SOC_/ARCH_/ for future-proofing > > arch/riscv/Kconfig.socs | 10 ++++++++++ > 1 file changed, 10 insertions(+) > >diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs >index 69774bb362d6..f655dea86d69 100644 >--- a/arch/riscv/Kconfig.socs >+++ b/arch/riscv/Kconfig.socs >@@ -26,6 +26,16 @@ config SOC_STARFIVE > help > This enables support for StarFive SoC platform hardware. > >+config ARCH_SUNXI >+ bool "Allwinner sun20i SoCs" >+ depends on MMU && !XIP_KERNEL >+ select ERRATA_THEAD >+ select SIFIVE_PLIC >+ select SUN4I_TIMER >+ help >+ This enables support for Allwinner sun20i platform hardware, >+ including boards based on the D1 and D1s SoCs. >+ > config SOC_VIRT > bool "QEMU Virt Machine" > select CLINT_TIMER if RISCV_M_MODE _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel