From patchwork Sun Jul 5 02:56:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6717581 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 657C09F380 for ; Sun, 5 Jul 2015 08:38:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7DA37205AA for ; Sun, 5 Jul 2015 08:38:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9789C2058C for ; Sun, 5 Jul 2015 08:38:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753693AbbGEIh4 (ORCPT ); Sun, 5 Jul 2015 04:37:56 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:35022 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751722AbbGEIhp (ORCPT ); Sun, 5 Jul 2015 04:37:45 -0400 Received: by pactm7 with SMTP id tm7so79001678pac.2; Sun, 05 Jul 2015 01:37:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=SG+i3nl+EAlSvCxOfXEOj0AOfUjHJo42pi/a3Ol7sUI=; b=ln7/EYLqzzi+afuTdnlEgfKqtrSATGyj1cwrHKB7C0OYuDH+oj6h1qKmUXKRc3jivq Z1Tk+eqxuDLFgtkRlKNb1zFrb5KxzHlhh84RZCs1WIEseb2h5JpRe4h9T2SpD43Wmz5f 2CV18NqjAIeFyFSgXJvyz+/Wlqj+VtJ2yEtBn/Bzcve5weBFn44qXAIS6XyTxVs01dmw pxSzcBRvK7TXM69A6cGSGsmqC/NFXgi6eLSOfXbRqtvQH6heAJQ2a8/mjBJW75zx8BRX A3+52v3Qn3WfNyHhwwK2UrunXAmJS+RvcgB/9kxr83IMwvPz6ch6zxV54gHiEkgxjciW Bmcg== X-Received: by 10.68.68.201 with SMTP id y9mr19550407pbt.143.1436065037734; Sat, 04 Jul 2015 19:57:17 -0700 (PDT) Received: from localhost.localdomain ([125.130.175.123]) by mx.google.com with ESMTPSA id o7sm13607465pdi.16.2015.07.04.19.57.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 04 Jul 2015 19:57:17 -0700 (PDT) From: Krzysztof Kozlowski To: Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Kukjin Kim , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] Documentation: ARM: EXYNOS: Extend boot loader interface documentation Date: Sun, 5 Jul 2015 11:56:51 +0900 Message-Id: <1436065011-6999-1-git-send-email-k.kozlowski.k@gmail.com> X-Mailer: git-send-email 2.1.4 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Extend the kernel-bootloader interface documentation with usage of register INFORM1 (0x0804) and different CPU resume address on Exynos542x family (with Multi-Cluster Power Management enabled). Additionally add glossary and reformat section titles. Signed-off-by: Krzysztof Kozlowski --- Documentation/arm/Samsung/Bootloader-interface.txt | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Documentation/arm/Samsung/Bootloader-interface.txt b/Documentation/arm/Samsung/Bootloader-interface.txt index b96ead9a6919..df8d4fb85939 100644 --- a/Documentation/arm/Samsung/Bootloader-interface.txt +++ b/Documentation/arm/Samsung/Bootloader-interface.txt @@ -15,6 +15,7 @@ executing kernel. 1. Non-Secure mode + Address: sysram_ns_base_addr Offset Value Purpose ============================================================================= @@ -28,6 +29,7 @@ Offset Value Purpose 2. Secure mode + Address: sysram_base_addr Offset Value Purpose ============================================================================= @@ -40,14 +42,25 @@ Offset Value Purpose Address: pmu_base_addr Offset Value Purpose ============================================================================= -0x0800 exynos_cpu_resume AFTR +0x0800 exynos_cpu_resume AFTR, suspend +0x0800 mcpm_entry_point (Exynos542x with MCPM) AFTR, suspend +0x0804 0xfcba0d10 (Magic cookie) AFTR +0x0804 0x00000bad (Magic cookie) System suspend 0x0814 exynos4_secondary_startup (Exynos4210 r1.1) Secondary CPU boot 0x0818 0xfcba0d10 (Magic cookie, Exynos4210 r1.1) AFTR 0x081C exynos_cpu_resume (Exynos4210 r1.1) AFTR 3. Other (regardless of secure/non-secure mode) + Address: pmu_base_addr Offset Value Purpose ============================================================================= 0x0908 Non-zero (only Exynos3250) Secondary CPU boot up indicator + + +4. Glossary + +AFTR - ARM Off Top Running, a low power mode, Cortex cores and many other +modules are power gated, except the TOP modules +MCPM - Multi-Cluster Power Management