From patchwork Tue Oct 27 08:43:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Fedin X-Patchwork-Id: 7494691 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 A8BEFBF90C for ; Tue, 27 Oct 2015 08:44:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CC03620881 for ; Tue, 27 Oct 2015 08:44:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DB4DD2087B for ; Tue, 27 Oct 2015 08:44:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754441AbbJ0IoL (ORCPT ); Tue, 27 Oct 2015 04:44:11 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:29421 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754428AbbJ0IoG (ORCPT ); Tue, 27 Oct 2015 04:44:06 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NWV00BNREXGFB60@mailout3.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Tue, 27 Oct 2015 08:44:04 +0000 (GMT) X-AuditID: cbfec7f4-f79c56d0000012ee-3d-562f395326af Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 02.52.04846.3593F265; Tue, 27 Oct 2015 08:44:03 +0000 (GMT) Received: from fedinw7x64.rnd.samsung.ru ([106.109.131.169]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NWV00G65EX7R240@eusync3.samsung.com>; Tue, 27 Oct 2015 08:44:03 +0000 (GMT) From: Pavel Fedin To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Kukjin Kim , Krzysztof Kozlowski , Pankaj Dubey Subject: [PATCH v2 4/4] Documentation: dt-bindings: Describe SROMc configuration Date: Tue, 27 Oct 2015 11:43:55 +0300 Message-id: <0597acb74ea0e35f5dbe7236e582358e8177f8ff.1445935215.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+NgFprFLMWRmVeSWpSXmKPExsVy+t/xq7rBlvphBvOPalm8fmFo0f/4NbPF psfXWC1mnN/HZLFo6xd2B1aPTas62Tw2L6n36NuyitHj8ya5AJYoLpuU1JzMstQifbsErox7 246wF0zgrni1cxdzA2MnZxcjJ4eEgInEqnszGCFsMYkL99azdTFycQgJLGWUWPq6gxHCaWOS 6Ns9iQWkik1AXeL01w9gtoiAt8TkM3/ZQWxmgVqJNQcPAsU5OIQFAiSWv7QBCbMIqEqcfHcQ bAGvQLTEt13nmCGWyUlcuT6dDcTmFDCXePv+E9hIIQEzif33/zDjEp/AyL+AkWEVo2hqaXJB cVJ6rqFecWJucWleul5yfu4mRkiIfdnBuPiY1SFGAQ5GJR5egwq9MCHWxLLiytxDjBIczEoi vII6+mFCvCmJlVWpRfnxRaU5qcWHGKU5WJTEeefueh8iJJCeWJKanZpakFoEk2Xi4JRqYLTe vWWed1207xyZol7DTb7x6a9bPY5fP7b2/5HQEzGRBTO36P2aH+Xe+E1+3t3NS9Z1nwp+oed0 31ZxXX/tlRbmJyGLDsxdVKEWsHROZI/ItLXPu3e3ufWHe5Sd0dZMYp16Nqj023njMp1z3+40 irJyJ+zXLO0vTzgd3r/S+MrWDM8f8a8+ZSqxFGckGmoxFxUnAgDvxGO6LQIAAA== 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 --- .../bindings/arm/samsung/exynos-srom.txt | 24 +++++++++++++++++++++- 1 file changed, 23 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..9e4a40b 100644 --- a/Documentation/devicetree/bindings/arm/samsung/exynos-srom.txt +++ b/Documentation/devicetree/bindings/arm/samsung/exynos-srom.txt @@ -5,8 +5,30 @@ Required properties: - reg: offset and length of the register set -Example: +Bank configurations can be defined in optional subnodes. Each subnode +describes one bank and contains the following: + +Required properties: +- bank : bank number (0 - 3) + +- srom-timing : array of 7 integers: Tacp, Tcah, Tcoh, Tacc, Tcos, Tacs + +Optional properties: +- width : data width in bytes (1 or 2). If omitted, default of 1 is used. + +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>; + }; };