From patchwork Sun May 19 18:42:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13667890 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1A4F5C25B78 for ; Sun, 19 May 2024 18:43:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LglOqFAfWhIkDIpAYnnyB+2ey7rhgGDYbelG1umNFso=; b=I+BC6qLDFjjq2k C6M/vHo1VD6Kw35w4p2TqyCPq6lPQtu/YB89BBs3fuNH7FG5A7MSICYzKFHAaDbXFDte/JPk1Tou2 73tfrWcZQ6/7YeA8glnIMc9E1qCdIOt7n8vBj7dkxSmT7WS0+8AxVPS74Rajv1w9yCTDONhYcrHd7 +Nw3iI+upzXaMWNJfMD70sxPm8fzzOYlEpXyxqUDaLn2mTXVnfHOOrH6QO54WYpFx876jUpKdBxX0 UcxTvdJITa+Uu+npd0wfcO4ESnbz7qM/8maXwdGh0K8nbXtM/eGjPY90TLm4FvUAaDil9gfKu0AQY 400kS2qU1/zAOu8cHucg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUk-0000000CWSh-1XUn; Sun, 19 May 2024 18:42:54 +0000 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUW-0000000CWHQ-2sLI for linux-arm-kernel@lists.infradead.org; Sun, 19 May 2024 18:42:43 +0000 Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2e1fa824504so27015831fa.0 for ; Sun, 19 May 2024 11:42:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716144158; x=1716748958; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=RG1aV24RN7E3p6c9ASDyYan6B2OB6NWdWdHsWR4ahx4=; b=CM6Mj1EWkbHZ5lYXeFvyse275Fzr/qwjdAW9BfnIdLFzxd1b/mWkwn1YchS+MiIwYe xkqw7PNKjIYRD6tWLc+BTLh9DOh8cRWmbM8jEJuner3DayyZPvnyY357jr9KLG2TDdyA N6XpQdY9ER8Oid+ZF1A5zuFGq7Tc4PGWr8LKFPmWw3BYggzt3BJ0iYnfhqJKjvEsUwkt s4BYQ/no70dbSVvFPZTkM/MWW59inhNIPy8kAtl5pRo9WEnbCX9KHh7tIJfKhVxC6IWC of37yDr/Fzm/fTYDjgDFiwKiXMWRMk6U9JaK+2u50otSOIubbhklp+IsRtAglFidieBZ uSLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716144158; x=1716748958; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RG1aV24RN7E3p6c9ASDyYan6B2OB6NWdWdHsWR4ahx4=; b=H5laamOhMIieMRJ9+/ODZm7S3iShK/ZxmHe78+17JUAuducdeUT20yI0IXLDyqVQb1 4/siOpqvqCy5Ry+eGSjlEJYwlxbV+5G8RAQwYZAsipSsxk9eRq7K4QWR7BiJwii5l4w4 xMVtCYsmBTeGPn6iEUMDfLkDs5wsyqggxXeGaZ8S0qtE8WFhFlLxZo/bW8SDBbCXVhFn FZUdMcNjhERvl9hv7TInXUIvXLhcttOVSkfNtO6xTbG1Igig6XknPHqHcXLX/hLnIxzC tlWircO1cQC6Zec9e9WrJgVuCBR3XcHQ9H4hH10riBSurUHNVk5kJAQkAdqFMZCU3ngG DTLA== X-Forwarded-Encrypted: i=1; AJvYcCXdgckR4jbQuFyrvqiLdySFandO8JsSVyJ6Oj1UNwF6rBVv7gr95zuhbgQrxf0UJf/GhuicWcXre5Sx2bHErb+UWYpG2fbdMkd0ndO55QytsCmlMoA= X-Gm-Message-State: AOJu0YxzmyWaAkQY7KWCpzU7l1fPWzG1FLHLBYqi5MPpcB8jMds+gvSs OhSXpVIQWMT3tt7MQnROf795LuHkEbjRWoZ2bVR9FunPlv/orVDHC0/fOd9/zBg= X-Google-Smtp-Source: AGHT+IGeP5PBCKh7R7auyfHm+GXOjm+D8EqF1EdnvZtmcr8kFLBQpsFXYhpZsC566l7dfYdexNT+Ww== X-Received: by 2002:a05:6512:3447:b0:51d:82a2:8d72 with SMTP id 2adb3069b0e04-5220fc6d7fcmr15155418e87.40.1716144158271; Sun, 19 May 2024 11:42:38 -0700 (PDT) Received: from [127.0.1.1] ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-575313d97desm1789397a12.41.2024.05.19.11.42.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 11:42:37 -0700 (PDT) From: Krzysztof Kozlowski Date: Sun, 19 May 2024 20:42:17 +0200 Subject: [PATCH 2/8] dt-bindings: soc: sprd: sc9863a-glbregs: Document SC9863A syscon MIME-Version: 1.0 Message-Id: <20240519-dt-bindings-mfd-syscon-split-v1-2-aaf996e2313a@linaro.org> References: <20240519-dt-bindings-mfd-syscon-split-v1-0-aaf996e2313a@linaro.org> In-Reply-To: <20240519-dt-bindings-mfd-syscon-split-v1-0-aaf996e2313a@linaro.org> To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Nishanth Menon , Matthias Brugger , AngeloGioacchino Del Regno Cc: Jiaxun Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1847; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=KLwl8QR9y7PCdA8grXbhLfcs6VAielprx2Avjw32E0U=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmSkgRADA1CSPsrZfoM/PxSQDkifcbA+LbMFTzB lBlt3VKxieJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZkpIEQAKCRDBN2bmhouD 1xIID/4yXJXNCUgau/f+VFKvHW5KJWWiPMu4jqoVeRHkyYejYdulr/dHo+3XZU3LIw5HIssC7VK F3I+eB/7GAZqSlc/5srwYTYqezXZnWFaQqlLdoAqJBV0ciHJ1jviOpUbehozInPy9UCBWHgRYL1 VThz8W0xRwqMJ69aM2DrWawttaPwDgrGpWKhRB5f/wTv5L94oHiJM3SA+K8WJ0HHKOr3/x4s655 d2l0j9qYzD7zTaXkpuJKp95QCy1ivqruNAPY75hMiQIC+YrmlBJtzeU1iazhyv3XQeyPrWjpWcH bBSLvkZhJfN3RwyxkP0+cHzZlNRTqg8K+Q8uPETF+fHopYK/h6smjrtmP2rDBSsZB2c44sZn5pS F9CkANvNYYQZC6Y741OfQg8ztXKDm7x0rLeF7UEWLXcr5Gctp+qY5aXARPmrTwbJanBeoQxcspw QDl0Z1ajFgz9yhr8FJxLMnvmM+kx5K9n+aAtcyuInz219Z8iiDTFi4R/2Lrj+A5jRJ98Pf8kaK3 5kxL/2qA+ac9qBs5oM5dG85E2cQir6ZArE5rBtEtXGJij7289DoJOsPYAcrmKm1PU5BhVupIAij NFXaRvjvBQSxI7XayKQk9jJs/LDV8b2XXWu/0wZZhxUPDutRsVwdbucmUlEz8stJK8O2wLZvGwn GmJYcvQFskDl4qQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240519_114240_772969_5FA3982E X-CRM114-Status: GOOD ( 12.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document sprd,sc9863a-glbregs compatible already used in DTS and other bindings example. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring (Arm) --- .../bindings/soc/sprd/sprd,sc9863a-glbregs.yaml | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/sprd/sprd,sc9863a-glbregs.yaml b/Documentation/devicetree/bindings/soc/sprd/sprd,sc9863a-glbregs.yaml new file mode 100644 index 000000000000..49add564e5e1 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/sprd/sprd,sc9863a-glbregs.yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/sprd/sprd,sc9863a-glbregs.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SC9863A Syscon + +maintainers: + - Orson Zhai + - Baolin Wang + - Chunyan Zhang + +properties: + compatible: + items: + - const: sprd,sc9863a-glbregs + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + ranges: true + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + +patternProperties: + "@[0-9a-f]+$": + $ref: /schemas/clock/sprd,sc9863a-clk.yaml + description: Clock controllers + +additionalProperties: false + +examples: + - | + syscon@20e00000 { + compatible = "sprd,sc9863a-glbregs", "syscon", "simple-mfd"; + reg = <0x20e00000 0x4000>; + ranges = <0 0x20e00000 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + + apahb_gate: apahb-gate@0 { + compatible = "sprd,sc9863a-apahb-gate"; + reg = <0x0 0x1020>; + #clock-cells = <1>; + }; + }; + +...