From patchwork Tue Dec 5 00:22:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Wang X-Patchwork-Id: 173607 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp3125068vqy; Mon, 4 Dec 2023 16:23:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IG1KmGXQeX4xe6LpYyf2zCE5OA7UnvGwQyz8nQ2IuRkHZCXCn5CXV+ur5zv3JH+a9Jd+Lv1 X-Received: by 2002:a05:6a20:7f9c:b0:18f:5f6f:fc69 with SMTP id d28-20020a056a207f9c00b0018f5f6ffc69mr1997149pzj.97.1701735781119; Mon, 04 Dec 2023 16:23:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701735781; cv=none; d=google.com; s=arc-20160816; b=EZAGLtZxGkubNo/8lk6F7qSk0MEVdnyeX49oidXZvCsTmgL0mM5xeR00zgg7TVtlBn 7mXuaaIoVzjQfa4bD4Ct8HH2SVvITzlE/h1sbZHhewTJxqgDge1FgZekS84cNO+0sM1Q 4jE15QWIZLcMNKrVQZngfiyadWC3aLIOqAeMOoZt3T6Rr1pGxjgf4pMNFGNr664Ei/AJ EPpqY6fsAkNCzIMX6/SMjm7imRs8rvwuWhK/S23chEV0BSbRCeSbTgBaYmmRzQlS0Elq sFtTEiNkeailsKgvvRsGzyiTPgBoPzc6LNJ0CjplRUKR4nNrmH2JzcO2gi+ytXZH3YLl RvGA== 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=QWzi5VFScWkMe1hfBc2EXsXYdiAbd/+bGr8M1EA3Tok=; fh=KH8xm6lWnQmjdwi1VtR18ptPhMUvoKU3JPF7cI3jXZo=; b=QCvohi3fDOni/fKQsb92fs9Dc3r1TOTFtep5yW3r5sf4tjjtQlh+BfDNoL2Zc/xFSu rPdS2lAsyd/q6GkN+hqE2m0LTUuedMM6MgGlJv4mlSSQONEiRhf2xzgfsOclgbspf2SC Fn3YpmM+W+GRI8mhvIUAxgr1B2tqfV/G3Ezaf+/+XlakOGtGWwsrvcieen4VCjLzemI/ zlTdrqCkDuZ8o0jCeTBOLCZ2RHQtffaIZZ/VvkXQAVhjTHUJ6AFmmmTztCppXG3I1v28 RrWRqLf8zL0H/aks+CVNn4WO0JU4cGvBDwThyGAUGlSTMLmoyPX61kcDaK7+qbC5Dpqx z1Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=K+H+ni82; 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id 20-20020a170902c25400b001cfc2cfe858si7756989plg.489.2023.12.04.16.23.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 16:23:01 -0800 (PST) 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=K+H+ni82; 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 49742805B208; Mon, 4 Dec 2023 16:22:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234796AbjLEAWs (ORCPT + 99 others); Mon, 4 Dec 2023 19:22:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229742AbjLEAWr (ORCPT ); Mon, 4 Dec 2023 19:22:47 -0500 Received: from mail-oo1-xc2c.google.com (mail-oo1-xc2c.google.com [IPv6:2607:f8b0:4864:20::c2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7921D107; Mon, 4 Dec 2023 16:22:53 -0800 (PST) Received: by mail-oo1-xc2c.google.com with SMTP id 006d021491bc7-58d08497aa1so3706396eaf.0; Mon, 04 Dec 2023 16:22:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701735773; x=1702340573; 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=QWzi5VFScWkMe1hfBc2EXsXYdiAbd/+bGr8M1EA3Tok=; b=K+H+ni82FYlyjrMiSF6SoyQgxEZZp6Wb3Bw9qkcybErFDd0be0PMxoDzJXpMdTAeqY /p9bwRWd0azevBZExkFA9l2aVHr/lRpvWymmRigJCvPZsczE4F2H7iaucAY+Kljr0W4P EMUDvd0LM3eQXQ80vsMy1u6uh29J20VKkBn9vzm7oYuGXLwOOSC0NEq2TdT+O885ph8y jyS6y30uh3O4KJvCctnYPqXeWejupcds/ggDrHRacPUpZqcsjgcIgKvMBSVkc+fNcoAQ fDGeQ2qxoK6r0gnjKva0M6fGfFYilyTBD1QeoIF7fIoUDGWjaS8EfQrSgYJh5Vh5ITrx Mi4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701735773; x=1702340573; 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=QWzi5VFScWkMe1hfBc2EXsXYdiAbd/+bGr8M1EA3Tok=; b=KFZ/dmcOffcl3KJXNQv/4Qv42lKR5sbt1RUon37GU4pKn1Arl5hoz2NY+Tmrugsh4H tdau8dbpnJrIiTJGVeEtg7vn8FzyOz3fTYh9smXIkvsgCCZtk3Z/Ug5Ey8HQ0Z+e+ptM 1zpBZkgNh4csdfkGQ301FMIgMju/sNaIpKPEV2CxB+6xFfGDsJJCHqKc1DNxE/gp3qDm OL6Z+0C0KyzAm9QybX7f90W3m0s8Ke2akwC7Cs7N14Gg260VOx0ghL0nW+ZzL5B6PpYa Mj24/gedLOwlhOWOPTO0Y46+xaMZ2TkvIbOmQN6zvueaDgOq+/d+LqtOABS2pnDkrUf+ yF2A== X-Gm-Message-State: AOJu0Yxiewo50apTuHqj2IhDLLI3KY0ncd5bInp10ZKlmq9UoU2pVuSo RzdWLgZD1hIOyqpVRwOuaV4= X-Received: by 2002:a4a:e883:0:b0:58e:1c48:4951 with SMTP id g3-20020a4ae883000000b0058e1c484951mr3761102ooe.11.1701735772698; Mon, 04 Dec 2023 16:22:52 -0800 (PST) Received: from localhost.localdomain ([122.8.183.87]) by smtp.gmail.com with ESMTPSA id t67-20020a4a5446000000b0058df9ed9291sm1976915ooa.34.2023.12.04.16.22.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 16:22:52 -0800 (PST) From: Chen Wang To: aou@eecs.berkeley.edu, chao.wei@sophgo.com, conor@kernel.org, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, palmer@dabbelt.com, paul.walmsley@sifive.com, richardcochran@gmail.com, robh+dt@kernel.org, sboyd@kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, haijiao.liu@sophgo.com, xiaoguang.xing@sophgo.com, guoren@kernel.org, jszhang@kernel.org, inochiama@outlook.com, samuel.holland@sifive.com Cc: Chen Wang Subject: [PATCH v4 1/4] dt-bindings: soc: sophgo: Add Sophgo system control module Date: Tue, 5 Dec 2023 08:22:44 +0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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,T_SCC_BODY_TEXT_LINE 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]); Mon, 04 Dec 2023 16:22:57 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784399298222956712 X-GMAIL-MSGID: 1784399298222956712 From: Chen Wang Add documentation to describe Sophgo System Controller for SG2042. Signed-off-by: Chen Wang Reviewed-by: Krzysztof Kozlowski --- .../soc/sophgo/sophgo,sg2042-sysctrl.yaml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/sophgo/sophgo,sg2042-sysctrl.yaml diff --git a/Documentation/devicetree/bindings/soc/sophgo/sophgo,sg2042-sysctrl.yaml b/Documentation/devicetree/bindings/soc/sophgo/sophgo,sg2042-sysctrl.yaml new file mode 100644 index 000000000000..e50b25aaaa95 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/sophgo/sophgo,sg2042-sysctrl.yaml @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/sophgo/sophgo,sg2042-sysctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sophgo SG2042 SoC system controller + +maintainers: + - Chen Wang + +description: + The Sophgo SG2042 SoC system controller provides register information such + as offset, mask and shift that can be used by other modules, such as clocks. + +properties: + compatible: + items: + - const: sophgo,sg2042-sysctrl + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + system-controller@30010000 { + compatible = "sophgo,sg2042-sysctrl"; + reg = <0x30010000 0x1000>; + };