From patchwork Sun May 19 18:42:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13667878 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 8E16AC25B79 for ; Sun, 19 May 2024 18:42:44 +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=dpZwSG8AUDPUPcQ/cg7yOTW8I5h5fbBcK+XT13gbyOc=; b=K+akZxdVbvkIxaLAJ9+0LI0n1y AD+fENhmu7X0UbCC0saWQ1xiyoDCcv1kxofRkRY8rRntbDZMRo4/OEuCeMNLBYR1Xjva2CYqw4aZS odTteUXPOW2ecqvc5VefQz5aoIrQN0Jikx5lnrrRvw2EO7/3UYMs7FNjlj4fOvJIPaxYWIG35+m5B lxn/vswHyLOUEJT/Wt3ggGC4TtqRkAYHCVpqLGJVM7mXrDxIti8QdkNtM/5YkA7KP2E22z4XDM7c0 EL4Jll7whj7u1cc2ebqan3iU/nUNs2y81hVOfmKNVKPb9+0A56RwWU/UPlp6/Ibs00gpnSz1RHXK4 ygRYIIHw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUZ-0000000CWK0-1VwB; Sun, 19 May 2024 18:42:43 +0000 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUU-0000000CWGY-4AmP for linux-mediatek@lists.infradead.org; Sun, 19 May 2024 18:42:41 +0000 Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-571ba432477so7331965a12.1 for ; Sun, 19 May 2024 11:42:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716144157; x=1716748957; 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=dpZwSG8AUDPUPcQ/cg7yOTW8I5h5fbBcK+XT13gbyOc=; b=YWwaGgE5ka6mUkZM+JpNgr67twPXCxqo00Xg52+goRUcCp4DQphLvAy+hW0KwfWl+d 1l2qyVvUTxlUk+xFkCXdApVDmyGSp/ESFyT28SWjGxKNb1twOFORuksV0tu9G1kCbkyR YR/eNh3UgYvELKe6XrBUKC1TiLVKPACjRPi6HkkUaRBOr8aTmoFa7hfzZJ/JjWafIMRk tAVw6YIrllkLjbT08v9MwWw60stSMudeqZEvsETrtaLr1rrLh7iaXapAnUoS+C9zTAMH wTDdcCr4hwBmqhxDyad05TJ3ykNgTlOPw5mPWsMCmrwKILZ1uZ/aSoHD2g//2xqJMex2 wBxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716144157; x=1716748957; 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=dpZwSG8AUDPUPcQ/cg7yOTW8I5h5fbBcK+XT13gbyOc=; b=abY2gB+CtDiAbV69Xks7lfOjlzAomnjBOV1PRX91lu8+kirSpXZfr2z5Fro3QPtDtp 8QBXhTjEiBIEV1I0YfsKz1Vu1p1Irj7uROXdZLOWMypKPmXhYHN/THn8LWrMTT+JV/fN nIfdGpHdxNCmNzV6y43QntZauj78DNb4ByPz7nUgOZkHv0reDAzb6RG/hHjxTDTwCWlK lSyqGoVC49XTAmU6Wqk3RSz5kamkfk8cklF6tC0Dp12J4QEREA5YPjP+Tw0z3bS6mmYe FOxBPZJp4+dtiu7g9fpv5mvqhTmlRPthDXQCJGpa3fiAW6eVSZhTNlv7qKJLNO67RBch 67fQ== X-Forwarded-Encrypted: i=1; AJvYcCU2igPBWj3YJa8yT8osPmrpJwH1Cjs4vzdQ6kbYgyHdGJUCNNfhIJpL31Ajbinozh4DvC8GO2gBtCXjplPdw2e1p95p42YuXGEQiuiqZ0LXikXa X-Gm-Message-State: AOJu0YyNyWJAelpxL0rqZ7XrZ4k44sYzlU86HPT8ZxV/yodQ8Fojw5b4 sUYhAQM4G+FWpT/yQo/pRwiX7wzH5GGQGBq0IipwMbcp8qMawooqHez2vAbPT3w= X-Google-Smtp-Source: AGHT+IGq5QA1nd3Au7MNo1HsMLjHK/fKiObB5dGcnX8+/eslrDY+fDV6uC0IXG4Am+hQUeL97oiW3A== X-Received: by 2002:a50:ab47:0:b0:572:9984:1921 with SMTP id 4fb4d7f45d1cf-5734d5bec35mr18573696a12.17.1716144156802; Sun, 19 May 2024 11:42:36 -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.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 11:42:36 -0700 (PDT) From: Krzysztof Kozlowski Date: Sun, 19 May 2024 20:42:16 +0200 Subject: [PATCH 1/8] dt-bindings: mfd: syscon: Drop hwlocks MIME-Version: 1.0 Message-Id: <20240519-dt-bindings-mfd-syscon-split-v1-1-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=798; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=EqrHKI7VqbulYVlL7ynNasI0rcDDscSlOl3m111YLJk=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmSkgQzbjNRKze4/tMYsq0YCrgQq1HylGQx0Qnm fqs4ZngdWKJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZkpIEAAKCRDBN2bmhouD 17QrD/4qpVSOIgs2t0h8pAjNveQargz+qOiw594JnIjDv6W9T5TOx98Bo6TUfs4/dOlgAY5xYli 0FjQ6Ci8fX580v6LBDTyMzc+nVynHVOmYzmYpvbh4QxfD+Qxra17DEBwcB7F5fg52ZtQGz7lyvh rT3LhCwP0H/dp6BAqZRx5X8KCMt2Z7S2w+hbeEMJg6SLOQlIVrS9Uz1kOVGh4hie4ul1I8AXgEr PU2JfdPUgI2cRzZyU24CdOD8r3OVy+G+tPKAdU7xcOX+s7C7DpzIt8j1eh9f9wqABaSbUr49cLy /MUV00fMYeJD6YUqdtDYuRQdHv5fCRsrb5aqn90Dr85Q10QVChqIHOK5twXFpbodDbxUC2Jm/BQ lOfthfNcBxd2CO8POoeiZz1ngZ6ImW5XBCuird02ojDd8Zr8ZQ3KCCnR3AHoIdNCSEpNScROLJY SlLcUXAZMj2tCj0/T+cezMOpEsEsUm09HCPuHF1JOOxwth+Ie1zhC8zyxCkEx6Hju1fsNF29jE9 JK2y1Q5XbOIPL+yOy53hO1EyI9MudcamsNusJ69cRtxodgzP3wJ/IKIyWRmUyc/p+OToz6hDAt4 SDCiB7zwL1QcJ/K4g2cOnE2bxDuzmviGpLpyoi5X4/+57XZWhBwMDmjr9JyLNoQXLcXABaNQ7U/ y86LmG1E/OCfb4Q== 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_114239_091982_64A3ADA5 X-CRM114-Status: UNSURE ( 8.25 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring (Arm) --- 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 4d289935c08f..622ea0f1b08e 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -141,11 +141,6 @@ properties: resets: maxItems: 1 - hwlocks: - maxItems: 1 - description: - Reference to a phandle of a hardware spinlock provider node. - required: - compatible - reg 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: 13667880 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 19A20C25B75 for ; Sun, 19 May 2024 18:42:54 +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=RG1aV24RN7E3p6c9ASDyYan6B2OB6NWdWdHsWR4ahx4=; b=owmsam0TjvcjYOxkUI2R/4BGLA yc4B8hx3JVcT2mJTVGGOwkqCGgUaeA+GUeHtT5PfPDgvIWY4PDp4KFsygdpWb+MbQ1xtXPhNJeo8Y jtO1FRN87srx7KeTtMHKxLvlidG2GRCNf8a2/EA6iUUK69EDNCJIO2jYCm8BCqDAe7bgZbKtqinIs aiHjik1ViuGw2i4qxz/AmXGCD8M3H8x+uYV59k6/nGVZcbvmIIys4lKwP/wDVMrDEirJ4nOVZVGM5 IU/a6wcx02WI1zM4pXjweGZv1ObYTNWwq/+2Z7xG0Kx0a/bBEwA10oujfePs9ciLCmZzGSeN5F3BB frP/n6Cg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUj-0000000CWS5-2TPz; Sun, 19 May 2024 18:42:53 +0000 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUW-0000000CWHP-2sWr for linux-mediatek@lists.infradead.org; Sun, 19 May 2024 18:42:42 +0000 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-51f174e316eso2502831e87.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=vIua9pFWuwY1Q8aDchdxLuUspNBIOkZZSgvW9lNzC7CD/VmLefEnemlIvDgGSxFPLr CQqGm0ggK304gi8Z4rinIizdoa9vkss1vUHdDOplUQEhe93PYKPpazNUR3ZyVEeokx/3 g4t6+f5CAZMmlUbHTYHncawmTdUM1/s/9OOSfGjxPLTKDSw6Yugb+uhIzcfznISzkVyX TqGLiWF4bQtQH+iUbLXVvoa8iFipWLRJfU54UEPuYJNc6aJ5NFjv/UKjZzuBmkPc1UcW hHaohyF+PXh9Dq2ERBNQLv1ENDyltzn6rx1TWqapBWBlwK76p5if8af/RJxbSVq55T8V AbQQ== X-Forwarded-Encrypted: i=1; AJvYcCUoKy+q6WwQtRBvI819v+3neVcP7Hw/51C/nG5g9cLweXnCEWFPMnumBmj9E9cBgXKZiVtMwskppJYzYeg761WrrH80LSp3bWlSa1rrI9q6tzZg X-Gm-Message-State: AOJu0YyQSwJYcPtNNSc0Brxwo2Zo9R94dJyvsl9exk5Nay5ZYrbjq+no q/+vVWFG8q4QA7mWEXn/JxOh0g6ftNvJerE8hVSjsnqjcYWyFOH1RT2tm21CSH4= 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_771477_3CC8EB79 X-CRM114-Status: GOOD ( 11.01 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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>; + }; + }; + +... From patchwork Sun May 19 18:42: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: 13667881 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 6B29DC25B75 for ; Sun, 19 May 2024 18:42:56 +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=z7PYcSJNF1g7ywX09LW0XnY+rtNpzcQYeWJY4FR4cYM=; b=gXyYO9MF+30TJcztkIpDghrsx7 aJ8pXMAlXGBkV4jkfWHq9DfQoLHqUcnVaih89HJgN84fzzL5urGF5GHP/IlTzZ9tuSBnqvayO+qoU GR9emN8g29soK453lBazX+RaSJdETuzBK9RXT8Y/es7wg9XC61E2ptn8RrwQNlkltaRktG06B5qyX Fil76omJ8A4Gw3ISp027V6FuIQAB/Kb1ObYfuD4kZEvM10kiPDuWvf6bD1B/wTkVhg6+aYEvBVoEe mB0LRUF8qUICrXdggVzxnZj8j8FHC59uYKgmc3Q2q0xY612mInM1jVuXEk40z3g4lgOp72svr8U57 S+PQNz5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUl-0000000CWTq-45BM; Sun, 19 May 2024 18:42:55 +0000 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUX-0000000CWI3-3rLv for linux-mediatek@lists.infradead.org; Sun, 19 May 2024 18:42:43 +0000 Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-5751237a79bso3753499a12.2 for ; Sun, 19 May 2024 11:42:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716144160; x=1716748960; 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=z7PYcSJNF1g7ywX09LW0XnY+rtNpzcQYeWJY4FR4cYM=; b=QnFt43VDpd4IgvDvhgF69NXzKfkz7FTd5apIMteiW+hs3Tg0rQQq0cK7qP1LJLc1Ic rXtzqw074rfeYIVozywjDvx8dpbwdxGigNuNNcV4znQmg7YiOYDfaish07lwqzEwxBpx p5k+v9gpRCqnboi3dUvKr6rBoP4F6cOg/Dk6qz/PGJywvFcYlm8tU/lUdeOu5EL+qQY+ OUhfwQg2ISbYcNkyBhYZWZAadkPIVoVC7203i1IQ/42zg2tvq2onsGFPe03qJEVJwKw9 v37OnvZFWYceYVsYjCumbx9T58948ZfFEkXvYlefaojaLk6qxy5IIL5Gi/QqeRyUbThu usAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716144160; x=1716748960; 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=z7PYcSJNF1g7ywX09LW0XnY+rtNpzcQYeWJY4FR4cYM=; b=t/mhx/giYI0k6PTEWkX5/JhQMJmv9XnOk/rf00ZC36XBeYOe4bMm8sVBrZSHjqWqvk 3mewlTOwI63iSBqXTpk9LzAmRN5Xrg/cu1am4Waz5rxPkVeVafQDxWfAreEI1nlRxxLM MGpaAfe2TPoN1LeD71Ma9qWhJuviKM93T0YYEsRcjRJ4Y4GlFqc2yBQx8UxwYUs9Ok0H +ChQ9RvlTeWfLeaelo8LFwreP0hJp4+00tbIQXClILIUd7uj9ENJre690fu0oLpNXANN LC2AROJYhJWVFuCBTi5B2yHrUWnUafFasM+SLCH37s0k7+CiGvGJj6QqcYMn/bnnYNlN AIjA== X-Forwarded-Encrypted: i=1; AJvYcCWOexWRohiWmREGLrLasdZXL92DLPL4WRRygWXCGGL8uK5z8tWx1cFwUyoa4IpPmrt/VGEQIyS1Wtk+gk78MOzqZi4E1KTjSPOT+8UJE8zuvDMN X-Gm-Message-State: AOJu0YwAP6nEulrr7czrkcUZvutbot+P0btLLr+kHawWdjXC+pqa6PDG GhZuFwvmdqmh8FBCbingUJBQaOQesfmjeDE1FM1pEqSy/iUa4QXmCGXWJdikboIAtG4UwNo04Ep S X-Google-Smtp-Source: AGHT+IERTbf+ILkmL8wK7SH8w4OETrwrM3/QR2TQZVEqGWc5zTaWklumLATqeRWUQnqKN8hvh9EpRA== X-Received: by 2002:a50:ccd3:0:b0:574:ebfb:6d98 with SMTP id 4fb4d7f45d1cf-574ebfb6da8mr10157638a12.4.1716144159808; Sun, 19 May 2024 11:42:39 -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.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 11:42:39 -0700 (PDT) From: Krzysztof Kozlowski Date: Sun, 19 May 2024 20:42:18 +0200 Subject: [PATCH 3/8] dt-bindings: soc: intel: lgm-syscon: Move to dedicated schema MIME-Version: 1.0 Message-Id: <20240519-dt-bindings-mfd-syscon-split-v1-3-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=2616; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=vAJT1P0FomWLhWAzUqykqRB/KaNwziPxJILM0FyE4jg=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmSkgSBDwpWFtDxIz0QH0LiVJvEMjMZleLn5a2h BGkMwtdqg+JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZkpIEgAKCRDBN2bmhouD 12/0D/99xK/6Tafjmp5u5Rklb1WDho4MtHUcbBHTGUfCWh0r70/umtMwP5mPeqzC3sY4/EJet0Z T66duDebCbpAU1UH4A0XIq+0fGAYwA/Ap4cXaodHERwX6mQvAjAG5XSPKMe2/nd3MFgPMrtunVh sK1mAbhKAk9rCkz1B9lI8z5g0aVaukItJ4sfIyothjXIw6Y5AIIv494EA4pXXsDDdkjUwFb0kcf KVcl5wOijgOZyvHzJXu++n87RT7GNllr3OrkHYaZzL4qIqsu3UC+Gwx9nHJPcbHPJn07/71tsKI ipgLoESg6STxuAgpl4Yr4iPO3HRM//wAjSE4TQ04XhNH8D5qBRUNr+i0woIiU4mS9YRytVyDtjb FRxPiJdLZ0U73p31Fsswvg+uwmXa50/JSuiiYjgSQzfeIzLhCBTQ/KjxSqOU4seSGB2l3ZzcNAv 2IAJCu5gdQFT+uAb6pVvQRV3nTf7Y4GT4vVtk7VPG6aekeNp9h/wY7MG+4JS9jirLvpgtIczE36 8nEBxV7y6h4vbEIYTJUynB8ZW7z3NTr7vj60iczmQZbX0ggXDGQPg7gr1CvsRmvytOtTrS7SrK+ P3aN6UokB+opJXkP4Cyz7opxKUPsh+k8tKIERvGyKrGmP7rxsyJL06PP79JYUCFQuADgVeERHiB axo8qKdiIs7/1Rw== 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_114242_036748_570333F3 X-CRM114-Status: GOOD ( 14.39 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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. Signed-off-by: Krzysztof Kozlowski --- Context might depend on https://lore.kernel.org/r/20240510123018.3902184-1-robh@kernel.org and also further patches here depend on this one. --- Documentation/devicetree/bindings/mfd/syscon.yaml | 1 - .../bindings/soc/intel/intel,lgm-syscon.yaml | 53 ++++++++++++++++++++++ 2 files changed, 53 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml index 622ea0f1b08e..5a0aeae24a50 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..aa8d24074fd7 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/intel/intel,lgm-syscon.yaml @@ -0,0 +1,53 @@ +# 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: + - Ramuthevar Vadivel Murugan + +properties: + compatible: + items: + - const: intel,lgm-syscon + - const: syscon + + reg: + maxItems: 1 + + "#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>; + #address-cells = <1>; + #size-cells = <1>; + + emmc-phy@a8 { + compatible = "intel,lgm-emmc-phy"; + reg = <0x00a8 0x10>; + clocks = <&emmc>; + #phy-cells = <0>; + }; + }; From patchwork Sun May 19 18:42: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: 13667882 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 3C9ACC25B75 for ; Sun, 19 May 2024 18:43:02 +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=pO3NRJbXmJSf+e3cfxUxA2NqH4epjg+9R2AbvoM+0ZQ=; b=xIDoZWNnYFtsMJVTqnpwLEIafj RHaCEHjdIXuoYCgfHYmkwXJngwU2QTC9lnWKJfYZcj+NSQIRKuvlXgMpW8q/mVgK15S9aye4bagKD 7pA9fjML4/+KjDwyyyP7PQostsf4ROG0//QD9w9jGftGQzZFWuDwey76HTj/kXO0rg1HJKo+do1J7 EG99z70OArfkL3s85Os81toSt23KkQjbWtgkRtyuTcjCvhJLL4acuKg3PQ2ww48Xwi8//u0aPLat+ /nDTT6LqA3EXyG6cJJSiG3+bjQaHj5pdqAY8ysh92/Onleppq3XTOCqLE0YPY1kdVg0yFw4GE4gfc +apnPJVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUr-0000000CWXd-3LX8; Sun, 19 May 2024 18:43:01 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUZ-0000000CWJI-1cYX for linux-mediatek@lists.infradead.org; Sun, 19 May 2024 18:42:45 +0000 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a5a2c05006aso352323066b.0 for ; Sun, 19 May 2024 11:42:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716144161; x=1716748961; 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=pO3NRJbXmJSf+e3cfxUxA2NqH4epjg+9R2AbvoM+0ZQ=; b=Hvwu/VEdWWIF2UrSK5ImlqWrh0MfEOp3/nS1/Y3OYlDcqKMCkhzy1KaM0SGp4TqFks mPsqV5RiBcTm1fXeKqwD/4D66hU6IEhbyn3pHvybdBGPgPS1BEXoy1kQj76NulmnbIB5 tl+4zKMgiSpvmyeRQkn0cHaaX3IAKmugq5FeirB0XYM/IjdPNdx0XP4ozGM+dBSQ2tNI wuxukCi0cwbUb0+aP8I169l0TnRoGvHz8scNpLlgqoOqNhoMzbHusQabWCfHcD4jh9l4 yNbjhNgpHwOcJ5kAwuJ6K4Avvz7c+f4TNBqOJfibXbqFqtloHDotmlxK9D+qu0aO+jgQ /Vow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716144161; x=1716748961; 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=pO3NRJbXmJSf+e3cfxUxA2NqH4epjg+9R2AbvoM+0ZQ=; b=p4rU0TUoGb3CE3NdF8x1MM6xkRVnMFjgbssj1rn9g7TigoL9g8R323ccM3VQKIyLPg 5WBRSSJk9FgMaoQn6FEhnvHE6BFEZK1XgdIetBcAuIMaarTHAhA/ipe6eTIQN2J3WklU cMLeqMO2iO2nqNlTsRtqWnitc7p7dbaTU0A38VxyOgej8IdVZCvZz7u/lVFhk0cFRfnp GZVXd1ESknM6lQHsg7/7x4QXDITf12JvSaWK2I7R/o4yWceOVVXv2/8Ne3ef6gXRuqCl Pdt55bd9zhrdQ3fJ79flcF5/b3bCbe4Ve5qnWWN5yEi+vkhPTfZS7pjQSn5ZxtrvGmgR PbLg== X-Forwarded-Encrypted: i=1; AJvYcCWSdNUt4VGMuBK8H+UbuAjbUlzmd+Yu9kMQ+DTLcecYa8Ijgukdf/0mJhmL4z6Y9F+zl2Rw+UmmynbF71uYIXVOZ/i94MbntpwW7tfyaXpw3ja+ X-Gm-Message-State: AOJu0YzQUF+AO1n9LEbkeTW91Sqa/VcfbYQRI88QlYnukzCj8tIW3pIl kNVG9iF7AYISGB60jZywK9eGvGY94cHqqL1IZ5hNvWTT/0jKdf9oO2oMQobbouA= X-Google-Smtp-Source: AGHT+IFNTIHL/HAyLtlYVOw2G80nM8amYN3Wp95SxozD0aVeP2XqqzO8ZCvlEpt6PEE1lQxrXtDAZA== X-Received: by 2002:a50:d4dd:0:b0:572:a089:75cc with SMTP id 4fb4d7f45d1cf-5734d597e13mr23782682a12.5.1716144161651; Sun, 19 May 2024 11:42:41 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 11:42:41 -0700 (PDT) From: Krzysztof Kozlowski Date: Sun, 19 May 2024 20:42:19 +0200 Subject: [PATCH 4/8] dt-bindings: soc: microchip: sparx5-cpu-syscon: Move to dedicated schema MIME-Version: 1.0 Message-Id: <20240519-dt-bindings-mfd-syscon-split-v1-4-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=2709; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=sX/Xtm/fQMIFqgBRxKVvaSRYJ/1XiD5kxEcRC96ApDM=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmSkgTzszfJvvn6dxdlgvQdJYbCuu2hWH8maiGi 0mchpUi/KOJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZkpIEwAKCRDBN2bmhouD 19SzEACFyXW1D5nJ6zktVW0VlHljoq4UjhZqFWmx9NykeR+3MhUD2yednyILUzMvYPbVMda0vLF sF3u4OtPwU4yDAkqLYjMWtvVq1/nLRGjVmPEAp8wJCE2jN5OFKgO3QI+zjjsQX+K3a5/P93xPUN Jj62P5IJezthxuNBpUl08Bgqtx7UT2N1hliD8mEGDC9Yk3XgU8UbJbfCZVCQ0aWeeIC8wdte9+r jnyHkzOKJyLRkFc94vx0VfKEHh540EOOYiV0ZknCL0FI5mnjfqWwtqOMRZDeFhuc2dn/Cq90GAT gPNPA+qg0bXF+V5kOr//7fTojf5z5F1kPfNN/iauQy+iqrOTOEP3CtBp4aUSsmSRqvqRKpSfTeS lNek5mfC9vf6jJ55gvLQCZiBXeXKzS61ytB/SdnTH+opFveaY4znDfYxaJRVcNmMVUkNGL9qvAk WRUfeqzFG2g39GuHXYQFv0R8fvmCrtGcLtr3d8M25wSJd7rtF0MN6jTSP23YODWBA0VpDzlI/e4 UTxgWuUXJuvYYDrPK8RNzlP8K+dHwANXXL58uSZ0oAuSf5xm0i+JnFoqxvmBieIgeTPyMoy9e+J XJ7FcwswIXaFIqg6UtzqOA9ffDyrtM4AyeNXj2WY1XwgSKhR7F/Cq4Mq3+ci+7EMA3JbCIt6E8n iqNMasqicJOIQdA== 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_114243_518698_269E68A8 X-CRM114-Status: GOOD ( 14.57 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring (Arm) --- Context might depend on https://lore.kernel.org/r/20240510123018.3902184-1-robh@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 5a0aeae24a50..91adf781e8ba 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 Sun May 19 18:42: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: 13667883 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 75628C25B79 for ; Sun, 19 May 2024 18:43:09 +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=a4iZfdoNm6KmetFlM+rflXj8Ify4OoKkEWH1DVjf6SY=; b=LXikEv+iIbFFrVQGvUFwr05nBO qv4l2gF0clKGmX91tF5flSlRN3mwzm57R3aTFkY5zR/cHMVS72eab3Qj2u2KX/B+3XDZWZdbFZn0P Mh6BVWOJES8CoY0k2WVpfFDljSHbUN2zBBkQyMsg0bZRPmYo98wOQzVtWh0MCo+xMDBhAZDuIUuaD cvxsEjWvbG95JEQG9yCHBh2Ur5XIxEublfXlLrnO5Hcaovp3CD/4Y8MsRfde73Ueeo42GH0XBfM8X LcfP9F5p578xDXhMmEOx9xGcCwr/mZEXpbkP+OrRB3ubhXq407YSiMFK3GhuYTmqqjRYNvHKOLVaI h3ChJTmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUy-0000000CWc2-3nJG; Sun, 19 May 2024 18:43:08 +0000 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUb-0000000CWKo-0zq3 for linux-mediatek@lists.infradead.org; Sun, 19 May 2024 18:42:47 +0000 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-572c65cea55so10944091a12.0 for ; Sun, 19 May 2024 11:42:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716144163; x=1716748963; 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=a4iZfdoNm6KmetFlM+rflXj8Ify4OoKkEWH1DVjf6SY=; b=QeFNY/fqz8dn18fozXBEJO3yOXHdjWrJoBmNnZ0jImzJEg6EqVhxkCIovbNc1Nd38+ agAlsUO5oVTG7/Dt+gps/ky+OOoHH/SnIgm8enoGEQOcCZ8xsvpk6BR50Go4O554LfHq lCDhyGOAAI1NxX03edxeUQfDbJGxvTueXAUyD8Rp3qk5orKuQ0sss8CMKvHtgKuF/zWT JDG6HX7kP8G6jzkXgCpxSTF0wZ37J4T/KIePO1CM5ePSyKwq1JCuhNe2/+m9tX9ixGGf zBEc7aQt96CPH9E8SNhYwIfYGm3vvCcK46PNH0dz6sKQV26A3HlHg0fwxpZyAeEt94Lu zVKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716144163; x=1716748963; 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=a4iZfdoNm6KmetFlM+rflXj8Ify4OoKkEWH1DVjf6SY=; b=pacYSW9qOQVxi8AZJtvCi5E1bXnqF3BvWq7c56OpkbGyS2VCZ9NVyca0uifHhtSykq L7he+S0z9IYDEmklCXiKtiZKp6h64u4h8025W3dnaI9IY9Ob6QI/Conxim7r4tPldfIf Sd0gEq9LkvXNa+lccDPxS6CfwGisA2P2JNEh8FILR/27uMwhXfnd1Z0rPt9gfT6RMdjq S9nQkE8B1FMM1kkBqwGsrcbMlu8pISvWEg/EpasU1wFZDT5hSlDR5L6jHWG128pETiPV X10bDyEv8NMT6rjfkagyxUrn4flGsM/bTXwp0Beej4lNP/pmUqFPPHN4XQEl9+80OY4L 64hA== X-Forwarded-Encrypted: i=1; AJvYcCWZ0owpNyL4fbuy1yc76161aAaBlY+lKD580VIY3vr3hpAAXmv//uoZxsFld3Q7Lmnty1D+TJm8EPUEm0Eg4bA99vENh7NXH9/Q5m1gP/UQLCA/ X-Gm-Message-State: AOJu0Yy/cIDRPjFb0YtBGSJBzoGSQGN/iuWOvDXgVmgEm8qDfWGDgqy0 TWEFGiKqHJy5TIUbe49UdAaS+3j+gFGxiU3iKmtFr4oKHT8+R9xO7wdIvOWt8U0= X-Google-Smtp-Source: AGHT+IERAhveijxy7giHqZCwdGvg8/ABsrt2a2x/cjeUxbcFttmT+WJNsMDmCsz0XPPz7M6nBgPbSw== X-Received: by 2002:a50:ab0e:0:b0:572:a712:64e0 with SMTP id 4fb4d7f45d1cf-5752b481447mr3925832a12.11.1716144163350; Sun, 19 May 2024 11:42:43 -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.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 11:42:42 -0700 (PDT) From: Krzysztof Kozlowski Date: Sun, 19 May 2024 20:42:20 +0200 Subject: [PATCH 5/8] dt-bindings: soc: ti: am654-serdes-ctrl: Move to dedicated schema MIME-Version: 1.0 Message-Id: <20240519-dt-bindings-mfd-syscon-split-v1-5-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=2354; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=OOdH/VA0xsPMRYhcDacK8D0Tn//KGept+QvEXbjxFgc=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmSkgU4qP0BJA4XKDpZ7Wvn50e/Ri2RoAv0jgbH 9A5h7StGdCJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZkpIFAAKCRDBN2bmhouD 14vtD/41lxCZUAle71Z5RV8DtWeAuAW/4vtMslb18wpwO4PjUZSfIurRxsBNpDMWmbrEe5wehNg IAhl1W+I41vdMBBoL7AofhxwwKbux/y1V7rCbwG5X0+GN7TFASHMg5GIbpMn96zQOiV+7W3FiFA imCHWAJyb9SWI6mGK2D2jEPDYxWCbLjxTVhcQOYPtvE4m74ZZzf+ovUro73pKnPPpKRLEYJhRIb k8+2XQDDYDnk4uXSFKwLlXmrVkqr23d22h+U4koosUkp+hwt7wg+0DTS7oXzeh3qnaSpz/7bgyV 5xj7jAHTln/hZ33G52/KeVAbFLBmeRxymyyy4IKSYay0VXEX0sCF0VpOPpSvlFlgzE0DKifTs8E Mpsri0yFQWHGSc2ydrPWW9UuAbYqbRM3QI3hDYNYJ8kCiw7ow7Jce5P6T2iPindQD9Na2UeCGsO 4dkgV/wnARN4SXiOOKsv/+h3Bp68Ij/p/CqyJ6BUWvVQWqj2kzWGwhJQTHL4E4hIQL80vbf7Y3m OqGNYuhwiKLkI2nn9rRYJec/AEznTgsy2jV2QYzxJ/JLv/Icowas55bmAHmN6v1EIVsGMhqMT8O iWrqJWeAiMI2wfiA0/KBKpUKSMmPHRpV3fjtqUyufu+foR/O0H3n07+DmdNm1ntnONRpaAFAnlj 49hSv2Iy146uRlw== 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_114245_540283_288C34B3 X-CRM114-Status: GOOD ( 14.40 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring (Arm) --- Context might depend on https://lore.kernel.org/r/20240510123018.3902184-1-robh@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 91adf781e8ba..b17fa0487178 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -116,7 +116,6 @@ properties: - ti,am62-usb-phy-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 Sun May 19 18:42: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: 13667884 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 22D16C25B78 for ; Sun, 19 May 2024 18:43:18 +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=M7SjlJl42p0vv40zj9mQVcZTHeMqcgXlSP/MvwIgG+g=; b=G00+RwSj0EPaaSRYc4UTKCjVfF eBIFYGtCgdBGFrpy7M8JCUpYUZoR7QUzk+YQYjEYI85ycLhbT4CzpSBeVQHnpaMQD73i2rVGxbXEa TyQUKeut0jwukJzhjEHwoypVViV7HUF5quoi2hvPUCHAR+yeXGv+N3nRDyWXItFiKSdIWHkLsLUQh yk3bf0RWfaRwKrOk3eemtarD140ZeWxkvgSDrV31Kcp9OqTL4SveeFXOzT0T+6mRHNoAD9kBWMhIc JG+hMRdRWHWLD66Nuoe3IMaz8rOfA0Ac+y/siXc5G0IwwtMkZyMrwoUH3gGoqkxNAEmf3WplbbzdO MTp3ryNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lV7-0000000CWiV-2IPH; Sun, 19 May 2024 18:43:17 +0000 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUc-0000000CWLl-3ksF for linux-mediatek@lists.infradead.org; Sun, 19 May 2024 18:42:49 +0000 Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5755fafa5a7so1384125a12.1 for ; Sun, 19 May 2024 11:42:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716144165; x=1716748965; 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=M7SjlJl42p0vv40zj9mQVcZTHeMqcgXlSP/MvwIgG+g=; b=af5hKVNLSwIq9j0nlW/oLrRGQvm0obvV2uNAHJUN1PBR3FqYXw4b8RW1nibQSPxcCl 88N9QZDvIIghnm01FjNjgcrIQt8pS3fHJCCQfgddLFoaMsYmVIoJFx1Q6cawcJdWkb2P pWqp9VBXo/tvF1JHaSoqOY6DcOaFzVN2gI6UkGkdV26T7to0l+oa87QNoOHROsOFpVdy YTKn/JG4nQG4rYFIPO7g6ttDsiO0UqdofOsE6QPAM+iQB2Vir7565nBgexxVb1UYkVuQ SUae5+z/YRebzcTlmRqaXeKRAeVk/Z3Bx4ZGn+rgTbF5kUjKffhV12qVOTs9cckBvBzH bNvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716144165; x=1716748965; 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=M7SjlJl42p0vv40zj9mQVcZTHeMqcgXlSP/MvwIgG+g=; b=J+/fXQ78iOMwi/vtPrFH/bR1iQ4iCsPqUBzr7nasMJLmv8VmXEheIex/U2igIIsEUf RWSx8Pkk1uHSiNVtpNWKlnLjPY3tGGqINXvTtc4Zas88t0Hhmz3dHgZB0+cZz0WL3NRN wKch/Uu73fdroGoEA7eBDm8n7+RUa1yRUPgZ/MjpfO8+h4yJwjec96tk5jz/3jyH9rCi l753epKQNLHnLrhqds0y7EoBkL/qV2ELwYrA/NLl+ojGP3a9LRTPkvEME3RDnTo39q5C 0BtNh4BMW87jYbjcyzmrOJetsn669gcYyqYZqO6HyCaI2Nzsb2vFTFnYEPYbbWeDcUj/ kidw== X-Forwarded-Encrypted: i=1; AJvYcCW054zRa4gyZxbQsjNGloNa0QjSk151Pvu5A495QbQ7DBZZ8MUaIArkIZG/vh8aNXmZ5GDB68ua0KCgddLwuV+ExigSfT/QQFaATvIUadzAE98P X-Gm-Message-State: AOJu0YxafjU6aSG9DeGuYeujz/+HVaCWpbUZytNq3/WEul8PCA1q2p0i U/z8MNPsMgvMx0WiooYZx2lw8dRHJnDCjh5vMF3CrLse5R6nj3jIS7wj1fcF9YU= X-Google-Smtp-Source: AGHT+IEsFEpdSqOAM6J5qyzDUCJneEXJ3Ysf7DmgHnwA7qHARRDxO2SQ1UpJZcz+0tw+btI581FdDA== X-Received: by 2002:a50:c359:0:b0:574:fe5f:4f79 with SMTP id 4fb4d7f45d1cf-574fe5f5348mr6793830a12.24.1716144164805; Sun, 19 May 2024 11:42:44 -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.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 11:42:44 -0700 (PDT) From: Krzysztof Kozlowski Date: Sun, 19 May 2024 20:42:21 +0200 Subject: [PATCH 6/8] dt-bindings: mfd: syscon: Split and enforce documenting MFD children MIME-Version: 1.0 Message-Id: <20240519-dt-bindings-mfd-syscon-split-v1-6-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=11415; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=qtoYw3fdVhclXTClljRbEBWK7+OTsR0mSt+0Br6IjhU=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmSkgVnvLOsAJbHLJZCtbySDycWCqH0kFau5Quu 6kHj0zLHKyJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZkpIFQAKCRDBN2bmhouD 11QlEACYNX//aIKpWxoPYETKQidjY/01vwBwUZEG3iDc/egKhwD2iVfGd0rm6KjUtPJhvdtZAnP fYeCYFMi9Lri8n7rvQFpDAm7PLaiGyL0+U0gq5RIj7JYkXwoxVPfFGoXv+MJQZypBBZwJ/qjK0U 3/YY2b3dJgwNBg3jQQvKxHQJaInhAijErYzdTFydtQomLKu5T4t73Ru/DduOLdSqEv1pofdcdg7 7ncFXrD7zoxDSC2E0yUvua44Uv4wigxUweERoCJeWvQ8vdLlcIc4d5RroOuCLsX6At7owc5N8xs bNI75Le0SoUU4Isqk1mEhEHB+lYuWx8nZEVyyhay3/7xcWDnxlao4ICn8LfDTNrWq0KPEFnRaKB N0lLM2rRnkJ5V7XCK9Wzssuv9oKZbirV3M+J95ZplRoXldvrPKmgqvdwnaDMWjzkR3JgiwdCfSE bjdiO7w8n8Q6Np9PdQ3DnT7ha/rliYae3kculV9a8FMiOaKc7AgilHdtePkXVPTUXMiayc10wd5 tYx0OQsKfvNIrtRMXoOyEz6VAxjX0K6VWjr4kauUpfbJrEKTdlmbTsK7irRWNBhUBe23lWr1dPC 1dY0Sn/+w2ynLy6N54QC1G3Ez5J4hib7NBVB2+c96ynOLH5QvRspEOb80cCgSgTLkzY+xw1Vvpr wpkAzYsUZ8Em3Ew== 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_114247_038740_BC2834B2 X-CRM114-Status: GOOD ( 16.10 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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!). Signed-off-by: Krzysztof Kozlowski --- Depends on: 1. https://lore.kernel.org/r/20240510123018.3902184-1-robh@kernel.org 2. Previous patches in the series. --- .../devicetree/bindings/mfd/syscon-common.yaml | 72 +++++++ Documentation/devicetree/bindings/mfd/syscon.yaml | 212 +++++++++------------ 2 files changed, 162 insertions(+), 122 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..c3ff3a7afce3 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/syscon-common.yaml @@ -0,0 +1,72 @@ +# 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: + enum: + - 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 b17fa0487178..70e3961bc96f 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,122 +19,99 @@ description: | maintainers: - Lee Jones -select: - properties: - compatible: - contains: - enum: - - syscon - - 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-usb-phy-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-usb-phy-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 @@ -143,18 +120,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 Sun May 19 18:42: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: 13667885 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 A6B1BC25B79 for ; Sun, 19 May 2024 18:43: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=HJzQsvsL1/6Fsadk/3uxZSUhJhH3mZxPfX2NIOU9xQg=; b=ZdKP1yGgGZgdHjvEPGo4olvmqW wc4wfUTtl5WdgW60Ri7ojFcudkqLLHahRWh25VFO0X+/RLkNAGlrbY4zxgdPS6W5HKr38G6SIbKYz 7W5U/g9UFGng2K1re32QRw+5ygqzfoHEDa3JA7PMOQRVNoB/nBx5HhvaECaPuEXgUlIr94+YCyadM AlgWHInC/wt+XHZF+qNgRfao0t5ffFDD/t0LGWBeqtsK83WO4585W1+A7jZNOXCUx1a8+XRcJvmQo TzWzmqNjEmsvapBau+lyFrmcIgAZFAItpa+2cvL1Ol3VQRcR3ZmiGlUvPJ9Gy4PtCvNIw8TtxpLL4 2CLpcd+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lVI-0000000CWrl-3Zeu; Sun, 19 May 2024 18:43:28 +0000 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUe-0000000CWNA-23tl for linux-mediatek@lists.infradead.org; Sun, 19 May 2024 18:42:51 +0000 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2e724bc46c4so5247311fa.2 for ; Sun, 19 May 2024 11:42:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716144166; x=1716748966; 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=HJzQsvsL1/6Fsadk/3uxZSUhJhH3mZxPfX2NIOU9xQg=; b=eLx1dl9AGck0FZJD20f00C0bOrc7itRN+QUHkN2WLsiGKbEkQPoSzgIpR4FREhs4z7 4GQWEYlvFkh78WiM5i0piOXeLbdUVulaAKRLucXO5XIULG4jojpd+03H6DDqCWd5qqRL UxXac52hcM3tJbQdVhLIZUsz0wM2B55Ob9puF0mc0Za3eRIe3E+jY82riNPKOcTF6Acg eVrwh08JZrNlg97K3UL8DW6QV+5mvHYzXZLte+eblVuV4+Qq6zZC+Ex5a9NCQbzNlBPN 7CzM/TGKTZXG8NmAyiNHZLcFJ5NP10IhI2Ok/kWUqDwzGM1/Zz9AXiAqYWbvER8LqgPa a8ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716144166; x=1716748966; 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=HJzQsvsL1/6Fsadk/3uxZSUhJhH3mZxPfX2NIOU9xQg=; b=YXBraSG3sWgrStuEyGW3QA0JX3mGh+6wt9h+h3guFBTBzZNRTs/8ytBXp9xaqmV0aZ On72DCyYxQH4YaxE9xKBsl7uo8yQfZ+i3P0yqelSH/X24tbO1hgN6JdkARnxi4WNaBmb vOE43gBNiOly5nrAEEZDBAJBk6/XwvkPcgfYoDFweLinuTeYMCeI53Uo7fHmIMrFdjDp xbhN57+a6dTSqKnh58DyKihHbcBovHtjjC4UHtP4MlZwFDnEvyRxjx5uyn+JBxuXFv2N j0Urv5MQZWm6IKwMI3ypDKu3ISzo0Nd9wJg/HPVmoptrxyOM+WsBCUB2158wWcDn6CfH 1cGw== X-Forwarded-Encrypted: i=1; AJvYcCXtvEPmtiYd/83wNgcLSl9+5lJL32gAPIiz1TO4dakT2aD3t0VLmsMm3ACLceS6ec20Xxu4QnXkKupK2wPcIvxZLu/KG4tiPtvy0znYmM/Vowfm X-Gm-Message-State: AOJu0Yzk1PRbkVH0uj6nr+VqfKOK8G5zolNCloPbONKX2gP+MyGkFft+ FnO5rL7NBJ6yj2OxeapJ/D6AnLhLR/vp98raDoXZraxsHiJtzbqP0irgK7T08SY= X-Google-Smtp-Source: AGHT+IEEBBwXOSZRHdGqRYoeDSt52xBh98K8OHuPaxav3A3RFKfuIQIZyvr9n42gPgHOBTx6hSh0jA== X-Received: by 2002:a2e:8785:0:b0:2e2:802:7d5f with SMTP id 38308e7fff4ca-2e51fe532c5mr192904301fa.15.1716144166470; Sun, 19 May 2024 11:42:46 -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.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 11:42:45 -0700 (PDT) From: Krzysztof Kozlowski Date: Sun, 19 May 2024 20:42:22 +0200 Subject: [PATCH 7/8] dt-bindings: mfd: syscon: Add APM poweroff mailbox MIME-Version: 1.0 Message-Id: <20240519-dt-bindings-mfd-syscon-split-v1-7-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=841; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=RLGfUnNrbupCrUxJFM3mfX15wDi98tY0Qn5zbwzBgEs=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmSkgWwKd/7X2YXGa1fvg1B2yhpgR0URstwon0T ibqvsQo7sCJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZkpIFgAKCRDBN2bmhouD 1z+kEACKLaKdIgKLsEKmFBEJRKVlh3JHvjVLvRZ2e61dp865A987D1vfDvoId5UXWlE7fJrPqJI eN8SfHvUQ/kao824zFlfom9NTiPUoYyrUx1du0nf03s8sUKmRPlkMXhbG1+oJMBpIQysM2yKPhx 82FSbafBwE74L33EHqWzI9yoelaCXjXRtyTD3yvtMRd/wCJL9Hxfl+R+oU3dZSbvxvh8zGGX+f+ iN43ofFQOJuJ7uJqjxhCDJEjD4yUhU9PEaZZiMAPTZg1m91xysOKwE/2ShP2UtMhz1ASfmSDMNW w1yvqduPLvMqGUOvkvHbcu1UqL8jLIC8YeL4tn/+VTtdiDNDjP8NPS2xNMptsUzOmnn5+t2IyYT 0BRn3YRg1H9zoPhoONugiqcaLxPIJuSyBMsf7ESRw/gKqVnK8X+gpVW0uYtijhGxoUI/e0bILzS Cl7+bcCOGJtndxePL5lhgBEkiU2Y2Xw8yKV/kkqXGJ+wNPS90gOjuoMPp7S1mKikgADLwV/gKnX TjJY//Qs16YNiN4cwbskpHHsM4DqSik7307MN8wmmGwxRUkVRDyXVzb1Ux/9DTxcOYpzC7EZH5n l4vcO9rLmy5mthJal9sjEqco/S5DDYFEHqBrhqtDveZYjQCTlbNw7SC0s4QIJCpzB8xk02FdQU3 3fQw3ANM83b5BSg== 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_114248_714681_CAE8043A X-CRM114-Status: UNSURE ( 8.36 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Add compatible for an already used syscon poweroff/mailbox block in APM. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/mfd/syscon.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml index 70e3961bc96f..dd35e613d633 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -37,6 +37,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 From patchwork Sun May 19 18:42: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: 13667886 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 624AEC25B79 for ; Sun, 19 May 2024 18:43:37 +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=DCQY2UwLMwXuUNNo6TcYvWSj/vr+JcFRqOkL1wG1t8o=; b=io9xBwq7e0Awi1cj/lSKtgkcI8 JclCLa21r0NobKiMpLDBscaje6bli3IDBOLawWef/k9VgtoRtCjiIwz+cedNU2x7PAbN36M08mh0h 5N+wLit5VX2qBUpqJHtGlQC2N0j1xRASABvU8st9sPBP0Xmma5ZDjXIJQh4jw3RdlZboaT+uDpJPa S4exro3etYy99XjIQknJs4kfD+OByOOlOHOYwuK8xhOXQhMZj+Z/UM5L5J5ALYZqEveNJr+wMOF6M jC5jdqL6d4eqWY7s6SCi4KWKmvvGKqpvIYkmV1qiG9yc6BLs7k39Bwsj4itVAqsSDM3P9/8q+qKok MwceutAQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lVP-0000000CWwB-2oBu; Sun, 19 May 2024 18:43:36 +0000 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUg-0000000CWOY-4Btz for linux-mediatek@lists.infradead.org; Sun, 19 May 2024 18:42:52 +0000 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-5206a5854adso2314857e87.0 for ; Sun, 19 May 2024 11:42:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716144168; x=1716748968; 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=DCQY2UwLMwXuUNNo6TcYvWSj/vr+JcFRqOkL1wG1t8o=; b=VFN9TFynGXvtHSb2/YucxZJf4YVndYO3R2OEgSJ7cLo50VUUC1c5WXYpuCw4OMYOXV g5r7ULV3OIcY+9J2fVp55eqsi7kUC9zEqjyPi4K3mcywnzS+zdIomdZXRBFPC7yIIM1d UOe0nLaJirDf0+QaXUoWk7bqOyjHd2x+B8teLn8hn8pIilvnTE2GUQnyPvasVvg6PUru ZsSadg9R7JzK/ViOGshQFxS7I9AkEU33UuvYl7NgiVbJv9KTI6SToF5uLBMWm6KvWmGD sDna7TGb0uTkO1OtmIF33Vr0Q/A3YwNH7gs/Cq2R4DW+BSITq5tQ9XdkfCLyBhiiy4FJ IlDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716144168; x=1716748968; 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=DCQY2UwLMwXuUNNo6TcYvWSj/vr+JcFRqOkL1wG1t8o=; b=wDgtLfuJ2aaN5mujBD7fXlurDh2tH1iaQV7KuZVpEbFQTA+exVrAAFkzdYlrFW5YFn QZe/ZGcq3v1bL/xLi26lT3IG9gViQMOTtrsHsJpqoIqqEiIX6g+06nQK64pkRcUD0k99 q6z52tK/noov1xO9MsUXEYeV20GR4OohaKW5b1fxIXp8Phlj1QD/t1ALJsKKmDIT5Lmm 2ZlrDROKkDlnjf6Dz3wwi4EsayxM1id8bcGf987PK+0PfHYhNgoY7ACXwZjhlUrd2HXM jPrHUKbPgFok74cDAHT4KmYd34jy+ohYa9iuHjyocXS9j8YdrBwqBJZYLgvxYGjGMdW/ t9eg== X-Forwarded-Encrypted: i=1; AJvYcCUJAkUbApM/m5sfN+2+Q8T17RBu6iLfjZRmFLIyYnuIxayO5MvfnMdGE/TkuQ01qcj+jJtrj1CaQEt5FzjB7rQVWQcorjLIHoWpLsG/MKAxSvJr X-Gm-Message-State: AOJu0YybR5TNyY2h3IX1iNuRFUEbJWsTA7nrw/mcKUvn9QQav87/iquJ qp7hhsT2td7StS3ysJ2Bpyp99UFEOrd+UG+Cr1Kj8fl9vzO1PGS5wT8vU/upOsw= X-Google-Smtp-Source: AGHT+IHYPuihIXhluNHez3N+KuunvyY4tIr2+UXnoFENn1VT4VQP6VriJDbZ4RWRXYZ/YtPnfWtfrg== X-Received: by 2002:a05:6512:39c9:b0:522:33dd:dcd9 with SMTP id 2adb3069b0e04-52233dddd7amr19396692e87.33.1716144168172; Sun, 19 May 2024 11:42:48 -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.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 11:42:47 -0700 (PDT) From: Krzysztof Kozlowski Date: Sun, 19 May 2024 20:42:23 +0200 Subject: [PATCH 8/8] arm64: dts: apm: Add dedicated syscon poweroff compatibles MIME-Version: 1.0 Message-Id: <20240519-dt-bindings-mfd-syscon-split-v1-8-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=1218; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=tAtKZ4eMAZIAat7ACERGaIxU5LkfrqC2mr48OZ1Too4=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmSkgX9SOPpNnSuOTGPtZ7tkW+pTexnue70E836 cEAIxN6+0yJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZkpIFwAKCRDBN2bmhouD 19O8D/9RgvRkGf482wMxtimAsqJZs01DLhPsX8MgpZLhHhdvZS+8pXsSJtMr8RgR37s/Ghi5Z3b GIRq951+2Tvo7qwXAag0Swg8b9Tz1+UJMcYZ5W4RztboXnT4ji7pZysMcP5c/5ACAGwQ1xxtRMp elXklhLNY/6GQAPVewLInWo15FY8zS3RJvO95h2HHt2RSz8ERWgdVHxlqSP7igcTJ0s8sNxXUdK X123rQ1t9iDKjYIyLEZ+WWur7CeG3tHOzmRcKdYBw9qi0X4/HAw74an7ZMKNonFhluX9XoZnwzt FbAOWj++6X9JY6YToPbW8qQIJZbNC1L8f8sSAKeDoDbFnTEAbIaztFMtmbwnPlyvKdOVkXrsFxo t+leHW5vgJgWcEFtU62nM+Meu3TQnjFlcm/K5AWqCK62waXbojT2O0F0WzTYu4Ett7u0W39eu5j F4z59+Akx2KQJYt/ZnREnnMHj2zMW73s8xceCT8apxzXYN28oLb/75vzPAFq9gIvoh6P7AxY7WG x28lY8X+eqY1fmNcDoCpz9RWkU+P+WrIQVQKVq+EdpvOfi0G8H5NJPn1H/xHtHkhBPFcEHfQ85k 5vBwEkrqBmnXU4Hd7Fna0ULhrzbEG+jARNgN029Xzk8xTM+k/iu1Q+zCoGThTGosVywiBgEI/bg E5s1s7fwqw4hefQ== 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_114251_152325_B4306AA3 X-CRM114-Status: GOOD ( 10.71 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org syscon nodes should always have dedicated compatible for full/accurate hardware description. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/apm/apm-merlin.dts | 2 +- arch/arm64/boot/dts/apm/apm-mustang.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/apm/apm-merlin.dts b/arch/arm64/boot/dts/apm/apm-merlin.dts index 6e05cf1a3df6..b1160780a2a6 100644 --- a/arch/arm64/boot/dts/apm/apm-merlin.dts +++ b/arch/arm64/boot/dts/apm/apm-merlin.dts @@ -32,7 +32,7 @@ button { }; poweroff_mbox: poweroff_mbox@10548000 { - compatible = "syscon"; + compatible = "apm,merlin-poweroff-mailbox", "syscon"; reg = <0x0 0x10548000 0x0 0x30>; }; diff --git a/arch/arm64/boot/dts/apm/apm-mustang.dts b/arch/arm64/boot/dts/apm/apm-mustang.dts index e7644cddf06f..2ef658796746 100644 --- a/arch/arm64/boot/dts/apm/apm-mustang.dts +++ b/arch/arm64/boot/dts/apm/apm-mustang.dts @@ -32,7 +32,7 @@ button { }; poweroff_mbox: poweroff_mbox@10548000 { - compatible = "syscon"; + compatible = "apm,mustang-poweroff-mailbox", "syscon"; reg = <0x0 0x10548000 0x0 0x30>; };