From patchwork Mon Oct 26 11:47:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Fedin X-Patchwork-Id: 7487571 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 AF56F9F2F7 for ; Mon, 26 Oct 2015 11:50:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EB90720435 for ; Mon, 26 Oct 2015 11:50:28 +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 0FC0E207E8 for ; Mon, 26 Oct 2015 11:50: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 1ZqgGu-0007ii-5I; Mon, 26 Oct 2015 11:49:04 +0000 Received: from mailout2.w1.samsung.com ([210.118.77.12]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZqgG6-0007TG-T4 for linux-arm-kernel@lists.infradead.org; Mon, 26 Oct 2015 11:48:16 +0000 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NWT009TDSRRAE10@mailout2.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 26 Oct 2015 11:47:52 +0000 (GMT) X-AuditID: cbfec7f5-f794b6d000001495-39-562e12e755d5 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id A9.D8.05269.7E21E265; Mon, 26 Oct 2015 11:47:51 +0000 (GMT) Received: from fedinw7x64.rnd.samsung.ru ([106.109.131.169]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NWT00EJWSRKNJA0@eusync4.samsung.com>; Mon, 26 Oct 2015 11:47:51 +0000 (GMT) From: Pavel Fedin To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/4] Documentation: dt-bindings: Describe SROMc configuration Date: Mon, 26 Oct 2015 14:47:44 +0300 Message-id: <7ac097efc649bac4e9f2b991baaa969ce4cbc3ef.1445859834.git.p.fedin@samsung.com> X-Mailer: git-send-email 2.4.4 In-reply-to: References: In-reply-to: References: X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrILMWRmVeSWpSXmKPExsVy+t/xa7rPhfTCDH4eUrV4/cLQov/xa2aL TY+vsVrMOL+PyeL2ZV6LRVu/sDuwebQ097B5bFrVyeaxeUm9R9+WVYwenzfJBbBGcdmkpOZk lqUW6dslcGX82HCUveAEV8WTy0UNjNc5uhg5OSQETCR2b7rIDmGLSVy4t56ti5GLQ0hgKaNE /8q9zBBOG5PE2ofLWUCq2ATUJU5//QBmiwh4S0w+85cdpIhZYAmjxMt9V5lAEsICvhKPtn5g 7WLk4GARUJX4urICJMwrEC3x7GAfM8Q2OYkr16ezgdicAuYS217uYgcpFxIwA5opjUN4AiP/ AkaGVYyiqaXJBcVJ6blGesWJucWleel6yfm5mxghAfd1B+PSY1aHGAU4GJV4eB34dcOEWBPL iitzDzFKcDArifD6/AYK8aYkVlalFuXHF5XmpBYfYpTmYFES5525632IkEB6YklqdmpqQWoR TJaJg1OqgVFF8N+t56fO/Gieuv3SghSJdSc4Vm4Nqxe9OqFKsla/zjdAtUvV3tJwYm3GToEI uWfqnGL5AZcsZt5Uqo9O3XFKZt3W9fOrex6bb118jW1VlK17gjK74XPTNZ+XW/1gs3cp+HlR 8ioH14Z7gS277liuTOaeEL78Qk7K+v8S67qym+Zpd7mraSmxFGckGmoxFxUnAgAmqekqNAIA AA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151026_044815_197138_9FF656D9 X-CRM114-Status: GOOD ( 15.01 ) X-Spam-Score: -6.9 (------) 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: Pankaj Dubey , Krzysztof Kozlowski , Kukjin Kim , Russell King 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.2 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 Add documentation for new properties, allowing bank configuration. Signed-off-by: Pavel Fedin --- .../devicetree/bindings/arm/samsung/exynos-srom.txt | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/samsung/exynos-srom.txt b/Documentation/devicetree/bindings/arm/samsung/exynos-srom.txt index 33886d5..73750da 100644 --- a/Documentation/devicetree/bindings/arm/samsung/exynos-srom.txt +++ b/Documentation/devicetree/bindings/arm/samsung/exynos-srom.txt @@ -5,8 +5,25 @@ Required properties: - reg: offset and length of the register set -Example: +Bank configurations can be defined as an optional subnodes. They can have the +following properties: +- bank : bank number (0 - 3) +- width : data width in bytes (1 or 2). If omitted, default of 1 is used. +- srom-timing : array of 7 integers: Tacp, Tcah, Tcoh, Tacc, Tcos, Tacs + +Example: basic definition, no banks are configured + sromc@12570000 { + compatible = "samsung,exynos-srom"; + reg = <0x12570000 0x10>; + }; + +Example: SROMc with bank3 configuration sromc@12570000 { compatible = "samsung,exynos-srom"; reg = <0x12570000 0x10>; + bank@3 { + bank = <3>; + width = <2>; + srom-timing = <1 9 12 1 9 1 1>; + }; };