[PATCH v3 2/7] dt-bindings: soc: Describe the BCM6846 Processor Monitor Bus
William Zhang
william.zhang at broadcom.com
Fri Nov 6 09:03:06 PST 2026
On Fri, Nov 6, 2026 at 12:27 AM Linus Walleij <linusw at kernel.org> wrote:
>
> The third generation Power Management Controller (PMC3) accesses SoC
> block control and reset registers through the Processor Monitor Bus
Power Management Bus. Need to update all the instances in this patch series.
> (PMB). Describe the BCM6846 PMC and PMB.
>
> Describe the power controller child and all supported power domain IDs,
> including the combined XRDP, Runner and WAN domain.
>
> Signed-off-by: Linus Walleij <linusw at kernel.org>
> ---
> I considered even just using the PMB but the PMC has more stuff and
> it seems natural to let it live in a simple-mfd node.
> ---
> .../bindings/clock/brcm,bcm6846-pmb-clock.yaml | 39 ++++++++++
> .../bindings/hwmon/brcm,bcm6846-pmb-pvtmon.yaml | 42 ++++++++++
> .../devicetree/bindings/mfd/brcm,bcm6846-pmc.yaml | 5 ++
> .../bindings/power/brcm,bcm6846-pmb-power.yaml | 44 +++++++++++
> .../bindings/reset/brcm,bcm6846-pmb-reset.yaml | 31 ++++++++
> .../bindings/soc/bcm/brcm,bcm6846-pmb.yaml | 90 ++++++++++++++++++++++
> MAINTAINERS | 8 ++
> include/dt-bindings/clock/brcm,bcm6846-pmb.h | 42 ++++++++++
> include/dt-bindings/power/brcm,bcm6846-pmb.h | 12 +++
> include/dt-bindings/reset/brcm,bcm6846-pmb.h | 11 +++
> 10 files changed, 324 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/clock/brcm,bcm6846-pmb-clock.yaml b/Documentation/devicetree/bindings/clock/brcm,bcm6846-pmb-clock.yaml
> new file mode 100644
> index 000000000000..519606522c8b
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/brcm,bcm6846-pmb-clock.yaml
> @@ -0,0 +1,39 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/clock/brcm,bcm6846-pmb-clock.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Broadcom BCM6846 PMB clocks
> +
> +maintainers:
> + - Linus Walleij <linusw at kernel.org>
> +
> +description:
> + The Processor Monitor Bus (PMB) provides access to the RDP and BIU PLL
> + outputs, the Runner clock, the crystal output, the PVTMON acquisition
> + clock and the clock gates in block power-control zones. Clock indices
> + are defined in dt-bindings/clock/brcm,bcm6846-pmb.h.
> + The PLLs and crystal output use a 50 MHz reference clock.
> + Zone clocks require their associated blocks to be powered.
> +
> +properties:
> + compatible:
> + const: brcm,bcm6846-pmb-clock
> +
> + clocks:
> + maxItems: 1
> +
> + clock-names:
> + const: ref
> +
> + '#clock-cells':
> + const: 1
> +
> +required:
> + - compatible
> + - clocks
> + - clock-names
> + - '#clock-cells'
> +
> +additionalProperties: false
> diff --git a/Documentation/devicetree/bindings/hwmon/brcm,bcm6846-pmb-pvtmon.yaml b/Documentation/devicetree/bindings/hwmon/brcm,bcm6846-pmb-pvtmon.yaml
> new file mode 100644
> index 000000000000..9bf52cf097a3
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/brcm,bcm6846-pmb-pvtmon.yaml
> @@ -0,0 +1,42 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/hwmon/brcm,bcm6846-pmb-pvtmon.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Broadcom BCM6846 PMB process, voltage and temperature monitor
> +
> +maintainers:
> + - Linus Walleij <linusw at kernel.org>
> +
> +description:
> + The process, voltage and temperature monitor (PVTMON) is a child of
> + the Processor Monitor Bus (PMB) controller and uses its indirect
> + register interface. It measures die temperature and seven voltages,
> + including a diagnostic test input.
> +
> +allOf:
> + - $ref: /schemas/thermal/thermal-sensor.yaml#
> +
> +properties:
> + compatible:
> + const: brcm,bcm6846-pmb-pvtmon
> +
> + clocks:
> + maxItems: 1
> + description: PVTMON acquisition clock
> +
> + resets:
> + maxItems: 1
> + description: PVTMON analog-acquisition reset
> +
> + '#thermal-sensor-cells':
> + const: 0
> +
> +required:
> + - compatible
> + - clocks
> + - resets
> + - '#thermal-sensor-cells'
> +
> +additionalProperties: false
> diff --git a/Documentation/devicetree/bindings/mfd/brcm,bcm6846-pmc.yaml b/Documentation/devicetree/bindings/mfd/brcm,bcm6846-pmc.yaml
> index d4c927cabb3f..77fbf92926ab 100644
> --- a/Documentation/devicetree/bindings/mfd/brcm,bcm6846-pmc.yaml
> +++ b/Documentation/devicetree/bindings/mfd/brcm,bcm6846-pmc.yaml
> @@ -60,6 +60,11 @@ examples:
> compatible = "brcm,bcm6846-pmb";
> reg = <0x20100 0x200>;
>
> + pmb_power: power-controller {
> + compatible = "brcm,bcm6846-pmb-power";
> + #power-domain-cells = <1>;
> + };
> +
> pmb_clk: clock-controller {
> compatible = "brcm,bcm6846-pmb-clock";
> clocks = <&osc50m>;
> diff --git a/Documentation/devicetree/bindings/power/brcm,bcm6846-pmb-power.yaml b/Documentation/devicetree/bindings/power/brcm,bcm6846-pmb-power.yaml
> new file mode 100644
> index 000000000000..891eb0f347e6
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/power/brcm,bcm6846-pmb-power.yaml
> @@ -0,0 +1,44 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/power/brcm,bcm6846-pmb-power.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Broadcom BCM6846 Processor Monitor Bus power controller
> +
> +maintainers:
> + - Linus Walleij <linusw at kernel.org>
> +
> +description: |
> + The power controller is a child of the Processor Monitor Bus (PMB)
> + controller and accesses BPCM power zones through the parent regmap.
> + A domain includes all power zones of a block. The XRDP domain groups
> + XRDP, its three Runner cores and WAN, matching the vendor power sequence.
> +
> + Domain IDs are defined in dt-bindings/power/brcm,bcm6846-pmb.h:
> + BCM6846_PD_PERIPH: peripheral block (bus 0, device 0, four zones)
> + BCM6846_PD_MEMC: memory controller (bus 1, device 8, one zone)
> + BCM6846_PD_USB20: USB 2.0 (bus 1, device 10, four zones)
> + BCM6846_PD_XRDP: XRDP (bus 1, device 12, three zones), Runner cores
> + (bus 1, devices 14, 15 and 16, one zone each) and WAN
> + (bus 1, device 11, three zones)
> + BCM6846_PD_PCIE0: PCIe 0 (bus 0, device 18, one zone)
> + BCM6846_PD_PCIE1: PCIe 1 (bus 0, device 19, one zone)
> +
> + Peripheral and memory domains remain powered because they provide
> + resources required for system operation. CPU and PLL blocks use different
> + register layouts and are outside the scope of this provider.
> +
> +properties:
> + compatible:
> + const: brcm,bcm6846-pmb-power
> +
> + '#power-domain-cells':
> + const: 1
> + description: Power domain ID from dt-bindings/power/brcm,bcm6846-pmb.h
> +
> +required:
> + - compatible
> + - '#power-domain-cells'
> +
> +additionalProperties: false
> diff --git a/Documentation/devicetree/bindings/reset/brcm,bcm6846-pmb-reset.yaml b/Documentation/devicetree/bindings/reset/brcm,bcm6846-pmb-reset.yaml
> new file mode 100644
> index 000000000000..d2a85266e36a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/reset/brcm,bcm6846-pmb-reset.yaml
> @@ -0,0 +1,31 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/reset/brcm,bcm6846-pmb-reset.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Broadcom BCM6846 Processor Monitor Bus reset controller
> +
> +maintainers:
> + - Linus Walleij <linusw at kernel.org>
> +
> +description:
> + The reset controller is a child of the Processor Monitor Bus (PMB)
> + controller and uses its indirect register interface.
> +
> + Each reset specifier identifies a logical reset group, which may span
> + several blocks that must be reset together.
> +
> +properties:
> + compatible:
> + const: brcm,bcm6846-pmb-reset
> +
> + '#reset-cells':
> + const: 1
> + description: Reset group ID from dt-bindings/reset/brcm,bcm6846-pmb.h
> +
> +required:
> + - compatible
> + - '#reset-cells'
> +
> +additionalProperties: false
> diff --git a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm6846-pmb.yaml b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm6846-pmb.yaml
> new file mode 100644
> index 000000000000..134a8a676dbd
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm6846-pmb.yaml
> @@ -0,0 +1,90 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/soc/bcm/brcm,bcm6846-pmb.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Broadcom BCM6846 Processor Monitor Bus
> +
> +maintainers:
> + - Linus Walleij <linusw at kernel.org>
> +
> +description:
> + The Processor Monitor Bus (PMB) connects the third generation Power
> + Management Controller (PMC3) to the control registers of miscellaneous
> + independent hardware blocks.
> +
> + The controller provides configuration, arbitration and four keyhole
> + interfaces for indirect register access.
> +
> + Child nodes describe independent hardware blocks accessed over the PMB.
> + These provide global resources and even resources for each other.
> +
> +properties:
> + compatible:
> + const: brcm,bcm6846-pmb
> +
> + reg:
> + maxItems: 1
> + description: PMB configuration, keyhole and address mapping registers
> +
> + power-controller:
> + type: object
> + $ref: /schemas/power/brcm,bcm6846-pmb-power.yaml#
> +
> + clock-controller:
> + type: object
> + $ref: /schemas/clock/brcm,bcm6846-pmb-clock.yaml#
> +
> + reset-controller:
> + type: object
> + $ref: /schemas/reset/brcm,bcm6846-pmb-reset.yaml#
> +
> + hwmon:
> + type: object
> + $ref: /schemas/hwmon/brcm,bcm6846-pmb-pvtmon.yaml#
> +
> +required:
> + - compatible
> + - reg
> + - power-controller
> + - clock-controller
> + - reset-controller
> + - hwmon
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/clock/brcm,bcm6846-pmb.h>
> + #include <dt-bindings/reset/brcm,bcm6846-pmb.h>
> +
> + /* Processor Monitor Bus */
> + bus at ffb20100 {
> + compatible = "brcm,bcm6846-pmb";
> + reg = <0xffb20100 0x200>;
> +
> + pmb_power: power-controller {
> + compatible = "brcm,bcm6846-pmb-power";
> + #power-domain-cells = <1>;
> + };
> +
> + pmb_clk: clock-controller {
> + compatible = "brcm,bcm6846-pmb-clock";
> + clocks = <&osc50m>;
> + clock-names = "ref";
> + #clock-cells = <1>;
> + };
> +
> + pmb_reset: reset-controller {
> + compatible = "brcm,bcm6846-pmb-reset";
> + #reset-cells = <1>;
> + };
> +
> + hwmon {
> + compatible = "brcm,bcm6846-pmb-pvtmon";
> + clocks = <&pmb_clk BCM6846_CLK_PVTMON>;
> + resets = <&pmb_reset BCM6846_RESET_PVTMON>;
> + #thermal-sensor-cells = <0>;
> + };
> + };
> diff --git a/MAINTAINERS b/MAINTAINERS
> index f14f9910911c..e11fc5064dc5 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -5447,7 +5447,15 @@ N: bcm[9]?6878
> BROADCOM BCMBCA PMC3 PMB DRIVER
> M: Linus Walleij <linusw at kernel.org>
> S: Maintained
> +F: Documentation/devicetree/bindings/clock/brcm,bcm6846-pmb-clock.yaml
> +F: Documentation/devicetree/bindings/hwmon/brcm,bcm6846-pmb-pvtmon.yaml
> F: Documentation/devicetree/bindings/mfd/brcm,bcm6846-pmc.yaml
> +F: Documentation/devicetree/bindings/power/brcm,bcm6846-pmb-power.yaml
> +F: Documentation/devicetree/bindings/reset/brcm,bcm6846-pmb-reset.yaml
> +F: Documentation/devicetree/bindings/soc/bcm/brcm,bcm6846-pmb.yaml
> +F: include/dt-bindings/clock/brcm,bcm6846-pmb.h
> +F: include/dt-bindings/power/brcm,bcm6846-pmb.h
> +F: include/dt-bindings/reset/brcm,bcm6846-pmb.h
>
> BROADCOM BDC DRIVER
> M: Justin Chen <justin.chen at broadcom.com>
> diff --git a/include/dt-bindings/clock/brcm,bcm6846-pmb.h b/include/dt-bindings/clock/brcm,bcm6846-pmb.h
> new file mode 100644
> index 000000000000..548a18ed7959
> --- /dev/null
> +++ b/include/dt-bindings/clock/brcm,bcm6846-pmb.h
> @@ -0,0 +1,42 @@
> +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
> +#ifndef _DT_BINDINGS_CLOCK_BRCM_BCM6846_PMB_H
> +#define _DT_BINDINGS_CLOCK_BRCM_BCM6846_PMB_H
> +
> +#define BCM6846_CLK_RDPPLL_CH0 0
> +#define BCM6846_CLK_RDPPLL_CH1 1
> +#define BCM6846_CLK_RDPPLL_CH2 2
> +#define BCM6846_CLK_RDPPLL_CH3 3
> +#define BCM6846_CLK_RDPPLL_CH4 4
> +#define BCM6846_CLK_RDPPLL_CH5 5
> +#define BCM6846_CLK_BIUPLL_CH0 6
> +#define BCM6846_CLK_BIUPLL_CH1 7
> +#define BCM6846_CLK_BIUPLL_CH2 8
> +#define BCM6846_CLK_BIUPLL_CH3 9
> +#define BCM6846_CLK_BIUPLL_CH4 10
> +#define BCM6846_CLK_BIUPLL_CH5 11
> +#define BCM6846_CLK_RUNNER 12
> +#define BCM6846_CLK_XTAL_OUT 13
> +#define BCM6846_CLK_PVTMON 14
> +#define BCM6846_CLK_PERIPH_ZONE0 15
> +#define BCM6846_CLK_PERIPH_ZONE1 16
> +#define BCM6846_CLK_PERIPH_ZONE2 17
> +#define BCM6846_CLK_PERIPH_ZONE3 18
> +#define BCM6846_CLK_MEMC 19
> +#define BCM6846_CLK_USB_ZONE0 20
> +#define BCM6846_CLK_USB_ZONE1 21
> +#define BCM6846_CLK_USB_ZONE2 22
> +#define BCM6846_CLK_USB_ZONE3 23
> +#define BCM6846_CLK_WAN_ZONE0 24
> +#define BCM6846_CLK_WAN_ZONE1 25
> +#define BCM6846_CLK_WAN_ZONE2 26
> +#define BCM6846_CLK_XRDP_ZONE0 27
> +#define BCM6846_CLK_XRDP_ZONE1 28
> +#define BCM6846_CLK_XRDP_ZONE2 29
> +#define BCM6846_CLK_RUNNER0 30
> +#define BCM6846_CLK_RUNNER1 31
> +#define BCM6846_CLK_RUNNER2 32
> +#define BCM6846_CLK_PCIE0 33
> +#define BCM6846_CLK_PCIE1 34
> +#define BCM6846_CLK_BIU 35
> +
> +#endif
> diff --git a/include/dt-bindings/power/brcm,bcm6846-pmb.h b/include/dt-bindings/power/brcm,bcm6846-pmb.h
> new file mode 100644
> index 000000000000..abdd01c94bc5
> --- /dev/null
> +++ b/include/dt-bindings/power/brcm,bcm6846-pmb.h
> @@ -0,0 +1,12 @@
> +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
> +#ifndef _DT_BINDINGS_POWER_BCM6846_PMB_H
> +#define _DT_BINDINGS_POWER_BCM6846_PMB_H
> +
> +#define BCM6846_PD_PERIPH 0
> +#define BCM6846_PD_MEMC 1
> +#define BCM6846_PD_USB20 2
> +#define BCM6846_PD_XRDP 3
> +#define BCM6846_PD_PCIE0 4
> +#define BCM6846_PD_PCIE1 5
> +
> +#endif
> diff --git a/include/dt-bindings/reset/brcm,bcm6846-pmb.h b/include/dt-bindings/reset/brcm,bcm6846-pmb.h
> new file mode 100644
> index 000000000000..ce68adb10108
> --- /dev/null
> +++ b/include/dt-bindings/reset/brcm,bcm6846-pmb.h
> @@ -0,0 +1,11 @@
> +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
> +#ifndef _DT_BINDINGS_RESET_BRCM_BCM6846_PMB_H
> +#define _DT_BINDINGS_RESET_BRCM_BCM6846_PMB_H
> +
> +/* XRDP packet engine and its three Runner cores. */
> +#define BCM6846_RESET_XRDP 0
> +
> +/* Process, voltage and temperature monitor analog acquisition reset. */
> +#define BCM6846_RESET_PVTMON 1
> +
> +#endif
>
> --
> 2.56.0
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5473 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20261106/f7f142c4/attachment-0001.p7s>
More information about the linux-arm-kernel
mailing list