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: 6926491 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 4C71B9F373 for ; Mon, 3 Aug 2015 01:17:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7CAE720456 for ; Mon, 3 Aug 2015 01:17:41 +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 9B8F020452 for ; Mon, 3 Aug 2015 01:17:40 +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 1ZM4M7-0001gK-Dr; Mon, 03 Aug 2015 01:15:55 +0000 Received: from mail-pd0-f171.google.com ([209.85.192.171]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZM4Ln-0000ri-HQ for linux-arm-kernel@lists.infradead.org; Mon, 03 Aug 2015 01:15:38 +0000 Received: by pdbbo16 with SMTP id bo16so9319987pdb.1 for ; Sun, 02 Aug 2015 18:15:14 -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=Y3No2RgBV/dDEnkdd8Bru28r3XK1mRQSi3L/7PC1T+2WrJ9IQ79RGUxd5iXW3KRzJO FmMyhAeMIHNPFFuElttBYRr5SBnIhr/51Tr8PQTG+W6EnxXvlxxjn3r6d00wEmdUNRTt FHixBLYaJcV5MFZN5ErF7iHglhUAPhDlN1nKODwGR3mr3fEVPqtkAjjpo4JuvuyjO8hJ uNtiQlzZRywDr6wGVtj4rlitJTBIbAGzwi0w73tGInAgt/pL+9TFfQCh2kPEOBFMH02H +cePHYg79bztG5ULi/1QlDwLKyBzhbjmky2C/Z9/hO/NLaWcR4GX7UuFt2PTf4utZj/o EZ2w== X-Gm-Message-State: ALoCoQktyrGJeUIVC+pUp3y0eW32KAIsuCnNIhFEH7kxzrTgAkZHtTM5IF8HmRa+76KmEB+WMUCB 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150802_181535_976488_59C369CB X-CRM114-Status: GOOD ( 11.68 ) 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