From patchwork Fri May 2 05:06:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 29531 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f200.google.com (mail-pd0-f200.google.com [209.85.192.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2E9A720675 for ; Fri, 2 May 2014 05:07:55 +0000 (UTC) Received: by mail-pd0-f200.google.com with SMTP id x10sf17511076pdj.11 for ; Thu, 01 May 2014 22:07:54 -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=HafFaIgvgylAc8Kfb44k7EUqbUmItRqRNl/ockgCYLs=; b=ac18bFrmBHwK9+6/7+W5Mro9k1AwFSGgWwt4yXKmPZHB57HGMBIhMJwMk/hD3dzR9W rhKV4QrFxU62/1/AsUIu5z7lXJCu1KXGrgEtnakJRCWth5OwKRGC2fghsQxSKLeNKbXl GgZ3OF2av+C1F9T9sYC0c95R+S6my1LxoboQI8C9IM5BZLqvWNt3nvI2SeMbWpJ3Q79b 6h0A0xh0l5b7SMNZL2/SOg4WPOpkiCajgR4SwqmoWW/eJVaEwjMirtv3IhgXj0MaZDFe 2dJQi8Uhto8y2zWM8evVKqJONZgt0fuRcmJosWgAJ4VkkRl8muAw8ALo5lXelE1jsy6o 52Dw== X-Gm-Message-State: ALoCoQkTptffbgHlJkZrAReerhrNO99Vq7Rgg8qV3kqeY91v0CpRjKbBJQNqZ/tCuXSXFu7IXVsa X-Received: by 10.66.189.163 with SMTP id gj3mr7878575pac.32.1399007274175; Thu, 01 May 2014 22:07:54 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.34.233 with SMTP id l96ls1342432qgl.90.gmail; Thu, 01 May 2014 22:07:54 -0700 (PDT) X-Received: by 10.220.159.4 with SMTP id h4mr11806154vcx.1.1399007274024; Thu, 01 May 2014 22:07:54 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id w19si6508143vcf.167.2014.05.01.22.07.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 01 May 2014 22:07:54 -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.220.171; Received: by mail-vc0-f171.google.com with SMTP id lc6so78992vcb.2 for ; Thu, 01 May 2014 22:07:54 -0700 (PDT) X-Received: by 10.221.44.73 with SMTP id uf9mr1256907vcb.9.1399007273934; Thu, 01 May 2014 22:07:53 -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 ib8csp76347vcb; Thu, 1 May 2014 22:07:53 -0700 (PDT) X-Received: by 10.66.192.73 with SMTP id he9mr29817626pac.88.1399007273119; Thu, 01 May 2014 22:07:53 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sf3si22950838pac.206.2014.05.01.22.07.52; Thu, 01 May 2014 22:07:52 -0700 (PDT) Received-SPF: none (google.com: devicetree-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 S1751477AbaEBFHv (ORCPT + 9 others); Fri, 2 May 2014 01:07:51 -0400 Received: from mail-pa0-f51.google.com ([209.85.220.51]:53695 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750828AbaEBFHv (ORCPT ); Fri, 2 May 2014 01:07:51 -0400 Received: by mail-pa0-f51.google.com with SMTP id fb1so4819419pad.10 for ; Thu, 01 May 2014 22:07:50 -0700 (PDT) X-Received: by 10.66.142.233 with SMTP id rz9mr30285848pab.71.1399007269941; Thu, 01 May 2014 22:07:49 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id tu3sm172805652pab.1.2014.05.01.22.07.46 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 01 May 2014 22:07:49 -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, robh+dt@kernel.org, kgene.kim@samsung.com, sachin.kamat@linaro.org Subject: [PATCH v2 2/2] Documentation: DT: Exynos: Bind SRAM though DT Date: Fri, 2 May 2014 10:36:20 +0530 Message-Id: <1399007180-20680-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1399007180-20680-1-git-send-email-sachin.kamat@linaro.org> References: <1399007180-20680-1-git-send-email-sachin.kamat@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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 --- Changes since v1: Minor re-wording for better clarity. --- .../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>; + }; + };