All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Wahren <stefan.wahren@i2se.com>
To: Florian Fainelli <f.fainelli@gmail.com>,
	Ray Jui <rjui@broadcom.com>,
	Scott Branden <sbranden@broadcom.com>,
	Lee Jones <lee.jones@linaro.org>
Cc: Peter Robinson <pbrobinson@gmail.com>,
	Melissa Wen <melissa.srw@gmail.com>,
	Phil Elwell <phil@raspberrypi.com>,
	bcm-kernel-feedback-list@broadcom.com,
	Maxime Ripard <maxime@cerno.tech>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	Nicolas Saenz Julienne <nsaenzjulienne@suse.de>,
	Rob Herring <robh@kernel.org>,
	Stefan Wahren <stefan.wahren@i2se.com>
Subject: [PATCH V4 02/11] dt-bindings: soc: bcm: bcm2835-pm: Introduce reg-names
Date: Sat, 25 Jun 2022 13:36:10 +0200	[thread overview]
Message-ID: <20220625113619.15944-3-stefan.wahren@i2se.com> (raw)
In-Reply-To: <20220625113619.15944-1-stefan.wahren@i2se.com>

From: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>

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 <nsaenzjulienne@suse.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
---
 .../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>,
-- 
2.25.1


WARNING: multiple messages have this Message-ID (diff)
From: Stefan Wahren <stefan.wahren@i2se.com>
To: Florian Fainelli <f.fainelli@gmail.com>,
	Ray Jui <rjui@broadcom.com>,
	Scott Branden <sbranden@broadcom.com>,
	Lee Jones <lee.jones@linaro.org>
Cc: Peter Robinson <pbrobinson@gmail.com>,
	Melissa Wen <melissa.srw@gmail.com>,
	Phil Elwell <phil@raspberrypi.com>,
	bcm-kernel-feedback-list@broadcom.com,
	Maxime Ripard <maxime@cerno.tech>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	Nicolas Saenz Julienne <nsaenzjulienne@suse.de>,
	Rob Herring <robh@kernel.org>,
	Stefan Wahren <stefan.wahren@i2se.com>
Subject: [PATCH V4 02/11] dt-bindings: soc: bcm: bcm2835-pm: Introduce reg-names
Date: Sat, 25 Jun 2022 13:36:10 +0200	[thread overview]
Message-ID: <20220625113619.15944-3-stefan.wahren@i2se.com> (raw)
In-Reply-To: <20220625113619.15944-1-stefan.wahren@i2se.com>

