From patchwork Tue Jun 7 20:42:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 12872373 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 5D0D8C43334 for ; Tue, 7 Jun 2022 20:46: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Us9miWOJQSVgErB/DhG4+NEiJci7pBPdYjZta+lLpao=; b=Y2Qr6r/EoMcrmz SBnsuxHqBWINV6ePpIah5PfBZKcGl8sSgzh/yEXGkpAEeTIQf2yLRDWAdlMRW0NBzhshVSQdxbiYS olz5RTLV8Fy5dANriQGNl/mki3qkGVyvwc40bakOjXKm0KKfQht8XNBirCpXDJE/o6n3UYXF2QYps h7rzoIVkZlWMof1HpCdkAcwOiSD7Q8Nkx1ac04u8jqzakS3RJrM/DHbdUgdVPqq+9bz/Ps6Cjvagq NtcLprbvdWRYchMZ02t28BWaN3TO1Sr8pCEr0tczEzVniC7EsABCLRsQHMe635Rr6g5lcl2e18UgF pDW9ICJrQdMXTZbwUI2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyg5I-009bDf-O0; Tue, 07 Jun 2022 20:45:52 +0000 Received: from mout.kundenserver.de ([217.72.192.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyg2b-009ZdK-EJ for linux-arm-kernel@lists.infradead.org; Tue, 07 Jun 2022 20:43:08 +0000 Received: from localhost.localdomain ([37.4.249.155]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N3sNa-1npm6W3bUW-00zpbQ; Tue, 07 Jun 2022 22:42:52 +0200 From: Stefan Wahren To: Florian Fainelli , Ray Jui , Scott Branden , Lee Jones Cc: Peter Robinson , Melissa Wen , Phil Elwell , bcm-kernel-feedback-list@broadcom.com, Maxime Ripard , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Nicolas Saenz Julienne , Rob Herring , Stefan Wahren Subject: [PATCH V3 02/11] dt-bindings: soc: bcm: bcm2835-pm: Introduce reg-names Date: Tue, 7 Jun 2022 22:42:17 +0200 Message-Id: <20220607204226.8703-3-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220607204226.8703-1-stefan.wahren@i2se.com> References: <20220607204226.8703-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:ScX2DzfWhJCjhPEZb9S4fBK8Yxpiie8QXDn7g5Pczowbl9B7rNk eCIPHxW1g2N6tnyruYcDTURu6kzg3rfhHpZ2m2zLumTcAQuu1CZ5O36n0jpy/Xkw9FTLyvs 5LTnRQbEIT5LdOh9466rtSfihZnT5yovzT0YkvgrDQ8J7Cl6+/f80DC2GvnrS4lXEngzQsm 2v4rjgk9MonJPKbulQkGw== X-UI-Out-Filterresults: notjunk:1;V03:K0:DM8Zds5ASIw=:2u1Q45Qo2iHICcBr9QwbBe 2vnoe+Zu9BvjZ26v+dlCNvTJAFICt6S1+P7g7B+dqnCxXrxaG0oWausaUEhNwrh/OhlTnaoc6 8o4h9Qmxoje9ybgOK/j3pmJJtYJSD9jwN+uRoN+tDkSGtMMEpXCZqAz5ypomuGAIbILebcmEZ JaQXr82psAXMIUwnXtt6ul7fwBhNLL3EQrGOEQNcnlwfXl601lEY8vpqmPhmrdCvSvlUXhscc E4UGQVcJDIAifJJvHIgDTEulXD18NiaKarJyzTtpEu0wUzwoy1vvUtgxkZQp7+J5m6ZbkMwh4 vMiO28YxKWGNC75HRn/3GhL66qHCi4BFN90Jrh4MD9pvW8o+BauM2hSivMKTM9I45EqqvYSjI NxVg5V3ABX1Jy0+VxXTcW3eH2hKjeO1H776jNfys7cAHQ2IDUS/90khP7u9wKfZObecW85mht HFi0hdeAeeiIZHXvPahHBbj8747NWJcAGON0G8w7IKTuwdwzmq4uDdNMu4MAiDdimGIl5R4mm Jdk/J1cCCJjYvSpZQbGz7bx5B44hJTHNWjXJGwVM7aL2PhrQNil3/Wis5g0LlKzYZ3gb9gZR9 o4yYIGVO/qv3BKD3XS+LQ9qPdnZYA+JxXZrxmZVqeABxdRq3IiQkc8R9/qbziq7WN6ygQGiT2 wG42JRPoA0SVOWZi4PEeiKqU30VJoKTdLvVzYPkHwD/LZaZcERbR9Kg93wnpmJqSi+3YMlcuZ rNERvVwj6VGSXOuR0ZJT3EUVaeEfuwqf8i8vLGrO50YC4+W8G60+HOEL/B8= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220607_134305_951171_53EE4928 X-CRM114-Status: GOOD ( 11.33 ) 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 From: Nicolas Saenz Julienne Anticipating the introduction of BCM2711, of which we'll need to support its new RPiVid ASB, introduce reg-names into bcm2835-pm's binding. This will help to have a consistent mapping between resources and their meaning. Signed-off-by: Nicolas Saenz Julienne Reviewed-by: Rob Herring Signed-off-by: Stefan Wahren Reviewed-by: Peter Robinson --- .../devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml index 5d1ff0f6c8ce..883ab7cb96e9 100644 --- a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml +++ b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml @@ -23,9 +23,13 @@ properties: - const: brcm,bcm2835-pm-wdt reg: + minItems: 2 + maxItems: 2 + + reg-names: items: - - description: PM registers - - description: ASB registers + - const: pm + - const: asb "#power-domain-cells": const: 1 @@ -68,6 +72,7 @@ examples: #reset-cells = <1>; reg = <0x7e100000 0x114>, <0x7e00a000 0x24>; + reg-names = "pm", "asb"; clocks = <&clocks BCM2835_CLOCK_V3D>, <&clocks BCM2835_CLOCK_PERI_IMAGE>, <&clocks BCM2835_CLOCK_H264>,