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: 7507941
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 A912C9F37F
for ;
Wed, 28 Oct 2015 07:59:52 +0000 (UTC)
Received: from mail.kernel.org (localhost [127.0.0.1])
by mail.kernel.org (Postfix) with ESMTP id C9CB320813
for ;
Wed, 28 Oct 2015 07:59:51 +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 DF82320811
for ;
Wed, 28 Oct 2015 07:59:50 +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 1ZrLcU-0006RU-BC; Wed, 28 Oct 2015 07:58:06 +0000
Received: from mailout1.w1.samsung.com ([210.118.77.11])
by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat
Linux)) id 1ZrLcM-0006Nn-4s
for linux-arm-kernel@lists.infradead.org;
Wed, 28 Oct 2015 07:57:58 +0000
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-arm-kernel@lists.infradead.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
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=
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
X-CRM114-CacheID: sfid-20151028_005758_347062_EBF134EB
X-CRM114-Status: GOOD ( 12.96 )
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>;
+ };
};