From patchwork Wed Sep 20 06:37:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Wang X-Patchwork-Id: 142310 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp4006844vqi; Wed, 20 Sep 2023 02:48:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF/EMh4HnjygIMuYnae1ngu79E4tMVxdRKn4WiJefUIp6zYDoKpB1spb6C0///79Tels53Q X-Received: by 2002:a17:90a:b018:b0:270:b961:1c3d with SMTP id x24-20020a17090ab01800b00270b9611c3dmr1983023pjq.22.1695203330105; Wed, 20 Sep 2023 02:48:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695203330; cv=none; d=google.com; s=arc-20160816; b=uBkCqTR3wqeMpFm5KSeIlILoQquLKNijmlIBh+HaHi764PkFXF+KBtHq5o/zCd1Egf MUTjwehM6xBUpJxjFBo9xEzFE87Kq9w0JX3kD6WPxUKiR9fmbdCNYJjiRO/O8BiaeWHb TkIoojaBc9QG8VvlyhaC4IFaOnxFRK63nW4tDq3WM9v/fXBflNQ9WawvYu8kyvRQ+sAH Ie+g/P8CfHtxi9si4SqDYXiY+HKfTzI3lXJ6DHY911VBl6WOFSLlgREletXqaIcSI0Ta 38cYYVYDC2AErANN7IJiXcrX5QswNG5aJq9/iCIRKlYmNTpcApMCiFg/LXokF1L92A4Z gFVA== 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=BV+65pRBVYc+OiZ4eNCts7KcqWJoy+uloTJChETlmhw=; fh=bQJKLQMHSx8zRMKVWETn2inbFK2Baz+k7BY3gTlhRws=; b=w6TcJnLl2kzq1wG/S8/iFKifhIh+XmPioY3ndiH0htgKa6Xaq2LOqxEW5yKToEwXvK IjpuDiqLxHCbDHkTawLURdmdYK2+2s84cn2g4TMD2EpPNFGW5URnlZD/Yxs7tUhdzK0z AsK646r/guL4EbVQxSJ79j+8xfMo6NZxuLliT+NFzlMNyalJ10xH0ZLwVEsLtbgiiUUT ANNYqFJPUmOGQ/y5qDiAAtIBsFdKs5UBkpsQ2hfHnGGiHHd3g4wL9+SV2IVKz5anvuk3 ZTWoTUnItG0KBcP28NxlWzZyzg3KsSaYPmsDctri6L2BmbskXn3vIWD21ARb5/7abevk PnGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RV6sPU2n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id cu14-20020a17090afa8e00b002744169a0cbsi1200071pjb.99.2023.09.20.02.48.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 02:48:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RV6sPU2n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id C716982EC541; Tue, 19 Sep 2023 23:38:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233227AbjITGiH (ORCPT + 26 others); Wed, 20 Sep 2023 02:38:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233195AbjITGiE (ORCPT ); Wed, 20 Sep 2023 02:38:04 -0400 Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DABAAAD; Tue, 19 Sep 2023 23:37:58 -0700 (PDT) Received: by mail-oi1-x229.google.com with SMTP id 5614622812f47-3ade5687e97so903654b6e.1; Tue, 19 Sep 2023 23:37:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695191878; x=1695796678; 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=BV+65pRBVYc+OiZ4eNCts7KcqWJoy+uloTJChETlmhw=; b=RV6sPU2nTo4EjyTIe0rvXiDIffom52dbFDrNMoDe/Iuenj2KmMq/gVog3DCVxcUH3L 5/zxfxl85iAdxqT19Dk38qnN11l/ZRs1NvlYt6lRsdGC5fHYSgKT302MAs7lw4OUrxNF zY945MqWa1ys5b5oSB38q83IAijsCUCCoTf6DtUqBqrWVV7AAxh9O7A46qbIU9g+kCEz iiBCiinbYhQuZPDKY57nkCtVQD86j4LEDGqma8biEwrJkgYA7tbJh/jsPaVIEiWouMFy wcpiZDGxbouDyBCutxFDZCtZJuRGNQ+pvew5r3rnA1R1IC7XCsOUb957HC2hxvCtJzOn nt/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695191878; x=1695796678; 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=BV+65pRBVYc+OiZ4eNCts7KcqWJoy+uloTJChETlmhw=; b=viOG2DJis+lDgjvN8BKDX2cl/8MKqVWDf6LgCENzHYBiz2/k+3oWY+9V+gsFGM6m3l x97r8uYSroSUB7xgKpauIWF/5rXMkdcalScr30oB0d9gM0D/IuEfuBqeFpNTWcAuJFV7 I1hN6l7cMJXGhQ1xNyQHBNRWqJAsfn+sk9I2+G8QnvB0C0BvgPFPjJBO57fPx3X5/TCH 61hPsNbSlqUiDjwrF4ZgYD68A72csbWSRr8g2ljxIe+wXYu+OqZs1GKGbOnin6suPctH GS6ArJ0HzdQOz4NIqOx+eEtQh7IyYOBT3lnV07YRC1JbgxAW4CdpGfR6Qni7qbx8IWiz f/HA== X-Gm-Message-State: AOJu0Yw7vYfUB35lWjs362SJHAVyNl8zGrTyZuaBBG2zubkwnHK9hjuq dc4OVPNT8ecffdSY27a8qFM= X-Received: by 2002:a05:6808:1ab3:b0:3a4:225f:a15b with SMTP id bm51-20020a0568081ab300b003a4225fa15bmr1266910oib.31.1695191878115; Tue, 19 Sep 2023 23:37:58 -0700 (PDT) Received: from localhost.localdomain ([122.8.183.87]) by smtp.gmail.com with ESMTPSA id b19-20020aca2213000000b003a724566afdsm2775185oic.20.2023.09.19.23.37.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 23:37:57 -0700 (PDT) From: Chen Wang X-Google-Original-From: Chen Wang To: aou@eecs.berkeley.edu, chao.wei@sophgo.com, conor@kernel.org, devicetree@vger.kernel.org, emil.renner.berthing@canonical.com, 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 Cc: Chen Wang Subject: [PATCH v2 03/11] dt-bindings: riscv: add sophgo sg2042 bindings Date: Wed, 20 Sep 2023 14:37:51 +0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (howler.vger.email [0.0.0.0]); Tue, 19 Sep 2023 23:38:09 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777542221623712978 X-GMAIL-MSGID: 1777549527030140292 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 Acked-by: Chao Wei Acked-by: Xiaoguang Xing Signed-off-by: Chen Wang --- .../devicetree/bindings/riscv/sophgo.yaml | 28 +++++++++++++++++++ MAINTAINERS | 7 +++++ 2 files changed, 35 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..b74d505003e2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -20063,6 +20063,13 @@ 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 +F: arch/riscv/boot/dts/sophgo/ + SOUND M: Jaroslav Kysela M: Takashi Iwai