From patchwork Wed Oct 28 07:57:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Fedin X-Patchwork-Id: 7507851 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 EF483BEEA4 for ; Wed, 28 Oct 2015 07:57:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 22BC82081E for ; Wed, 28 Oct 2015 07:57:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 370CD2081C for ; Wed, 28 Oct 2015 07:57:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754826AbbJ1H5p (ORCPT ); Wed, 28 Oct 2015 03:57:45 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:13007 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752330AbbJ1H5p (ORCPT ); Wed, 28 Oct 2015 03:57:45 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NWX000W17G75S40@mailout1.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Wed, 28 Oct 2015 07:57:43 +0000 (GMT) X-AuditID: cbfec7f4-f79c56d0000012ee-1d-56307ff755c3 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 8B.5A.04846.7FF70365; Wed, 28 Oct 2015 07:57:43 +0000 (GMT) Received: from fedinw7x64.rnd.samsung.ru ([106.109.131.169]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NWX008E27G2RN30@eusync2.samsung.com>; Wed, 28 Oct 2015 07:57:43 +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 v3 1/4] Documentation: dt-bindings: Describe SROMc configuration Date: Wed, 28 Oct 2015 10:57:35 +0300 Message-id: <046d990092dc85cf50db9082fc894d93a3ece7c0.1446018918.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+NgFprJLMWRmVeSWpSXmKPExsVy+t/xK7rf6w3CDFa3yFi8fmFo0f/4NbPF psfXWC1mnN/HZLFo6xd2B1aPTas62Tw2L6n36NuyitHj8ya5AJYoLpuU1JzMstQifbsErox7 246wF0zgrni1cxdzA2MnZxcjJ4eEgInE/rOX2CBsMYkL99aD2UICSxklHn2O6WLkArLbmCTm XNrOApJgE1CXOP31A5gtIuAtMfnMX3YQm1mgVmLNwYNgcWGBAInra7rABrEIqEq8fjyTsYuR g4NXIFpi4e16iF1yEleuTwcr4RQwl/j/8TLUXjOJo1O+4xSfwMi/gJFhFaNoamlyQXFSeq6h XnFibnFpXrpecn7uJkZIgH3Zwbj4mNUhRgEORiUeXoMKvTAh1sSy4srcQ4wSHMxKIrw1ggZh QrwpiZVVqUX58UWlOanFhxilOViUxHnn7nofIiSQnliSmp2aWpBaBJNl4uCUamDsNk1+1WtZ H+Pz5UyPorP1p7WrPr5ln/GTbZ+jrsdSqRCfwLdK0562bmV/MSn2C8+T+o6pD7+cnPb/fvz2 PqPnsc2MNrYLVHXa7qpKrnr72J3hhpvyiwcvt/0M9ymccvPJ7sqnWjPyPz1InOOa7jPBg+Hp RKETdvb5h3tSDVpXdHB8Pfjvhd9GJZbijERDLeai4kQA9M4+HywCAAA= 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>; + }; };