From patchwork Tue Aug 4 07:27:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 51895 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by patches.linaro.org (Postfix) with ESMTPS id E91FA229FD for ; Tue, 4 Aug 2015 07:28:12 +0000 (UTC) Received: by lady2 with SMTP id y2sf696955lad.1 for ; Tue, 04 Aug 2015 00:28:11 -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=lgs+gAweFbS4fuVC1ckv5Jp91si8PIgWzRi98k7k8CtKPniQMpkgATEq0Yf5/wqeim YIVy7WXaBWwozhn7crl0tdqGwjCs5stAKLVcpbB4NkOti1lCdFDmhAYq1Ii4bAIP+xez B0QsbHdfTD6KY5rIUGHLDl9P0qQ9Bls9Co0mctAOSldmcmqZ3v2dR90sr8GlQ74yyuNv 5PT1SGPi+nqwGr8Prph79VEw6QciO0BIhFEQ7GCjv7RPkB2WLUbt1jMrGdV8vNvjn6/3 jZCWI+PLGIL2J7zFTLm5NAv6SBUQFqRcvh6uE6AlyXiNtdDynJnnLRgpjUNp0rRNUbXN QtZQ== X-Gm-Message-State: ALoCoQnDKkc5ccxXTlP01TBHgb0p/yxbNfSt76QOlOTUeLqEcjZc4wL8WG/pPH28eSo4Pko1651/ X-Received: by 10.180.90.106 with SMTP id bv10mr721453wib.6.1438673291819; Tue, 04 Aug 2015 00:28:11 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.9.70 with SMTP id x6ls8720laa.5.gmail; Tue, 04 Aug 2015 00:28:11 -0700 (PDT) X-Received: by 10.152.23.4 with SMTP id i4mr1821828laf.51.1438673291454; Tue, 04 Aug 2015 00:28:11 -0700 (PDT) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id c5si107843lae.45.2015.08.04.00.28.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Aug 2015 00:28:11 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by labow3 with SMTP id ow3so1123490lab.1 for ; Tue, 04 Aug 2015 00:28:11 -0700 (PDT) X-Received: by 10.152.1.66 with SMTP id 2mr1894430lak.56.1438673290724; Tue, 04 Aug 2015 00:28:10 -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 l6csp2260188lba; Tue, 4 Aug 2015 00:28:09 -0700 (PDT) X-Received: by 10.66.236.70 with SMTP id us6mr4847888pac.39.1438673288692; Tue, 04 Aug 2015 00:28:08 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dt1si311202pdb.120.2015.08.04.00.28.07; Tue, 04 Aug 2015 00:28:08 -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 S1754882AbbHDH17 (ORCPT + 28 others); Tue, 4 Aug 2015 03:27:59 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:34166 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754606AbbHDH1z (ORCPT ); Tue, 4 Aug 2015 03:27:55 -0400 Received: by pawu10 with SMTP id u10so1662748paw.1 for ; Tue, 04 Aug 2015 00:27:54 -0700 (PDT) X-Received: by 10.68.200.68 with SMTP id jq4mr5000603pbc.54.1438673274737; Tue, 04 Aug 2015 00:27:54 -0700 (PDT) Received: from localhost.localdomain ([180.150.157.4]) by smtp.gmail.com with ESMTPSA id pe3sm255184pdb.55.2015.08.04.00.27.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 04 Aug 2015 00:27:54 -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 v4 1/4] dt-bindings: arm: Hi6220: add doc for SRAM controller Date: Tue, 4 Aug 2015 15:27:26 +0800 Message-Id: <1438673249-6051-2-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1438673249-6051-1-git-send-email-leo.yan@linaro.org> References: <1438673249-6051-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.48 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