From patchwork Mon Aug 3 01:13:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 51820 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by patches.linaro.org (Postfix) with ESMTPS id 551EE229FD for ; Mon, 3 Aug 2015 01:15:29 +0000 (UTC) Received: by wibdx1 with SMTP id dx1sf21948301wib.2 for ; Sun, 02 Aug 2015 18:15: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: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=CwqpJKeSrxvSupLnsUOjsrBIxtluuagRbA+KM7i70Qo=; b=iGlnZWFensWTGTMUlgVhEbxIB/ky0Wjls7KOn90PXGlzWAts/cbK99ZkNM4IEVZtgG SjcSu8Vl71OE65O8Epr6Sr7Pv8SvVfc/FepCP5fhkwHRzM09RNH7iMdh9HOxIv5FUuf0 lLbKQqBPZJ4HTwQTt/iK2O48UuMWJMBYhLzcjo3ihlhuS7Ybc06GHwR8q1SqnI6NKEBJ C4VByGpEbT1LHj6b8DFUzlSd7m1XftBKON4ogNAwLiQ18Z8rN1IadOKDmyVW+0SCM2yP Avb1vkHW/QtON5TjTOUOydU4Ocq0pOKvil+Zcjz4n8WHoVszV9Xmt379lhvsu861UZbK ZZKA== X-Gm-Message-State: ALoCoQl6K50H0Xi6o0FpdToCy8DTAz6VFkR2XvyRZACC2+EeDJO4++Kq1IEjwvyGZpu4YcHWbAhv X-Received: by 10.152.22.163 with SMTP id e3mr4755852laf.6.1438564528640; Sun, 02 Aug 2015 18:15:28 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.225 with SMTP id v1ls554253lav.71.gmail; Sun, 02 Aug 2015 18:15:28 -0700 (PDT) X-Received: by 10.112.158.4 with SMTP id wq4mr14313579lbb.106.1438564528295; Sun, 02 Aug 2015 18:15:28 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id kw7si10613143lac.136.2015.08.02.18.15.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Aug 2015 18:15:28 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by labsr2 with SMTP id sr2so1263843lab.2 for ; Sun, 02 Aug 2015 18:15:28 -0700 (PDT) X-Received: by 10.112.141.8 with SMTP id rk8mr14054045lbb.87.1438564528205; Sun, 02 Aug 2015 18:15:28 -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.112.7.198 with SMTP id l6csp1597173lba; Sun, 2 Aug 2015 18:15:27 -0700 (PDT) X-Received: by 10.68.219.73 with SMTP id pm9mr18588260pbc.84.1438564526360; Sun, 02 Aug 2015 18:15:26 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gc11si23659193pac.14.2015.08.02.18.15.24; Sun, 02 Aug 2015 18:15:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752596AbbHCBPT (ORCPT + 28 others); Sun, 2 Aug 2015 21:15:19 -0400 Received: from mail-pd0-f173.google.com ([209.85.192.173]:34325 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752476AbbHCBPP (ORCPT ); Sun, 2 Aug 2015 21:15:15 -0400 Received: by pdbbo16 with SMTP id bo16so9319989pdb.1 for ; Sun, 02 Aug 2015 18:15:14 -0700 (PDT) X-Received: by 10.70.23.98 with SMTP id l2mr30742848pdf.74.1438564514467; Sun, 02 Aug 2015 18:15:14 -0700 (PDT) Received: from localhost.localdomain ([180.150.157.4]) by smtp.gmail.com with ESMTPSA id pd10sm15416289pdb.66.2015.08.02.18.15.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 02 Aug 2015 18:15:13 -0700 (PDT) From: Leo Yan To: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Catalin Marinas , Will Deacon , Michael Turquette , Stephen Boyd , Wei Xu , Haojian Zhuang , Bintian Wang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, Guodong Xu , Jian Zhang , Zhenwei Wang , Haoju Mo , Dan Zhao , sunzhaosheng@hisilicon.com, victor.lixin@hisilicon.com Cc: Leo Yan Subject: [PATCH v3 2/5] dt-bindings: arm: Hi6220: add doc for SRAM controller Date: Mon, 3 Aug 2015 09:13:35 +0800 Message-Id: <1438564418-15948-3-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1438564418-15948-1-git-send-email-leo.yan@linaro.org> References: <1438564418-15948-1-git-send-email-leo.yan@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: leo.yan@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) 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: , Document "hisilicon,hi6220-sramctrl" for SRAM controller. Signed-off-by: Leo Yan --- .../devicetree/bindings/arm/hisilicon/hisilicon.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt index c431c67..c733e28 100644 --- a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt +++ b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt @@ -127,6 +127,24 @@ Example: #clock-cells = <1>; }; + +Hisilicon Hi6220 SRAM controller + +Required properties: +- compatible : "hisilicon,hi6220-sramctrl", "syscon" +- reg : Register address and size + +Hisilicon's SoCs use sram for multiple purpose; on Hi6220 there have several +SRAM banks for power management, modem, security, etc. Further, use "syscon" +managing the common sram which can be shared by multiple modules. + +Example: + /*for Hi6220*/ + sram: sram@fff80000 { + compatible = "hisilicon,hi6220-sramctrl", "syscon"; + reg = <0x0 0xfff80000 0x0 0x12000>; + }; + ----------------------------------------------------------------------- Hisilicon HiP01 system controller