diff mbox

[1/7] Documentation: DT: Add Broadcom BCM63138 PMB binding

Message ID 1429310032-19402-2-git-send-email-f.fainelli@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Florian Fainelli April 17, 2015, 10:33 p.m. UTC
Add a Device Tree binding for the Broadcom BCM63138 Processor Monitor
Bus, which is an internal bus used to access different power and reset
signals within a BCM63138 System-on-a-Chip.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 .../devicetree/bindings/reset/brcm,bcm63138-pmb.txt   | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/reset/brcm,bcm63138-pmb.txt

Comments

Florian Fainelli April 18, 2015, 7:41 p.m. UTC | #1
2015-04-17 15:33 GMT-07:00 Florian Fainelli <f.fainelli@gmail.com>:
> Add a Device Tree binding for the Broadcom BCM63138 Processor Monitor
> Bus, which is an internal bus used to access different power and reset
> signals within a BCM63138 System-on-a-Chip.
>
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
> +- compatible: must be "brcm,bcm63138-pmb"
> +- reg: base register address and size for this bus controller
> +- #reset-cells: must be 2 first cell is the internal bus number, and the third
> +  cell is the address on this bus

I missed the fact that we need to represent the number of zones per
devices as a third cell here since some devices may have multiple
zones to be powered on. Will re-spin this series along with addressing
Russell's comments in patch 7.
--
Florian
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/reset/brcm,bcm63138-pmb.txt b/Documentation/devicetree/bindings/reset/brcm,bcm63138-pmb.txt
new file mode 100644
index 000000000000..aa1eecd23046
--- /dev/null
+++ b/Documentation/devicetree/bindings/reset/brcm,bcm63138-pmb.txt
@@ -0,0 +1,19 @@ 
+Broadcom BCM63138 Processor Monitor Bus binding
+===============================================
+
+Please also refer to reset.txt in this directory for common reset
+controller binding usage.
+
+Require properties:
+
+- compatible: must be "brcm,bcm63138-pmb"
+- reg: base register address and size for this bus controller
+- #reset-cells: must be 2 first cell is the internal bus number, and the third
+  cell is the address on this bus
+
+Example:
+	pmb0: reset-controller@4800c0 {
+		compatible = "brcm,bcm63138-pmb";
+		reg = <0x4800c0 0x10>;
+		#reset-cells = <2>;
+	};