From: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>

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 <nsaenzjulienne@suse.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
---
 .../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>,
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2022-06-25 11:37 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-25 11:36 [PATCH V4 00/11] soc: bcm2835-power: Prepare BCM2711 V3D support Stefan Wahren
2022-06-25 11:36 ` Stefan Wahren
2022-06-25 11:36 ` [PATCH V4 01/11] dt-bindings: soc: bcm: bcm2835-pm: Convert bindings to DT schema Stefan Wahren
2022-06-25 11:36   ` Stefan Wahren
2022-06-27 17:27   ` Florian Fainelli
2022-06-27 17:27     ` Florian Fainelli
2022-06-25 11:36 ` Stefan Wahren [this message]
2022-06-25 11:36   ` [PATCH V4 02/11] dt-bindings: soc: bcm: bcm2835-pm: Introduce reg-names Stefan Wahren
2022-06-27 17:27   ` Florian Fainelli
2022-06-27 17:27     ` Florian Fainelli
2022-06-25 11:36 ` [PATCH V4 03/11] dt-bindings: soc: bcm: bcm2835-pm: Add support for bcm2711 Stefan Wahren
2022-06-25 11:36   ` Stefan Wahren
2022-06-27 17:27   ` Florian Fainelli
2022-06-27 17:27     ` Florian Fainelli
2022-06-25 11:36 ` [PATCH V4 04/11] ARM: dts: bcm2835/bcm2711: Introduce reg-names in watchdog node Stefan Wahren
2022-06-25 11:36   ` Stefan Wahren
2022-06-27 17:27   ` Florian Fainelli
2022-06-27 17:27     ` Florian Fainelli
2022-06-25 11:36 ` [PATCH V4 05/11] ARM: dts: bcm2711: Use proper compatible in PM/Watchdog node Stefan Wahren
2022-06-25 11:36   ` Stefan Wahren
2022-06-27 17:27   ` Florian Fainelli
2022-06-27 17:27     ` Florian Fainelli
2022-06-25 11:36 ` [PATCH V4 06/11] mfd: bcm2835-pm: Use 'reg-names' to get resources Stefan Wahren
2022-06-25 11:36   ` Stefan Wahren
2022-06-27 16:22   ` Lee Jones
2022-06-27 16:22     ` Lee Jones
2022-06-27 16:28     ` Florian Fainelli
2022-06-27 16:28       ` Florian Fainelli
2022-06-28  2:07       ` Florian Fainelli
2022-06-28  2:07         ` Florian Fainelli
2022-06-28  7:44         ` Lee Jones
2022-06-28  7:44           ` Lee Jones
2022-07-05 20:51           ` Florian Fainelli
2022-07-05 20:51             ` Florian Fainelli
2022-07-06 10:20             ` Lee Jones
2022-07-06 10:20               ` Lee Jones
2022-06-28 16:24   ` Florian Fainelli
2022-06-28 16:24     ` Florian Fainelli
2022-06-25 11:36 ` [PATCH V4 07/11] mfd: bcm2835-pm: Add support for BCM2711 Stefan Wahren
2022-06-25 11:36   ` Stefan Wahren
2022-06-28 16:24   ` Florian Fainelli
2022-06-28 16:24     ` Florian Fainelli
2022-06-25 11:36 ` [PATCH V4 08/11] soc: bcm: bcm2835-power: Refactor ASB control Stefan Wahren
2022-06-25 11:36   ` Stefan Wahren
2022-06-27 17:27   ` Florian Fainelli
2022-06-27 17:27     ` Florian Fainelli
2022-06-28 16:24   ` Florian Fainelli
2022-06-28 16:24     ` Florian Fainelli
2022-06-25 11:36 ` [PATCH V4 09/11] soc: bcm: bcm2835-power: Resolve ASB register macros Stefan Wahren
2022-06-25 11:36   ` Stefan Wahren
2022-06-27 17:27   ` Florian Fainelli
2022-06-27 17:27     ` Florian Fainelli
2022-06-28 16:24   ` Florian Fainelli
2022-06-28 16:24     ` Florian Fainelli
2022-06-25 11:36 ` [PATCH V4 10/11] soc: bcm: bcm2835-power: Add support for BCM2711's RPiVid ASB Stefan Wahren
2022-06-25 11:36   ` Stefan Wahren
2022-06-27 17:28   ` Florian Fainelli
2022-06-27 17:28     ` Florian Fainelli
2022-06-28 16:25   ` Florian Fainelli
2022-06-28 16:25     ` Florian Fainelli
2022-06-25 11:36 ` [PATCH V4 11/11] soc: bcm: bcm2835-power: Bypass power_on/off() calls Stefan Wahren
2022-06-25 11:36   ` Stefan Wahren
2022-06-27 17:28   ` Florian Fainelli
2022-06-27 17:28     ` Florian Fainelli
2022-06-28 16:26   ` Florian Fainelli
2022-06-28 16:26     ` Florian Fainelli
2022-07-06 11:58 ` [GIT PULL] Immutable branch between MFD and SoC due for the v5.20 merge window Lee Jones
2022-07-06 11:58   ` Lee Jones
2022-07-06 16:18   ` Florian Fainelli
2022-07-06 16:18     ` Florian Fainelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220625113619.15944-3-stefan.wahren@i2se.com \
    --to=stefan.wahren@i2se.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=devicetree@vger.kernel.org \
    --cc=f.fainelli@gmail.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=maxime@cerno.tech \
    --cc=melissa.srw@gmail.com \
    --cc=nsaenzjulienne@suse.de \
    --cc=pbrobinson@gmail.com \
    --cc=phil@raspberrypi.com \
    --cc=rjui@broadcom.com \
    --cc=robh@kernel.org \
    --cc=sbranden@broadcom.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.