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: 13667889 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 E5386C25B79 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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kSRFzdMBdkZY/omDilZRL/hwbJJQrj+xVGaYTTp0QRM=; b=1RqmxQ1LTlMNPc HzoMMHBrIjeDXa2PCoaEhjPhuVR9SZBgdOI623ACykVje0RCzAwponbiyxSty1ZEvliBC/sLo6gyE fTNzRDcqs4Rxs/OwS5Wf4T6seLVNFScLSQEgYUY5cejGkqqCFwEqgPiQjvHppYy2EMGxuoKrZVN7l jsuy43BSyrxIIp/5NwO6WQI1QcoSLTUMsi+AUotGR1IaOvrdX3UJnZ1CkV4qJXoB3xhFlNfLpfsNM Eu5aBihtwKFUWXoNBCYaDMui6qkuloWcVmcc5jta2ihAogGKkw+gijWvvclPZSQ2VwLZbDQla0x6T ZkT7ZFsBFbF2PXnTVfJw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUg-0000000CWPk-3eg9; Sun, 19 May 2024 18:42:51 +0000 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUV-0000000CWGZ-0Lo9 for linux-arm-kernel@lists.infradead.org; Sun, 19 May 2024 18:42:41 +0000 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-571ba432477so7331968a12.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=xGkjFAcsafTcNp2AVcFMapesS3+mVMLKZW3uJds6nOPYNU6pxJY8oiwgnE4/zBur0x 85DYLABAGa/HEEilTWLgbsI3+gLmnmCTxOgWIRmTUyLP4X6o9PX4jdjXCkIz9aRoOC1E ScDhKYcD+DQAZu+uaSlkk4jbFjhV0YgYGVr1T9eKyBMwTV6C9C8ITHiVGJxg30igVcjN kI2FlveudvO9TExgcAlm2yoSEypLrVCB4umd5TM0yHqNv4S7yYX7RoXimGahBDUrRPuS gciVj6Pk2blQG0gC1OSe0OdHBpw3nLyAnO5wHmzJQ5EsqS8lOShD5GyxW9lah2ZrvAns LFxg== X-Forwarded-Encrypted: i=1; AJvYcCXNSYgLYrtXA9d+9KOCV4OC46fy569UqUFCs+3ws7+IFIw4KUtYXIJs4I97rUK3CIF6qTeXkV0xaGvpCE9RLy7SVtjAHdfrmrTipkQSdqNJLUpw7Y8= X-Gm-Message-State: AOJu0Yx018QIFyFVOHsVTOxvwG7Ha8EsnwddOT1EbF7yv5wXcAIbHci4 sXe5T6I56hebJhRy59ZnFSEohxqmovwx5OWgiWXRfn7PxnpHTH45+QjpSxvkMzw= 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_161799_9CE61349 X-CRM114-Status: UNSURE ( 9.56 ) 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. 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: 13667890 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1A4F5C25B78 for ; Sun, 19 May 2024 18:43:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LglOqFAfWhIkDIpAYnnyB+2ey7rhgGDYbelG1umNFso=; b=I+BC6qLDFjjq2k C6M/vHo1VD6Kw35w4p2TqyCPq6lPQtu/YB89BBs3fuNH7FG5A7MSICYzKFHAaDbXFDte/JPk1Tou2 73tfrWcZQ6/7YeA8glnIMc9E1qCdIOt7n8vBj7dkxSmT7WS0+8AxVPS74Rajv1w9yCTDONhYcrHd7 +Nw3iI+upzXaMWNJfMD70sxPm8fzzOYlEpXyxqUDaLn2mTXVnfHOOrH6QO54WYpFx876jUpKdBxX0 UcxTvdJITa+Uu+npd0wfcO4ESnbz7qM/8maXwdGh0K8nbXtM/eGjPY90TLm4FvUAaDil9gfKu0AQY 400kS2qU1/zAOu8cHucg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUk-0000000CWSh-1XUn; Sun, 19 May 2024 18:42:54 +0000 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUW-0000000CWHQ-2sLI for linux-arm-kernel@lists.infradead.org; Sun, 19 May 2024 18:42:43 +0000 Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2e1fa824504so27015831fa.0 for ; Sun, 19 May 2024 11:42:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716144158; x=1716748958; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=RG1aV24RN7E3p6c9ASDyYan6B2OB6NWdWdHsWR4ahx4=; b=CM6Mj1EWkbHZ5lYXeFvyse275Fzr/qwjdAW9BfnIdLFzxd1b/mWkwn1YchS+MiIwYe xkqw7PNKjIYRD6tWLc+BTLh9DOh8cRWmbM8jEJuner3DayyZPvnyY357jr9KLG2TDdyA N6XpQdY9ER8Oid+ZF1A5zuFGq7Tc4PGWr8LKFPmWw3BYggzt3BJ0iYnfhqJKjvEsUwkt s4BYQ/no70dbSVvFPZTkM/MWW59inhNIPy8kAtl5pRo9WEnbCX9KHh7tIJfKhVxC6IWC of37yDr/Fzm/fTYDjgDFiwKiXMWRMk6U9JaK+2u50otSOIubbhklp+IsRtAglFidieBZ uSLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716144158; x=1716748958; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RG1aV24RN7E3p6c9ASDyYan6B2OB6NWdWdHsWR4ahx4=; b=H5laamOhMIieMRJ9+/ODZm7S3iShK/ZxmHe78+17JUAuducdeUT20yI0IXLDyqVQb1 4/siOpqvqCy5Ry+eGSjlEJYwlxbV+5G8RAQwYZAsipSsxk9eRq7K4QWR7BiJwii5l4w4 xMVtCYsmBTeGPn6iEUMDfLkDs5wsyqggxXeGaZ8S0qtE8WFhFlLxZo/bW8SDBbCXVhFn FZUdMcNjhERvl9hv7TInXUIvXLhcttOVSkfNtO6xTbG1Igig6XknPHqHcXLX/hLnIxzC tlWircO1cQC6Zec9e9WrJgVuCBR3XcHQ9H4hH10riBSurUHNVk5kJAQkAdqFMZCU3ngG DTLA== X-Forwarded-Encrypted: i=1; AJvYcCXdgckR4jbQuFyrvqiLdySFandO8JsSVyJ6Oj1UNwF6rBVv7gr95zuhbgQrxf0UJf/GhuicWcXre5Sx2bHErb+UWYpG2fbdMkd0ndO55QytsCmlMoA= X-Gm-Message-State: AOJu0YxzmyWaAkQY7KWCpzU7l1fPWzG1FLHLBYqi5MPpcB8jMds+gvSs OhSXpVIQWMT3tt7MQnROf795LuHkEbjRWoZ2bVR9FunPlv/orVDHC0/fOd9/zBg= X-Google-Smtp-Source: AGHT+IGeP5PBCKh7R7auyfHm+GXOjm+D8EqF1EdnvZtmcr8kFLBQpsFXYhpZsC566l7dfYdexNT+Ww== X-Received: by 2002:a05:6512:3447:b0:51d:82a2:8d72 with SMTP id 2adb3069b0e04-5220fc6d7fcmr15155418e87.40.1716144158271; Sun, 19 May 2024 11:42:38 -0700 (PDT) Received: from [127.0.1.1] ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-575313d97desm1789397a12.41.2024.05.19.11.42.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 11:42:37 -0700 (PDT) From: Krzysztof Kozlowski Date: Sun, 19 May 2024 20:42:17 +0200 Subject: [PATCH 2/8] dt-bindings: soc: sprd: sc9863a-glbregs: Document SC9863A syscon MIME-Version: 1.0 Message-Id: <20240519-dt-bindings-mfd-syscon-split-v1-2-aaf996e2313a@linaro.org> References: <20240519-dt-bindings-mfd-syscon-split-v1-0-aaf996e2313a@linaro.org> In-Reply-To: <20240519-dt-bindings-mfd-syscon-split-v1-0-aaf996e2313a@linaro.org> To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Nishanth Menon , Matthias Brugger , AngeloGioacchino Del Regno Cc: Jiaxun Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1847; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=KLwl8QR9y7PCdA8grXbhLfcs6VAielprx2Avjw32E0U=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmSkgRADA1CSPsrZfoM/PxSQDkifcbA+LbMFTzB lBlt3VKxieJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZkpIEQAKCRDBN2bmhouD 1xIID/4yXJXNCUgau/f+VFKvHW5KJWWiPMu4jqoVeRHkyYejYdulr/dHo+3XZU3LIw5HIssC7VK F3I+eB/7GAZqSlc/5srwYTYqezXZnWFaQqlLdoAqJBV0ciHJ1jviOpUbehozInPy9UCBWHgRYL1 VThz8W0xRwqMJ69aM2DrWawttaPwDgrGpWKhRB5f/wTv5L94oHiJM3SA+K8WJ0HHKOr3/x4s655 d2l0j9qYzD7zTaXkpuJKp95QCy1ivqruNAPY75hMiQIC+YrmlBJtzeU1iazhyv3XQeyPrWjpWcH bBSLvkZhJfN3RwyxkP0+cHzZlNRTqg8K+Q8uPETF+fHopYK/h6smjrtmP2rDBSsZB2c44sZn5pS F9CkANvNYYQZC6Y741OfQg8ztXKDm7x0rLeF7UEWLXcr5Gctp+qY5aXARPmrTwbJanBeoQxcspw QDl0Z1ajFgz9yhr8FJxLMnvmM+kx5K9n+aAtcyuInz219Z8iiDTFi4R/2Lrj+A5jRJ98Pf8kaK3 5kxL/2qA+ac9qBs5oM5dG85E2cQir6ZArE5rBtEtXGJij7289DoJOsPYAcrmKm1PU5BhVupIAij NFXaRvjvBQSxI7XayKQk9jJs/LDV8b2XXWu/0wZZhxUPDutRsVwdbucmUlEz8stJK8O2wLZvGwn GmJYcvQFskDl4qQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240519_114240_772969_5FA3982E X-CRM114-Status: GOOD ( 12.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document sprd,sc9863a-glbregs compatible already used in DTS and other bindings example. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring (Arm) --- .../bindings/soc/sprd/sprd,sc9863a-glbregs.yaml | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/sprd/sprd,sc9863a-glbregs.yaml b/Documentation/devicetree/bindings/soc/sprd/sprd,sc9863a-glbregs.yaml new file mode 100644 index 000000000000..49add564e5e1 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/sprd/sprd,sc9863a-glbregs.yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/sprd/sprd,sc9863a-glbregs.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SC9863A Syscon + +maintainers: + - Orson Zhai + - Baolin Wang + - Chunyan Zhang + +properties: + compatible: + items: + - const: sprd,sc9863a-glbregs + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + ranges: true + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + +patternProperties: + "@[0-9a-f]+$": + $ref: /schemas/clock/sprd,sc9863a-clk.yaml + description: Clock controllers + +additionalProperties: false + +examples: + - | + syscon@20e00000 { + compatible = "sprd,sc9863a-glbregs", "syscon", "simple-mfd"; + reg = <0x20e00000 0x4000>; + ranges = <0 0x20e00000 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + + apahb_gate: apahb-gate@0 { + compatible = "sprd,sc9863a-apahb-gate"; + reg = <0x0 0x1020>; + #clock-cells = <1>; + }; + }; + +... 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: 13667891 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 D619AC25B75 for ; Sun, 19 May 2024 18:43: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5WV97/1cqjSE4/fKgmzneVbi7gH7DggXSJupBtfb8Bs=; b=45dXUToqIaLmf1 pCMY42FJeTjrQdZqr1bRDGYiHv3LI4xlKpfls4VMVA5p6YDf0NB00Y9ccPR+rZiVEU2YzdEV58591 W3LuClq+seHqfuL3mgmF7aWwywzSTbP8K+i/Jgjd0J3CfXPLOw29FuCG4HDXwCfs8zPhWBLEIHDmp qJyv3IPt2rTmFrjnKCbL8kI43tBrelGfJGIp4Vm0ZehU0wNe6QVK7OXhKGSzG1uF+W0KVV4Y2Chbd rDWgcr7pZ8r7lMOr3Y9+c53lZs3VCTnEPbhGggQMSyaKh3wp5E3xzBcG5HDdUPGOx2GftjUJ/pAWy U/9zrZ5nqkxILGZx9G3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUq-0000000CWWF-08Tg; Sun, 19 May 2024 18:43:00 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUX-0000000CWI4-3SqO for linux-arm-kernel@lists.infradead.org; Sun, 19 May 2024 18:42:43 +0000 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-572d83e3c7eso7268806a12.3 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=Ylv2x3gDalLn09J3VHDLtbhxOKBjUkhEjloCqf8t/Z+HlLCjVvI2rQnJiunyNEeNKn axUzbGQ0GPzEQuov0iBz6olnImusHYWMN35ctP1iEwPgL7BAm3f12csRxBb3FlyCp/Df /u/xmGMcop15ELvycSl0uj9nY3lWjjwhr9lxYeFJ30pkF4vOkBv4hUnJiD1nzzApHBln 16Bvd8ZfWVWH3Y8oSuVNu+HQxbvo6DWYRc1G2Inf4hBS5Rrwc1FL0T4hbb6DOSmXDPyS hTZPINyuv+wYSpFzxMdyRw7SFAV8HLO3iiYuOZs701V41Y+4hVEfycCQtP89h/6a1oDP Zz6A== X-Forwarded-Encrypted: i=1; AJvYcCWY0/R0n143EMpyw0B2VFJMyP7wMqp+9WCSalHZK4Ojh2fcDMFZTGtSxRteh1uJ9/RlqReWA0BQhTE6VJLGLWBbwPiWhoibEiYwPTQdTpD1W1JLM7g= X-Gm-Message-State: AOJu0YwcKX0IX7VwPXl/nA66abqxs6WtFp8+dL7NVbK29eYRGUqbvZUE ON1yh3d9+ttgvJ3H2YZlEgHZ9X3/6mXB32iRuqKk9ZR4uAM0pos5tuaTIBkewFI= 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_028428_19ACE8FB X-CRM114-Status: GOOD ( 15.72 ) 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. 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: 13667892 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 174F9C25B75 for ; Sun, 19 May 2024 18:43:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9gEeNulYYMjHaC+MnfRas/nB8mnDfS8P2Njt+x+6/Q0=; b=SqVnZDCrpxR5gH XWuWYxF2edUkBskbaQjUWPmsqSSAl1ZOt7QxFLbYRyw9Jh8sg9L6WutcaFgYModBZoruM/ycCu1Qu iHP8voSIOFfOGZssoIhcgBH7gczkXN8ljkB/bS5J8K4YbNbH6zEaCBfopWv0eTodoBe4HnLxiK42i RF/VTfI6yKds5tHWdElhrH8GzIR+beoXpPQnwjnWoMLYRvf5xTVhJ06x+C1WyG8UEFJhuVm1eJA3D Vg0hJPM3Ahsy8j9SGly//Mb67uK5zr2CsuCzbY5V/N2KcIy61SWblzQRgjr2bmOibhpukEhrPVMJJ gVc6Mte/hRiJ5HEbDyOA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUw-0000000CWai-3Nzf; Sun, 19 May 2024 18:43:06 +0000 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUZ-0000000CWJJ-1cQb for linux-arm-kernel@lists.infradead.org; Sun, 19 May 2024 18:42:45 +0000 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a5a2c05006aso352323166b.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=J0vzN8AnZSI6U43+ko128+bXu8xpKhDFuqiWWgoUnJuzx3+XdYRmRsx1K6MXgmW+V8 1+A048r0AdXYmx4WjAY5BvRDMAb728YDOBdh/dtDb+H8LrxfEF1v42cUJyG39ROH19Zn 8WHJyISSVA6CvUlC5E3oLq0qQttjBXXNsZQKnXoUsaQoNcrUjTLn38uzEPUdKG/flbu2 oWbyyLQDYxqpaycM2aETqk2l+6+3E7uFkT1khZAovukkul79KrwPiuvgTPKt89MfA7T7 98poIu5nsUvzhWIou5phsXKbD8yUQt0r87Du/VtastjD87AzG46ZdzrsxTC6QnEA91rE 4PWw== X-Forwarded-Encrypted: i=1; AJvYcCXC1HTni2x1HCooJQDlfbgMgEcYjLixEykx3kK3o48u/X0xXHgSoNckTz6mrRshvBcO1rKMTx+N5HZvCJ66MWc9Ejkp4kLV/b6w+1JoHeIM/er0Ks4= X-Gm-Message-State: AOJu0YyDP5SwFxkkF+A3AECmQBMGkTaXUYGRWM8K1rKMpd2gq8z02b2K InTJInuuRrd9f8hA66Xi+cgBCDuVq0WuFMRUKYwvD7sj/GXMFBhyMooY0Lp5gNo= 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_569756_FBDEE4BE X-CRM114-Status: GOOD ( 15.88 ) 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. 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: 13667893 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 F3911C25B75 for ; Sun, 19 May 2024 18:43: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=R4vXnfY+W98JsZDVvQFUSk6CsLf+sSEQtDONSnNuAQc=; b=tNIs3NyKPIMET3 O7m8lVYtoNNk9U3IW3AOtU51e8WeyiYsMN5rDhLJ+whVV+qpuOeCjdIP3ZB3qzeV69lyH5okLQLkP 1c0Jbjp/Ipu7pkFgTS2sAcp/tKQ+E/DQOTxVznBtVYHbzfKDtMyC+16BifME0WsZP0WdLTakjsk4k YpqbDtEdwMubLj4asfZKXgleDuKfcXprFBLhGmvEYXaSQRLfxoXbZBhkRNDPugXkhygcifZJNGVvc E1xAG/zxr/TPI0gpLqvi3IeparJkR6Jh9G2CXrkluHKspPjibdPw/LNoogvFdyEux8toMFka2unZI 4XEyjsRpM4zy6y8RtpYQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lV3-0000000CWfk-4AGK; Sun, 19 May 2024 18:43:14 +0000 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUb-0000000CWKn-0yjO for linux-arm-kernel@lists.infradead.org; Sun, 19 May 2024 18:42:47 +0000 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-572c65cea55so10944089a12.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=lrdsfKoe/Sr6u3mYs+mrFDelLXydQ6mN1xW7VGRSNU9cQV8BFLLrHTy2NkIJT2iypX GFhkFd7kV/twl0gH2aoTjGpxQOPonw/1WEXrvZZSvJjKk//xtUb4Srh3aWtOmcmEjjU+ v4MyF/35iVcxQdCdlBWXoCcyLudEIfZjuV7LgxC8ygEb/KCLj9Ee7IKSYL6tDtCgfEwE oKtANpwEVCv9IewRODWJ4Aek+H5lr6VSXP47k0piXD/PI02yJWkiJUo+ke/onU+F3ESP dUJXzUb8ImJEgeZMWwnPOr0kywlTQ1VPdQRNz1Sxvdg26/+24nqhHyDxF/NXuFnspwfP DvEA== X-Forwarded-Encrypted: i=1; AJvYcCVK7apfM13W/+idT+zxNoYH1X5SY/p3uG91FX5T5DN2iESvfoWBmxQxwyS8z7vBcigkltB/J+Mb9uSzjxLwhNM7X+AzTmJNep5uX8yxH5VC4S8IplU= X-Gm-Message-State: AOJu0YwYcEPCToZPWoCAC9HrvnJE/bNkIrwusZyjiIqB8JT0quJW4bgc PImvTgyj5GIWgOWIp5W9osj14gGbcB8mswAyNERyaK4RfUZkqrcoL2xLQuxCe/E= 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_429495_0002CF8B X-CRM114-Status: GOOD ( 15.72 ) 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. 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: 13667894 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 3738AC25B75 for ; Sun, 19 May 2024 18:43:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uZXWas5ukHEaA5Jn9t3g/H9xbH54tGsztdHb+DbhZy8=; b=AL5Jh57BCpX4We LkeG+beo46ajbU582odz9QZgfGhxlJCnNhJSsQfRkmvIiAhP9v469+Kn5CFfbnbCwk6Jl+4Zae73P MSnDqSxsQIegSK8xxAVXF2tuPa1N/rGH9cc33TdUSQLdvlkp1CefAXOMgtNUuWe9umUBCQvEtDclA u/lq+yj4btB0sm7X+WTtQxXKKdOAR2DfFcaNnwS2aE2S/eOP9cEwMQHMJoggYNGPBMntr0H9f1EZL aOY8NjSX6C3r6oX7xilqHeIjzS3uGs6tQ97DF5aP0JmUTU7fghcLXs/KRhRddK8i1mGhqRWMuYq6y vaVl/0lTBy2+j28XgkFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lV5-0000000CWgY-1nry; Sun, 19 May 2024 18:43:15 +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 1s8lUc-0000000CWLm-0oZC for linux-arm-kernel@lists.infradead.org; Sun, 19 May 2024 18:42:48 +0000 Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-5755fafa5a7so1384126a12.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=BLsc+T7vPRB/40EzsBZHDrfLno3N19hnJ3G5m7M8+86wor4eGJ3JmgjbcyS8xzBlh5 gw0DwMPnbJIeyd/kFf+e0hlV8BdIKnBuhzSiqb1APtsjf0IwUFkgrGmOqpSG+lsqLCJq KyJyprVmg5/p8X7hBcxn8hkcf+/h8l16iHFhWCtqNGe0AU7f8fbOSZSqdj8tL5PiS2Ci tjE1/lRgzVDqQ32E8IiXzUTdOyAzeH1VfjV+DUKT20XDGCTy/GLC/fdeePdnToYt0Yd0 lZCHaW99SAHDZQrH/9tc3v7vD5PtL+Hq0ZSE/gs0EtsmWzsLBgS1GqNUN24kcZR/0tQq 9aNg== X-Forwarded-Encrypted: i=1; AJvYcCUjGCaYFhioHO62hsE44Ikq0Mu3hxm+zZnrkObQrQsFwYuENODnoWaILZnRSkih+pKzf7q9lKM5AALyUIVKZuoYUKgkd/aQa+d4fVQqDKf1iXg2TLY= X-Gm-Message-State: AOJu0YyG9fCIoemkTOdUfa57Qmf2NRGtK/VNImujQSzeTCWdjhO2z6n1 AhmQtZJGuaLBCUg44AB2Gtm0O1ccIsub3G8DeuYGMEadfSLKeg5REPgZ12La9CM= 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_114246_508247_81BD5F2A X-CRM114-Status: GOOD ( 17.42 ) 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!). 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: 13667895 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 DCADEC25B75 for ; Sun, 19 May 2024 18:43:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7gAbYUKV7IVrwl723rDl3G/+HtI66xg4RUdXbiNIF2Q=; b=wRUZY3GWf6zGXW oBj4O1pOFSjyhDk1OBCHylUwQLW/cspR+o1wfO6MTJQgaeMb0jOImUD9SLsja9oN0+PBwyKQH230Q KryCwQhiy/l1Qgh8hxPdiSgGeKc+bpRuEvCmOzsTTvWi7+KTLlTBQlVQJ2441J1OcnHwHqkTlZ7Mb A0Woc4bJYSY3JCii0uQTW8sT81X+nsh2xfjc2Kqfkewlhq1dE54pp9l/jOeS09ITelzvmvu0NT1Nm ojQqcpRKM7P9rRE2y3lORB/CRij7xDlRGbB422ukvHU7TiVzxqqGBCASeF62EfDtpD3wd1shlhnfu sbgULIPuzrRZ9Cr54hCw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lVD-0000000CWna-2sBQ; Sun, 19 May 2024 18:43:23 +0000 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUe-0000000CWNC-25Hy for linux-arm-kernel@lists.infradead.org; Sun, 19 May 2024 18:42:50 +0000 Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2e271acb015so46921901fa.1 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=CxfwYBm+eDyAamfS02ZO9byxZpmxZf9381RPzvJyJ4j++ipN6bz0Y8PA98ALsS8vF/ amYTl6kCaCX45+32FhPvsWwlLgD0vaKmwT51kLc9S1xRtkW05DdI0dzooGjdGO4warnI pEMSglHbisvAdxjheRH52VQpC+bZ9SLw1/S5KDZJE5uKxRyyY2eQMYtLQyC/g+UsxY5N rLjrKOES1WIMvmnNHJp3CEFWbzMYMOftZ19vIO3+28bMABtdSI7ER51RAIoWWrHn97Wt 9FjtnW+3freqIO0X4OF6dEcAS+BiOtiA0weyyjP7c0g7ZL0am/UbeLaZPf7VHw+UYh7u dVWQ== X-Forwarded-Encrypted: i=1; AJvYcCVS87dkmnrshiMTkXMtitEz43p+2P4jttM9tMQj3HeT82JNuFhR3Ayn4KuGkmgnEVER1kFyDdQG0LAtG5T0lRXXW7S2/zZkIlRECeTzVN4S465u8ek= X-Gm-Message-State: AOJu0Yy6ulQLJbFIlUiGPU8lYX+iHTrENHh794vfnTyTKqNzQxdv8r5H YW8YHdhqRfNH+gHKFiyg1P/zJHAmNY6RafMam81JMPEqUL0lYu9Px9VZnZF+y2c= 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_704313_10B169C0 X-CRM114-Status: UNSURE ( 9.68 ) 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. 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: 13667896 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 A6D4AC25B75 for ; Sun, 19 May 2024 18:44:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3gCg+XIGDSDw6aYrhD3KMGlcDxwpNK3Ea+jWB00/2tc=; b=xs35IFjjkZugQE xDTxoifV/tv5dOMzjC7WUjNX9KzoyY1TKSwug+OdVaOxTHRVh3WXumQKQHd+wCF/ot75kNJ0QFm+O bGBmagkoDw0GvlZQbFmL9OY5RA/p6hLHER3pWrReEtheqydklQa/ya42mfArZOINsZIcFwZaYhF+J NP0F9fDGRwriqJLKDWGcJkgVuMRs1QTbG3KX7EdaD7kyxPJ4s4ZEyu5Q6pz7N5l/tj1WdCFl7aIit EtxVMMXSCebr+sfkvlJLmimNgSVYLTnL7BiKwXfj34YFNW10zIhghgldgjKD5+rmmQkkj62CTsR9o 6aDdO+el1W4StEigBy7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lVl-0000000CXA9-1Ejd; Sun, 19 May 2024 18:43:57 +0000 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8lUg-0000000CWOX-2Tbb for linux-arm-kernel@lists.infradead.org; Sun, 19 May 2024 18:42:52 +0000 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-52389c1308dso2851779e87.3 for ; Sun, 19 May 2024 11:42:49 -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=ZwefUoIhAH0Ay46njvdPLwSSlpErIznXs0/iwBL7a7bm7QXbSKnxrYy1AXJFJ4oNpD e2gsM4BlQTunI9ZS2tBc7/w+mnOANCW6Xw0qUGVIT2pvpcGJ3m2zaoVrl3meqJMwxjAt IkfVd2enQ+p62LCuMx08YM3sD1GoujT2abI8xC6E1cRRJ3AnhD/aZr498FQkFlbvAQb2 MpBzlrH/XqsjgVO6mvb3EhGCFPS3yKFrObxg3A/dZuWlMK52AQJjIhkaWeDeaTV0IDHm WtQiXL7uYUZTC/I8ezjdhl/FTH8u6gmtAGzICcpto6sgeiuzj7J0+SsQXS64akYfaEO2 2gmA== X-Forwarded-Encrypted: i=1; AJvYcCVwS+zay8OfJv5jZRkcFrSL6gr6XEtmOUsQzJ5SyqSN2k+bVkEq8ihRkhcMEiN2VMeTlVw1vJwXaUQ5lDY5xerLGXfsQaIF5S3ChVgfkILObE61ymA= X-Gm-Message-State: AOJu0Yy/hsEIm9C7PqwT72X6T+AcujxZvup5OcKb5TUv8Z6+i6KdVvTu VvMaGCrtWI4OpwCF5acQzaQFL+H7y2y1orKwkuiaoQURxCtTtumxJu8Z0u06heA= 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_114250_727574_14C8784A X-CRM114-Status: GOOD ( 12.02 ) 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 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>; };