From patchwork Thu May 1 10:44:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 4098841 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 429409F169 for ; Thu, 1 May 2014 10:49:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7FEB320306 for ; Thu, 1 May 2014 10:49:37 +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 A90DD20304 for ; Thu, 1 May 2014 10:49:36 +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 1WfoVx-00067f-5I; Thu, 01 May 2014 10:46:53 +0000 Received: from mail-pd0-f169.google.com ([209.85.192.169]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WfoVu-00064k-Qo for linux-arm-kernel@lists.infradead.org; Thu, 01 May 2014 10:46:51 +0000 Received: by mail-pd0-f169.google.com with SMTP id z10so1658721pdj.28 for ; Thu, 01 May 2014 03:46:28 -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=0pExqz79l01m/2VppgZ9xO+l/Wd/luk7CsKccrwWwE0=; b=PisHKE6ot9SAlwUVALmxRa4mfs3P1PLvyf08NyoBI642rnLftR+a/BFTaAAGvDua8c pSkxeMqNIO/8SjGzZLUgy2VSK16Zj77xVIQgHp7SOCvNldoLakUfsv9d9JhbcckYVscZ 7O5YFdKULLefwb/AWIo0rMM8gY1YuO1nSRnXnL+1zmDBcgGnz4tTf89L7da7762iyLNJ U6CiakWAWaNy7pm6C3mHc+/twYoRxmcyzjJoEGHnan7pcD3Z+JGhocnZzjWq1VImgGD2 a/rt7XNjY4MNBA63yyIQGtYo5hVVVIe1CrQikYBHwZItEkWzNWQd/0IdNLQ8ZYxpYNM6 KKqg== X-Gm-Message-State: ALoCoQkDv+7sVdApVCrWyonLAUnXbW4o2UJUKT3p8kONmvi0cFQ9U3Ra9BRFSwiRPGj1qNdlesxH X-Received: by 10.66.66.66 with SMTP id d2mr19769046pat.36.1398941188775; Thu, 01 May 2014 03:46:28 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id vx10sm154176373pac.17.2014.05.01.03.46.25 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 01 May 2014 03:46:28 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Subject: [PATCH 2/2] Documentation: DT: Exynos: Bind SRAM though DT Date: Thu, 1 May 2014 16:14:45 +0530 Message-Id: <1398941085-10224-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398941085-10224-1-git-send-email-sachin.kamat@linaro.org> References: <1398941085-10224-1-git-send-email-sachin.kamat@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140501_034650_886666_FF7EA262 X-CRM114-Status: UNSURE ( 9.74 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) Cc: devicetree@vger.kernel.org, kgene.kim@samsung.com, arnd@arndb.de, sachin.kamat@linaro.org, t.figa@samsung.com, robh+dt@kernel.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 Add SRAM binding documentation. Signed-off-by: Sachin Kamat --- .../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..9969ca22b6af --- /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 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 : should be + "samsung,exynos4210-sram" : Secure SYSRAM + "samsung,exynos4210-sram-ns" : 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>; + }; + };