Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1515608rdb; Thu, 7 Dec 2023 00:57:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IEBCOtRJFBcEOrRvNWvWPUBQ/PuKxxBvlDgkr50SRm/UFYzB4fd9tjwnXciIeyk+NtO8SDV X-Received: by 2002:a9d:774c:0:b0:6d9:ddbf:853 with SMTP id t12-20020a9d774c000000b006d9ddbf0853mr195739otl.72.1701939470297; Thu, 07 Dec 2023 00:57:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701939470; cv=none; d=google.com; s=arc-20160816; b=YovPrD7027CVpxNyypYN/xdUpltfDpRGwjeSQuTGQmsHpT+P9E8xpjOfLw2TyafQOd qRUI8LO5f93+nJNJv5T8RqWnAkH8HUc0PVG8IMuTR9N7BB6W2z2Q/t8GdKVe0LJFchYN sVsQKMEzMTxJSeq1tzKssgr6AoBeG5GCZ5rRuE+gmb/7P9GUNUXm8Kclb80TFOnTJ7pa cVVja0suxQmBVYjEp7p6cn6x40hJolE7ZgGJEWhsrSL3y+uI4zjWyOY0HtFNJCNh3soy 6xTAFG50D9XJ5IJU4NIKc2Tg4ZWbZUIebwlTD3PW2aGfN0FWMLd9uCjKhwq+vND3sHFo ++8g== 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=sAucxzzq1jctbu6NvzxUldiEyU37zGk38LF+z2steYTO1jRxGJteMpRDYEv2hl2bWW SIB+o0BIRfH3cMFZC2YucZ024rK3+lpa/ScShQpjcPR67bG18dY+HiJjwUgsnti76OcS xsE3dOw6QOZNMqbS2VZLsBvsdspKYS0oljVonjQZhmgo5sQnvHzglK69XzdH7CiPKeo+ 8Gxti6Cwjtq9Fm6qNjLLdXBxKvy6GOO7UQfYV6JRPgMsxoKYBTaARcUGmN7T8uKrtIAB T9OEGKlUDUPREMkQ0Kvn/WEfbjmFaMeg0bNImE6Y9NvPsb/yOyLDyF3O+86b98bvCZHk Tubw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=aI1tKQT1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id 142-20020a630094000000b005c6650f66bbsi835615pga.416.2023.12.07.00.57.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 00:57:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=aI1tKQT1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 8878B80B8E5F; Thu, 7 Dec 2023 00:57:44 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231144AbjLGI5e (ORCPT + 99 others); Thu, 7 Dec 2023 03:57:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjLGI5c (ORCPT ); Thu, 7 Dec 2023 03:57:32 -0500 Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A973719A; Thu, 7 Dec 2023 00:57:38 -0800 (PST) Received: by mail-ot1-x32e.google.com with SMTP id 46e09a7af769-6d7fa93afe9so422722a34.2; Thu, 07 Dec 2023 00:57:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701939458; x=1702544258; 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=aI1tKQT1If3SLW8VhMnyvZiPlrLq7VpQ4CHDiWc3n8d6if1ZjZMi2FsAajM13Qtecv A9+nDQ5ihRabYr3dLbXQngohJAy/DaHZgeAygX1M3rnMYBt92l4Zd7vyqLR1isYt+E1I j2Hx5HEkYJl2IBYme6Vu+9HJK+diZyqUMgjFQ3iYGIyxYP895kgISgmTUDyww5AECXHs rLVrcgu6sgfYpvTiVvQ9QuDhLkb24oKJ3NaE85NL0ULHqxsnFvQWE1a848qBH1e05ZsA ReNTefvEXW1/UjXLChWF9nW63HjHZauRRPxmH0HgRfTOX78NgGfJZqLy5x//CII+5XZq SxZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701939458; x=1702544258; 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=OKEHt0sdW02K4YC/woNVImF0rkGjjTlJPTWr45bqnRNV71tpggty/645DVUP1vvSTk JmAexjLTGxQOEGAijbNC+ocb68THKzmtLwWxPVYGLS3M2I1WmCAuXCUglejIfcr4vxit L+K/FKA18wdt4zEWUIXLi9WlJpta5kZbqIFtecIjLiJME2ccw6sx5O2421miDzvF1d8E 9w54XcnUyeLqGcIEHhwU0SniIwp9Sz9keMGlpNAp+VMtnkJbAiXsGhFxm90sULpUKKD6 O7nJ4gnALGP7c9/r/B51Jp7fBxOaESzCuK4Zolb2+cf5v7wkHDaa3t/i4ZfLhtqz/8Y1 ZBkg== X-Gm-Message-State: AOJu0YwdndLuRwlIQzmYWy6Cshwzx9q52DWuMd9RI5ZgDgZTA0XEw6Fi pk1LKZwq6CInmC5wrhp/WkE= X-Received: by 2002:a9d:62d2:0:b0:6d8:2883:cb5a with SMTP id z18-20020a9d62d2000000b006d82883cb5amr2130164otk.24.1701939457879; Thu, 07 Dec 2023 00:57:37 -0800 (PST) Received: from localhost.localdomain ([122.8.183.87]) by smtp.gmail.com with ESMTPSA id a15-20020a056830008f00b006d7f41c7e11sm152567oto.33.2023.12.07.00.57.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 00:57:37 -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 v5 1/4] dt-bindings: soc: sophgo: Add Sophgo system control module Date: Thu, 7 Dec 2023 16:57:28 +0800 Message-Id: <3bb50fea3ae6e15f67dcc5bc21315edd1f4793d8.1701938395.git.unicorn_wang@outlook.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 (snail.vger.email [0.0.0.0]); Thu, 07 Dec 2023 00:57:44 -0800 (PST) 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>; + }; -- 2.25.1