Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3504421rwb; Tue, 16 Aug 2022 04:23:31 -0700 (PDT) X-Google-Smtp-Source: AA6agR5yttzmDl2BfDOGGYknWeW6Gp8EN/15W12lYNQC6Xcrh/RQ5H6jq89UB+2KfuScQPg4aqtx X-Received: by 2002:a05:6402:90d:b0:443:ef4c:480f with SMTP id g13-20020a056402090d00b00443ef4c480fmr4745274edz.128.1660649010995; Tue, 16 Aug 2022 04:23:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660649010; cv=none; d=google.com; s=arc-20160816; b=xELEg5UBbRnxhyzI8pQIcOoJiZPYdDlQjgDR3opI1h4Tk0xlwuSzaQxoD/MNEDLePR TckRp/qt6M1Enj6iuHY5V0W5umfWDqm8k68poFlqFgqiwx1RWUbpYZhUAetUNS4cA9Y8 43LpoYeHxITZqc+hEE4ccaX276+ZUt7smomim0Jv/CBEieb0i0FiDwLUCkTwmRF0DJfP anhwen2UQy6te6A0NOJllz2AKrhOkzKBbupYUAqid6hUQnWL590SAS9NL/rhmSKdTsf0 yhNHE3SVnQ51nrdj91ocz6jgo/KwuvxuTzes7W9a2pF0BXxPz9HFs17Q6htdwfP7xaAi GtAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=kti9sa1XNMelPhrLihb9PJObvQkfL4WP2rgqcLVqJAc=; b=IMSL5vFN1xLneyDNLBUtrJvr4zC9naxkVYQPXABNk5wS6w8apNJEapHyufSpqyNgNo vUlCRg6mQR4kxH97H8kAficfoI+StMZzNxlMHn3PnDoWOD8qWcoMRdNzqnhPPZgNv1YV AJRUWZJVHmVo4tBnLUGr8YVuQfKdGs2D12lXpVphFDKHH2Ed6OlZVfHBkZcxf2p4iJhc TVLlGYEJTfjVvhprDOI4hoq3eqoZTKGb/yYfppZ+nqhwxirHFG5Phjvt+0CGUSgR9PgA mMQ/BZFpvl4mr3GfKB4HeARDIu8pkzIvDVZr/eJwXuiyrEJsc3JYjBr88uthcCcy2BAO v8Eg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f7-20020a50fe07000000b00445a524aaefsi180003edt.210.2022.08.16.04.23.05; Tue, 16 Aug 2022 04:23:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234385AbiHPKL1 (ORCPT + 99 others); Tue, 16 Aug 2022 06:11:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233759AbiHPKK6 (ORCPT ); Tue, 16 Aug 2022 06:10:58 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB7DDB84; Tue, 16 Aug 2022 02:17:32 -0700 (PDT) Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oNshO-0002qi-Pk; Tue, 16 Aug 2022 11:17:22 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: samuel@sholland.org, wens@csie.org, jernej.skrabec@gmail.com, linux-sunxi@lists.linux.dev, palmer@dabbelt.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, Conor.Dooley@microchip.com Subject: Re: [PATCH 05/12] riscv: Add the Allwinner SoC family Kconfig option Date: Tue, 16 Aug 2022 11:17:22 +0200 Message-ID: <10785313.BaYr0rKQ5T@diego> In-Reply-To: References: <20220815050815.22340-1-samuel@sholland.org> <20220815050815.22340-6-samuel@sholland.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Montag, 15. August 2022, 18:56:23 CEST schrieb Conor.Dooley@microchip.com: > On 15/08/2022 06:08, Samuel Holland wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > > > 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. > > Hey Samuel, > I think this and patch 12/12 with the defconfig changes should be > deferred until post LPC (which still leaves plenty of time for > making the 6.1 merge window). We already have like 4 different > approaches between the existing SOC_FOO symbols & two more when > D1 stuff and the Renesas stuff is considered. On the other hand, I don't really think it's that hard to change things after the fact? I.e. ARCH_SUNXI is pretty much set in stone anyway, so there isn't very much that _could_ change without affecting most driver subsystems in the kernel. So I don't think we'd actually need to wait with the Allwinner symbol. Heiko > Plan is to decide at LPC on one approach for what to do with > Kconfig.socs & to me it seems like a good idea to do what's being > done here - it's likely that further arm vendors will move and > keeping the common symbols makes a lot of sense to me... > > Thanks, > Conor. > > > > > Signed-off-by: Samuel Holland > > --- > > > > arch/riscv/Kconfig.socs | 9 +++++++++ > > 1 file changed, 9 insertions(+) > > > > diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs > > index 69774bb362d6..1caacbfac1a5 100644 > > --- a/arch/riscv/Kconfig.socs > > +++ b/arch/riscv/Kconfig.socs > > @@ -1,5 +1,14 @@ > > menu "SoC selection" > > > > +config ARCH_SUNXI > > + bool "Allwinner sun20i SoCs" > > + select ERRATA_THEAD if MMU && !XIP_KERNEL > > + 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_MICROCHIP_POLARFIRE > > bool "Microchip PolarFire SoCs" > > select MCHP_CLK_MPFS > > -- > > 2.35.1 > > > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv >