From patchwork Thu Jun 27 10:32: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: 13714142 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 6CA71C30659 for ; Thu, 27 Jun 2024 10:33:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type: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=/pocliNAoVNTjwAmPI4SdlGncSkrq4T1ZnfC3MYG3nM=; b=IOXJSjZu9/zV0LmpqBxTfSznCg XIQur5q4vXeU7+6mxSvFsA74ihqQ6W0yIHAVGwBQcxxkTvt2r8rJQwyvOKDUOW1ZE2Dk6fdWLsXMR ANgxOMvAxxjUd2wPdy/TRp/xxgwAkD2ZNsyvgTPiXSD7q+y4k1Fyq3/zssX0uBGvhP5qRHYwRE5Rd ek6BozMj3l3nFS0fURTpG1HGPnree2toyRr/hBeth760OPJXJfODt5Oc7j+PO+atoMtEi9e4W8byZ 62jBWi4gTzIl9Vrl09melBJiCm2blk5rOCa4DirOcOlPPxgV/KjX1P43VMXgttfi+rUZ8xRBG5ad5 Qvarpk0Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMmR8-00000009xLu-1lbk; Thu, 27 Jun 2024 10:33:06 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMmQg-00000009xAE-3sVg for linux-arm-kernel@lists.infradead.org; Thu, 27 Jun 2024 10:32:41 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-4248ea53493so33215465e9.3 for ; Thu, 27 Jun 2024 03:32:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719484357; x=1720089157; 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=/pocliNAoVNTjwAmPI4SdlGncSkrq4T1ZnfC3MYG3nM=; b=Tz13oZ60R6UQVwC0KUwMmcY5Pono09Dk9neIxV05fq/H3X8VvcYm6YaJQvRfP44pIK bW0fGSpyUu4Ec3PgBjEXDr/dDu1N/4YglgqLMucCyw65H8YDBkdlit93n3Z6YhOd+M8B jl5XYKsxYYnDyZ+yJMNYW6afcTV9uWiMLLI2tzYOp/STz5bzcKaybdVWKi2h3sjIvyHj nBJwhjXKl5dxKCRxm3Vl5sG330+43A2tim5yCeVByCCWD/mWcQR/QDV15HDqQ1nAY0mE jVN3cPVj1TU/MseflfHCMLmhzqDJDl4D3UUYDBKF9b+wFdI7tWvnzXiALbGE1DV3MKcT YCaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719484357; x=1720089157; 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=/pocliNAoVNTjwAmPI4SdlGncSkrq4T1ZnfC3MYG3nM=; b=oFds8727oolXF7fQxJQj1EIDycAojMrm0pcY0ya//PbJtvvOPqEw6VlILubr+sjOCK 8b+5Kllh5qn5n9fLLsgSgBIaJoCxnLVHxy9cikv3w8Tx8c9mZ3NEFAAcooWuBJPswLy6 C2D61IpY0/Miuzi94I2pTDYBTM6l9dwqJoNElPC01xCOLgE07YAnWls1baax33N7SEyu fkmb14aSBHP48Hp4qxmoe2P6X5zOibpEU7gbYU0fxBEGi+uAV2bCfDkdyzxrKLZyJ77q XgnBtt0oT+iJMz1SRZdql2+U0C5IELXAe/A5AN1+K2/I67GNNdnPxj6O9h9UlIZudFVQ nxLQ== X-Forwarded-Encrypted: i=1; AJvYcCWXQIPfxRUhE5J5MbgimSYCZIngxkZhYHzKMwHFtuSP2GLhzgFH2Q/G5zj7gKE8CyFM2bFCHSMGgJqXMClpmlfAgqiNtXAVK6AOTO8DoL34mlLDdTs= X-Gm-Message-State: AOJu0YxOZzPqWdWm8pFXrO62ITYN/Fre1hytsrAGO4km+pV72jNgsqRy uFYm7GUYIDduZFzClKpBHmZvEyobkmInm2AItcazaempd1D/jvf9uRwNTUDxMo8= X-Google-Smtp-Source: AGHT+IGzsKQ645okLvBapJa1IPZvlBlt1QswcG6XLfpau6Jwa+Z4YLVVxe1f2AvIV7KeLFUfMZXx0A== X-Received: by 2002:a05:6000:178a:b0:360:7887:31ae with SMTP id ffacd0b85a97d-366e95d37d3mr12440454f8f.54.1719484357309; Thu, 27 Jun 2024 03:32:37 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-367435852afsm1384352f8f.53.2024.06.27.03.32.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 03:32:36 -0700 (PDT) From: Krzysztof Kozlowski Date: Thu, 27 Jun 2024 12:32:17 +0200 Subject: [PATCH v4 1/7] dt-bindings: mfd: syscon: Drop hwlocks MIME-Version: 1.0 Message-Id: <20240627-dt-bindings-mfd-syscon-split-v4-1-dc6699a9f3e4@linaro.org> References: <20240627-dt-bindings-mfd-syscon-split-v4-0-dc6699a9f3e4@linaro.org> In-Reply-To: <20240627-dt-bindings-mfd-syscon-split-v4-0-dc6699a9f3e4@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chuanhua Lei , Rahul Tanwar , 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.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=845; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=Zb33PnEyoq7JgdCVFQY8c3fsqudJzBtmqbZshBBoQTU=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmfT+73BMgXoynDW3Ud4fMi0zPipmaTcLImpE92 Fx4eYJBxjeJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZn0/uwAKCRDBN2bmhouD 16o9D/wL/sfLuiHFTg9X1nKfJ4SjKti2z2aIxrrkHixYzPqk9OVt2u06E9hv1CcjXD08OnHa/S8 zof6DtwKy0pQAL7ssRH6yo3KB1aM+LSoTChO0a3m5zI9OSz44GP0n1bc8dpRIffi0+kBFnZ2gPh d427I1oayBlX8Ytb6j5fzKvFWZ89Q0wAq3wNTOdeX17aok/YxCUp3pq+DunObpZofs4X9J1GQpR Fhz7daq8HedFR/r2gmliyhKtZwGgkk7bMQjW0cQhNWdtg5YvK3gcNQfsPI8XztqXzTAKI4OXIwp NP+yh/adub7xzF89QnjAsmKIlcSrZVEBxcY9iA0JtnavLamYgxgdTWIDL/pHfGTW0SQxh70kMQE Gg7AA8gi10NL32yzcJHz2nKaCP7HLka3B2dJ71ZW4R3/gIsk5Cn2jUFWspjeOqCgWYgbg515RG8 ECXerrLy8VdPq9DoNazpg+0FT7BP4n0iA0oqgp5DuIWzGn4p5Zj+ANpb0s6leGzXNsM8ogHQsl6 z5z53Olh/1BP1fWeUOKo/XcEkjYdOuHNpK92ISrwXnspc8uEd36gCKfe4/xD8p8Vz8316gKYdVF B/+zrB1if+/LOi7wcfxS6zEaCfiedcpPsbjae2j9LRi52rX8mkcaB/KilcsHrNAXmt9XPwH9Ra9 GfQ9OLSIrbXNWig== 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-20240627_033239_083001_0E0D32C6 X-CRM114-Status: UNSURE ( 8.97 ) X-CRM114-Notice: Please train this message. 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 Apparently there is no in-tree DTS syscon node having hwlocks, so drop the property to simplify the binding. Acked-by: Rob Herring (Arm) Signed-off-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno --- Documentation/devicetree/bindings/mfd/syscon.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml index 993460c3cfe1..cc1e9fec5cc7 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -143,11 +143,6 @@ properties: resets: maxItems: 1 - hwlocks: - maxItems: 1 - description: - Reference to a phandle of a hardware spinlock provider node. - required: - compatible - reg From patchwork Thu Jun 27 10:32:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13714143 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 EC15CC2BD09 for ; Thu, 27 Jun 2024 10:33:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type: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=lyyT2YLj7brwLoXsAS7A6EY+f9NU6Kl4lWR4a3U/7uY=; b=k5i9PeTSl0Sne7/Aj92rnoI1Uq 9RWEWopCdmt/Gj0t7UAB00yQfRweQezw3EoL7WXESJeNHJhSm63XtVKrHbsSEewVnCy+BAHZs39R8 5XCJxa7ZFlTPzqSeAPhZZAs5S43D0n2e0EIH8+oOU2VKPu4gSkf1id+UmQ3XAVUMhC/9pqsD5Q9RA /PU90pb8s+trcof4OjZSAbdiCf3ESKCp0U96uvgUhh6cqYQQapChasw7fDPhzXM0oBPjGj5dpq78Z PHiHroHaKJTHAoRLyZ2iQKnle3MG23AXdOmjx8zJaCZAINrxlMXQiNJwazhHqanEUOEFNZHau5mE2 kK9OVN9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMmRH-00000009xR1-0R6M; Thu, 27 Jun 2024 10:33:15 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMmQj-00000009xCP-3L3m for linux-arm-kernel@lists.infradead.org; Thu, 27 Jun 2024 10:32:45 +0000 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-35f06861ae6so5849900f8f.2 for ; Thu, 27 Jun 2024 03:32:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719484360; x=1720089160; 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=lyyT2YLj7brwLoXsAS7A6EY+f9NU6Kl4lWR4a3U/7uY=; b=r70RxnJjqO0qc36Y2PDIV5m2HOFpmVTpJEhePjPTx08/A9kJYw/0zRxGU8hRPYOr2S JskR2xXJRqoKzPY/tkidoPt02QlJ1+1f4HJJmyolLr5uGuhBier0/ezYSj6ZygRV4GiZ w01Chzre80dxJzMLAclF7awmXEiXR0LkCT5e1oZSpmvmrcbWCWLvrF+ytpgNfAh5AC+Z wqb7+QXYlEmtUUtEhUjHeU9Clgx3m9zPZzK0swJjqEYdUbbU0fcwQ8qTjsM9Y8kkKlqm J9EImxv5KaRgExPfcO4pM7IoDatRAcoKyHHskET3uUh0ht87yFEREXddImnXH2zFdQfd lF3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719484360; x=1720089160; 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=lyyT2YLj7brwLoXsAS7A6EY+f9NU6Kl4lWR4a3U/7uY=; b=uC2zaH17StWiqvCU2MTUuX7anbZGA/+z7HqcTqTDgyLYZMyfqnxZo9vqBCqpmTnBPM e/FwlBYT/wPWnXuuYpmz4B1fW1ytKzQJjX5ma0TfwPlCFko9ia5cex74Ca2gU3pbtebA tH5anAsRu8+BrAR+nWSRpck+/EhBWR+KMYarnYTt2SB5Wgki1aYHWlAhs87IIgEIffqi e6R+iNKw5aWaBVPWr1UfwQYzwCIxGdTbPF8jxrTsBMfC0vF8agiby1RjoSKkkWCLd6O+ JCecwO5g+MGEOW66qb9l7lE2mI0r5L6FGNeYXdAo0MwMRkRhygWQAtJFMbqpF18EP1g+ MbIg== X-Forwarded-Encrypted: i=1; AJvYcCVgZKOAkl/0fScynkEVY22qqkR2pvVd5Esb6GIXnsp3IUbLEsS4y9BtH9nkKAfq+f8cocKRsTMxVUS7AF+CsMi4dckWXxU16CG0frlni1VVOPptVXk= X-Gm-Message-State: AOJu0YzNlW1XSMgMChqIhjuCqgcnbjZhruoB5/pI+lkQ3BfNPEv/w047 R7FEZW2DQ7JwTpuiFYETIPCCddVJTgCMlNBC2jlL/ZSShlyRGEgkmnQXi5+iMto= X-Google-Smtp-Source: AGHT+IFf6o0GrwG79hGkKV8BpMA+VgRIYka7BL6S10ENM3UTqNVZUG1ifMp9bXGVi+65SzGW46BiXA== X-Received: by 2002:a5d:6c6c:0:b0:366:eb00:9dde with SMTP id ffacd0b85a97d-366eb009e9fmr10140507f8f.1.1719484359946; Thu, 27 Jun 2024 03:32:39 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-367435852afsm1384352f8f.53.2024.06.27.03.32.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 03:32:38 -0700 (PDT) From: Krzysztof Kozlowski Date: Thu, 27 Jun 2024 12:32:18 +0200 Subject: [PATCH v4 2/7] dt-bindings: soc: sprd: sc9863a-glbregs: Document SC9863A syscon MIME-Version: 1.0 Message-Id: <20240627-dt-bindings-mfd-syscon-split-v4-2-dc6699a9f3e4@linaro.org> References: <20240627-dt-bindings-mfd-syscon-split-v4-0-dc6699a9f3e4@linaro.org> In-Reply-To: <20240627-dt-bindings-mfd-syscon-split-v4-0-dc6699a9f3e4@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chuanhua Lei , Rahul Tanwar , 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.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1955; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=GpB46U0rTX768acpnwCp30n8vR+PPYQrOeVuFcF/H/I=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmfT+7urnyUm67uS05xuiWGT99fvgpqym5iM2tn AtPDzdq1T2JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZn0/uwAKCRDBN2bmhouD 14HgD/9hZ5Rm28PSoSHukbEojyjJCkKSW8278sh5Ambb3G5hXkmasRs6lrutbdJ+/I9rLkdX+Hh BHl5djEG5ae5Xsk8HtctIzyuAmti7NeEqrEnWgXMj6gPfmUqRzBNGkm2Z13Dx43m+/ZKGScUtXg m7wE3ZrmGsJkNGoC6Q39uI/u5xYK8v0Li8DE6EwyU8E48foO32DET2jpQocvqccPb9ax7NSkAAk o4ykewTkU8eOBnJ1LA7bOd7nSehxpeOTqutu6/jnzJB8RmFGHC0bgVAozQFMIqHWf3VgILcK4ly J7K4gOzyuIdR6swq7NJOjn/IrlwuJWmTa9h/7OVhthnIWgDvexFvGIBoGeSvHadBDstHtX019Vz kr+4a+vuSkEuJjYdSN7v+bUvB6c4tHV2xhg8+9hdWFr7uqSwRaLTBXFlabroIqU/1+OxYaGy71N R1xuPwJFwt8IIH5GSj3uNhlWGmyJWceWn1KxbG7CGqdsuxJYm3oJgjUjp5ix1hKj8BzSh/KdSkd PaFQtR+8wxcQ7pj+3r3aM8TpE4+qhkg7t8laAtkTVUb3O17dvIF1nMZXWcQpdaZx+dJ+1OvOwg3 XAlZ46/c1XCw0VqUWLrGdWYHFkhN5Jmpb2iKWze8qIsGCC16KYONtmA5GwC1PAhxgJVyd/r0ota TcDsu6yq5unuZ5A== 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-20240627_033242_771588_3DF868EF X-CRM114-Status: GOOD ( 11.93 ) 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. Reviewed-by: Rob Herring (Arm) Reviewed-by: Baolin Wang 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>; + }; + }; + +... From patchwork Thu Jun 27 10:32:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13714146 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 E8589C3064D for ; Thu, 27 Jun 2024 10:35:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type: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=/72dXFog72t1SdKELuSTolYPlqsqPYanROz8CyzAPAs=; b=SLNTDIHk2RQ5iQ/x4UkqSWZVjt 58/0j+zNmhlHCpyyGO67Z+rPuUcfaDeNoTxDGOYiYK+mbYpMPPnG37RYps1RWi/AWhmlhVWLM6vZE 9lF9Bq1R8D1iMj8YJgNGqMSS5ffX5Dw6bpW9VBRgOVwcKM/wpVnKZoU4q8j9SQr6hgj0h+SjsShsv PnmQPuv7qoFjaVflbHW7WkNRZ2Df5u9MbBB/Lgxbd/7SmfrEE9TEBsD45ZMhIR0opo+fMYzOo37yy FBh7iYnr4Oen+LtXEd0LZbYq2ch8NsN0w7QMgM9hQHj4kjhbaYfqAqSodVPTvyu2gSP3FRacGmPbY iOrwqCEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMmSs-00000009yA5-1W8n; Thu, 27 Jun 2024 10:34:54 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMmQm-00000009xCu-0OBa for linux-arm-kernel@lists.infradead.org; Thu, 27 Jun 2024 10:32:48 +0000 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-4217c7eb6b4so62700085e9.2 for ; Thu, 27 Jun 2024 03:32:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719484362; x=1720089162; 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=/72dXFog72t1SdKELuSTolYPlqsqPYanROz8CyzAPAs=; b=jwv3LvGVp2z/CTDfv37kxclCB8pFzw53gdAX4dCoNJxNCqG9MWdM3apslE/Eboxk2J FDJbW1UoWQg8lQNqlBgXY0rwSExlq09XMHLNNZZbJclPsrveC6LdqFrlIy7Q8fzJi2DI t9p3DwXdfSVMq7heep3aSMwDabRpQmtHLBTPv3ETkr4eCGG+Uiu15EiwnOHGW/Kgldhh GAofXclSK64y2c3q+czRUEW/lfpXd9ahuxtg5u/s1uo6sWuJG0ZIvowm7lYGMyX11KG6 5WbaS5lv8a2IAYY1np/CuxDO1pzTlb3kD2J0eXscbQcs+bDpTituI94CTwVfhRsObwNH RgUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719484362; x=1720089162; 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=/72dXFog72t1SdKELuSTolYPlqsqPYanROz8CyzAPAs=; b=FhdTmbTlpzVtVxE6/K4zGYPgiAl0oo+TP2flglyn4WVY7A1RD9CAar0jYIJLtuMcK+ 47IzMdc9oMczWsqjcf361uuxS+M72Yw2aNqImjyqHeJvLUvxCi094pAHDIZwERx7rNjz LqWT0klruFLqLWHB36Hgin5P/ZmqGXyEeA9Lb5Wsy4ST5bfDA3TqfWVJjA7vwfz6WatM 1zGlbjKPAyIQJ6nytH1VXqP89zCI8Jc27yvGCw2/x0yGDB9c849VeUt0Q5fKr1Vt0WIh ezCnLNpbzXPCwE8E4A0HVR3UpEH3mcnKVEiVBt9svd+VKotbqZmXiJuahujqUMW1W6L/ /xEQ== X-Forwarded-Encrypted: i=1; AJvYcCU7U9aEE//szTQRuy6a8GOSy+kH0vaWHlmzbI3WUjpRenGYi/uc9n5uAklHYTVsf+gGgtX+Dquf1HfTuPadfI9raWOL2lPJEsOLgLKsJDqRaoPz4XA= X-Gm-Message-State: AOJu0Yz9C51KkNA8EAPAOVlE0aT/lbPkK3EeQGci7dswq8GE89pbSxq9 JFQCS5HdMg8wOnkrsQaRCORztlGiexO5X2pNsmVaaEnT96B7Dtoa/UfjBofZmfRq4j3IQ81t+3m Q X-Google-Smtp-Source: AGHT+IH/kzOIaLiKteMbLy0cBtwbkcTKMmn/pR09hom4+eGaNN6ZSj4lhnuKK1SwTp4TkCxMefFcUg== X-Received: by 2002:a05:600c:44d2:b0:425:5f60:b818 with SMTP id 5b1f17b1804b1-4255f60b971mr27977775e9.27.1719484362203; Thu, 27 Jun 2024 03:32:42 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-367435852afsm1384352f8f.53.2024.06.27.03.32.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 03:32:41 -0700 (PDT) From: Krzysztof Kozlowski Date: Thu, 27 Jun 2024 12:32:19 +0200 Subject: [PATCH v4 3/7] dt-bindings: soc: intel: lgm-syscon: Move to dedicated schema MIME-Version: 1.0 Message-Id: <20240627-dt-bindings-mfd-syscon-split-v4-3-dc6699a9f3e4@linaro.org> References: <20240627-dt-bindings-mfd-syscon-split-v4-0-dc6699a9f3e4@linaro.org> In-Reply-To: <20240627-dt-bindings-mfd-syscon-split-v4-0-dc6699a9f3e4@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chuanhua Lei , Rahul Tanwar , 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, Conor Dooley , Krzysztof Kozlowski , Rahul Tanwar , Amireddy Mallikarjuna reddy , "Zhu, Yi Xin" X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3048; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=UtbVZYDkzkryXQABqoTO7fSXMXAyEAw/L2jsCfy/SN8=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmfT+8Vs4KySkM/ISHPM/mllt44fo8lqKyxHXmU 2d3Cv6UqxWJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZn0/vAAKCRDBN2bmhouD 1y6XD/4z7Yy9cF49133e6MlToxL2tOnL28Qw24UdqrqQypVdhDuvNCe6ajObx+40WkuhuiFbKxu UkGNNeaC+cqKg3eG+uPLEuU5TotMNOsHBeyIBjYXVuFMhh5U58OaFes/xEaGk0phhwpfMXnrZC3 MK3AOI9j3+Z44/6tYGWODKrVQ2SmI7tmCvMNteG1ZZzo1rImQUhAN8fVJIAKmqAwZ4mBLAd4S9Q 0qSpDl5q9AlUPXvax0kerX9rNKB2ivtODdzeNUKCK9YuaiGOHDFpXy7mQfDh3iKIWSE7CkcERf4 wikiN4ItXnv1IdlNYeeWcOGMqWfa7HIODhIgibDHEb3JpTPScuhZ0YqcsWxqptxqYWng7JHmsL+ 5R1kovA92+EV+JvYkuJnrP8K1j5sX96dqH6hMzEJgaDuGt5yBL7m7LIMjIpMVCEAM8Zp0CZmuGl uFbLwuF/24O3HRyQaIRekk6WrPesH8tSm6x+6jEWHqQ3cTddVe7PBCMiDisEJV0AghtO5+P1/7B d6P3KNw/aZ8fezv4lE0xkMFNudo/OlTJ+Binwaq+YYLey/apPvZK0CKZZzyXgbEvxHwEmG8ABc1 hp7mzxr5poffPo9wh8NiQyZRKec3GUDuUvSkYZ9n6nuyWXiGxq6EvkSDZikdzOJsHIql35TtADc nDby8bfT1SG/7qQ== 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-20240627_033245_533709_10552465 X-CRM114-Status: GOOD ( 15.66 ) 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 intel,lgm-syscon is not a simple syscon device - it has children - thus it should be fully documented in its own binding. Reviewed-by: Conor Dooley Reviewed-by: Rob Herring (Arm) Signed-off-by: Krzysztof Kozlowski --- Context might depend on patch in Lee's MFD tree: https://lore.kernel.org/all/171828959006.2643902.8308227314531523435.b4-ty@kernel.org/ and also further patches here depend on this one. We need to cleanup intel's emails. Does this bounce? Cc: Rahul Tanwar Cc: Amireddy Mallikarjuna reddy Cc: "Zhu, Yi Xin" --- Documentation/devicetree/bindings/mfd/syscon.yaml | 1 - .../bindings/soc/intel/intel,lgm-syscon.yaml | 57 ++++++++++++++++++++++ 2 files changed, 57 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml index cc1e9fec5cc7..0e19eb0772f1 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -77,7 +77,6 @@ properties: - hisilicon,pcie-sas-subctrl - hisilicon,peri-subctrl - hpe,gxp-sysreg - - intel,lgm-syscon - loongson,ls1b-syscon - loongson,ls1c-syscon - lsi,axxia-syscon diff --git a/Documentation/devicetree/bindings/soc/intel/intel,lgm-syscon.yaml b/Documentation/devicetree/bindings/soc/intel/intel,lgm-syscon.yaml new file mode 100644 index 000000000000..6951d55356d5 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/intel/intel,lgm-syscon.yaml @@ -0,0 +1,57 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/intel/intel,lgm-syscon.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel Lightning Mountain(LGM) Syscon + +maintainers: + - Chuanhua Lei + - Rahul Tanwar + +properties: + compatible: + items: + - const: intel,lgm-syscon + - const: syscon + + reg: + maxItems: 1 + + ranges: true + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + +patternProperties: + "^emmc-phy@[0-9a-f]+$": + $ref: /schemas/phy/intel,lgm-emmc-phy.yaml# + +required: + - compatible + - reg + - "#address-cells" + - "#size-cells" + +additionalProperties: false + +examples: + - | + chiptop@e0200000 { + compatible = "intel,lgm-syscon", "syscon"; + reg = <0xe0200000 0x100>; + ranges = <0x0 0xe0200000 0x100>; + #address-cells = <1>; + #size-cells = <1>; + + emmc-phy@a8 { + compatible = "intel,lgm-emmc-phy"; + reg = <0x00a8 0x10>; + clocks = <&emmc>; + #phy-cells = <0>; + }; + }; From patchwork Thu Jun 27 10:32:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13714144 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 241FAC3064D for ; Thu, 27 Jun 2024 10:33:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type: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=ikedj3tVLkYYnUpwfjDtl00VbRPDE3LLjeOugxhtodI=; b=gWmHLrv6Kl2WHD0xtZ2o8oeXQm 0a+qDnHmxtu9MfXiepgH+aQwDG9zb4Ur8fCq+t/u7ONA2tYRo5nCEBJT/8Fjpb0Ezw81GNao7CFcE +OKyvblrZJ1F1HnSJ6/MpcbN9oRx0AuQp1Mvskq8tWYP32H//3J0qCFN2n20qWVj3E/WVfcCxVWPP mjkaHNvxyZ0l+yRQ2LfKuzc3K7yzHEMM3r0o1icsSOnGd7jLZt1mNIfXRhPncf3vE9bKSz+TKkouQ VIq21j9iMjwZkZSSzdC4T0zTsY9Lck/XTsX1fqp8+nxdY51Uf+KuqA9LYrZCmAvNiQ9mszi1LeMm3 b90Rd/BQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMmRP-00000009xXE-3U2W; Thu, 27 Jun 2024 10:33:40 +0000 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMmQn-00000009xEG-2jo9 for linux-arm-kernel@lists.infradead.org; Thu, 27 Jun 2024 10:33:02 +0000 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-42138eadf64so66032895e9.3 for ; Thu, 27 Jun 2024 03:32:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719484364; x=1720089164; 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=ikedj3tVLkYYnUpwfjDtl00VbRPDE3LLjeOugxhtodI=; b=nUNQxFxhWdkW4wLZpEXKx/r9nkhMz8SiK/AYChlMNyHxfGZmTPI9rF/7NpiG9gyKBg itQU83OiHJa3ph0yGH3Wt4PVQseBLsKN5FeEr0rxKEbK4m7K0SL1afH0oBFuAT2Fw7sX dusy36ahf6e3quy0QvtQkhm1fV7a/XXoKyqz0uYJ/0g3jlpH7GnRr/RcqqHFHWVjARQg +zofWRFD9z6YUA5VIz2B6ed02sYGEOF07X0PbOpmwBduZF6C/Tcjyy23QInpSmGgkjDe 8DjJSOlBb+xEU1TuV05qvZIwJPXmV1QLBL5oDyPjYH+D6b/IFPRqA0kmfovsKzFhPNA5 kQmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719484364; x=1720089164; 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=ikedj3tVLkYYnUpwfjDtl00VbRPDE3LLjeOugxhtodI=; b=XHtm8wLl/+xR3zGvbkUJUInJJVTg4bVzHL3IRUOM9QXFqqNOcEO7cGQEvc7vl6U92a AcUKpCPyp4HJz+r1COGIzTIu0+5uZYFU8tA9K/PQ60qFo230vY2ww4qPyVOKjoOCBjDq iwu6YUWl3ADWvEp33XwiO1asuzu4IzsCJae4ERGXO9JUdyVHBgEV2DEcWEMkMP1mx26j q2xJC6aV2NFMOEVL1cyf8prUOrw4jsLEMwRupVnxddobvsnE4DBwEzU+eh8aAddfPQi9 7gvtcFEMv9vbpElRYu8ap+qgHcmpPAHKJXGqlXMuIah+TVcPVt4q0Cp8tjHL/egN/30M 2ZVA== X-Forwarded-Encrypted: i=1; AJvYcCXBrYXltDilh3wI/hktQBU+p51clIdUE9mjZw4WHmTOPYxdIzoFbIDVpvIwotpjNqvtUWy2+tnGZIbuVLEhbqIM54FzOHRA79fL0qFI1NUVAvkouCk= X-Gm-Message-State: AOJu0YxNSBWKfTmSCP6mLNyVLLMl3TdmsVr1GMNy4r+gUMq77DnZKTDF JXnqCd0y8Zo+2gPd/H6G1ILJaCrDdTfz9ejCVNxzSRRffwcvS5u4bTpQPnkMAyg= X-Google-Smtp-Source: AGHT+IHIM8K4TTdFmd+OC8FVtPlX+Cx5qck53EwVVVSZ3dVQODT6DSoFQugNihRom9KzkjlOakcDXQ== X-Received: by 2002:a05:600c:2058:b0:425:63bd:fb44 with SMTP id 5b1f17b1804b1-42563bdfb7cmr14424995e9.33.1719484364231; Thu, 27 Jun 2024 03:32:44 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-367435852afsm1384352f8f.53.2024.06.27.03.32.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 03:32:43 -0700 (PDT) From: Krzysztof Kozlowski Date: Thu, 27 Jun 2024 12:32:20 +0200 Subject: [PATCH v4 4/7] dt-bindings: soc: microchip: sparx5-cpu-syscon: Move to dedicated schema MIME-Version: 1.0 Message-Id: <20240627-dt-bindings-mfd-syscon-split-v4-4-dc6699a9f3e4@linaro.org> References: <20240627-dt-bindings-mfd-syscon-split-v4-0-dc6699a9f3e4@linaro.org> In-Reply-To: <20240627-dt-bindings-mfd-syscon-split-v4-0-dc6699a9f3e4@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chuanhua Lei , Rahul Tanwar , 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.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2802; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=LwADOOVCCJ4verKOJbmwOwhGrtMJ9b4n73jXo/44U/g=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmfT+99AkL8ZgBw3w+AKELOjfBI1jQr4W1b5DVi 5t0JVgm1m6JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZn0/vQAKCRDBN2bmhouD 19NhD/4rasYCjtRnGj4xAY0TL+5eFGWwcSeM3+Vm3mHJ+UdUH2w04ppMJSGk87lnCv4HTvlJrOO VAILx9Y26BfBVa9Pt2nfP23JKhKqwKiWAjO+PrZSecavmsU7GoRyFghJ76v4N0sksRlGtOgQHUr JnjvfJ+Lgwz83qSq250QXm8l4EWuFDWrvxhTB3ZROFoa6IP/s2gLszs0AQdYapxcxoacLhSwo83 uSga2fq021gM3wjrUfQLJI7ZNmpkOZ212GVulHZlP3IXNNXRuDY3QtcolvFcWjFz3943mn1Xckf 1I6gSUiDaL453vSAWgE+Ij//8ZllYSTyOGGyXmdDzCOADRSQL9938PWUD6HO/2p976i7lYECUB8 jMcDy2TPNOfB3mEmHHwrl9EJt0fIpNidlUQ9TvnON3s9fgxJtxuLUtsvJElYSr8JiDCr3kXlIwo Ll13rgsh/W5xHpfujGEeVzcSc0yksVDugA+IL7eBU7OL+Ycx2ha8vJCpJQSZpet06oJQZ18xA5Y r2lFKDqEVZr7YBVn79sqrrB0uIjuoMjzbrBzhcOwcBR3E9M5iDX96y0CyxgtmSLLzMAzDdofL4T t5Bs1R4cRHONXCjVNl94fHjkfAyC1dwxB7v+dSnir2XZZOywUHyGssMERt/lXtY6UFd8BbAaVA+ N31ovjTBAn5sCDA== 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-20240627_033246_384999_FBDEED3E X-CRM114-Status: GOOD ( 15.79 ) 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 microchip,sparx5-cpu-syscon is not a simple syscon device - it has children and implements simple-mfd compatible - thus it should be fully documented in its own binding. Reviewed-by: Rob Herring (Arm) Signed-off-by: Krzysztof Kozlowski --- Context might depend on patch in Lee's MFD tree: https://lore.kernel.org/all/171828959006.2643902.8308227314531523435.b4-ty@kernel.org/ and also further patches here depend on this one. --- Documentation/devicetree/bindings/mfd/syscon.yaml | 1 - .../soc/microchip/microchip,sparx5-cpu-syscon.yaml | 49 ++++++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml index 0e19eb0772f1..49bf85e8f220 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -95,7 +95,6 @@ properties: - microchip,lan966x-cpu-syscon - microchip,sam9x60-sfr - microchip,sama7g5-ddr3phy - - microchip,sparx5-cpu-syscon - mscc,ocelot-cpu-syscon - mstar,msc313-pmsleep - nuvoton,ma35d1-sys diff --git a/Documentation/devicetree/bindings/soc/microchip/microchip,sparx5-cpu-syscon.yaml b/Documentation/devicetree/bindings/soc/microchip/microchip,sparx5-cpu-syscon.yaml new file mode 100644 index 000000000000..1f0b542d2296 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/microchip/microchip,sparx5-cpu-syscon.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/microchip/microchip,sparx5-cpu-syscon.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip Sparx5 CPU Syscon + +maintainers: + - Lars Povlsen + +properties: + compatible: + items: + - const: microchip,sparx5-cpu-syscon + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + mux-controller: + $ref: /schemas/mux/reg-mux.yaml# + +required: + - compatible + - reg + - mux-controller + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <1>; + + syscon@600000000 { + compatible = "microchip,sparx5-cpu-syscon", "syscon", + "simple-mfd"; + reg = <0x6 0x00000000 0xd0>; + + mux: mux-controller { + compatible = "mmio-mux"; + #mux-control-cells = <1>; + mux-reg-masks = <0x88 0xf0>; + }; + }; + }; From patchwork Thu Jun 27 10:32:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13714148 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 A66F4C3064D for ; Thu, 27 Jun 2024 10:35:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type: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=m+6/jw2l8WbHbxp3JGZOU8peyFUqkM87CC9BxxmyKfM=; b=po05Sk+nQkklMoUgcjTPzsLPU7 LtwqxGHjgJhjrzMRkM6PlmSvLH92ffVPeuxUYvZfCQqNZ+ZlJ8mskJZybOkVNujdlQFLDVLdk99Ke TcHVg2wzegtCIrGLBEdZYG8qV0QD790Jmj3TmIkDG3Rr4STS9Bxwd0z73Ly/ySB3dypouTIVtET1z q4KpAwjxGCQyg9AhkufAxp1+RMbW8TNYL9pC9IEuWX/7cHFKKDEHrD/9PJjNoLz6oL5+kZ06l7YM+ Qb/ApiSR3wR4gzLEdxznMavhMu9K3CdTFWYLxxLvOWN2El9wvsngk9KJF8OOtntHTtQ1I5anINo8P 4mAa52Lg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMmTG-00000009yKZ-09iC; Thu, 27 Jun 2024 10:35:18 +0000 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMmQt-00000009xFI-0Aut for linux-arm-kernel@lists.infradead.org; Thu, 27 Jun 2024 10:33:09 +0000 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-52ce6c8db7bso6029112e87.1 for ; Thu, 27 Jun 2024 03:32:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719484366; x=1720089166; 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=m+6/jw2l8WbHbxp3JGZOU8peyFUqkM87CC9BxxmyKfM=; b=Rmv5vyFvfQ5tVtJoXYcluHTLZbxD94rFV5HATeUQMbYwKmPKYjYLrVMmc+NDEbkoGL JBd9ZSzlaVvpAFiTS1cmkqy8IJCDndphkEA7OoxnsYxjDnICV5BzU9KhKBOt+wTqsSf6 qJG6VzC04feCrwfn0XqpSVKTMr4hysAS8pYkfxtZ2jJF9BDLXzVUqb60Jq2QA8PPi8hZ 3Fde/bVFu+bXAtV7qK8qbK7w/2bxM19dfRb2ptJ/pL5P+MqCJbJRE7wcunmrIkg5ToTX EWwuop58RBRUkmp03Znk2iKLhbA1CUNP6Rum8Xw3Ti4BG2Xz+RbhB+wh//EB6da2paB5 o80g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719484366; x=1720089166; 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=m+6/jw2l8WbHbxp3JGZOU8peyFUqkM87CC9BxxmyKfM=; b=d0u2QbH3GjhL+ZLHV1+1fDHrHcvAoQaYIuRxCs+L+vne1O0/BVtJSwA87gBPYtNUJ2 7vJAVm2fYUcDGvIB/vuS1a3Csoe5RCr0LY+7qADyIYAdJvSj9TOJ00snSzyABqC3wHDT BnunE4Yc8dlrquIxtkCvwwwAzs+v9NvBJ3qhY6Z6lREzb0xTXrkhSbQ5bb3s9yUIhpXp NI9bztmDir+BskhoUn7CmBRemJjToleF55pdh/QJxBEdtXaXC1cX/idzPGXV+eIVSk1b g7BsvWW3PnuzMmyqO2eSwxYbCJpPnH52tYpP+eMMD+GOpvxCZwE7BTZVRPqDgk8hJ6Sj OVow== X-Forwarded-Encrypted: i=1; AJvYcCVnMlAMofmOsL+mLvktEtr4cSPLcaT7oEctrzmlEsVdnOACkVhaB8oZ3TC1Z2wCo1SKrduOsrwpt06/PgpDjHdo1MW3VrraZBWroo/tjWi3VL7bB4U= X-Gm-Message-State: AOJu0Yx/GtEy07tDABbQdrM13c5eY8/N/XDJcxS4w5dI4tP1rjJ1ArEV qrLpVXRhDFrjXTU6jQuFTRFyOiwkJdRAxkq5Gip4fWsIeVcYhhlyq89YsnWxMuyEQSNkXcG2Eqn f X-Google-Smtp-Source: AGHT+IEoS3M9/3U4NjfBgJrciMQw7opzkhWp4q6gkv+HvLfxXQBP/1gIhzOQ1/YNBvMXx8utt1dJpw== X-Received: by 2002:a05:6512:e95:b0:52c:8a3a:fe2c with SMTP id 2adb3069b0e04-52ce185d049mr9830460e87.45.1719484366212; Thu, 27 Jun 2024 03:32:46 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-367435852afsm1384352f8f.53.2024.06.27.03.32.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 03:32:45 -0700 (PDT) From: Krzysztof Kozlowski Date: Thu, 27 Jun 2024 12:32:21 +0200 Subject: [PATCH v4 5/7] dt-bindings: soc: ti: am654-serdes-ctrl: Move to dedicated schema MIME-Version: 1.0 Message-Id: <20240627-dt-bindings-mfd-syscon-split-v4-5-dc6699a9f3e4@linaro.org> References: <20240627-dt-bindings-mfd-syscon-split-v4-0-dc6699a9f3e4@linaro.org> In-Reply-To: <20240627-dt-bindings-mfd-syscon-split-v4-0-dc6699a9f3e4@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chuanhua Lei , Rahul Tanwar , 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.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2452; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=8MLHDWyReLz5qqD7wVSiIOMBs4CdtSdIOqFJ3Bu/4Os=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmfT++cwdCKsMdwI34XqMjKV+VEq2ZPnBb8whmj V0GmiqiL/WJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZn0/vgAKCRDBN2bmhouD 1xqZD/9sRU1DY0+8YUNfIxhuMHDSblSlLWagDywLBIZGUHc2JGkTM3ZDq8UMCH3TCob9i4hHvDs caEBDFAV6jT3db5RF7euDLG5eaKkRkxBYFaEG6Z3frqUvm0q+Lf9ORvceA7+cDwkoQDfcRd5+3D YTY0UI1NShe72ad9B2k6wnNyZ51kKke/SXW31dwWvtktsF7JIZQcTjM8jvvCWxdJaUURfi/kWtc cwbFf8mjHy4bgob7jgWSeYeUoBt6Qh6FzqvEYmJOX4Ub7CqL5cVWgUAd20eDFNJJujyBW3iBCq2 bJ7fsTQRUlTDJCjW76Z6tL+X+rtKDiTYlU+a9yHfKiC8fcsEt/lCBcDaiwCuuIkVUedG2CtmKhE mNHw1jspPphCtsc/nkJmcX2UaPliRHOtUwWpXtQCxCV54G8gU3OKN9HNbI/oYDRzh+MUpxCLQR3 u1IVGZNOUZFIkTQWa4MW4taT4GFe71Dgk3aFqB1X+NZUEB/DiNHKiYEbDetjNhLk3obLiKt8YtU zP4tFl8gMuqnhOmXHHXYalIh5ou1abuXnuxiFi474eOf3xs0qm3UYEFUZk6+pZT4QtZj19Psfql P+464fNd8jx+MH0wKWB4CIqPjUnbRkXfFKTusvVRevwlWpwdOQfq3pRw5WyY9O0xLBV0NodRwcH wclR31GK76zyBrw== 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-20240627_033302_088947_A6A6CF9D X-CRM114-Status: GOOD ( 15.61 ) 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 ti,am654-serdes-ctrl is not a simple syscon device - it has children - thus it should be fully documented in its own binding. Reviewed-by: Rob Herring (Arm) Signed-off-by: Krzysztof Kozlowski --- Context might depend on patch in Lee's MFD tree: https://lore.kernel.org/all/171828959006.2643902.8308227314531523435.b4-ty@kernel.org/ and also further patches here depend on this one. --- Documentation/devicetree/bindings/mfd/syscon.yaml | 1 - .../bindings/soc/ti/ti,am654-serdes-ctrl.yaml | 42 ++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml index 49bf85e8f220..0f6fd1a41dd8 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -118,7 +118,6 @@ properties: - ti,am625-dss-oldi-io-ctrl - ti,am62p-cpsw-mac-efuse - ti,am654-dss-oldi-io-ctrl - - ti,am654-serdes-ctrl - ti,j784s4-pcie-ctrl - ti,keystone-pllctrl diff --git a/Documentation/devicetree/bindings/soc/ti/ti,am654-serdes-ctrl.yaml b/Documentation/devicetree/bindings/soc/ti/ti,am654-serdes-ctrl.yaml new file mode 100644 index 000000000000..a10a3b89ae05 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/ti/ti,am654-serdes-ctrl.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/ti/ti,am654-serdes-ctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments AM654 Serdes Control Syscon + +maintainers: + - Nishanth Menon + +properties: + compatible: + items: + - const: ti,am654-serdes-ctrl + - const: syscon + + reg: + maxItems: 1 + + mux-controller: + $ref: /schemas/mux/reg-mux.yaml# + +required: + - compatible + - reg + - mux-controller + +additionalProperties: false + +examples: + - | + clock@4080 { + compatible = "ti,am654-serdes-ctrl", "syscon"; + reg = <0x4080 0x4>; + + mux-controller { + compatible = "mmio-mux"; + #mux-control-cells = <1>; + mux-reg-masks = <0x0 0x3>; /* lane select */ + }; + }; From patchwork Thu Jun 27 10:32:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13714145 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 095E9C30653 for ; Thu, 27 Jun 2024 10:35:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type: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=GRiVLfyw86NkzbonvH4WCz23BCZLJebDCKU+AP0xtKo=; b=irb6eCd/53A0vTdOZM0v5iOCj8 SIOA71L8387kP4HV4+o8bxcFNGTYDoLTKmFwbcGYswHnof52S3HUeSS0Smsf0S8nAhtYBQ9B1I4hI rCWi2bWCCWNYm6fL/Q7z2pBU84lLmoKgtgWGoeH+PPJwkpXLae+lhnZFZVUHXcEKAeXr/7QNkYbM6 5raqwZdyDhG9eQo+QEDGV0+PABvo56s2+fSEuEThgRRptLgWTqA9L4ZPueRbXXMsIurCNaQz+7yd1 CUU5x7DkAGmJnjR8vhZ0oh0XdWLnqQz1NknAxzZyrN0Q4I2fBUwLSewr1qoFKUifQ49kCIVSAOn3u 9KhYyFMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMmSk-00000009y67-0FuC; Thu, 27 Jun 2024 10:34:46 +0000 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMmQt-00000009xG9-0BJx for linux-arm-kernel@lists.infradead.org; Thu, 27 Jun 2024 10:33:12 +0000 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-3674e1931b7so186586f8f.2 for ; Thu, 27 Jun 2024 03:32:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719484368; x=1720089168; 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=GRiVLfyw86NkzbonvH4WCz23BCZLJebDCKU+AP0xtKo=; b=vdoSLvbsucxfxXo7rCOEkD+XhJEBtQ6c69n566p+RgPwPUxkAJ7GyLxHE7cQyFbi14 qtrkLR3kHkfCcoDVj94uNSM2gT8vcqlZfUy9Ediy4sZLxZ3P9t6ETKaFGxBCfVjwWHQJ jP6Bv2B3QG86I0/OLB2XE8UoS3wa4bLTCTLBZst1WzPjFJhILva3LR237YXOXFSKZU0C /6Q6SZrNWfUqfVfbk/0u9JgrX6qX+7vfUb2HtI0Mvm842H+DT4kL5LF1cM6L93k3GTQv FzRsRyiJvboZQwTCuQdI9VwKEYmXXg/IaHe9AdB/csBP0A4PHwERYsyumK7cSxDbguWU +15A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719484368; x=1720089168; 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=GRiVLfyw86NkzbonvH4WCz23BCZLJebDCKU+AP0xtKo=; b=PFVEkA8eY4q2Ta41+oNDVYCSIQsIIWTBGQL4oCODKNJAQusMpW+N7VKbZScunQcOxU a9yF8GZfwX01fMYZ08pPNgXIRUevOJJ4e5qAl3uinfU5Y3/N4mcsyfR6PTuHkVb1IUyP fxoRLr/HjdtqoAzJpCznTjHKZlI06F949fWdst6eheiazbRnrurF8dKYKQZrlB3R7pyG XyS7uD7eivdF/kwOJexc2WPhU2MwJQExxX47L20olaKzX10GKfBTh/avHEc84w3ldx9S EE6jiP5QsjS6EU/UzwPT8N1ZWepqsuGUJDX4M5EPHC34lQRTRhJzHixCQnIAOMa9utU4 O1Mw== X-Forwarded-Encrypted: i=1; AJvYcCWO8mZdRHPnVMdtCN2tD8uxv0aGze0JP6U1SG1kn3N1P0e4yPRof5e90jJesNtqCC4N5yAliChef5xVEXqLxNEfAh8hns/83FMECvrdbbH3X2eB5Qo= X-Gm-Message-State: AOJu0YyD/9sRrTCZWG7ftIuJKw08QPJQRmzGsIq6YEg23wkxYltBMZkU hOcTebmDN5fE0Gtx2/GdO+Y4iUdgRsMKNqLOvbZjR4B9A2lapWPLv0PJY5o+rKA= X-Google-Smtp-Source: AGHT+IG2lFcWwoWZMveLDhCCCWvJfSVenWOD1F5xlyqkeUd/2YVIsdCwJKvozlxdGDb3OkE3iKTyeA== X-Received: by 2002:a05:6000:1009:b0:35f:1d40:82fa with SMTP id ffacd0b85a97d-366e949758bmr7805494f8f.18.1719484368232; Thu, 27 Jun 2024 03:32:48 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-367435852afsm1384352f8f.53.2024.06.27.03.32.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 03:32:47 -0700 (PDT) From: Krzysztof Kozlowski Date: Thu, 27 Jun 2024 12:32:22 +0200 Subject: [PATCH v4 6/7] dt-bindings: mfd: syscon: Split and enforce documenting MFD children MIME-Version: 1.0 Message-Id: <20240627-dt-bindings-mfd-syscon-split-v4-6-dc6699a9f3e4@linaro.org> References: <20240627-dt-bindings-mfd-syscon-split-v4-0-dc6699a9f3e4@linaro.org> In-Reply-To: <20240627-dt-bindings-mfd-syscon-split-v4-0-dc6699a9f3e4@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chuanhua Lei , Rahul Tanwar , 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, Conor Dooley , Krzysztof Kozlowski , Maxime Ripard X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=15073; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=UL3bMBSC7fZLJ+OmlKYjrtZduFHkkJzaAM5VOgAMneA=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmfT+/FfK+ytBzfzBqwCGPx5LWK7VWiiwBXiFOY bYk0VRsfc+JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZn0/vwAKCRDBN2bmhouD 18izD/wPHmcjKYkC5WuGoV3U3DqYOD8fDYSSrpAE/KKY+K6QthTefENsL87Ma8kpBed3PA28iQm 3YbtmrasN3JGChG0fj1cPOh3CkPlgmldOHQ+FZB18EwuZ/BPv+zR8P4rfj3ifjEQJwAwXtCbZJA IAC5rkpv7FXSFq8r8adFYbyaoYI8q4m8iAzx/w1jTs2O2bDZG99mG7Wp0oxKLfqRGt9l5Fzj6Bl bnoT327RTGQko7pmlSZdEU1p9ooPJTqpmtcfGY8AGHI2FSsCEwBZ9emDP4gwy93BOEQ+lzn+7Er n0vieoDkY/8NmgxgyGdaU+VIyh3H4uv456PgiPXecyrjetTjERJXF/zRKquFy1/t8N/E29Xm7xX SZRZ+p87je3DeKTRLSjaQBybYhNV0HMpQRc4D5QFYK1+LqK3Lb02IQKDBfNkOnBxwweMC6/M77l vYM8lrWcV+TD0q0071LrMDkaYS82xt7G2VcpO4sf9nUi5OaJ9wBnodwrC3RZ27iudfQuVgf3AH+ GgZO3StsJYKvWAsly9skj2PP6hEzoAEh3GKgqwVybfdUUldujpxIEx4L7wo0dDdzthTuweXEpPY GOwmuC+phzU1Kro/Ek7Icm0+OIAFas4BuFeB8jMfWdTJpij88/qfbQ5CL7u5XijZjK5s+wqXTtn /EtOaFeS8AoCvVw== 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-20240627_033303_162661_98B39B42 X-CRM114-Status: GOOD ( 17.56 ) 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 Simple syscon nodes can be documented in common syscon.yaml, however devices with simple-mfd compatible, thus with some children, should have their own schema listing these children. Such listing makes the binding specific, allows better validation (so the incorrect child would not appear in the simple-mfd node) and actually enforces repeated rule for simple-mfd devices: "simple-mfd" is only for simple devices, where the children do not depend on the parent. Currently the syscon+simple-mfd binding is quite broad and allows any child or property, thus above rule cannot be enforced. Split the syscon.yaml binding into: 1. Common syscon properties, used potentially by many bindings. 2. Simple syscon devices (NO simple-mfd!). Reviewed-by: Conor Dooley Reviewed-by: Rob Herring (Arm) Signed-off-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno --- Cc: Maxime Ripard Depends on: 1. Patch in MFD: https://lore.kernel.org/all/171828959006.2643902.8308227314531523435.b4-ty@kernel.org/ 2. Previous patches in the series. --- .../devicetree/bindings/mfd/syscon-common.yaml | 71 +++++ Documentation/devicetree/bindings/mfd/syscon.yaml | 297 +++++++++++++-------- 2 files changed, 252 insertions(+), 116 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/syscon-common.yaml b/Documentation/devicetree/bindings/mfd/syscon-common.yaml new file mode 100644 index 000000000000..451cbad467a3 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/syscon-common.yaml @@ -0,0 +1,71 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/syscon-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: System Controller Registers R/W Common Properties + +description: + System controller node represents a register region containing a set + of miscellaneous registers. The registers are not cohesive enough to + represent as any specific type of device. The typical use-case is + for some other node's driver, or platform-specific code, to acquire + a reference to the syscon node (e.g. by phandle, node path, or + search using a specific compatible value), interrogate the node (or + associated OS driver) to determine the location of the registers, + and access the registers directly. + +maintainers: + - Lee Jones + +select: + properties: + compatible: + contains: + const: syscon + + required: + - compatible + +properties: + compatible: + contains: + const: syscon + minItems: 2 + maxItems: 5 # Should be enough + + reg: + maxItems: 1 + + reg-io-width: + description: + The size (in bytes) of the IO accesses that should be performed + on the device. + enum: [1, 2, 4, 8] + +required: + - compatible + - reg + +allOf: + - if: + properties: + compatible: + contains: + const: simple-mfd + then: + properties: + compatible: + minItems: 3 + maxItems: 5 + +additionalProperties: true + +examples: + - | + syscon: syscon@1c00000 { + compatible = "allwinner,sun8i-h3-system-controller", "syscon"; + reg = <0x01c00000 0x1000>; + }; +... diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml index 0f6fd1a41dd8..aa1c2608d326 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/mfd/syscon.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: System Controller Registers R/W +title: System Controller Devices description: | System controller node represents a register region containing a set @@ -19,124 +19,198 @@ description: | maintainers: - Lee Jones +# Need a select with all compatibles listed for compatibility with older +# dtschema (<2024.02), so this will not be selected for other schemas having +# syscon fallback. select: properties: compatible: contains: enum: - - syscon - + - al,alpine-sysfabric-servic + - allwinner,sun8i-a83t-system-controller + - allwinner,sun8i-h3-system-controller + - allwinner,sun8i-v3s-system-controller + - allwinner,sun50i-a64-system-controller + - altr,l3regs + - altr,sdr-ctl + - amd,pensando-elba-syscon + - amlogic,meson-mx-assist + - amlogic,meson-mx-bootrom + - amlogic,meson8-analog-top + - amlogic,meson8b-analog-top + - amlogic,meson8-pmu + - amlogic,meson8b-pmu + - apm,xgene-csw + - apm,xgene-efuse + - apm,xgene-mcb + - apm,xgene-rb + - apm,xgene-scu + - atmel,sama5d2-sfrbu + - atmel,sama5d3-nfc-io + - atmel,sama5d3-sfrbu + - atmel,sama5d4-sfrbu + - axis,artpec6-syscon + - brcm,cru-clkset + - brcm,sr-cdru + - brcm,sr-mhb + - cirrus,ep7209-syscon1 + - cirrus,ep7209-syscon2 + - cirrus,ep7209-syscon3 + - cnxt,cx92755-uc + - freecom,fsg-cs2-system-controller + - fsl,imx93-aonmix-ns-syscfg + - fsl,imx93-wakeupmix-syscfg + - fsl,ls1088a-reset + - fsl,vf610-anatop + - fsl,vf610-mscm-cpucfg + - hisilicon,dsa-subctrl + - hisilicon,hi6220-sramctrl + - hisilicon,hip04-ppe + - hisilicon,pcie-sas-subctrl + - hisilicon,peri-subctrl + - hpe,gxp-sysreg + - loongson,ls1b-syscon + - loongson,ls1c-syscon + - lsi,axxia-syscon + - marvell,armada-3700-cpu-misc + - marvell,armada-3700-nb-pm + - marvell,armada-3700-avs + - marvell,armada-3700-usb2-host-misc + - marvell,dove-global-config + - mediatek,mt2701-pctl-a-syscfg + - mediatek,mt2712-pctl-a-syscfg + - mediatek,mt6397-pctl-pmic-syscfg + - mediatek,mt8135-pctl-a-syscfg + - mediatek,mt8135-pctl-b-syscfg + - mediatek,mt8173-pctl-a-syscfg + - mediatek,mt8365-syscfg + - microchip,lan966x-cpu-syscon + - microchip,sam9x60-sfr + - microchip,sama7g5-ddr3phy + - mscc,ocelot-cpu-syscon + - mstar,msc313-pmsleep + - nuvoton,ma35d1-sys + - nuvoton,wpcm450-shm + - rockchip,px30-qos + - rockchip,rk3036-qos + - rockchip,rk3066-qos + - rockchip,rk3128-qos + - rockchip,rk3228-qos + - rockchip,rk3288-qos + - rockchip,rk3368-qos + - rockchip,rk3399-qos + - rockchip,rk3568-qos + - rockchip,rk3588-qos + - rockchip,rv1126-qos + - st,spear1340-misc + - stericsson,nomadik-pmu + - starfive,jh7100-sysmain + - ti,am62-opp-efuse-table + - ti,am62-usb-phy-ctrl + - ti,am625-dss-oldi-io-ctrl + - ti,am62p-cpsw-mac-efuse + - ti,am654-dss-oldi-io-ctrl + - ti,j784s4-pcie-ctrl + - ti,keystone-pllctrl required: - compatible properties: compatible: - anyOf: - - items: - - enum: - - al,alpine-sysfabric-service - - allwinner,sun8i-a83t-system-controller - - allwinner,sun8i-h3-system-controller - - allwinner,sun8i-v3s-system-controller - - allwinner,sun50i-a64-system-controller - - altr,l3regs - - altr,sdr-ctl - - amd,pensando-elba-syscon - - amlogic,meson-mx-assist - - amlogic,meson-mx-bootrom - - amlogic,meson8-analog-top - - amlogic,meson8b-analog-top - - amlogic,meson8-pmu - - amlogic,meson8b-pmu - - apm,xgene-csw - - apm,xgene-efuse - - apm,xgene-mcb - - apm,xgene-rb - - apm,xgene-scu - - atmel,sama5d2-sfrbu - - atmel,sama5d3-nfc-io - - atmel,sama5d3-sfrbu - - atmel,sama5d4-sfrbu - - axis,artpec6-syscon - - brcm,cru-clkset - - brcm,sr-cdru - - brcm,sr-mhb - - cirrus,ep7209-syscon1 - - cirrus,ep7209-syscon2 - - cirrus,ep7209-syscon3 - - cnxt,cx92755-uc - - freecom,fsg-cs2-system-controller - - fsl,imx93-aonmix-ns-syscfg - - fsl,imx93-wakeupmix-syscfg - - fsl,ls1088a-reset - - fsl,vf610-anatop - - fsl,vf610-mscm-cpucfg - - hisilicon,dsa-subctrl - - hisilicon,hi6220-sramctrl - - hisilicon,hip04-ppe - - hisilicon,pcie-sas-subctrl - - hisilicon,peri-subctrl - - hpe,gxp-sysreg - - loongson,ls1b-syscon - - loongson,ls1c-syscon - - lsi,axxia-syscon - - marvell,armada-3700-cpu-misc - - marvell,armada-3700-nb-pm - - marvell,armada-3700-avs - - marvell,armada-3700-usb2-host-misc - - marvell,dove-global-config - - mediatek,mt2701-pctl-a-syscfg - - mediatek,mt2712-pctl-a-syscfg - - mediatek,mt6397-pctl-pmic-syscfg - - mediatek,mt8135-pctl-a-syscfg - - mediatek,mt8135-pctl-b-syscfg - - mediatek,mt8173-pctl-a-syscfg - - mediatek,mt8365-syscfg - - microchip,lan966x-cpu-syscon - - microchip,sam9x60-sfr - - microchip,sama7g5-ddr3phy - - mscc,ocelot-cpu-syscon - - mstar,msc313-pmsleep - - nuvoton,ma35d1-sys - - nuvoton,wpcm450-shm - - rockchip,px30-qos - - rockchip,rk3036-qos - - rockchip,rk3066-qos - - rockchip,rk3128-qos - - rockchip,rk3228-qos - - rockchip,rk3288-qos - - rockchip,rk3368-qos - - rockchip,rk3399-qos - - rockchip,rk3568-qos - - rockchip,rk3588-qos - - rockchip,rv1126-qos - - st,spear1340-misc - - stericsson,nomadik-pmu - - starfive,jh7100-sysmain - - ti,am62-opp-efuse-table - - ti,am62-usb-phy-ctrl - - ti,am625-dss-oldi-io-ctrl - - ti,am62p-cpsw-mac-efuse - - ti,am654-dss-oldi-io-ctrl - - ti,j784s4-pcie-ctrl - - ti,keystone-pllctrl - - - const: syscon - - - contains: - const: syscon - minItems: 2 - maxItems: 5 # Should be enough + items: + - enum: + - al,alpine-sysfabric-service + - allwinner,sun8i-a83t-system-controller + - allwinner,sun8i-h3-system-controller + - allwinner,sun8i-v3s-system-controller + - allwinner,sun50i-a64-system-controller + - altr,l3regs + - altr,sdr-ctl + - amd,pensando-elba-syscon + - amlogic,meson-mx-assist + - amlogic,meson-mx-bootrom + - amlogic,meson8-analog-top + - amlogic,meson8b-analog-top + - amlogic,meson8-pmu + - amlogic,meson8b-pmu + - apm,xgene-csw + - apm,xgene-efuse + - apm,xgene-mcb + - apm,xgene-rb + - apm,xgene-scu + - atmel,sama5d2-sfrbu + - atmel,sama5d3-nfc-io + - atmel,sama5d3-sfrbu + - atmel,sama5d4-sfrbu + - axis,artpec6-syscon + - brcm,cru-clkset + - brcm,sr-cdru + - brcm,sr-mhb + - cirrus,ep7209-syscon1 + - cirrus,ep7209-syscon2 + - cirrus,ep7209-syscon3 + - cnxt,cx92755-uc + - freecom,fsg-cs2-system-controller + - fsl,imx93-aonmix-ns-syscfg + - fsl,imx93-wakeupmix-syscfg + - fsl,ls1088a-reset + - fsl,vf610-anatop + - fsl,vf610-mscm-cpucfg + - hisilicon,dsa-subctrl + - hisilicon,hi6220-sramctrl + - hisilicon,hip04-ppe + - hisilicon,pcie-sas-subctrl + - hisilicon,peri-subctrl + - hpe,gxp-sysreg + - loongson,ls1b-syscon + - loongson,ls1c-syscon + - lsi,axxia-syscon + - marvell,armada-3700-cpu-misc + - marvell,armada-3700-nb-pm + - marvell,armada-3700-avs + - marvell,armada-3700-usb2-host-misc + - marvell,dove-global-config + - mediatek,mt2701-pctl-a-syscfg + - mediatek,mt2712-pctl-a-syscfg + - mediatek,mt6397-pctl-pmic-syscfg + - mediatek,mt8135-pctl-a-syscfg + - mediatek,mt8135-pctl-b-syscfg + - mediatek,mt8173-pctl-a-syscfg + - mediatek,mt8365-syscfg + - microchip,lan966x-cpu-syscon + - microchip,sam9x60-sfr + - microchip,sama7g5-ddr3phy + - mscc,ocelot-cpu-syscon + - mstar,msc313-pmsleep + - nuvoton,ma35d1-sys + - nuvoton,wpcm450-shm + - rockchip,px30-qos + - rockchip,rk3036-qos + - rockchip,rk3066-qos + - rockchip,rk3128-qos + - rockchip,rk3228-qos + - rockchip,rk3288-qos + - rockchip,rk3368-qos + - rockchip,rk3399-qos + - rockchip,rk3568-qos + - rockchip,rk3588-qos + - rockchip,rv1126-qos + - st,spear1340-misc + - stericsson,nomadik-pmu + - starfive,jh7100-sysmain + - ti,am62-opp-efuse-table + - ti,am62-usb-phy-ctrl + - ti,am625-dss-oldi-io-ctrl + - ti,am62p-cpsw-mac-efuse + - ti,am654-dss-oldi-io-ctrl + - ti,j784s4-pcie-ctrl + - ti,keystone-pllctrl + - const: syscon reg: maxItems: 1 - reg-io-width: - description: | - The size (in bytes) of the IO accesses that should be performed - on the device. - enum: [1, 2, 4, 8] - resets: maxItems: 1 @@ -145,18 +219,9 @@ required: - reg allOf: - - if: - properties: - compatible: - contains: - const: simple-mfd - then: - properties: - compatible: - minItems: 3 - maxItems: 5 + - $ref: syscon-common.yaml# -additionalProperties: true +unevaluatedProperties: false examples: - | From patchwork Thu Jun 27 10:32:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13714147 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 4F454C3064D for ; Thu, 27 Jun 2024 10:35:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type: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=moMeCjYqhEN2XITayIt62CdfKAiqtD6Tk3XXyMm1xxs=; b=f/zC5fkE9vRA/JG6k/wZ1HjOGE rCJOhAaktL2JRjHtbIEiH/9LhvaejO+pqOVLDYtsgy8O/FRgUr5To6IznWzDjRS/+Q5baAdCYm0yJ KrGG1MN4ibYb8yTrL7MTMuwsJJGkEOek48/ANJUfv5EmvTEouJVkkKg1UJdIZXXDSM0aLLILuzVy2 ECMVKTS1DuW2956KlJcXw+wXiWnyAlmRbwAIbrB548TYP6b4ERQSZtJg7WC4owrWxo9TAk7ZHeulV AyKvBqnxcVOd4salXocz5Vr3bRLdUcgYntWn3JYipEZ0rTkHNEk93Ns6f6r4QjQOF4R3HTvWzmYmk fSW4ivog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMmT7-00000009yG2-3Q5X; Thu, 27 Jun 2024 10:35:09 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMmQt-00000009xGH-1yVx for linux-arm-kernel@lists.infradead.org; Thu, 27 Jun 2024 10:33:04 +0000 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-42122ac2f38so10296775e9.1 for ; Thu, 27 Jun 2024 03:32:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719484370; x=1720089170; 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=moMeCjYqhEN2XITayIt62CdfKAiqtD6Tk3XXyMm1xxs=; b=uL2G1SNk2AQucAwQx9L60xxmtZW8fwt4vSA0N38T7PqWMiUu1SiLJ4zz8ANsYkdTJN Jb7BFUfChrGDevsQABxIdZ3yBR51enbGCk0PLPxvui3d1mWKGJ6EK3Ai0WzVrf1XLoVS aK7mIUDsOoU/dlhrRQ+xeVAL29H3t6y4EfY1d+/hBDWGrrHtj32P7PIXqhLMRSQpli70 OLZAfG2AnrmqkmRln6e5yq7jFCoptpr/6tWoKStjP9mFARCvs08vM+szQwhBqWr8r8mc +QekWNbZ4nAe5BsHCg7nv7rOw8Ylc16SAaRxPS6d918BoIsoU6JQOAsQC033KP/2YfSx OEvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719484370; x=1720089170; 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=moMeCjYqhEN2XITayIt62CdfKAiqtD6Tk3XXyMm1xxs=; b=Ml8Z+t0XZl0T4eAvLS/2jf/Y3LmOAUGj2M3rtHg51ufs3oAUQczIZ2C7GNG0pdxia4 GCOlwPO68AAi0LA+z9kELRiUnERgMipiq9wiQCVW/y4LMF5riSG63Bk8DCqaBtnWy2DB lQX91PKd02VF/0SnS22AAQgDmj7lPJyZardAdY3vler2oy6QlyDhClKv0mO708Pd4zV8 d4o51+mo+y7Mbo8Wxt1qYWj3GKVMpxRYXADT8f+tIndbS9AJJCqIGPzUOW0BmQK5rhVI h5Ttc7DvDUAZEy81S+aZJOtAjCUO7QIJik05cx1jZjkPuO5wH6F8dEChTFH3AO2unk2v Gu0w== X-Forwarded-Encrypted: i=1; AJvYcCVOeiHZQQ1srkpUmCdTFw35Tc2SiFYbZtbbcCH+A7RytfJi1uzvktGrDdHRCsdh3oKpVB8xA1Y2I1wjxP8K+tzlLxuxbXeq/nGTtSHixuOlqm29unA= X-Gm-Message-State: AOJu0Yyn+0WxnNvSItCW3niO1lu1ZdwqCX5KlrZBoZrT8hUDykmbjrTI C1U5Wf+b/zjjQaMrnwad9HZ1MOBdQRz0bp6qdJsqprDSE2NDDKVpL+IJgNdx+JU= X-Google-Smtp-Source: AGHT+IHfThQWcTK8yhGvLnXD3SYkW/snFLoh2VKnBj7XvwVZXHgftyUMlS4e8tS9d8NirOXboCgLnA== X-Received: by 2002:a05:600c:692:b0:421:7ab8:59c with SMTP id 5b1f17b1804b1-425630fced7mr22138845e9.10.1719484370073; Thu, 27 Jun 2024 03:32:50 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-367435852afsm1384352f8f.53.2024.06.27.03.32.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 03:32:49 -0700 (PDT) From: Krzysztof Kozlowski Date: Thu, 27 Jun 2024 12:32:23 +0200 Subject: [PATCH v4 7/7] dt-bindings: mfd: syscon: Add APM poweroff mailbox MIME-Version: 1.0 Message-Id: <20240627-dt-bindings-mfd-syscon-split-v4-7-dc6699a9f3e4@linaro.org> References: <20240627-dt-bindings-mfd-syscon-split-v4-0-dc6699a9f3e4@linaro.org> In-Reply-To: <20240627-dt-bindings-mfd-syscon-split-v4-0-dc6699a9f3e4@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chuanhua Lei , Rahul Tanwar , 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.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1201; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=eBkgDNh4pHGUWCoUfl/IlA17qsQPFNuKObA7QeUtfcs=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmfT/AfKoJu5OgzBj46/nykZpwckUbMSiTIyPia OhyT1Qn0KiJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZn0/wAAKCRDBN2bmhouD 1+onD/kBwIHKwA1zJIARnF0HNDBQtLZo6xmpXFjybHv3nlswlF607d+riKqd5L8Z0a6lezEa8J/ keLOo7ycWmGTfvOT4KBybbdkVmkXrtYQzfb2ywDZDC2VBrE1k3rUAnJKj3m3lgJE9chNn5BSzMq CfegzIPkGnmRmS6MZ2wE0M5rIqJILvswpNvTId+kxuqJLbYyX6rN5XbzoydB4+Xw6zSSZ4TjkzL KM6T6Xo7fpBog1/OR1XdSGjq9IuSNJQqQadSRzcC725RErseufXcUMZmEkU3tS+ag7J2dMnW/SU hZU7jE9+oBq/j0ZWSC9wiFZR++CHVYADbc943gioqncA7mi3gyNi8/TlEPHj92Ij26wQcwlgmwD kU9KDWDDv8Nu/QgDZx29PnbFtPyGXyhlselpcMLtUuEee+KJLAhXkH6M+CtpscQHQyYsbffEOli Sp9K6FKb5byhaeMnNsT/HUmtAg+TiU0rVl+4o8lm24qBSCFCqDVOPpT9eF6MpBAti2z5DZvDkoT AkqxW8HC34j5nCq/5bQIRtIqxqREhJEc8piHjTAsnzRSO8G0rtYejVqtaDAreVz4OS8tN7ek7iy 8fTiTjpfERDYq1oymiG+Mdb6zW3VQO/24sGwFTCsMe+ZypYPaEpSjV0flXX+sx2c7IhX0tZNZyV UvU+hFFU/j96kdA== 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-20240627_033302_084139_48403277 X-CRM114-Status: UNSURE ( 8.96 ) X-CRM114-Notice: Please train this message. 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 Add compatible for an already used syscon poweroff/mailbox block in APM. Reviewed-by: Rob Herring (Arm) Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mfd/syscon.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml index aa1c2608d326..9dc594ea3654 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -41,6 +41,8 @@ select: - amlogic,meson8b-analog-top - amlogic,meson8-pmu - amlogic,meson8b-pmu + - apm,merlin-poweroff-mailbox + - apm,mustang-poweroff-mailbox - apm,xgene-csw - apm,xgene-efuse - apm,xgene-mcb @@ -134,6 +136,8 @@ properties: - amlogic,meson8b-analog-top - amlogic,meson8-pmu - amlogic,meson8b-pmu + - apm,merlin-poweroff-mailbox + - apm,mustang-poweroff-mailbox - apm,xgene-csw - apm,xgene-efuse - apm,xgene-mcb