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: 6934631 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2BF7D9F38B for ; Tue, 4 Aug 2015 07:30:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5B4EA2064B for ; Tue, 4 Aug 2015 07:30:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 10FBF20637 for ; Tue, 4 Aug 2015 07:30:28 +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 1ZMWe3-0006dT-5P; Tue, 04 Aug 2015 07:28:19 +0000 Received: from mail-pa0-f44.google.com ([209.85.220.44]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZMWdz-0006Zi-GB for linux-arm-kernel@lists.infradead.org; Tue, 04 Aug 2015 07:28:16 +0000 Received: by pawu10 with SMTP id u10so1662747paw.1 for ; Tue, 04 Aug 2015 00:27: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:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yYD1VqhMp/vEhBXlcaQNO7z1wyUoQbCDQPzKnPY5wmY=; b=DfS1xFf6knKVmQqvGBYRhfzqCQRlOvM2ACOwgF3bAgigTZQysthK44Kl/ZJiW+qig5 5TqCbHMAqVo378qY9eBaaXUb5tBFuVpiXIOgME1x/2SdYe9R7eNp1XQ2FV/tSNSY3r4c N6wO3mlnv+ckwGJE7wpOK+2QHKT3QiT63UFaVIzCPbx6uwEOwyOb0SPA8HevFFK8BCUv UKz5sOlxP6CPdqiKTjF7ZJwyZnNbhyaW/+BrsVPuhjFimBba+KOscuzp1Ehlypv39kZ1 jDdOc5uuoVBNxaaihbZaXuAQrkRtgsfbEFV67HdZzw2CoiqCfR/v4S8BAuZJwQGHMWL3 hWrQ== X-Gm-Message-State: ALoCoQmZgq8pguM/gcqayHigra2ck9zt5564yfmIP9PZF1wLYBVzu31yoQT8YyV2siZY5amkMA5x 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150804_002815_637929_422F405D X-CRM114-Status: GOOD ( 11.76 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Yan 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=-4.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 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