devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alex Elder <elder@linaro.org>
To: mporter@linaro.org, bcm@fixthebug.org, linux@arm.linux.org.uk,
	devicetree@vger.kernel.org, arnd@arndb.de, sboyd@codeaurora.org
Cc: mark.rutland@arm.com, lorenzo.pieralisi@arm.com,
	jason@lakedaemon.net, pawel.moll@arm.com,
	ijc+devicetree@hellion.org.uk, rjui@broadcom.com,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	rvaswani@codeaurora.org, robh+dt@kernel.org,
	bcm-kernel-feedback-list@broadcom.com, rdunlap@infradead.org,
	galak@codeaurora.org, linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 1/5] devicetree: bindings: document Broadcom CPU enable method
Date: Tue, 20 May 2014 12:43:46 -0500	[thread overview]
Message-ID: <1400607830-10989-2-git-send-email-elder@linaro.org> (raw)
In-Reply-To: <1400607830-10989-1-git-send-email-elder@linaro.org>

Broadcom mobile SoCs use a ROM-implemented holding pen for
controlled boot of secondary cores.  A special register is
used to communicate to the ROM that a secondary core should
start executing kernel code.  This enable method is currently
used for members of the bcm281xx and bcm21664 SoC families.

The use of an enable method also allows the SMP operation vector to
be assigned as a result of device tree content for these SoCs.

Signed-off-by: Alex Elder <elder@linaro.org>
---
 Documentation/devicetree/bindings/arm/cpus.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/cpus.txt b/Documentation/devicetree/bindings/arm/cpus.txt
index 333f4ae..c6a2411 100644
--- a/Documentation/devicetree/bindings/arm/cpus.txt
+++ b/Documentation/devicetree/bindings/arm/cpus.txt
@@ -185,6 +185,7 @@ nodes to be present and contain the properties described below.
 			    "qcom,gcc-msm8660"
 			    "qcom,kpss-acc-v1"
 			    "qcom,kpss-acc-v2"
+			    "brcm,bcm11351-cpu-method"
 
 	- cpu-release-addr
 		Usage: required for systems that have an "enable-method"
@@ -209,6 +210,17 @@ nodes to be present and contain the properties described below.
 		Value type: <phandle>
 		Definition: Specifies the ACC[2] node associated with this CPU.
 
+	- secondary-boot-reg
+		Usage:
+			Required for systems that have an "enable-method"
+			property value of "brcm,bcm11351-cpu-method".
+		Value type: <u32>
+		Definition:
+			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.
 
 Example 1 (dual-cluster big.LITTLE system 32-bit):
 
-- 
1.9.1

  reply	other threads:[~2014-05-20 17:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-20 17:43 [PATCH v4 0/5] ARM: SMP: support Broadcom mobile SoCs Alex Elder
2014-05-20 17:43 ` Alex Elder [this message]
2014-05-27 11:49   ` [PATCH v4 1/5] devicetree: bindings: document Broadcom CPU enable method Lorenzo Pieralisi
2014-05-27 13:43     ` Alex Elder
2014-05-28  3:30     ` Alex Elder
2014-05-28 10:36       ` Lorenzo Pieralisi
2014-05-28 12:22         ` Alex Elder
2014-05-28 13:34           ` Lorenzo Pieralisi
     [not found]             ` <20140528133428.GB29219-7AyDDHkRsp3ZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2014-05-28 13:58               ` Alex Elder
     [not found] ` <1400607830-10989-1-git-send-email-elder-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-05-20 17:43   ` [PATCH v4 2/5] ARM: add SMP support for Broadcom mobile SoCs Alex Elder
2014-05-20 17:43 ` [PATCH v4 3/5] ARM: configs: enable SMP in bcm_defconfig Alex Elder
2014-05-20 17:43 ` [PATCH v4 4/5] ARM: dts: enable SMP support for bcm28155 Alex Elder
2014-05-20 17:43 ` [PATCH v4 5/5] ARM: dts: enable SMP support for bcm21664 Alex Elder
  -- strict thread matches above, loose matches on Subject: below --
2014-05-20 17:40 [PATCH v4 0/5] ARM: SMP: support Broadcom mobile SoCs Alex Elder
2014-05-20 17:40 ` [PATCH v4 1/5] devicetree: bindings: document Broadcom CPU enable method Alex Elder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1400607830-10989-2-git-send-email-elder@linaro.org \
    --to=elder@linaro.org \
    --cc=arnd@arndb.de \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=bcm@fixthebug.org \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=jason@lakedaemon.net \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=mark.rutland@arm.com \
    --cc=mporter@linaro.org \
    --cc=pawel.moll@arm.com \
    --cc=rdunlap@infradead.org \
    --cc=rjui@broadcom.com \
    --cc=robh+dt@kernel.org \
    --cc=rvaswani@codeaurora.org \
    --cc=sboyd@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).