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: 7487511 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9A01BBEEA4 for ; Mon, 26 Oct 2015 11:48:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C9596207EB for ; Mon, 26 Oct 2015 11:48:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E7E76207E8 for ; Mon, 26 Oct 2015 11:48:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753447AbbJZLry (ORCPT ); Mon, 26 Oct 2015 07:47:54 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:29655 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753563AbbJZLrw (ORCPT ); Mon, 26 Oct 2015 07:47:52 -0400 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-samsung-soc@vger.kernel.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 Cc: Kukjin Kim , Krzysztof Kozlowski , Russell King , Pankaj Dubey 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== Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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>; + }; };