devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: soc: bcm: add missing dt-binding document for bcm23550-cdc
@ 2023-05-08 13:59 Stanislav Jakubek
  2023-05-08 16:30 ` Krzysztof Kozlowski
  2023-05-18 23:01 ` Florian Fainelli
  0 siblings, 2 replies; 3+ messages in thread
From: Stanislav Jakubek @ 2023-05-08 13:59 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Florian Fainelli
  Cc: bcm-kernel-feedback-list, devicetree, linux-kernel

Broadcom BCM23550 has a Cluster Dormant Control block that keeps the CPU
in idle state. A command needs to be sent to this block to bring the CPU
into running state.

This has been in use in mainline Linux since ~2016, but was never
documented. Add a dt-binding document for it.

Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
---
 .../bindings/soc/bcm/brcm,bcm23550-cdc.yaml   | 35 +++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/soc/bcm/brcm,bcm23550-cdc.yaml

diff --git a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm23550-cdc.yaml b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm23550-cdc.yaml
new file mode 100644
index 000000000000..1a952f569803
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm23550-cdc.yaml
@@ -0,0 +1,35 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/soc/bcm/brcm,bcm23550-cdc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Broadcom BCM23550 Cluster Dormant Control
+
+description:
+  The Cluster Dormant Control block keeps the CPU in idle state. A command
+  needs to be sent to this block to bring the CPU into running state.
+
+maintainers:
+  - Florian Fainelli <f.fainelli@gmail.com>
+
+properties:
+  compatible:
+    const: brcm,bcm23550-cdc
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    cdc@3fe0e000 {
+        compatible = "brcm,bcm23550-cdc";
+        reg = <0x3fe0e000 0x78>;
+    };
+...
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: soc: bcm: add missing dt-binding document for bcm23550-cdc
  2023-05-08 13:59 [PATCH] dt-bindings: soc: bcm: add missing dt-binding document for bcm23550-cdc Stanislav Jakubek
@ 2023-05-08 16:30 ` Krzysztof Kozlowski
  2023-05-18 23:01 ` Florian Fainelli
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-05-08 16:30 UTC (permalink / raw)
  To: Stanislav Jakubek, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Florian Fainelli
  Cc: bcm-kernel-feedback-list, devicetree, linux-kernel

On 08/05/2023 15:59, Stanislav Jakubek wrote:
> Broadcom BCM23550 has a Cluster Dormant Control block that keeps the CPU
> in idle state. A command needs to be sent to this block to bring the CPU
> into running state.
> 
> This has been in use in mainline Linux since ~2016, but was never
> documented. Add a dt-binding document for it.
> 
> Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: soc: bcm: add missing dt-binding document for bcm23550-cdc
  2023-05-08 13:59 [PATCH] dt-bindings: soc: bcm: add missing dt-binding document for bcm23550-cdc Stanislav Jakubek
  2023-05-08 16:30 ` Krzysztof Kozlowski
@ 2023-05-18 23:01 ` Florian Fainelli
  1 sibling, 0 replies; 3+ messages in thread
From: Florian Fainelli @ 2023-05-18 23:01 UTC (permalink / raw)
  To: bcm-kernel-feedback-list, Stanislav Jakubek, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Florian Fainelli, devicetree, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 587 bytes --]

From: Florian Fainelli <f.fainelli@gmail.com>

On Mon, 8 May 2023 15:59:30 +0200, Stanislav Jakubek <stano.jakubek@gmail.com> wrote:
> Broadcom BCM23550 has a Cluster Dormant Control block that keeps the CPU
> in idle state. A command needs to be sent to this block to bring the CPU
> into running state.
> 
> This has been in use in mainline Linux since ~2016, but was never
> documented. Add a dt-binding document for it.
> 
> Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
> ---

Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks!
--
Florian

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4221 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-18 23:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-08 13:59 [PATCH] dt-bindings: soc: bcm: add missing dt-binding document for bcm23550-cdc Stanislav Jakubek
2023-05-08 16:30 ` Krzysztof Kozlowski
2023-05-18 23:01 ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).