From patchwork Wed Sep 27 08:58:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Wang X-Patchwork-Id: 145268 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2488929vqu; Wed, 27 Sep 2023 02:04:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGG8y914GgOQwC18+nKHrCB0bP7Np0aYXuUZRWx/MXMRlUM2IUj74mDT8dnREcJMaoWD+Q5 X-Received: by 2002:a05:6808:3dc:b0:3a3:f13f:8036 with SMTP id o28-20020a05680803dc00b003a3f13f8036mr1419571oie.11.1695805477810; Wed, 27 Sep 2023 02:04:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695805477; cv=none; d=google.com; s=arc-20160816; b=cnkoupTA892dPqv+DoIjUsI4v3KbZ44G9u4nkkslzBrIojXWP2jMHmyJ7oPQSxv/P9 NoQGwcHBI83rFVp+Y6KPTmqACd6hndqZP6TsxYXU5clKzd/7ahcJMmVzGu5eWD6BWXoG p5ua+Dz5Idmm516FtihWE6b/oHaKBF1YHdYHRvOkAgasE8I4okm4MOgk6WCspqFIveoP umpssH5SkiY5VnH8MVqy9CUMUR+TYsvCWmZ2VE0t6dko1gJgLAk15Xgiyr0Bi/5cV1Fu 2mjcnAxIJCIUABKsUT/Los2WhyXgQ9t1QZe2YRbzV3dsKB+3DqZOtg0wahMvf3wIFLYl 4rTw== 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=7KlZjhGT1h3RcXZy5SSSr2A1SyU8L3iq2ptbtLZUXkI=; b=MBCYTy3PNDbjROjMjeSmzzrIdRjesNKDEsrSw384tU7Cewx9bvC01tpzcZsnZF0R1b 53SOXEH9CwygL799q0OT+b2n1G5Dfzl+T3ix4YdK6CR8C0gqtl06jDL6RaetNs1Dk4SC qhp8iiq7bPtOpOLr1704NwWiQs0ub67d6jMUsaEOGH4Cn3/AU4kDYB4g9FO9YNHBTibM U2YsgGFlvnIe2K0xn1ouCxTo3AmHq4QabOh+trvHtuusPoWzW6+ktQKpvWxn9lQTjjYa v5SG0ePQ8l3OEGpiMNTAgO3wps1eBQUtvM3GR1V7VVbHcbSrDVwziEvzcgbZP95aXMhG jisA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=aDF7+gdC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id m1-20020a656a01000000b0056a670ebd73si17474624pgu.498.2023.09.27.02.04.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 02:04:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=aDF7+gdC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id 7E78980DE61E; Wed, 27 Sep 2023 01:58:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230318AbjI0I6a (ORCPT + 24 others); Wed, 27 Sep 2023 04:58:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230127AbjI0I6Y (ORCPT ); Wed, 27 Sep 2023 04:58:24 -0400 Received: from mail-oa1-x2c.google.com (mail-oa1-x2c.google.com [IPv6:2001:4860:4864:20::2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F8A1193; Wed, 27 Sep 2023 01:58:21 -0700 (PDT) Received: by mail-oa1-x2c.google.com with SMTP id 586e51a60fabf-1dd54aca17cso2559845fac.3; Wed, 27 Sep 2023 01:58:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695805101; x=1696409901; 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=aDF7+gdCEH4nyH72m9/EVkkUlDwJY/EfZuQun+GC4CkZFlEkg1y/zFiSBoiZzQuN/e x7aty8NEOpxPUyPUnYsKiE4etNEmOr2Bdx3SZ3drKvv9WRc/mU9qseDcFwddTfjfXf0D XWIhhIoAUydQcw90a/GC1YG0RCC8AIwSLh0AjUBb97lCF1s0U7P+xWvMzMEn9hLPxgs5 iJ0SMoCwfjsFdJaLqKvZtp69YAVQS1TLZhP57QxYQq1xfq9dYoOkN7ntMK8nw3zAqTzL gbzG9mh+RiSuptTWpGISE9WLnvvXM9mLShH3Oa7LZ0RKnlSj4tNiAFkQbkZDnWUYsSeR Ikww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695805101; x=1696409901; 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=YVYSm2LsOrdjqhX8mz/bLaBXHJ5aKaYKjhV0s3zzxtvHBD3w126U0WEUxNu2/MWWcO JaLiHSsUvXrRdCnmO26r9eOz+YKfTva9Y0kMbFhXX/8ia//uI/cNpyzb8l2YfAiQhumA qrUKEdM+hb2+Bu+5zmUvg9q33HrQGRM0FCJ7gAlpWf6GeBoNjRDiPtKk7a0VwvGTbgZY DLjvQ/6DChx895aoyXfdMLDchPisAnH5fUNQIc5UI0AJ+wJz2akIHFgmdEKTP5cCpy1j pe9vyHoGBQGdQU/U+Of9Icb0MB+TaXydZDec+X2nydsB1B49hB791IbwTGhmi7XDUvMd teyA== X-Gm-Message-State: AOJu0YxplEZEJSNZLKcNpKZcPaebWsrw1p+JbKQwyWQW6aVYI7hTSgXQ vS50h+Ns8mXVbbg7s4mBXxY= X-Received: by 2002:a05:6870:46a5:b0:1dd:651a:7398 with SMTP id a37-20020a05687046a500b001dd651a7398mr1767181oap.2.1695805100614; Wed, 27 Sep 2023 01:58:20 -0700 (PDT) Received: from localhost.localdomain ([122.8.183.87]) by smtp.gmail.com with ESMTPSA id v3-20020a056870e28300b001dcde628a6fsm1962325oad.42.2023.09.27.01.58.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 01:58:20 -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 Cc: Chen Wang , Conor Dooley , Chen Wang Subject: [PATCH v3 01/11] riscv: Add SOPHGO SOC family Kconfig support Date: Wed, 27 Sep 2023 16:58:12 +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 agentk.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 (agentk.vger.email [0.0.0.0]); Wed, 27 Sep 2023 01:58:40 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778180924741381870 X-GMAIL-MSGID: 1778180924741381870 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