From patchwork Sat Jun 25 11:36:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 12895330 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 688E5C433EF for ; Sat, 25 Jun 2022 11:38:24 +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=JEGYu4vMTJ8HJF O05PNC7ykI9skF4mZi7ZBkLriByoZwxCJp+j/mLmfZ0CQPJmeOmj/LxN89BDAItMgYTKr+r/qgNIr zFZhSES2BuYqAm/Kz3xeYlV6zcRF/mqGrXnccRzcYYvc0Zqp9gwLELCTuNaTafYF06ICdTNBIgcCj kJew4mHDC1oBMKn78MNx66vSt8Z6cPglXNR3swBqfj8NM3Dr01K2KofwC/uzjnb7U6g/DUKlQ9a4U JhWTEHcuTVXavAdjyG9qzEzOZiBpy7HWQAx9lApCMEuhK+UDzR+RyfyL5e7nbyniGsIBc2EHwYd92 pEen81exVZDIs1EqviaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o546D-005mc8-MK; Sat, 25 Jun 2022 11:37:13 +0000 Received: from mout.kundenserver.de ([212.227.17.24]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o5469-005mYZ-H3 for linux-arm-kernel@lists.infradead.org; Sat, 25 Jun 2022 11:37:11 +0000 Received: from localhost.localdomain ([37.4.249.155]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M7KG2-1o1lEf3Wyi-007oDS; Sat, 25 Jun 2022 13:37:01 +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 V4 02/11] dt-bindings: soc: bcm: bcm2835-pm: Introduce reg-names Date: Sat, 25 Jun 2022 13:36:10 +0200 Message-Id: <20220625113619.15944-3-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220625113619.15944-1-stefan.wahren@i2se.com> References: <20220625113619.15944-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:eKIQue7G9SB6Q5BwxAewshoebIZdiStDCRzFQz6Zl18hup+jE2T 8eVTVRQtNALSGekn7POD5EMsULaL2SO7bGphbmbm+saG6zt4FkCic0/ZWDkpoj+no483ZS4 Cr+VVNJ0QhLXK4exwkK/v/Zfe25vMOeNO9YcNAOL2+Nuy19VoLOJRu417p9k0pHsJvtJHcf 59xNnh3u7eXDZXcVO7lRw== X-UI-Out-Filterresults: notjunk:1;V03:K0:ybvKKnSQ6Mc=:aaEI4HeR+KABosF8GpXTVy itkXOvX9TSmanh5D9DD36S50cAQ4oPcSj46NwhdE0bAnKeSjIa7fGsWxAi5wXdjQnO9cIrhfm 7drzM+mRRwvvY7T/QoBlqZgLTGepIgjwcSBIY+PyIIfhw46ZsMaP7c2OeJ0M1BxUfkqOmNY7P bNPkNDJ/DvwvZHyonWbiA23x6wRpFY9QydrIWy0HAulwG6r5S7giKLGJYFRzmJ7tk3WE5UStL 2X0A9GQt9sfYis32b1+wTez+eTQqMVBS4nX9bWrbk2VHLMjt933IB5frYnrQS/Hkt9ZWdbZCU B1QFNBMKCZdUcCDms5XIeg9O0SmqqRGVXq3+00vIuXniLuWhy7bMgBFKhRUNyQ68MifN1NpBk sznElp43lOGrzeBqUzMlZDWXCd+6gCfiFBgs/k5u758iIWCh9vS2B5sYn83TEBLHAD+AJ+WnT iEsOgmb7po1XkIK1yYsl6PKh8uaQU1SKhAqxCt1nxJmpKnbQD0b/cdYECpmip2TKC3uUUJQPR IYnw/oF9QlngKFIYNRnBCNGHpdSh/KqBY9yDar5A+BZWPJUx4THZDkbkE6htz6cq7kTrGTGeR DxvZGhjb3qyZ7s7YG4TFSgpanSw/LYNCFS7uMknOqr1AqJ7bQojlCEDqKN8lcEw34SGiiAkcW S3/WEKBxrVoN/RT7BU9SNMJPukFUV2NsoT26ycFjJaL9AhiGC93SLSIEG5Aa2zOdOc19NJUI3 snN6IHmkLAKIHOsXnaioaYK43W6LNC4Lf+Jpe8AxP9sh+vbQIILe2t8Q8/Y= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220625_043709_982562_D6BAF8F8 X-CRM114-Status: GOOD ( 10.47 ) 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>,