From patchwork Fri Sep 15 07:22:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Wang X-Patchwork-Id: 140411 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp1017729vqi; Fri, 15 Sep 2023 05:49:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHe9NyLBtWulnG35jgLm6mTdSwj+Ns7qDPIAotzVlT4fRaN5xsPbB0ZKl4TaaKEWexuvWV4 X-Received: by 2002:a05:6a00:1a92:b0:68e:2b17:a729 with SMTP id e18-20020a056a001a9200b0068e2b17a729mr1767589pfv.24.1694782195197; Fri, 15 Sep 2023 05:49:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694782195; cv=none; d=google.com; s=arc-20160816; b=jg3bX0Osyhm5hF6cYoF0WiQ/160rP9qoqN0P11dALEpxZ54iTAnF2Vm5F6qNW+itoG B1ZfYzPSH8Gf7uAJE1VJIOhJv034gZjJz9DP+SPi5fCwhAQRmxnNif6rC56vtF7y3lVC 6rMIizTILV2sHT+4PkHyQYlteicYkD7ijX7vR27KOh8p9DnnEaiGzCGRuh32B51ob0Fh fWQEcgBZGtJUc4bJ0L6xtWiX4uMhaICVBE4lzm+IpXqHAiKpDSFEiyyAcx7G1hK6BkWB gkJIlbO/aK99xJ3DfnCeumRWufeG8ercByav81dPfHsy6+asVQxCbMQy1f4RZJkZIn03 gdyQ== 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=LyY1P/Um0of8SC7pIExKL3uasiY0J3NOHqMMObs04Ac=; fh=uX8GTfQZ4oxMzeIzkttJn/ljCrddTXNVgdIuxqRbyug=; b=Ul0RmWaOKpp2K+OeskQT0+HxP2m9w7lTI9M/0BsjboY0yg6qYVkgmDEo6P7O8U+53A fkRpa3hEwsp413W0COhBXl6ZE2/S4fyZ6805tA2TNQEo1C1HXSqClF31KGVpWaLnyvKw agf5xWKlgjijPalGvY+lnynnZJjfQlTldrcdiEMcRm0UEa9jbPBxlGHf2f/hTmSDGGuT tjHkIwehFLeyLdv0R2NFs+iX9YMR7LptG6P87SB7cOQ3z+eE+knMYkUkMP3yV3NeL7Ih faDBU5Q8OuWhVxKs08XYnECRjT8daYifKySQ5OHakQfdKJt66KKtwqnNau/fpw4CwO11 +vMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iJuTc+Hj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id v62-20020a638941000000b005640118d203si3095015pgd.193.2023.09.15.05.49.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 05:49:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iJuTc+Hj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id BAD5680E340F; Fri, 15 Sep 2023 00:23:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232743AbjIOHXD (ORCPT + 33 others); Fri, 15 Sep 2023 03:23:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232263AbjIOHXB (ORCPT ); Fri, 15 Sep 2023 03:23:01 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D5A410F7; Fri, 15 Sep 2023 00:22:54 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-273dfceb3easo1371363a91.0; Fri, 15 Sep 2023 00:22:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694762574; x=1695367374; 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=LyY1P/Um0of8SC7pIExKL3uasiY0J3NOHqMMObs04Ac=; b=iJuTc+HjIH/W0zW6UmyvJ6uxgqpC8yyb4Ea0mZ57LKM8neX+QQ1sW4FBoM+vFR/RDX M4nimjqkPQ1V7/83pz7RE18Axt+iPPSU8lV9ESJNLOsWLx1z1h/7nOihgYbOTq7PXArV jIe3wYNErevJ9dhvAppaRiZsrJqoaUSoP2NdIwU+uxQznw47u0lEDo2jMzDKG/NsPas/ 7KejGmc16XEkFvwO7Xup+KaSKiWJrHs4BojBp6ctkOjB46sK8nOIlXNTeErnY5zpR0jT g2RMu71h6wPEcJAg1Q7Z0YQckfNG/s78oNPn13FQRoGcHkefif8e0l6z8wYu28opMRP/ stDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694762574; x=1695367374; 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=LyY1P/Um0of8SC7pIExKL3uasiY0J3NOHqMMObs04Ac=; b=XQTID2sLyDh7S/FcMnQz4zEI0eJd6/L6Xy2/Ad6uWzOIVcHsmUuW1u9cf1pDJJ/qA6 BYDcuqP988tsVlDWsQtscuIBF1RQHmT3bDGGQD8/TLOAVuMETmC9iI8Y89fhAnUCtWUL P1SEk574fSepX2WKxSEu7ZxzRZkPwCw70MmC7MAoiHE3Tvo5kQbl6kOh/edtexD4p340 s70uKPSmovIEWmcqehlgjl5vPeA4diopIOzCTOyVhzW59n097gXbEKopVOYMPGfyLbjS BhSKQRVYbbndYrs+tA4AR0S48f3lPAWtXnjLRbgqIUSL6SNHpEmCUqfKAhNzzFH9wvY1 Y5Dw== X-Gm-Message-State: AOJu0YxowgEqCSt05gnFSTAPJR89TgTc0R7Ory52+Bw1gIYCnmqqQH9U il8ekdwP7tf4vUHj3hidRbA= X-Received: by 2002:a17:90a:528c:b0:268:352c:9d13 with SMTP id w12-20020a17090a528c00b00268352c9d13mr751765pjh.0.1694762573570; Fri, 15 Sep 2023 00:22:53 -0700 (PDT) Received: from localhost.localdomain ([222.95.63.58]) by smtp.gmail.com with ESMTPSA id j5-20020a17090aeb0500b0026b4ca7f62csm2348283pjz.39.2023.09.15.00.22.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 00:22:53 -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 03/12] dt-bindings: riscv: add sophgo sg2042 bindings Date: Fri, 15 Sep 2023 15:22:42 +0800 Message-Id: <20230915072242.117935-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 morse.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 (morse.vger.email [0.0.0.0]); Fri, 15 Sep 2023 00:23:06 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777107934826532555 X-GMAIL-MSGID: 1777107934826532555 Add DT binding documentation for the Sophgo SG2042 Soc [1] and the Milk-V Pioneer board [2]. [1]: https://en.sophgo.com/product/introduce/sg2042.html [2]: https://milkv.io/pioneer Signed-off-by: Wang Chen Signed-off-by: Xiaoguang Xing Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/riscv/sophgo.yaml | 28 +++++++++++++++++++ MAINTAINERS | 6 ++++ 2 files changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/riscv/sophgo.yaml diff --git a/Documentation/devicetree/bindings/riscv/sophgo.yaml b/Documentation/devicetree/bindings/riscv/sophgo.yaml new file mode 100644 index 000000000000..82468ae915db --- /dev/null +++ b/Documentation/devicetree/bindings/riscv/sophgo.yaml @@ -0,0 +1,28 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/riscv/sophgo.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sophgo SoC-based boards + +maintainers: + - Chao Wei + - Xiaoguang Xing + +description: + Sophgo SoC-based boards + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - items: + - enum: + - milkv,pioneer + - const: sophgo,sg2042 + +additionalProperties: true + +... diff --git a/MAINTAINERS b/MAINTAINERS index 90f13281d297..0e0d477dab38 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -20063,6 +20063,12 @@ F: drivers/char/sonypi.c F: drivers/platform/x86/sony-laptop.c F: include/linux/sony-laptop.h +SOPHGO DEVICETREES +M: Xiaoguang Xing +M: Chao Wei +S: Maintained +F: Documentation/devicetree/bindings/riscv/sophgo.yaml + SOUND M: Jaroslav Kysela M: Takashi Iwai