Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2068539lqo; Sun, 19 May 2024 11:43:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVLjbQMp88ZapBz8zyOzqcnFCH9QA+pPPoyhZaPitOgOoVfn5n3X7+Opx5K4EMQu9IHK0UKQqNKpfyOxLeGJZQe0X5yqzSX/tA5xtlyyQ== X-Google-Smtp-Source: AGHT+IEVAUsk70Kb9vkbpVq7vk7+MSl97WPHFUgtfvkpDKvkjTyB+qslP97GwjyJcNyyTYZBlvOj X-Received: by 2002:a05:6a21:3394:b0:1af:8cc6:abc7 with SMTP id adf61e73a8af0-1b1ca3f388bmr6019277637.15.1716144188706; Sun, 19 May 2024 11:43:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716144188; cv=pass; d=google.com; s=arc-20160816; b=bPMH7ImQEBDVjAuA9t8yqpxQ0bTiCFDs/VwGpD/6h2CTeoaAD9tnz/nhqFq/GxI//k WIdZ+Kh62eU9bCxGiDPGXeBvOBf8tEz4TvqYlGGgQ814CC6RCAzKoa1mTPFp1EM6FVYK +leP9fPnc+ffQJ8F47Bu69UNzIJKIM34nH9vH6I8epKlr6pi99tIk6f29/OunSREukGd oxMUQ/OR9k17YIki43YQf+EvHXSHCh5V5Pvjly4fzVUN1DEc8DBsx4eaf9fOAT+xo4B9 7CxuehlWAYH/yHWAzJt65N648HytK1/XJHBHTSlc18/Ksalf+h4oVdZc8aZ0G+ZYJNyO JeIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=RG1aV24RN7E3p6c9ASDyYan6B2OB6NWdWdHsWR4ahx4=; fh=5ot8tFWzPjSFO4qf2wrqqqmJK88iZ7RrfyAwvoy8Hvs=; b=okTyK8feL38JSVKssjPL8NhNIo5H/YlqMnhzrSjcoxq2VsLIp92G/KcoKyaGtRZHPA waIOtNSvYVvMC3JdyKUw9dZLgG9JqRJfeVuZcIoMySNqi3Q51kPuu4tn6H2qCjskhIWv ju+nLB7f0nFmcgliygb3WglxRCD8GieqzPhqPOx901V2CzIOxFDJ6BbXP2eaofMSJwb+ y0y92dlb/+u+t8QAxzGsYYlpSU9grZ83P6EAN+zCkTgmUi4k6Y7oJ+bpGBtG6oBksKrK sytT6SxNvwsrA8LeMj1TMb51O2rvRcpclmdj0LJObXpMFts8qkYvvwFCrlXac8FA/ksM r3vA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H3jvTEd9; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-183205-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183205-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2a8f2d6si1535754b3a.89.2024.05.19.11.43.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 11:43:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183205-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H3jvTEd9; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-183205-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183205-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 6CA8CB20B7B for ; Sun, 19 May 2024 18:43:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 133386D1C1; Sun, 19 May 2024 18:42:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="H3jvTEd9" Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6CA826EB4D for ; Sun, 19 May 2024 18:42:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716144162; cv=none; b=BaGeCkrksSZOabitKDqCdzzMODBaD0XDVh8npawYpnQ8rFMKr9TZkFlD8up935l2aXxnzTSkWGCk55cPb/8gHI4UT7W7uCdUE9tSY9i5npZKb54Nw+9xOoUeko5l1V4YP4UPQNZ4oJv9+bqg10l6LV/ug8Sl9kJcd33OnVR7GDI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716144162; c=relaxed/simple; bh=KLwl8QR9y7PCdA8grXbhLfcs6VAielprx2Avjw32E0U=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Of7JcALU0OL3SYrv5A+xhy0S4WrJa91Z2n8mFyZapUYPTbVJ/TD3WZlm1Prc9NkQg3dMDYUldqg2bjEVZjd9M4/SwNCEfYGUBMsz9uafKcUhSBZxZUm/Acr7Kxk3anrCBdtCoauUv5Q8y7ruy0bQzhzCdFhGXwdNAIGythJASTU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=H3jvTEd9; arc=none smtp.client-ip=209.85.167.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-51f60817e34so4215550e87.2 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=vger.kernel.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=H3jvTEd9k0Uca3R6O3JuDhc4CNcv95tZ2/Zrc73LeBsoM8DDrZs01IhvohenY6njhM koA3hD9PX1sbVQMWeLUoNrpG9hw75M0W/9t5xyjQZ+spagvpueYVj5+LHrR76BdE3Dty UXbUEBb3rkoY6mEuR8jT7jiNWxECGFpHAR9fUnhWyB3NOqhtA87w1Lg7KPc5befjuNwu vVHj15xM3MkoM34I+mFyJsw0EJQwgZHfakbpD6ku01/8wrG85A8r8D0tw0xnOsy0Z/SB QCUmN6sCE9+2ApI8gT5LMIEZMA9/fevRIRt5BscHdDOdIeK+nM3Zzu53EXzyb+CghwAE OTBw== 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=PwC4NkUe8lqwk3nWZ6M1HhX6dIVBfNSZsNHUNs1NpTrQJaLqU3AlDLoFtc5goO5GHW tnsNM+avx2hJ1DOA3xy8jYOVNuVinc7Q+xjVZzkXvdOp4ZDIwRPKSnGH0Uz/Qdpwq0+1 ftxN4MO+QF724SN+Fw3QPHfkX4a/HruV8+UYwWpSPXvLXbs7kYItFu/fwltAQzBzment JvnJhB2EyppM1LpG+zeGrHr5nxErjHWMU67WhZKKqfEYJMa+/JY3ZE81y6gkPKNz7/gI G/Ki2DwRzicZy8FgU2Q0V0OLqmMZ9GyQG8OB9oPc9fc24fUOZ2lZ3n3R8vyWrIFAplA/ Y8gw== X-Forwarded-Encrypted: i=1; AJvYcCVjo6ySowy8+IL0H8LQQafrwj1Wjrtkf/E/jXi7auc/dwxg3OSJ7wj9J+9QnAYkJ+8fisdu0yj4hZBEggMobXQtClJrrgMuCignGZ+9 X-Gm-Message-State: AOJu0Yy2tdJdiI+GNGcuXQWgZJBAgrCkvWMDIlAhe3xfO2jJGEZNOZJQ zXGc+QHTGwQBUeGFgWL4GIDlskvWoI7IR5VAaQOLpEDw8PmWatbM02QBCEm+iEw= 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 Document sprd,sc9863a-glbregs compatible already used in DTS and other bindings example. Signed-off-by: Krzysztof Kozlowski --- .../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>; + }; + }; + +... -- 2.43.0