From patchwork Fri Sep 15 07:10:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Wang X-Patchwork-Id: 140377 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp979471vqi; Fri, 15 Sep 2023 04:44:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHSMLeJ45ECqkiJ+ne0vM4wHPT34xVMBljB2GpjdT99NhcY3N5PXWhmfDjCa7V9vtJnzBIO X-Received: by 2002:a17:90b:1055:b0:263:829:2de with SMTP id gq21-20020a17090b105500b00263082902demr1105976pjb.2.1694778299320; Fri, 15 Sep 2023 04:44:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694778299; cv=none; d=google.com; s=arc-20160816; b=SQTM6Z7xzce7vcAKG9GxcJdg5Hl6Wh9EWDnceUjn9WCl+4HYbc59txmBNulI181XEg QAZPceDbgEBdUT9/45Ib0EeAI6tnXrRvBSR3d5/iWKjRhSeadNtW1uLfpnMWBVkEL8rI EtYGfkVPEwPryVkCCa7CQtxIC9ImJ2beUBZvqVANspTjgsjWXblaCwAMplX0NxfimbM5 ZUB/uZtCxxN5E2neMWaN8C/w93XA/0CE5Lh+pLIrCQ9H6ze2xdbHjSA52VIch98bCw7k wVA4Gj+9UT5G+PWTxkI//PSRbtDNrTwDEiGbQihtErslNa0BdgqIZFO+C197RjRQANPn m4kw== 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.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id y22-20020a17090abd1600b00250331e6044si3152901pjr.25.2023.09.15.04.44.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 04:44:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; 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.36 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 pete.vger.email (Postfix) with ESMTP id 4F12981A32BD; Fri, 15 Sep 2023 00:11:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232641AbjIOHLF (ORCPT + 33 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 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 pete.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 (pete.vger.email [0.0.0.0]); Fri, 15 Sep 2023 00:11:12 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777099348484029044 X-GMAIL-MSGID: 1777103849741092119 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"