From patchwork Wed Sep 27 08:28:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Wang X-Patchwork-Id: 145554 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2852584vqu; Wed, 27 Sep 2023 12:26:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG1y52NvyC+/KIvFgNoyDgg6i8JDWXNOvgU/R+brIh+3S/H+Zy5sDV7HZV4UfgCTpl3m4Q5 X-Received: by 2002:a05:6358:9895:b0:140:f08b:4f35 with SMTP id q21-20020a056358989500b00140f08b4f35mr3523183rwa.21.1695842803187; Wed, 27 Sep 2023 12:26:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695842803; cv=none; d=google.com; s=arc-20160816; b=LNQNxAbSYA+L9nzMvXf3hLU6lKbbX7sY8Kkm5Q3IM8O+tqi7HmKUfpOr6sdx8lf3O9 IRKO+UfiuAsIeklFw6BRCboMRin8NXjDE8oKB5I6wQP+RYVuonOEBZ5wMrIPH3xlPDmM 8henhUNK80NB8u3Q5jtObRvmzzAZxZ2JiGjXsyBlXu5D+VS+g3InMUkajHO2BbidQisG G0UTDnZVyt/ieiCasU4zInF+EuHhr7SgmsO40MDfS48ipKOW2HHzkDYgJv2R9nPArhEu vbcS63TXsfQ4+Hz4pPrXga3frQwjZjXT2jaO3LEE3DH3ilLLWLEQM/njVD5DIxailO8q SLRw== 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 :dkim-signature; bh=YZTi49m1tRqik4s4OIHpvu+DZ0pGT5ycjrh8hjwTA/U=; fh=pw1r2EySvNtvqWWxqFICASbN0ZF7OeKc5VxpBjAm18E=; b=RpnCxEcvsxJckaqOMXcTHrigF915tiYVwrLP08N64gWZg6WtVi5/ghH9zNqwsP5+LD Pjr50DN1rEceYjpzO8sP+BkwGtgmah0rVs3rSP7kx8xVVJpzkJ5fFwp/v9cGr2i5uVDi m/T2QK2qiziykNqfHEHcsxsmXcTPg3zcMJsJJgjfH0+zuxskHKXgmL9vlCuSm95v5YIv vqrEzx38BwqrVSRge63Mv3hVrJzrnRrIHMILxzsxSs74MJuLoPyZcfATZ2GkqsBjCvDf vGs4095XqzsmuGdEHr7LK+LsXFx9jULStdQrhidJrfrwjMwy9NUgJRhIXLKKCwdO/80k OOkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EtBwKVQM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id t23-20020a656097000000b0058555ea0a23si2126541pgu.512.2023.09.27.12.26.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 12:26:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EtBwKVQM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 93DD8804B2AA; Wed, 27 Sep 2023 01:29:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230326AbjI0I3B (ORCPT + 23 others); Wed, 27 Sep 2023 04:29:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230310AbjI0I23 (ORCPT ); Wed, 27 Sep 2023 04:28:29 -0400 Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDE19192; Wed, 27 Sep 2023 01:28:28 -0700 (PDT) Received: by mail-oi1-x229.google.com with SMTP id 5614622812f47-3af57ce3d11so475546b6e.1; Wed, 27 Sep 2023 01:28:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695803308; x=1696408108; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YZTi49m1tRqik4s4OIHpvu+DZ0pGT5ycjrh8hjwTA/U=; b=EtBwKVQMdY6BlYCL/Yt43p6yAbcBvo/VUwU2XoptTJpks4Nadi4Zr144Ji0C2IW2vV 8ZXifBqDbd0bINgnlismcaWSTlLVsaxMlhRw7cVIrO0OJvyx402jbPpKiLfesqqMSZpk HFzA0tsaJEKFK1sSUIr07M5LNGuaELueuO178HWAkEt7usqVE/3u9+QHFKZLg1cTRjJE NNac6ovyDlngPOVN5IizgEQyS+0OwGDe04QqNJ4FMlVbLzAUbGCeoilkSBKY4qlSfkLn LghjKVDKVEMfEXxd971sG8Id2eU6w1LqouORHijmNkX9jE6IRMZk8hvVX1LoAc0mgkWY exNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695803308; x=1696408108; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YZTi49m1tRqik4s4OIHpvu+DZ0pGT5ycjrh8hjwTA/U=; b=K9xfuuLd4WWSo+EK3IIJWxj0YC2DHtmk+/Y1CtmrOv/jPOsXC12LPQ30jtce4rYobI 0Xp5AhdHT3bwM5le2quXiT145EdFubG2M7wY5JiQZnn8TsVhxm+Nhyn522A3Jqbkal8/ f7JwYcZj4eHkkXzff6yB8b73w0D4yxORjj0qVmKpOUhshOEBsFE3YV59XUHROxGdnjks aek4azmEt3/+1aP2WK8KwKcWjZ8RcJahtHMTiy+3VOQ7F7WSstMnfRmO8VMUn6WZXQP+ pqh+Mo7PpiI0iS2YWweBdH9jhdBiAsv4kNzb9BhnUbJ73AMUsZZ0NfRfebFdNWJPhNp6 H54g== X-Gm-Message-State: AOJu0YyXfHTYu2t1Ph+Lb6zmZMJTfVMlo6pJZSH2gyVPf/KhXBYHTLqV tGmHpYuadQFL3P0LBdYns8g= X-Received: by 2002:a05:6871:549:b0:1d6:6083:63a3 with SMTP id t9-20020a056871054900b001d6608363a3mr1630424oal.37.1695803308124; Wed, 27 Sep 2023 01:28:28 -0700 (PDT) Received: from localhost.localdomain ([122.8.183.87]) by smtp.gmail.com with ESMTPSA id eg46-20020a05687098ae00b001dd17c5356dsm1359148oab.11.2023.09.27.01.28.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 01:28:27 -0700 (PDT) From: Chen Wang To: aou@eecs.berkeley.edu, chao.wei@sophgo.com, conor@kernel.org, devicetree@vger.kernel.org, guoren@kernel.org, jszhang@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, palmer@dabbelt.com, paul.walmsley@sifive.com, robh+dt@kernel.org, xiaoguang.xing@sophgo.com, apatel@ventanamicro.com, unicorn_wang@outlook.com Cc: Conor Dooley , Chen Wang Subject: [PATCH v3 01/11] riscv: Add SOPHGO SOC family Kconfig support Date: Wed, 27 Sep 2023 16:28:22 +0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 27 Sep 2023 01:29:27 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778184965315048965 X-GMAIL-MSGID: 1778220062688281439 The first SoC in the SOPHGO series is SG2042, which contains 64 RISC-V cores. Reviewed-by: Guo Ren Reviewed-by: Conor Dooley Acked-by: Chao Wei Signed-off-by: Chen Wang Signed-off-by: Chen Wang --- arch/riscv/Kconfig.socs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs index 6833d01e2e70..d4df7b5d0f16 100644 --- a/arch/riscv/Kconfig.socs +++ b/arch/riscv/Kconfig.socs @@ -22,6 +22,11 @@ config SOC_SIFIVE help This enables support for SiFive SoC platform hardware. +config ARCH_SOPHGO + bool "Sophgo SoCs" + help + This enables support for Sophgo SoC platform hardware. + config ARCH_STARFIVE def_bool SOC_STARFIVE