From patchwork Tue May 20 17:40:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 4212211 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7A19F9F1CD for ; Tue, 20 May 2014 17:43:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7506120320 for ; Tue, 20 May 2014 17:43:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 73A5020251 for ; Tue, 20 May 2014 17:43:15 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wmo1u-0006a7-Bf; Tue, 20 May 2014 17:40:46 +0000 Received: from mail-ie0-f172.google.com ([209.85.223.172]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wmo1j-0006P4-Ty for linux-arm-kernel@lists.infradead.org; Tue, 20 May 2014 17:40:36 +0000 Received: by mail-ie0-f172.google.com with SMTP id tp5so819388ieb.31 for ; Tue, 20 May 2014 10:40:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=nNrcWUxU0HsL95yM4Dp1lksCS7xHSBXnyxN+QxCAP8g=; b=WAEfXp61pmmJHhjTA0m44DhNDaYmR2PgoQxo2nBKJMmjVRU73vRPOHPD+cVl5vPDDr SEU0Ry5TAc8sn9BuBBu7EKss6sDbed4+6Bmf9SZpG9ib9y314Oh+kZClBHSDaNsKNCy2 E77/f6f+jWyPFHudy2rMoykQW1qgRJvTp6Nxxen735hde/3wfi0EbxC6F3kvzkHtneLf qXr6V6ce3QVqEeq0+fQhWUyhQ+yMgTYYCNVFzOMZyU6yt+TtXTfiiyu1eC1CzwPpW8q4 HLqF94nKz29IlcVti6DjAhdsrecCLo/wEzRL74/v3LA15AbgOkYNiTb7INHLH//t1ytZ 6Dow== X-Gm-Message-State: ALoCoQmeatvbPonhn0cX6fhZEJ3Fbu7Q/FNlL13YyrK2MdJadDQ1AhrWwzJ/o9Z1EiIjPjaqgx+I X-Received: by 10.50.45.3 with SMTP id i3mr7106569igm.7.1400607613700; Tue, 20 May 2014 10:40:13 -0700 (PDT) Received: from localhost.localdomain (c-71-195-31-37.hsd1.mn.comcast.net. [71.195.31.37]) by mx.google.com with ESMTPSA id h7sm30470555igy.2.2014.05.20.10.40.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 20 May 2014 10:40:13 -0700 (PDT) From: Alex Elder To: mporter@linaro.org, bcm@fixthebug.org, linux@arm.linux.org.uk, devicetree@vger.kernel.org, arnd@arndb.de, sboyd@codeaurora.org Subject: [PATCH v4 1/5] devicetree: bindings: document Broadcom CPU enable method Date: Tue, 20 May 2014 12:40:02 -0500 Message-Id: <1400607606-10810-2-git-send-email-elder@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1400607606-10810-1-git-send-email-elder@linaro.org> References: <1400607606-10810-1-git-send-email-elder@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140520_104036_007957_1BED3FDE X-CRM114-Status: GOOD ( 10.89 ) X-Spam-Score: -0.7 (/) 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 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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: 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: + 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):