From patchwork Tue May 6 08:10:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 4119851 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B0B66BFF02 for ; Tue, 6 May 2014 08:15:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EC8F2201F9 for ; Tue, 6 May 2014 08:15:12 +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 08C10201F7 for ; Tue, 6 May 2014 08:15:12 +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 1WhaUh-00014O-5A; Tue, 06 May 2014 08:12:55 +0000 Received: from mail-pd0-f180.google.com ([209.85.192.180]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WhaUe-00010x-5H for linux-arm-kernel@lists.infradead.org; Tue, 06 May 2014 08:12:52 +0000 Received: by mail-pd0-f180.google.com with SMTP id y10so2599404pdj.11 for ; Tue, 06 May 2014 01:12:30 -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=wgBFoccXut0wAknbsAf3nuFDqPF8oaI6/gJ88SkAB0U=; b=g+BGyW6arK+qBOgow0m/pruLu7YMVBiiD247oHWpl6+Gy/qGsJt+Jyv1VeH2yam1Dm EWU5yfXn8ymhXobIu2DVx5M3eSY2U7UDw6z7l2FO8YJU+N1fmYje58dxClNGBY/Aorts 3ycvaAYyEsyiHDeBvknc/ih0gNTc0d9k+X5u65nu2UIOXcwy/ocBwgGIggv6WlpRVngH n5GgdOw++B1KdCwL76AzSV3ZbM5qaERUThX2G5YenQ+573sAuKyefRF/PcD1kyKc42Bs V2dMvIVRNzjB31UnjLxN4mAIhiLJP5IxgXgxTZtwKfm43xUAAChvMm3s4TDmJtn36FKS SMXQ== X-Gm-Message-State: ALoCoQmzeAgnkwPSThFKAgfMM9uBKmpCuGF6j+3FbG50y239ZUPJFFOXi6hQ1TcNruu6yHTdoyg2 X-Received: by 10.67.2.34 with SMTP id bl2mr3624938pad.58.1399363950569; Tue, 06 May 2014 01:12:30 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id vx10sm92059284pac.17.2014.05.06.01.12.14 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 May 2014 01:12:29 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Subject: [PATCH v2 2/2] Documentation: DT: Exynos: Bind SRAM though DT Date: Tue, 6 May 2014 13:40:24 +0530 Message-Id: <1399363824-23543-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1399363824-23543-1-git-send-email-sachin.kamat@linaro.org> References: <1399363824-23543-1-git-send-email-sachin.kamat@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140506_011252_216784_D50E67E5 X-CRM114-Status: GOOD ( 10.15 ) X-Spam-Score: 0.0 (/) Cc: devicetree@vger.kernel.org, kgene.kim@samsung.com, heiko@sntech.de, 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 Acked-by: Arnd Bergmann --- 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>; + }; + };