From patchwork Thu May 8 04:16:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 29819 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f199.google.com (mail-ie0-f199.google.com [209.85.223.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2075620534 for ; Thu, 8 May 2014 04:18:31 +0000 (UTC) Received: by mail-ie0-f199.google.com with SMTP id rl12sf9510147iec.10 for ; Wed, 07 May 2014 21:18:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=VN1wG/76trTlNrZ59sGfrJW07HlR4RwUrrBXOLSLvJ0=; b=ZTufz8OGasE/S+j4FQ7dPTza84HCpl5wOCwGtgyjT2/uSZFiFh0QMBm1vuPtQt4tXY 1nSWE+czm25tKZAYzOt9NbyMge1jqvoZFOPLTSURvypm91zEUq3XVjGUUisE30QQqv/h gSKc3TzIyOYdSnYebFk5+qqmqlTk+sqOsXjfJtsJsrKWPCdJPwinR0mnOv5z2I0Dqm75 7RFb0OXPDujTMluUGknG8X7/AuFtbNj6nI6CKqZdhcB6/DvJU2VKhngjaUUKhBc71zVV DUceNNUnitNMdn+BmDOSnYTjn4dntbYZGlyNaAUu1cJXCRJoKwi6kV3bi/qnpNCXjvis W0kA== X-Gm-Message-State: ALoCoQnWZPuIGx4b3bPvNVkDG5c3vVzcr8scWn0TyOTWi2fYb7vdQAkspzNZFod8O/jvhgoDryyu X-Received: by 10.42.236.68 with SMTP id kj4mr578272icb.6.1399522711558; Wed, 07 May 2014 21:18:31 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.109.71 with SMTP id k65ls3642711qgf.88.gmail; Wed, 07 May 2014 21:18:31 -0700 (PDT) X-Received: by 10.52.37.130 with SMTP id y2mr915453vdj.38.1399522711464; Wed, 07 May 2014 21:18:31 -0700 (PDT) Received: from mail-ve0-f169.google.com (mail-ve0-f169.google.com [209.85.128.169]) by mx.google.com with ESMTPS id rw10si3274178vec.188.2014.05.07.21.18.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 May 2014 21:18:31 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.169; Received: by mail-ve0-f169.google.com with SMTP id jx11so2606908veb.0 for ; Wed, 07 May 2014 21:18:31 -0700 (PDT) X-Received: by 10.58.48.201 with SMTP id o9mr1037184ven.5.1399522711390; Wed, 07 May 2014 21:18:31 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp363174vcb; Wed, 7 May 2014 21:18:30 -0700 (PDT) X-Received: by 10.66.189.106 with SMTP id gh10mr2699745pac.31.1399522709778; Wed, 07 May 2014 21:18:29 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hi3si14803874pac.451.2014.05.07.21.18.29; Wed, 07 May 2014 21:18:29 -0700 (PDT) Received-SPF: none (google.com: linux-samsung-soc-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752814AbaEHES2 (ORCPT + 9 others); Thu, 8 May 2014 00:18:28 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:62308 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750914AbaEHES2 (ORCPT ); Thu, 8 May 2014 00:18:28 -0400 Received: by mail-pa0-f53.google.com with SMTP id kp14so2129732pab.12 for ; Wed, 07 May 2014 21:18:27 -0700 (PDT) X-Received: by 10.67.1.202 with SMTP id bi10mr2843664pad.68.1399522707539; Wed, 07 May 2014 21:18:27 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id co3sm6002185pbb.89.2014.05.07.21.18.23 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 May 2014 21:18:26 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, heiko@sntech.de, arnd@arndb.de, t.figa@samsung.com, kgene.kim@samsung.com, sachin.kamat@linaro.org, robh+dt@kernel.org Subject: [PATCH v3 2/2] Documentation: DT: Exynos: Bind SRAM though DT Date: Thu, 8 May 2014 09:46:32 +0530 Message-Id: <1399522592-23618-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1399522592-23618-1-git-send-email-sachin.kamat@linaro.org> References: <1399522592-23618-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add SRAM binding documentation. Signed-off-by: Sachin Kamat Acked-by: Arnd Bergmann Reviewed-by: Tomasz Figa --- No changes since v1. --- .../devicetree/bindings/arm/exynos/smp-sram.txt | 38 ++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/exynos/smp-sram.txt diff --git a/Documentation/devicetree/bindings/arm/exynos/smp-sram.txt b/Documentation/devicetree/bindings/arm/exynos/smp-sram.txt new file mode 100644 index 000000000000..c9ff2f58f9b6 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/exynos/smp-sram.txt @@ -0,0 +1,38 @@ +Samsung Exynos SRAM for SMP bringup: +------------------------------------ + +Samsung SMP-capable Exynos SoCs use part of the SRAM for the bringup +of the secondary cores. Once the core gets powered up it executes the +code that is residing at some specific location of the SRAM. + +Therefore reserved section sub-nodes have to be added to the mmio-sram +declaration. These nodes are of two types depending upon secure or +non-secure execution environment. + +Required sub-node properties: +- compatible : depending upon boot mode, should be + "samsung,exynos4210-sram" : for Secure SYSRAM + "samsung,exynos4210-sram-ns" : for Non-secure SYSRAM + +The rest of the properties should follow the generic mmio-sram discription +found in ../../misc/sram.txt + +Example: + + sram@02020000 { + compatible = "mmio-sram"; + reg = <0x02020000 0x54000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x02020000 0x54000>; + + smp-sram@0 { + compatible = "samsung,exynos4210-sram"; + reg = <0x0 0x1000>; + }; + + smp-sram@53000 { + compatible = "samsung,exynos4210-sram-ns"; + reg = <0x53000 0x1000>; + }; + };