Message ID | cover.1695804418.git.unicornxw@gmail.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2626888vqu; Wed, 27 Sep 2023 06:23:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEMPPtR+cp5DilvtCaPqkyTa/T+IwuyR71ZOpzSPaeWfwyLKAns2D9A4E8vXoUfh9J3Gz7U X-Received: by 2002:a17:902:e552:b0:1c3:aa8d:4daa with SMTP id n18-20020a170902e55200b001c3aa8d4daamr1700246plf.44.1695821029259; Wed, 27 Sep 2023 06:23:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695821029; cv=none; d=google.com; s=arc-20160816; b=nE47FS6k1MMN35/owVind91CXmfU5JpadIznF7MXmfYdnhtbncgvLmMI6REiCV0YV7 f7kBIB1OEWqZzDzctzL2AwwQ+o/Bm8q+z7sY2Evde7hXk8jNQ6ktgmK9fkNdVfPYO14e spcfQ/cEsnDszMZO+YHlRsENGZfUQfMf1w/ftsL+bzNGNEIHcMGmks0D2jWgPTqSjgWZ aFiUHsA+u0AD4ufAXDeyzZOob3Ww/d1kl3YNrRqLvOh4de4ZcjtxwbCy5MS68pM7MkVV tRCklIYBfg9Wl3MTcxyfD6KXkxrNPkl9T8Z7US8066Kl6aHAs7p4auw/5iG391XrgLDv E2QQ== 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=MoYbiHoRTBkFkCQeE69Y8EorC+SjrK0dNJelyHZJ5P0=; fh=4/vmEiRarlhfv5n4tbXS4WugKWXq1H4qKW6j7ncUnGc=; b=GoyWQzojVHJctYghIXLtFE90jxJm99eVMntwVW4rXAPiWBipJMdBGgavBnRm2C4XTX 0nfXpKiyNWSlTc3S3/3GIA9IRagdNt4uJJKky3tFVHDqtf3W4iTqqpWUz+y/yv7g1ST2 zIr/h8UcSnrOb5HQLjYC3wqx9i3Y0zlpiTtKWXU8gJ6vCJGEc0vijV+z933cTJ8Mgml6 msAXIrs4aAG8ke7nIDRj4kU4r5OZvDJ9LPtCLx7se94/1twfe6qLA7UG40idEClbW1kd gwPbWHdKAX4/FyCYyALvE4opjaWqgMhSDrPehPUB51HBu8E04xqR+LUf6QF0fIX4/aez 82Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bDZPOSTv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id q7-20020a170902dac700b001bc650255b6si8972680plx.390.2023.09.27.06.23.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 06:23:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bDZPOSTv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 3BF378073844; Wed, 27 Sep 2023 01:55:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229940AbjI0IzB (ORCPT <rfc822;pwkd43@gmail.com> + 24 others); Wed, 27 Sep 2023 04:55:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230177AbjI0Iyx (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 27 Sep 2023 04:54:53 -0400 Received: from mail-ot1-x334.google.com (mail-ot1-x334.google.com [IPv6:2607:f8b0:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE771192; Wed, 27 Sep 2023 01:54:50 -0700 (PDT) Received: by mail-ot1-x334.google.com with SMTP id 46e09a7af769-6bd04558784so6491766a34.3; Wed, 27 Sep 2023 01:54:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695804890; x=1696409690; 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=MoYbiHoRTBkFkCQeE69Y8EorC+SjrK0dNJelyHZJ5P0=; b=bDZPOSTvsbPSfAmWbhJUddREHEhWN5okYfwo6KOZk9C389FElSlQ+2Vs3rQxHs4l36 WSBOwiYigQlJvnREJduVoICUlNhnBwamWQLYQtoni6kTcmJNELKbhPrsaItbAQzw7a9s VU3Qb32VHIDcV21XqZEgKEqvQ2fnStwifFeu3LulOhyTgzpEOOSyrWFPnHp7Tb/WW/PE YDxSQN4qD7Po6nrgkMAxYz/G3IlQlFSZVMR0MQQQQ330EkBQNiK8Y0DDR6nV3/D5oVLs ny7kJQAp+ANMmJEBl7a5tSrWDKSOdbe4FRrHsvFk7Am4KMtVihql8eJXDk7GpFICNMwV AURQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695804890; x=1696409690; 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=MoYbiHoRTBkFkCQeE69Y8EorC+SjrK0dNJelyHZJ5P0=; b=aSmzjAKA1LX7uYMutsEVKf2kpoDPyhN6n6Z9hLg0EhueqzC7ivFp8nCoHVfcqB0wxL rC3RCngbe1mXnJZ523Hx/8TTKpEiepuKNmzWkvx2Pcjvh38gZUm9EfnlmpBUdcvc14VR LxOOzzJnjsGvcGLn5EzLeE4ObTE4L9/gRLDYqBDEf9fq59pbc87VrZQK84S+WNoIwWDM pN7y1X5sUzMOhW2fKNXjmL6tD0f2j0GdTk+5vc4EwTZlMiDyPvQgASxGv/cdITdw0Kn0 SVJM98KY/IdMtK2G6uFjxcEOzNwIctSGAtmUu+fj0O/JiwfuXWlBib9iOM7A6P1Ure3l c8Jw== X-Gm-Message-State: AOJu0YxrNYW6aCw4t2mhKVxIPi5m4QFniyxzJKjcVzuSUj3i7wwG4kn0 3JFFjrAZTYPJabg9KdM+8dY= X-Received: by 2002:a9d:66cf:0:b0:6bd:152f:9918 with SMTP id t15-20020a9d66cf000000b006bd152f9918mr1434562otm.14.1695804889948; Wed, 27 Sep 2023 01:54:49 -0700 (PDT) Received: from localhost.localdomain ([122.8.183.87]) by smtp.gmail.com with ESMTPSA id f6-20020a056830204600b006b92509e76esm2304744otp.32.2023.09.27.01.54.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 01:54:49 -0700 (PDT) From: Chen Wang <unicornxw@gmail.com> 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 <unicornxw@gmail.com> Subject: [PATCH v3 00/11] Add Milk-V Pioneer RISC-V board support Date: Wed, 27 Sep 2023 16:54:38 +0800 Message-Id: <cover.1695804418.git.unicornxw@gmail.com> X-Mailer: git-send-email 2.34.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 lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 27 Sep 2023 01:55:13 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778197231217177105 X-GMAIL-MSGID: 1778197231217177105 |
Series |
Add Milk-V Pioneer RISC-V board support
|
|
Message
Chen Wang
Sept. 27, 2023, 8:54 a.m. UTC
Milk-V Pioneer [1] is a developer motherboard based on SOPHON SG2042 [2] in a standard mATX form factor. Add minimal device tree files for the SG2042 SOC and the Milk-V Pioneer board. Now only support basic uart drivers to boot up into a basic console. Thanks, Chen --- Changes in v3: The patch series is based on v6.6-rc1. You can simply review or test the patches at the link [5]. - add new vendor specific compatible strings to identify timer/mswi for sg2042 clint - updated maintainers info. for sophgo devicetree - remove the quirk changes for uart - updated dts, such as: - add "riscv,isa-base"/"riscv,isa-extensions" for cpus - update l2 cache node's name - remove memory and pmu nodes - fixed other issues as per input from reviewers. Changes in v2: The patch series is based on v6.6-rc1. You can simply review or test the patches at the link [4]. - Improve format for comment of commitments as per input from last review. - Improve format of DTS as per input from last review. - Remove numa related stuff from DTS. This part is just for optimization, may add it later if really needed. Changes in v1: The patch series is based on v6.6-rc1. Due to it is not sent in thread, I have listed permlinks of the patchset [v1-0/12] ~ [v1-12/12] here for quick reference. You can simply review or test the patches at the link [3]. [1]: https://milkv.io/pioneer [2]: https://en.sophgo.com/product/introduce/sg2042.html [3]: https://github.com/unicornx/linux-riscv/commits/milkv-pioneer-minimal [4]: https://github.com/unicornx/linux-riscv/commits/milkv-pioneer-minimal-v2 [5]: https://github.com/unicornx/linux-riscv/commits/milkv-pioneer-minimal-v3 [v1-0/12]:https://lore.kernel.org/linux-riscv/20230915070856.117514-1-wangchen20@iscas.ac.cn/ [v1-1/12]:https://lore.kernel.org/linux-riscv/20230915071005.117575-1-wangchen20@iscas.ac.cn/ [v1-2/12]:https://lore.kernel.org/linux-riscv/20230915071409.117692-1-wangchen20@iscas.ac.cn/ [v1-3/12]:https://lore.kernel.org/linux-riscv/20230915072242.117935-1-wangchen20@iscas.ac.cn/ [v1-4/12]:https://lore.kernel.org/linux-riscv/20230915072333.117991-1-wangchen20@iscas.ac.cn/ [v1-5/12]:https://lore.kernel.org/linux-riscv/20230915072358.118045-1-wangchen20@iscas.ac.cn/ [v1-6/12]:https://lore.kernel.org/linux-riscv/20230915072415.118100-1-wangchen20@iscas.ac.cn/ [v1-7/12]:https://lore.kernel.org/linux-riscv/20230915072431.118154-1-wangchen20@iscas.ac.cn/ [v1-8/12]:https://lore.kernel.org/linux-riscv/20230915072451.118209-1-wangchen20@iscas.ac.cn/ [v1-9/12]:https://lore.kernel.org/linux-riscv/20230915072517.118266-1-wangchen20@iscas.ac.cn/ [v1-10/12]:https://lore.kernel.org/linux-riscv/20230915072558.118325-1-wangchen20@iscas.ac.cn/ [v1-11/12]:https://lore.kernel.org/linux-riscv/20230915072624.118388-1-wangchen20@iscas.ac.cn/ [v1-12/12]:https://lore.kernel.org/linux-riscv/20230915072653.118448-1-wangchen20@iscas.ac.cn/ --- Chen Wang (9): riscv: Add SOPHGO SOC family Kconfig support dt-bindings: vendor-prefixes: add milkv/sophgo dt-bindings: riscv: add sophgo sg2042 bindings dt-bindings: riscv: Add T-HEAD C920 compatibles dt-bindings: interrupt-controller: Add Sophgo SG2042 PLIC MAINTAINERS: add two files to sophgo devicetrees entry riscv: dts: add initial Sophgo SG2042 SoC device tree riscv: dts: sophgo: add Milk-V Pioneer board device tree riscv: defconfig: enable SOPHGO SoC Inochi Amaoto (2): dt-bindings: timer: Add Sophgo sg2042 CLINT timer dt-bindings: interrupt-controller: Add Sophgo sg2042 CLINT mswi .../sifive,plic-1.0.0.yaml | 1 + .../sophgo,sg2042-clint-mswi.yaml | 42 + .../devicetree/bindings/riscv/cpus.yaml | 1 + .../devicetree/bindings/riscv/sophgo.yaml | 28 + .../timer/sophgo,sg2042-clint-mtimer.yaml | 42 + .../devicetree/bindings/vendor-prefixes.yaml | 4 + MAINTAINERS | 9 + arch/riscv/Kconfig.socs | 5 + arch/riscv/boot/dts/Makefile | 1 + arch/riscv/boot/dts/sophgo/Makefile | 3 + arch/riscv/boot/dts/sophgo/sg2042-cpus.dtsi | 1880 +++++++++++++++++ .../boot/dts/sophgo/sg2042-milkv-pioneer.dts | 19 + arch/riscv/boot/dts/sophgo/sg2042.dtsi | 325 +++ arch/riscv/configs/defconfig | 1 + 14 files changed, 2361 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/sophgo,sg2042-clint-mswi.yaml create mode 100644 Documentation/devicetree/bindings/riscv/sophgo.yaml create mode 100644 Documentation/devicetree/bindings/timer/sophgo,sg2042-clint-mtimer.yaml create mode 100644 arch/riscv/boot/dts/sophgo/Makefile create mode 100644 arch/riscv/boot/dts/sophgo/sg2042-cpus.dtsi create mode 100644 arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts create mode 100644 arch/riscv/boot/dts/sophgo/sg2042.dtsi base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d
Comments
Hey, On Wed, Sep 27, 2023 at 04:54:38PM +0800, Chen Wang wrote: > Milk-V Pioneer [1] is a developer motherboard based on SOPHON SG2042 [2] > in a standard mATX form factor. Add minimal device > tree files for the SG2042 SOC and the Milk-V Pioneer board. > > Now only support basic uart drivers to boot up into a basic console. > > Thanks, > Chen > > --- > > Changes in v3: > The patch series is based on v6.6-rc1. You can simply review or test > the patches at the link [5]. > - add new vendor specific compatible strings to identify timer/mswi for sg2042 clint > - updated maintainers info. for sophgo devicetree > - remove the quirk changes for uart > - updated dts, such as: > - add "riscv,isa-base"/"riscv,isa-extensions" for cpus > - update l2 cache node's name > - remove memory and pmu nodes > - fixed other issues as per input from reviewers. v3 looks better indeed. I had some comments on the bindings and dt patches, but none were particularly major. Thanks, Conor. > > Changes in v2: > The patch series is based on v6.6-rc1. You can simply review or test > the patches at the link [4]. > - Improve format for comment of commitments as per input from last review. > - Improve format of DTS as per input from last review. > - Remove numa related stuff from DTS. This part is just for optimization, may > add it later if really needed. > > Changes in v1: > The patch series is based on v6.6-rc1. Due to it is not sent in thread, > I have listed permlinks of the patchset [v1-0/12] ~ [v1-12/12] here for > quick reference. You can simply review or test the patches at the link [3]. > > [1]: https://milkv.io/pioneer > [2]: https://en.sophgo.com/product/introduce/sg2042.html > [3]: https://github.com/unicornx/linux-riscv/commits/milkv-pioneer-minimal > [4]: https://github.com/unicornx/linux-riscv/commits/milkv-pioneer-minimal-v2 > [5]: https://github.com/unicornx/linux-riscv/commits/milkv-pioneer-minimal-v3 > [v1-0/12]:https://lore.kernel.org/linux-riscv/20230915070856.117514-1-wangchen20@iscas.ac.cn/ > [v1-1/12]:https://lore.kernel.org/linux-riscv/20230915071005.117575-1-wangchen20@iscas.ac.cn/ > [v1-2/12]:https://lore.kernel.org/linux-riscv/20230915071409.117692-1-wangchen20@iscas.ac.cn/ > [v1-3/12]:https://lore.kernel.org/linux-riscv/20230915072242.117935-1-wangchen20@iscas.ac.cn/ > [v1-4/12]:https://lore.kernel.org/linux-riscv/20230915072333.117991-1-wangchen20@iscas.ac.cn/ > [v1-5/12]:https://lore.kernel.org/linux-riscv/20230915072358.118045-1-wangchen20@iscas.ac.cn/ > [v1-6/12]:https://lore.kernel.org/linux-riscv/20230915072415.118100-1-wangchen20@iscas.ac.cn/ > [v1-7/12]:https://lore.kernel.org/linux-riscv/20230915072431.118154-1-wangchen20@iscas.ac.cn/ > [v1-8/12]:https://lore.kernel.org/linux-riscv/20230915072451.118209-1-wangchen20@iscas.ac.cn/ > [v1-9/12]:https://lore.kernel.org/linux-riscv/20230915072517.118266-1-wangchen20@iscas.ac.cn/ > [v1-10/12]:https://lore.kernel.org/linux-riscv/20230915072558.118325-1-wangchen20@iscas.ac.cn/ > [v1-11/12]:https://lore.kernel.org/linux-riscv/20230915072624.118388-1-wangchen20@iscas.ac.cn/ > [v1-12/12]:https://lore.kernel.org/linux-riscv/20230915072653.118448-1-wangchen20@iscas.ac.cn/ > > --- > > Chen Wang (9): > riscv: Add SOPHGO SOC family Kconfig support > dt-bindings: vendor-prefixes: add milkv/sophgo > dt-bindings: riscv: add sophgo sg2042 bindings > dt-bindings: riscv: Add T-HEAD C920 compatibles > dt-bindings: interrupt-controller: Add Sophgo SG2042 PLIC > MAINTAINERS: add two files to sophgo devicetrees entry > riscv: dts: add initial Sophgo SG2042 SoC device tree > riscv: dts: sophgo: add Milk-V Pioneer board device tree > riscv: defconfig: enable SOPHGO SoC > > Inochi Amaoto (2): > dt-bindings: timer: Add Sophgo sg2042 CLINT timer > dt-bindings: interrupt-controller: Add Sophgo sg2042 CLINT mswi > > .../sifive,plic-1.0.0.yaml | 1 + > .../sophgo,sg2042-clint-mswi.yaml | 42 + > .../devicetree/bindings/riscv/cpus.yaml | 1 + > .../devicetree/bindings/riscv/sophgo.yaml | 28 + > .../timer/sophgo,sg2042-clint-mtimer.yaml | 42 + > .../devicetree/bindings/vendor-prefixes.yaml | 4 + > MAINTAINERS | 9 + > arch/riscv/Kconfig.socs | 5 + > arch/riscv/boot/dts/Makefile | 1 + > arch/riscv/boot/dts/sophgo/Makefile | 3 + > arch/riscv/boot/dts/sophgo/sg2042-cpus.dtsi | 1880 +++++++++++++++++ > .../boot/dts/sophgo/sg2042-milkv-pioneer.dts | 19 + > arch/riscv/boot/dts/sophgo/sg2042.dtsi | 325 +++ > arch/riscv/configs/defconfig | 1 + > 14 files changed, 2361 insertions(+) > create mode 100644 Documentation/devicetree/bindings/interrupt-controller/sophgo,sg2042-clint-mswi.yaml > create mode 100644 Documentation/devicetree/bindings/riscv/sophgo.yaml > create mode 100644 Documentation/devicetree/bindings/timer/sophgo,sg2042-clint-mtimer.yaml > create mode 100644 arch/riscv/boot/dts/sophgo/Makefile > create mode 100644 arch/riscv/boot/dts/sophgo/sg2042-cpus.dtsi > create mode 100644 arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts > create mode 100644 arch/riscv/boot/dts/sophgo/sg2042.dtsi > > > base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d > -- > 2.25.1 >
Conor Dooley <conor@kernel.org> 于2023年9月28日周四 00:09写道: > > Hey, > > On Wed, Sep 27, 2023 at 04:54:38PM +0800, Chen Wang wrote: > > Milk-V Pioneer [1] is a developer motherboard based on SOPHON SG2042 [2] > > in a standard mATX form factor. Add minimal device > > tree files for the SG2042 SOC and the Milk-V Pioneer board. > > > > Now only support basic uart drivers to boot up into a basic console. > > > > Thanks, > > Chen > > > > --- > > > > Changes in v3: > > The patch series is based on v6.6-rc1. You can simply review or test > > the patches at the link [5]. > > - add new vendor specific compatible strings to identify timer/mswi for sg2042 clint > > - updated maintainers info. for sophgo devicetree > > - remove the quirk changes for uart > > - updated dts, such as: > > - add "riscv,isa-base"/"riscv,isa-extensions" for cpus > > - update l2 cache node's name > > - remove memory and pmu nodes > > - fixed other issues as per input from reviewers. > > v3 looks better indeed. I had some comments on the bindings and dt > patches, but none were particularly major. > > Thanks, > Conor. > Thanks, Conor, I will continue imrpoving according to your commnents. > > > > Changes in v2: > > The patch series is based on v6.6-rc1. You can simply review or test > > the patches at the link [4]. > > - Improve format for comment of commitments as per input from last review. > > - Improve format of DTS as per input from last review. > > - Remove numa related stuff from DTS. This part is just for optimization, may > > add it later if really needed. > > > > Changes in v1: > > The patch series is based on v6.6-rc1. Due to it is not sent in thread, > > I have listed permlinks of the patchset [v1-0/12] ~ [v1-12/12] here for > > quick reference. You can simply review or test the patches at the link [3]. > > > > [1]: https://milkv.io/pioneer > > [2]: https://en.sophgo.com/product/introduce/sg2042.html > > [3]: https://github.com/unicornx/linux-riscv/commits/milkv-pioneer-minimal > > [4]: https://github.com/unicornx/linux-riscv/commits/milkv-pioneer-minimal-v2 > > [5]: https://github.com/unicornx/linux-riscv/commits/milkv-pioneer-minimal-v3 > > [v1-0/12]:https://lore.kernel.org/linux-riscv/20230915070856.117514-1-wangchen20@iscas.ac.cn/ > > [v1-1/12]:https://lore.kernel.org/linux-riscv/20230915071005.117575-1-wangchen20@iscas.ac.cn/ > > [v1-2/12]:https://lore.kernel.org/linux-riscv/20230915071409.117692-1-wangchen20@iscas.ac.cn/ > > [v1-3/12]:https://lore.kernel.org/linux-riscv/20230915072242.117935-1-wangchen20@iscas.ac.cn/ > > [v1-4/12]:https://lore.kernel.org/linux-riscv/20230915072333.117991-1-wangchen20@iscas.ac.cn/ > > [v1-5/12]:https://lore.kernel.org/linux-riscv/20230915072358.118045-1-wangchen20@iscas.ac.cn/ > > [v1-6/12]:https://lore.kernel.org/linux-riscv/20230915072415.118100-1-wangchen20@iscas.ac.cn/ > > [v1-7/12]:https://lore.kernel.org/linux-riscv/20230915072431.118154-1-wangchen20@iscas.ac.cn/ > > [v1-8/12]:https://lore.kernel.org/linux-riscv/20230915072451.118209-1-wangchen20@iscas.ac.cn/ > > [v1-9/12]:https://lore.kernel.org/linux-riscv/20230915072517.118266-1-wangchen20@iscas.ac.cn/ > > [v1-10/12]:https://lore.kernel.org/linux-riscv/20230915072558.118325-1-wangchen20@iscas.ac.cn/ > > [v1-11/12]:https://lore.kernel.org/linux-riscv/20230915072624.118388-1-wangchen20@iscas.ac.cn/ > > [v1-12/12]:https://lore.kernel.org/linux-riscv/20230915072653.118448-1-wangchen20@iscas.ac.cn/ > > > > --- > > > > Chen Wang (9): > > riscv: Add SOPHGO SOC family Kconfig support > > dt-bindings: vendor-prefixes: add milkv/sophgo > > dt-bindings: riscv: add sophgo sg2042 bindings > > dt-bindings: riscv: Add T-HEAD C920 compatibles > > dt-bindings: interrupt-controller: Add Sophgo SG2042 PLIC > > MAINTAINERS: add two files to sophgo devicetrees entry > > riscv: dts: add initial Sophgo SG2042 SoC device tree > > riscv: dts: sophgo: add Milk-V Pioneer board device tree > > riscv: defconfig: enable SOPHGO SoC > > > > Inochi Amaoto (2): > > dt-bindings: timer: Add Sophgo sg2042 CLINT timer > > dt-bindings: interrupt-controller: Add Sophgo sg2042 CLINT mswi > > > > .../sifive,plic-1.0.0.yaml | 1 + > > .../sophgo,sg2042-clint-mswi.yaml | 42 + > > .../devicetree/bindings/riscv/cpus.yaml | 1 + > > .../devicetree/bindings/riscv/sophgo.yaml | 28 + > > .../timer/sophgo,sg2042-clint-mtimer.yaml | 42 + > > .../devicetree/bindings/vendor-prefixes.yaml | 4 + > > MAINTAINERS | 9 + > > arch/riscv/Kconfig.socs | 5 + > > arch/riscv/boot/dts/Makefile | 1 + > > arch/riscv/boot/dts/sophgo/Makefile | 3 + > > arch/riscv/boot/dts/sophgo/sg2042-cpus.dtsi | 1880 +++++++++++++++++ > > .../boot/dts/sophgo/sg2042-milkv-pioneer.dts | 19 + > > arch/riscv/boot/dts/sophgo/sg2042.dtsi | 325 +++ > > arch/riscv/configs/defconfig | 1 + > > 14 files changed, 2361 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/interrupt-controller/sophgo,sg2042-clint-mswi.yaml > > create mode 100644 Documentation/devicetree/bindings/riscv/sophgo.yaml > > create mode 100644 Documentation/devicetree/bindings/timer/sophgo,sg2042-clint-mtimer.yaml > > create mode 100644 arch/riscv/boot/dts/sophgo/Makefile > > create mode 100644 arch/riscv/boot/dts/sophgo/sg2042-cpus.dtsi > > create mode 100644 arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts > > create mode 100644 arch/riscv/boot/dts/sophgo/sg2042.dtsi > > > > > > base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d > > -- > > 2.25.1 > >
Chen Wang <unicornxw@gmail.com> 于2023年9月28日周四 07:39写道: > > Conor Dooley <conor@kernel.org> 于2023年9月28日周四 00:09写道: > > > > Hey, > > > > On Wed, Sep 27, 2023 at 04:54:38PM +0800, Chen Wang wrote: > > > Milk-V Pioneer [1] is a developer motherboard based on SOPHON SG2042 [2] > > > in a standard mATX form factor. Add minimal device > > > tree files for the SG2042 SOC and the Milk-V Pioneer board. > > > > > > Now only support basic uart drivers to boot up into a basic console. > > > > > > Thanks, > > > Chen > > > > > > --- > > > > > > Changes in v3: > > > The patch series is based on v6.6-rc1. You can simply review or test > > > the patches at the link [5]. > > > - add new vendor specific compatible strings to identify timer/mswi for sg2042 clint > > > - updated maintainers info. for sophgo devicetree > > > - remove the quirk changes for uart > > > - updated dts, such as: > > > - add "riscv,isa-base"/"riscv,isa-extensions" for cpus > > > - update l2 cache node's name > > > - remove memory and pmu nodes > > > - fixed other issues as per input from reviewers. > > > > v3 looks better indeed. I had some comments on the bindings and dt > > patches, but none were particularly major. > > > > Thanks, > > Conor. > > > Thanks, Conor, I will continue imrpoving according to your commnents. > hi, Conor, one more question, what base should I take for next v4? I'm still using 6.6-rc1 and I see 6.6-rc3 has been released out. > > > > > > Changes in v2: > > > The patch series is based on v6.6-rc1. You can simply review or test > > > the patches at the link [4]. > > > - Improve format for comment of commitments as per input from last review. > > > - Improve format of DTS as per input from last review. > > > - Remove numa related stuff from DTS. This part is just for optimization, may > > > add it later if really needed. > > > > > > Changes in v1: > > > The patch series is based on v6.6-rc1. Due to it is not sent in thread, > > > I have listed permlinks of the patchset [v1-0/12] ~ [v1-12/12] here for > > > quick reference. You can simply review or test the patches at the link [3]. > > > > > > [1]: https://milkv.io/pioneer > > > [2]: https://en.sophgo.com/product/introduce/sg2042.html > > > [3]: https://github.com/unicornx/linux-riscv/commits/milkv-pioneer-minimal > > > [4]: https://github.com/unicornx/linux-riscv/commits/milkv-pioneer-minimal-v2 > > > [5]: https://github.com/unicornx/linux-riscv/commits/milkv-pioneer-minimal-v3 > > > [v1-0/12]:https://lore.kernel.org/linux-riscv/20230915070856.117514-1-wangchen20@iscas.ac.cn/ > > > [v1-1/12]:https://lore.kernel.org/linux-riscv/20230915071005.117575-1-wangchen20@iscas.ac.cn/ > > > [v1-2/12]:https://lore.kernel.org/linux-riscv/20230915071409.117692-1-wangchen20@iscas.ac.cn/ > > > [v1-3/12]:https://lore.kernel.org/linux-riscv/20230915072242.117935-1-wangchen20@iscas.ac.cn/ > > > [v1-4/12]:https://lore.kernel.org/linux-riscv/20230915072333.117991-1-wangchen20@iscas.ac.cn/ > > > [v1-5/12]:https://lore.kernel.org/linux-riscv/20230915072358.118045-1-wangchen20@iscas.ac.cn/ > > > [v1-6/12]:https://lore.kernel.org/linux-riscv/20230915072415.118100-1-wangchen20@iscas.ac.cn/ > > > [v1-7/12]:https://lore.kernel.org/linux-riscv/20230915072431.118154-1-wangchen20@iscas.ac.cn/ > > > [v1-8/12]:https://lore.kernel.org/linux-riscv/20230915072451.118209-1-wangchen20@iscas.ac.cn/ > > > [v1-9/12]:https://lore.kernel.org/linux-riscv/20230915072517.118266-1-wangchen20@iscas.ac.cn/ > > > [v1-10/12]:https://lore.kernel.org/linux-riscv/20230915072558.118325-1-wangchen20@iscas.ac.cn/ > > > [v1-11/12]:https://lore.kernel.org/linux-riscv/20230915072624.118388-1-wangchen20@iscas.ac.cn/ > > > [v1-12/12]:https://lore.kernel.org/linux-riscv/20230915072653.118448-1-wangchen20@iscas.ac.cn/ > > > > > > --- > > > > > > Chen Wang (9): > > > riscv: Add SOPHGO SOC family Kconfig support > > > dt-bindings: vendor-prefixes: add milkv/sophgo > > > dt-bindings: riscv: add sophgo sg2042 bindings > > > dt-bindings: riscv: Add T-HEAD C920 compatibles > > > dt-bindings: interrupt-controller: Add Sophgo SG2042 PLIC > > > MAINTAINERS: add two files to sophgo devicetrees entry > > > riscv: dts: add initial Sophgo SG2042 SoC device tree > > > riscv: dts: sophgo: add Milk-V Pioneer board device tree > > > riscv: defconfig: enable SOPHGO SoC > > > > > > Inochi Amaoto (2): > > > dt-bindings: timer: Add Sophgo sg2042 CLINT timer > > > dt-bindings: interrupt-controller: Add Sophgo sg2042 CLINT mswi > > > > > > .../sifive,plic-1.0.0.yaml | 1 + > > > .../sophgo,sg2042-clint-mswi.yaml | 42 + > > > .../devicetree/bindings/riscv/cpus.yaml | 1 + > > > .../devicetree/bindings/riscv/sophgo.yaml | 28 + > > > .../timer/sophgo,sg2042-clint-mtimer.yaml | 42 + > > > .../devicetree/bindings/vendor-prefixes.yaml | 4 + > > > MAINTAINERS | 9 + > > > arch/riscv/Kconfig.socs | 5 + > > > arch/riscv/boot/dts/Makefile | 1 + > > > arch/riscv/boot/dts/sophgo/Makefile | 3 + > > > arch/riscv/boot/dts/sophgo/sg2042-cpus.dtsi | 1880 +++++++++++++++++ > > > .../boot/dts/sophgo/sg2042-milkv-pioneer.dts | 19 + > > > arch/riscv/boot/dts/sophgo/sg2042.dtsi | 325 +++ > > > arch/riscv/configs/defconfig | 1 + > > > 14 files changed, 2361 insertions(+) > > > create mode 100644 Documentation/devicetree/bindings/interrupt-controller/sophgo,sg2042-clint-mswi.yaml > > > create mode 100644 Documentation/devicetree/bindings/riscv/sophgo.yaml > > > create mode 100644 Documentation/devicetree/bindings/timer/sophgo,sg2042-clint-mtimer.yaml > > > create mode 100644 arch/riscv/boot/dts/sophgo/Makefile > > > create mode 100644 arch/riscv/boot/dts/sophgo/sg2042-cpus.dtsi > > > create mode 100644 arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts > > > create mode 100644 arch/riscv/boot/dts/sophgo/sg2042.dtsi > > > > > > > > > base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d > > > -- > > > 2.25.1 > > >
On Thu, Sep 28, 2023 at 03:48:24PM +0800, Chen Wang wrote: > hi, Conor, one more question, what base should I take for next v4? I'm > still using 6.6-rc1 and I see 6.6-rc3 has been released out. -rc1 is fine :)