From patchwork Mon Jun 8 18:07:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Punnaiah Choudary Kalluri X-Patchwork-Id: 481963 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 345FB140216 for ; Tue, 9 Jun 2015 04:08:20 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753534AbbFHSIF (ORCPT ); Mon, 8 Jun 2015 14:08:05 -0400 Received: from mail-bn1on0099.outbound.protection.outlook.com ([157.56.110.99]:61171 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752988AbbFHSHz (ORCPT ); Mon, 8 Jun 2015 14:07:55 -0400 Received: from BN1BFFO11FD016.protection.gbl (10.58.144.30) by BN1BFFO11HUB021.protection.gbl (10.58.144.168) with Microsoft SMTP Server (TLS) id 15.1.190.9; Mon, 8 Jun 2015 18:07:48 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by BN1BFFO11FD016.mail.protection.outlook.com (10.58.144.79) with Microsoft SMTP Server (TLS) id 15.1.190.9 via Frontend Transport; Mon, 8 Jun 2015 18:07:46 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:57052 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1Z21Sb-0004t1-Dn; Mon, 08 Jun 2015 11:07:45 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1Z21Sb-0007RA-7c; Mon, 08 Jun 2015 11:07:45 -0700 Received: from xsj-pvapsmtp01 (smtp2.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id t58I7KIP010825; Mon, 8 Jun 2015 11:07:20 -0700 Received: from [172.23.64.208] (helo=xhdrdevl6.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1Z21SW-0007QL-2g; Mon, 08 Jun 2015 11:07:40 -0700 Received: by xhdrdevl6.xilinx.com (Postfix, from userid 12826) id 3C695EF81B8; Mon, 8 Jun 2015 23:37:39 +0530 (IST) From: Punnaiah Choudary Kalluri To: , , , , , , , , , , , , , , , , , , CC: , , , , , , Subject: [PATCH v7 1/2] Devicetree: Add pl353 smc controller devicetree binding information Date: Mon, 8 Jun 2015 23:37:36 +0530 Message-ID: <1433786857-32575-2-git-send-email-punnaia@xilinx.com> X-Mailer: git-send-email 1.7.4 In-Reply-To: <1433786857-32575-1-git-send-email-punnaia@xilinx.com> References: <1433786857-32575-1-git-send-email-punnaia@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-21600.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD016; 1:gXDiuikDURqaMf9hA6HXUy0NdT8k9KQiLMH11vy8WT5xWvpXA0SGcxe50m3VSMJ8VlsLyPAyufbHY6PeDUAVUFuYpUQ4ymAu2MiwS2zpDxy/mil9iAr6fw71FBFqAsZDGZaB5jUIR3Lc03502f4TOb7nhoBopvk3l5U2R3/70nuoWcryC9wcSw4nE4WNSsMQjAyTybBsg349VHZrHZA72wRypjWpRnNeUQzgBbUvJ/qNAO4cRv+GNeCzGoCT0n7isQbNuLzdH+5DAFAlpQ60jBv4yYA6/EGukjCMu8VQ7bzBENVqj3S4YRDmYiR7ES9fiyWGwvzYScba/2F1vOPYeg== X-Forefront-Antispam-Report: CIP:149.199.60.100; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(438002)(189002)(199003)(2950100001)(48376002)(52956003)(87936001)(33646002)(103686003)(50466002)(77156002)(47776003)(62966003)(42186005)(50226001)(50986999)(229853001)(63266004)(86362001)(45336002)(19580395003)(6806004)(2201001)(46386002)(92566002)(19580405001)(46102003)(36756003)(76176999)(36386004)(107886002)(5001960100002)(5001770100001)(189998001)(107986001)(921003)(83996005)(90966001)(1121003)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1BFFO11HUB021; H:xsj-pvapsmtpgw02; FPR:; SPF:Pass; MLV:sfv; MX:1; A:3; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11HUB021; 2:ispIZLvy4VJG+6c0OYn+dsM7/GRtR0orcDNkhEFuUWcj1wvb5r+0utmdHO2X4wsm; 2:rZPifQiJtJsWQqi0zYyuOlkqqB3lznCp2jMjez5JqyLafCyOFCqy9XInKk802RLjlcbZz7B9HjUhFCGDxW6XpytKWZifY+AyMwlVS8soq4eUXsVu3kw23k+iwYCeIG/qw/2cz9KNtvsGlh2jBlfsM4Z8WvFjFrO90WwQZdCciDZe2Xqxysbe3GnR9gOuIZ4D2TAuBhgPojDI5z1r0JU60ntDpBncXadYklGSNRuRtl8D2wee8zZIwD0By00/7M51; 6:okcGY9xfa8Iu8D5dL4AsuqMBOtVXxxwyeCKZjocj9WNhZjPiuRP0sqK2ENbyR+Wo3d6um350npfdWYJhjdDEMoY1BQByhJ2y4CoofRv5iBMmtZwG2C95ekkqP2U74EKeDIX44bQUTIKrNcSrpiLvryC/Upio/jNRpDPLOyknPur81lUXa1vhFPuqclNEWNTH6rJGjvTeCr1+NPDrIf7ARLzdeesJBg4bB3MZ686CrwMugodkGvs34RqRuebqoiuY+iojcclnLYfBq7xsCjKT1oWEHs4p0HZzqynP1iEqF9cFQDEtHZZ43mZfjcFRPK9E36oxJp9PLu8X9oQnQnJuJ28glzgzpuDge/Q6zLl5V/vfvzrXQiRANpDxKSyli+Gue0R2wfca1yfyHCSNy9F39yNKdEd/nVmMaO9Xc9b89has7ROxQHvYFhLPx9wGPW9mQozYlDmPTkia5oC3LuHs50ceM3WHtCGDeJEWovYP8Zmz9ZfhY7ujNAd2bHxpPwwF X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1BFFO11HUB021; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(520003)(5005006)(3002001); SRVR:BN1BFFO11HUB021; BCL:0; PCL:0; RULEID:; SRVR:BN1BFFO11HUB021; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11HUB021; 3:z8nOPGps6wiyHFGsW7/eLtDVvi/6/SACH24RFcrArUJ9s1+vM43/cLInq3h5Y3sEQyLxsU7OScf7NE/Lc9lAPY9/hYnRm3WQu9YoI768fF6Aobq7TwN9rtDr+q40WIMP/prnotBijlu1L9hBq0LMUYAVWD4DFaZOd+sTw1d+YG6b0qBTi7ZQw3YYLKI15dKIS1cBNiNzFn7LITn1F++U3Cd90/GRFwK3qi+yN/YjMZLm/G0+DsQraItGynyba92Z16/G2Y04oG2+xkyUEf+uAjNymXUpJL3w75/LayKvz+0h/LZLK57uRoQyTiIVn7S6 X-Forefront-PRVS: 060166847D X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1BFFO11HUB021; 9:y5wgSBXJmCZKTSGsiNEo58EGZswyJ96X6lpst4gK?= =?us-ascii?Q?evu8uo5GXBWPEy4dw90X7zfhA4pw7QuIbbx89DaJXEQwJwYAtiJgXKTpAiAd?= =?us-ascii?Q?t5lIRnFCYd4SJaRKu/g9a5yyBCatjGkigpY8QEEkxEuz4DK7+A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7DMqE0QpiMcYbrWFGDBTc5ZmYIr+iLtHluigl5?= =?us-ascii?Q?azJKlak=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11HUB021; 3:Eku7rVaxY9RhAwQxzoyjQSgrbdHCDjYsJYhJ55zjd3XS6p85CZCV1BvNrgMEzw3QWZl88y7s7Brb7wmtU8LRqzUuGJUr6sAzKrpTxqFuwCYGS+RnjrcwXActnPyFl6Pw7K4yMtguUElL8fKjyhZAWA==; 10:UJWy2sjUoNd5RaoBisCerm4LTf1yEICF7qAXw4cAbMkswtZBmVJMyGkb7shfXEJMbodKHL4tLtfzWXqtLXonP7EZo+Umxpu4Ejy+A1rZU/E= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jun 2015 18:07:46.3758 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.100]; Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1BFFO11HUB021 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add pl353 static memory controller devicetree binding information. Signed-off-by: Punnaiah Choudary Kalluri --- Changes in v7: - Corrected clocks description - prefixed '#' for address and size cells Changes in v6: - None Changes in v5: - Removed timing properties Changes in v4: - none Changes in v3: - none Changes in v2: - modified timing binding info as per onfi timing parameters - add suffix nano second as timing unit - modified the clock names as per the IP spec --- .../bindings/memory-controllers/pl353-smc.txt | 37 ++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt diff --git a/Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt b/Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt new file mode 100644 index 0000000..4e6b27b --- /dev/null +++ b/Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt @@ -0,0 +1,37 @@ +Device tree bindings for ARM PL353 static memory controller + +PL353 static memory controller supports two kinds of memory +interfaces. i.e NAND and SRAM/NOR interfaces. +The actual devices are instantiated from the child nodes of pl353 smc node. + +Required properties: +- compatible : Should be "arm,pl353-smc-r2p1" +- reg : Controller registers map and length. +- clock-names : List of input clock names - "memclk", "aclk" + (See clock bindings for details). +- clocks : Clock specifiers (see clock bindings for details). +- #address-cells : Address cells, must be 1. +- #size-cells : Size cells. Must be 1. + +Child nodes: + For NAND the "arm,pl353-nand-r2p1" and for NOR the "cfi-flash" drivers are +supported as child nodes. + +for nand partition information please refer the below file +Documentation/devicetree/bindings/mtd/partition.txt + +Example: + pl353smcc_0: pl353smcc@e000e000 { + compatible = "arm,pl353-smcc-r2p1" + clock-names = "memclk", "aclk"; + clocks = <&clkc 11>, <&clkc 44>; + reg = <0xe000e000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + nand_0: nand@e1000000 { + compatible = "arm,pl353-nand-r2p1" + reg = <0xe1000000 0x1000000>; + (...) + }; + };