From patchwork Sun Feb 13 22:56:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 12744719 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 C365AC433EF for ; Sun, 13 Feb 2022 22:59:30 +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=u/d4PlHIrvrw4ColG82wlBd6yweTNlZcvzqIpCa/K94=; b=2JEG/XfWgV+jgb U0OrCm8dU3oJG/cP58hnV3vuCfdQmHsSurT75Jh/0gY6kNkIzXNzZprASvwvoxyRSeTOyQLgcmc+G baUIivoQ69hynn8mlXNc0K9CUjASvBS8wOE84IGp7gvT3p5cici+8j0VMnckYpoaNNH4iOjnb5d0+ Qoo/ktOIjIJeVPmLtayRgYqlVOj2fV8QuFl/CpQ1Ag0LxkEt/JtNfJk3sPfnhgsH+TebSjPZKUEBQ YnN5x3blVaTAFmy+YET8r6FO+RIZpUGgz90Csfs3GOzEu1tkCYW/BSWuaP2VZGAGvTJAsre8O+fkr O4u9ERLgU+Gmp9blFodQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJNol-00Ci5j-EE; Sun, 13 Feb 2022 22:58:07 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJNoh-00Ci24-5o; Sun, 13 Feb 2022 22:58:04 +0000 Received: by mail-ed1-x52d.google.com with SMTP id z21so3341987edb.13; Sun, 13 Feb 2022 14:58:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3uzOnnLhVcdnTuyj/2DMEBER7KnFzL1h0mXNQZHRgW0=; b=HDoLAoBfLlRT7YczCOt6CY1ionKPeAwbypEAeacRC0xmOkGAKX/rwSI/T7BcgXzwgf clMB02+DUuz7sa7nA9VAdKsDDH7MoOz8xYmhOuqqklxZ0q5yFavkAcs7t2Au9cfSNmgd k8IFgjbmXMDBJ1PYwfBOBdZ3y6slRHRbvz+i6bKN541HbqhinQwv4jzqfn7OwN69X+4d au4+67k7hAi9NEfrOfXd2dAtmNT0cbx1wglt9AP1S3aDI6OVwnmQ+IH8+5apjNNZbK/m 0OB+8BwRV6VNCCllzdlzatWyslJVg+DB+h2eIzn6Vh4O6LQzdZMHREHD1aAqiHEzHaiM ZivA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3uzOnnLhVcdnTuyj/2DMEBER7KnFzL1h0mXNQZHRgW0=; b=MZRYGXA02z+ajcyqgJbD8mfD8oGfRLo+vEX+FNCiz4Yqt+CDbh6m47obuA2POxSDhl 0xrSIQkeqnEPjWOGtY/4xFxL4PXTHvnWqDYkuk8rExUHwOl905iHYU2HjgV5JdevF9uP ykI0c5AJv5BEIE6d7TvSnxTqfbpcIffz09E/mdcO5TUpNQ/+i0QydMxFoRzYz51kUQr6 i8P1+n55dBFF06SIn2Nl3+xSSSDoVc+2EZTew/sKHYwqU3VbdAa+QG89l9T9d0tEa7KM otxGinwMURmH3NgnhBKBYQ3kygIzCHW3YV8fYCMu61vXoYn1z1skE/BEATA4rzwNSLsS sbFg== X-Gm-Message-State: AOAM530tIMU41kX8pJMzrhWqOqjcpjfudtJXmqqz0yKc+pRjMhhwqIdw FFnQqU0NdAAL9svj9uSwra4= X-Google-Smtp-Source: ABdhPJyh0vSOPAU0NEPPag9pX3XD3oR9kbSq9lbr0COBYWtIYEe3wfwH04lujKX64zFx4TUMn5XGRg== X-Received: by 2002:a05:6402:35c9:: with SMTP id z9mr322732edc.262.1644793081256; Sun, 13 Feb 2022 14:58:01 -0800 (PST) Received: from morpheus.home.roving-it.com (3.e.2.0.0.0.0.0.0.0.0.0.0.0.0.0.1.8.6.2.1.1.b.f.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:fb11:2681::2e3]) by smtp.googlemail.com with ESMTPSA id g14sm3189163edb.55.2022.02.13.14.58.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Feb 2022 14:58:00 -0800 (PST) From: Peter Robinson To: Nicolas Saenz Julienne , Rob Herring , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Lee Jones , Emma Anholt , David Airlie , Daniel Vetter , Russell King , Arnd Bergmann , Catalin Marinas , Will Deacon Cc: Nicolas Saenz Julienne , Rob Herring , Peter Robinson Subject: [PATCH v4 02/15] dt-bindings: soc: bcm: bcm2835-pm: Introduce reg-names Date: Sun, 13 Feb 2022 22:56:34 +0000 Message-Id: <20220213225646.67761-3-pbrobinson@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220213225646.67761-1-pbrobinson@gmail.com> References: <20220213225646.67761-1-pbrobinson@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220213_145803_246603_770AA4D4 X-CRM114-Status: GOOD ( 11.31 ) 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: 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 47b9c266ddd1..837963e9f219 100644 --- a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml +++ b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml @@ -25,9 +25,13 @@ properties: reg: minItems: 1 maxItems: 2 + + reg-names: + minItems: 1 + maxItems: 2 items: - - description: PM registers - - description: ASB registers + - const: pm + - const: asb "#power-domain-cells": const: 1 @@ -70,6 +74,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>,