Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4569747rdb; Fri, 15 Sep 2023 06:21:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFoLQn/1W7PYC+czLlUmjm1ov8SgDLKHjGnbYvQQo+gJYLpmyDAWEx5UhMXn2uF0JbDZ20P X-Received: by 2002:a17:902:a983:b0:1c4:abc:b850 with SMTP id bh3-20020a170902a98300b001c40abcb850mr1245942plb.51.1694784080959; Fri, 15 Sep 2023 06:21:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694784080; cv=none; d=google.com; s=arc-20160816; b=yY7ILh30myaeb3oerIbWtz2m4gbjaJzDEdvgt3UD1dPGFWa1c/Z/kFzPa8PqETCFP2 IxOmef7aW+3QDPoYmeBCilfKwdFKL9wBDnR01VMFLk8N8X1VjHheNo8kEeXdEjOHWKFe ekN95AMRwc6R1+82wno8X3JvA88ALe53bQt3C2Pt3nlqvEt6LikNDJ4wXv+TJ7+oE9U3 xXGZ5TpefUdP1oAl4yBi2JBDyEQ2mVQVliIbG8jcWfBQqZrZOjdleaQjVeE8Jp9CDpUa V4a6rYdOOw5Uekvh6KNXXljcQB7WXm56EumH9uETzzX98EdICItuMcZQW20om7R01P6y QwVQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=qQmq9ukAgL6NI2NMuw97RcY8w9KjAc8eVRWmfFz2hDw=; fh=uX8GTfQZ4oxMzeIzkttJn/ljCrddTXNVgdIuxqRbyug=; b=oyCW1m5Ukz3lkPFSzYDLvsPF3ko39ER1bIdxJ2rzHqSoaJ1Jf43YPbidHUiBa8LM8I FXi5dF2JTL6bRDTX+bPxWe4ih7nTtXdq+fMG4KslYcSW6rP/LRqjCUQjonDkIFHz7JkM I/Rbbn5UVwWG8lnqDws1xsnhNo2Gd0F24HtGgvGmhutr4KEr1x2HkunKLoHyPwYVrv2r qTw7h3hedfjpG+MQrIvLLKBEiHjqzY3GH7/JIscglvi5xbhC/NXXCb/LJNl6hlGjbk/S 4eQmH+IrLvjb9uLqf9HTnkCSYVitMn+xgv5Ew6pOGpWWD2lapmV9IRLb05Hj1L6pe9Fp pFjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GFJA32dU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id q9-20020a170902dac900b001c0727658b0si3585326plx.283.2023.09.15.06.21.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 06:21:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GFJA32dU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 85596836D92B; Fri, 15 Sep 2023 00:11:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232640AbjIOHLF (ORCPT + 99 others); Fri, 15 Sep 2023 03:11:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232566AbjIOHLE (ORCPT ); Fri, 15 Sep 2023 03:11:04 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D351E6; Fri, 15 Sep 2023 00:10:58 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1c0d5b16aacso15379685ad.1; Fri, 15 Sep 2023 00:10:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694761857; x=1695366657; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qQmq9ukAgL6NI2NMuw97RcY8w9KjAc8eVRWmfFz2hDw=; b=GFJA32dUb50Rg2amSdiZfcKCZOnCPOaJ0YgC9xgY6xJuvzknKxj+S2ntfi2z+PZk9I dkc8qwnPbIezfUkM7XXEi7NNzGUw3xJZJou7jfRB0oro6Ec85MGFD2n7VulnsfzRzJeo cOh9/AErcOChRVKRmz3Zz+xpzDxz1YLMQMWiXnVQpVYzHmlhKhp5beQVZwOCiagydmSK +UIsqMshMThSg5gFaDM7E5cPXa4wfzz+zCvzBhL9OiF2EU4wLueTJH4Uikle+tdALZzz sDHGdD/ZoCGbJ+xFyC3P+HpwI3VC/vivw6ay3WeaFLsbPeD8+WMyxmVjatbhy59Ct8g5 Ez7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694761857; x=1695366657; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qQmq9ukAgL6NI2NMuw97RcY8w9KjAc8eVRWmfFz2hDw=; b=aUYPlGsebg1JEfwXw636LaEufRB4u873b9Euw5eLaIdiVE7OOlYFMqyonz37fExphn WCX/XHzAmUT4/KcVu2IklQoEnB0Eif7UuYDwpMKgvLovnF8FpHl869dVZhot8mPMzFjT Bb4FiXG3pfmUtN2A46O5KbpGefn+r8+ls3hS+IKLrdLL0Jee+uSwWQbhvs1AfDvquK8w TZQyDO6oj3Fo982mSG2uZ214kYrq8TCh+p698CGbK7sYgyXQctsQJDNZxU2F6W4QBdA9 Nt7G8nRTj4sSAMjgc4PDV6FlShG3hdyHe7d0F+32Ehoua+sOo+VAf7JM1DlG5Cl8WY67 OW8Q== X-Gm-Message-State: AOJu0YwRcN3V1OHeEjDqjiB3AQ9xpqONUZMu0R6IyZjpMVB7EefBQTeQ IJiekb2qT/El0xDoy/pQT+c= X-Received: by 2002:a17:902:c941:b0:1c3:ea2a:9058 with SMTP id i1-20020a170902c94100b001c3ea2a9058mr786561pla.65.1694761857415; Fri, 15 Sep 2023 00:10:57 -0700 (PDT) Received: from localhost.localdomain ([222.95.63.58]) by smtp.gmail.com with ESMTPSA id a15-20020a170902eccf00b001c0c79b386esm2749955plh.95.2023.09.15.00.10.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 00:10:57 -0700 (PDT) From: Wang Chen X-Google-Original-From: Wang Chen To: linux-riscv@lists.infradead.org, conor@kernel.org, aou@eecs.berkeley.edu, krzysztof.kozlowski+dt@linaro.org, palmer@dabbelt.com, paul.walmsley@sifive.com, robh+dt@kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, jszhang@kernel.org, guoren@kernel.org, chao.wei@sophgo.com, xiaoguang.xing@sophgo.com, Wang Chen Subject: [PATCH 01/12] riscv: Add SOPHGO SOC family Kconfig support Date: Fri, 15 Sep 2023 15:10:05 +0800 Message-Id: <20230915071005.117575-1-wangchen20@iscas.ac.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 fry.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 (fry.vger.email [0.0.0.0]); Fri, 15 Sep 2023 00:11:04 -0700 (PDT) From: "xiaoguang.xing" The first SoC in the SOPHGO series is SG2042, which contains 64 RISC-V cores. Signed-off-by: xiaoguang.xing Signed-off-by: Wang Chen --- arch/riscv/Kconfig.socs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs index 6833d01e2e70..fc7b5e6c7def 100644 --- a/arch/riscv/Kconfig.socs +++ b/arch/riscv/Kconfig.socs @@ -110,4 +110,14 @@ config SOC_CANAAN_K210_DTB_SOURCE endif # ARCH_CANAAN +config ARCH_SOPHGO + bool "Sophgo SoCs" + select SIFIVE_PLIC + help + This enables support for Sophgo SoC platform hardware. + SOPHGO is committed to become a provider of universal + computing power, focusing on the development and + promotion of computing power products such as AI and + RISC-V CPU. + endmenu # "SoC selection" -- 2.25.1