Re: [PATCH 3/6] docs: Document BCM23550 bindings
From: Rob Herring
Date: Mon May 09 2016 - 15:41:43 EST
On Thu, May 05, 2016 at 01:48:51PM -0700, Chris Brand wrote:
> Add binding document for Broadcom BCM23550 SoC.
>
> BCM23550 has a Cluster Dormant Control IP block that holds cores
> in an idle state. Introduce a new CPU enable method in which the CDC is
> accessed to bring the core online.
>
> Signed-off-by: Chris Brand <chris.brand@xxxxxxxxxxxx>
> ---
> .../bindings/arm/bcm/brcm,bcm23550-cpu-method.txt | 36 ++++++++++++++++++++++
> .../devicetree/bindings/arm/bcm/brcm,bcm23550.txt | 15 +++++++++
> Documentation/devicetree/bindings/arm/cpus.txt | 1 +
> 3 files changed, 52 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550-cpu-method.txt
> create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550.txt
>
> diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550-cpu-method.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550-cpu-method.txt
> new file mode 100644
> index 000000000000..b1b16872bbca
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550-cpu-method.txt
> @@ -0,0 +1,36 @@
> +Broadcom Kona Family CPU Enable Method
> +--------------------------------------
> +This binding defines the enable method used for starting secondary
> +CPUs in the following Broadcom SoCs:
> + BCM23550
> +
> +The enable method is specified by defining the following required
> +properties in the "cpu" device tree node:
> + - enable-method = "brcm,bcm23550-cpu-method";
"-cpu-method" is a bit redundant. brcm,bc23550 is probably sufficient.
> + - secondary-boot-reg = <...>;
> +
> +The secondary-boot-reg property is a u32 value that specifies the
> +physical address of the register used to request the ROM holding pen
> +code release a secondary CPU. The value written to the register is
> +formed by encoding the target CPU id into the low bits of the
> +physical start address it should jump to.