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: 7494761 Return-Path: X-Original-To: patchwork-linux-arm@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 7EF26BEEA4 for ; Tue, 27 Oct 2015 08:46:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BE92F206C5 for ; Tue, 27 Oct 2015 08:46:56 +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 E962E204B5 for ; Tue, 27 Oct 2015 08:46:55 +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 1Zqzsb-00080b-8O; Tue, 27 Oct 2015 08:45:17 +0000 Received: from mailout3.w1.samsung.com ([210.118.77.13]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zqzrn-0006jN-9r for linux-arm-kernel@lists.infradead.org; Tue, 27 Oct 2015 08:44:28 +0000 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-arm-kernel@lists.infradead.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 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== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151027_014427_614355_07C4AC00 X-CRM114-Status: GOOD ( 12.67 ) 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 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 --- .../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>; + }; };