From patchwork Fri Dec 8 01:13:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Wang X-Patchwork-Id: 175510 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5172553vqy; Thu, 7 Dec 2023 17:14:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IHtn/3BYMeYeqNxPtvt0GIfibcIn1bfJVvOmJuY1WfufLd2rMafstjCtvVx6EYvZbbH/XpJ X-Received: by 2002:a05:6870:bb1b:b0:1fa:1719:dce2 with SMTP id nw27-20020a056870bb1b00b001fa1719dce2mr3729624oab.28.1701998045241; Thu, 07 Dec 2023 17:14:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701998045; cv=none; d=google.com; s=arc-20160816; b=SIDnL897j5THU28oTHsDxqYpLWWIQn1L7K48DN3jKBF3Xh95EuCxGVtHO9IgopqQXD 9d1/mbH9oW86rg7uaE6nZ+t43EMSshlkpM4cyDaRnqDv3HwPUdXSu8CjlO0UF4XW2PWx QAiA0AtegnjIPA7yhPiEOdnmd9hgJ0JN9rkWaBYPB2cEnBp9wuCehSxCg8y92vUgQJeM TcXcUKwremDf8qjatc2Dfz5mbTp10PaVHkIvtYbFpIfvf882CkhZfCrbxzXXsFGYWGYf 0Dc1t6jAa0v8yJD+s+0DQ974gfQHvkekG3ezwSUah4FYbm9kj+QknOst3FMBmK9i4taU sAag== 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=+Wg3vTVI+KNNtCZ40tO4THN1Rc/sssddRQwHLFYhkAc=; fh=UgnadZx6rDvWjaYrhztjxltBzJxOCaFnpu2EybmIvlM=; b=KoeAv7VKOf0UX/GMJe41I9RzdN7YPXSnK6i3OfJpqVhIiL9n5m1gSpA8PbcM3AIXCW wu4/PoBRcmMiQH8qrRS1XQfjZaipLwtAyigwZDf1Y/6Gwk0gZrvOSbECLH4PIUvzBaZu teNRXCU9PhrXi93mzZd4jiMs57Td2qOOMbZ1EcDPj746Jm+Q8LzAYZQ69ELvJvqqVIwp jh8XzjxnA7ua4IG+CbcLdFb3+niFCpyqNzcumWo/H8gLZ8din5IlkyplGjuCBMK1/x/S KYeqd4eCqf5sbdvDXwW/rRdL2bZSu4S2B65I4wMIvWSFr2r70pHDfA16Y6LMB46rUvpq vnHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="RpG7F/Az"; 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 ca14-20020a056a02068e00b0059b70e69eddsi622433pgb.300.2023.12.07.17.14.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 17:14:05 -0800 (PST) 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="RpG7F/Az"; 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 A410B833E1C6; Thu, 7 Dec 2023 17:14:02 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1572887AbjLHBNf (ORCPT + 99 others); Thu, 7 Dec 2023 20:13:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235374AbjLHBNc (ORCPT ); Thu, 7 Dec 2023 20:13:32 -0500 Received: from mail-oa1-x2d.google.com (mail-oa1-x2d.google.com [IPv6:2001:4860:4864:20::2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 308581715; Thu, 7 Dec 2023 17:13:39 -0800 (PST) Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-1fb0022e6a5so1061332fac.0; Thu, 07 Dec 2023 17:13:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701998018; x=1702602818; 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=+Wg3vTVI+KNNtCZ40tO4THN1Rc/sssddRQwHLFYhkAc=; b=RpG7F/Az9K2luoXvevJFQvG/NLppBbh8dFmESqo7wcKp7WirwG20BA2bZEoWboA/rg HWyjgybttLhmGll3ndv3R2oAGB7fUb1Cq2p7uHZtpdWbbjMh7Ap7iljSJy61UjlXGgKU cTlqnACt5RD0zQyQWkNjTw+4JyCx5ccOaWtUdPF0KOz2uztiuUgt7Zf9W2wLgjgxdoAY ZDoOjSjWXhyHU8dvLeUH85lBFi80gK/WeAHCVioUC6I3p/bo8Ugjc7wP5OijiqUb/Oes NCBqDdnHW+uRwJquU0yMrZQXEhksM6vCM8NT0B6MFG/4zo3ANMPZWAFjxSyexba8wn16 ewoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701998018; x=1702602818; 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=+Wg3vTVI+KNNtCZ40tO4THN1Rc/sssddRQwHLFYhkAc=; b=fzoLIXe22vKb0GkQKp1vk2in34pIy4466t2yDagoDzlIifeyw7kv2jPfRAnGCG4Ql1 Jbs5Gy9arVKmf/zRJR4la2XfGPaBL1mbLLqPXEqSJQz8WCPScTt/ACziFawZ28RkbunW zQba6M8LBT4cK+dmIp4q4T5IQEFsMjD57P3jGSAkIO7swp+FAvcaZpe+OEgeIbvZCale lKGObhgPg9ZBzLK4fUhFWRt8pMR2ne/7hK8cz4p+wFnqt7gR62ioyQb0t8OBipeT9oms 8pUb2wux2Bpgr13OCyzAfLfnwRBizPF8SpfhyfAu84d4PgwwrOg5EM6am7z4YuBH55FS ebBQ== X-Gm-Message-State: AOJu0YxOHjIOEg5p6Lvi1l3ImPL87r0S02ENMjTGs7MAsHAjhjLdN2DK 0+VDt02uEb1Xzux3pdv1tMs= X-Received: by 2002:a05:6870:a798:b0:200:4d66:39ce with SMTP id x24-20020a056870a79800b002004d6639cemr19714oao.95.1701998018344; Thu, 07 Dec 2023 17:13:38 -0800 (PST) Received: from localhost.localdomain ([122.8.183.87]) by smtp.gmail.com with ESMTPSA id qb7-20020a056871e78700b001fac77ee907sm207493oac.33.2023.12.07.17.13.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 17:13:38 -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 , Krzysztof Kozlowski Subject: [PATCH v6 1/4] dt-bindings: soc: sophgo: Add Sophgo system control module Date: Fri, 8 Dec 2023 09:13:30 +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 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]); Thu, 07 Dec 2023 17:14:02 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784674302651567623 X-GMAIL-MSGID: 1784674302651567623 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 | 34 +++++++++++++++++++ 1 file changed, 34 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..1ec1eaa55598 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/sophgo/sophgo,sg2042-sysctrl.yaml @@ -0,0 +1,34 @@ +# 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: + const: sophgo,sg2042-sysctrl + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + system-controller@30010000 { + compatible = "sophgo,sg2042-sysctrl"; + reg = <0x30010000 0x1000>; + };