From patchwork Thu Dec 7 08:57:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Wang X-Patchwork-Id: 175026 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4641089vqy; Thu, 7 Dec 2023 00:57:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IHRCFqHxJ8rQMkB6omlp4Oa1+S1BHmNEkAzEQqTWBnoPzOkKV8pv/MElCTWmOCWP/BN3rbi X-Received: by 2002:a9d:7b58:0:b0:6d8:777f:9949 with SMTP id f24-20020a9d7b58000000b006d8777f9949mr1876964oto.3.1701939464848; Thu, 07 Dec 2023 00:57:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701939464; cv=none; d=google.com; s=arc-20160816; b=ARZWWzjjPBbVjzTxnfqR3wBGrLwWvLEHPxnYcROrXQYDba6z/i/f+ODu8GDjDtTqUa bd4i8wU8uRwf9jdc7k0r2qipHnRGhSXnwjUB+5vKUiTft19S2GZSXmsAKRYpm8iS0jJE Dr7D6pKUZNzfBIDKa9IrokbV6g12oJfO1y/OlibO+DhwmaKnU76kBVcNMF0aI/UNu0/a 8nvrrsWOtzJe51Dc4FI6yV/uMFX+aTZ1dD9Pl5tzJAwCJfsbiZRKFuCcNgP1+FdZFXs4 VQU2CA3OCeAZD108mKf0OA/QDf4BUUf6nw6ADpvJhhk30HQsawxw3plOorFgOcd3yykf u0Qg== 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 Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id ca3-20020a056a02068300b005b99697d854si859811pgb.673.2023.12.07.00.57.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 00:57:44 -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 C42678092D95; Thu, 7 Dec 2023 00:57:43 -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 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:43 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784612876501214597 X-GMAIL-MSGID: 1784612876501214597 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>; + };