Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 500d3366 authored by Chris Brand's avatar Chris Brand Committed by Florian Fainelli
Browse files

Documentation: Binding docs for bcm11351 enable method



Commit 84320e1a
("ARM: BCM: Clean up SMP support for Broadcom Kona") moved the
"secondary-boot-reg" property from the "cpus" node to the individual "cpu"
nodes but negelected to update brcm,bcm11351-cpu-method.txt to match.

bcm11351-cpu-method was apparently never added to the list of methods in
bindings/arm/cpus.txt.

bindings/arm/cpus.txt states that "enable-method" should be a property of
the "cpu" node rather than the "cpus" node.

This patch rectifies these two omissions and one inconsistency.

Signed-off-by: default avatarChris Brand <chris.brand@broadcom.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent 1a695a90
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -5,7 +5,7 @@ CPUs in the following Broadcom SoCs:
  BCM11130, BCM11140, BCM11351, BCM28145, BCM28155, BCM21664
  BCM11130, BCM11140, BCM11351, BCM28145, BCM28155, BCM21664


The enable method is specified by defining the following required
The enable method is specified by defining the following required
properties in the "cpus" device tree node:
properties in the "cpu" device tree node:
  - enable-method = "brcm,bcm11351-cpu-method";
  - enable-method = "brcm,bcm11351-cpu-method";
  - secondary-boot-reg = <...>;
  - secondary-boot-reg = <...>;


@@ -19,8 +19,6 @@ Example:
	cpus {
	cpus {
		#address-cells = <1>;
		#address-cells = <1>;
		#size-cells = <0>;
		#size-cells = <0>;
		enable-method = "brcm,bcm11351-cpu-method";
		secondary-boot-reg = <0x3500417c>;


		cpu0: cpu@0 {
		cpu0: cpu@0 {
			device_type = "cpu";
			device_type = "cpu";
@@ -32,5 +30,7 @@ Example:
			device_type = "cpu";
			device_type = "cpu";
			compatible = "arm,cortex-a9";
			compatible = "arm,cortex-a9";
			reg = <1>;
			reg = <1>;
			enable-method = "brcm,bcm11351-cpu-method";
			secondary-boot-reg = <0x3500417c>;
		};
		};
	};
	};
+1 −0
Original line number Original line Diff line number Diff line
@@ -193,6 +193,7 @@ nodes to be present and contain the properties described below.
			    "allwinner,sun6i-a31"
			    "allwinner,sun6i-a31"
			    "allwinner,sun8i-a23"
			    "allwinner,sun8i-a23"
			    "arm,realview-smp"
			    "arm,realview-smp"
			    "brcm,bcm11351-cpu-method"
			    "brcm,bcm-nsp-smp"
			    "brcm,bcm-nsp-smp"
			    "brcm,brahma-b15"
			    "brcm,brahma-b15"
			    "marvell,armada-375-smp"
			    "marvell,armada-375-smp"