Received: by 10.213.65.68 with SMTP id h4csp902211imn; Wed, 14 Mar 2018 03:46:59 -0700 (PDT) X-Google-Smtp-Source: AG47ELt6B/S61D96Va0yaaI6ChNnv2bmsdSJla+9beO3+xEqHP1BzWzaAOgxfdNkA6jadXOEVUhU X-Received: by 2002:a17:902:2a43:: with SMTP id i61-v6mr3674548plb.54.1521024418958; Wed, 14 Mar 2018 03:46:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521024418; cv=none; d=google.com; s=arc-20160816; b=ZiZs/ZWhAKHeaCalabvCv3BDEGP+UZ28S/6bkPc0NZxfRG7iLSG20Intxyu4dr/N4E xk6XcDbYcPLwDWG1ndLkyuR35sODKV47iy5V+pONGFQ6ks8/7NjtHscQ3QdQhG1xsh5T b2Ko2c5TQsCKjpGxRZOchFIPk92cPU3I4Ox1/eWOuoxAeya0BPPc8+bGS4nQxLd3um8Y LXHnTTHGlLtRyr2xSKK4zzgwPXz7KThqThLEg6lXQUL8q6E8v6y/IVl1ywJXkChMHckd bPZCTnDrgH+hL4IE5fPwYEySbAFaWO9knA5vFVUDPa7qCGmReTZP/JTmX5bEOJPxn5q3 RiTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:message-id:date:subject:cc:to :from:arc-authentication-results; bh=OcqeEWw6UE3M4uMJfbclAULp5iQYr/E7I2I+jQS6rvU=; b=uVsnmlu6BLSV6sD5ccr5z2kiYhZRv7s6ZnprPGHE2EdUX/QndTtPR1ELAmE74b06Ao 0hiCOFG91Swg4vQbYoMeD46TVjH6vblkbPnkCNUvY/hZUmhz/BKdrwiO+U9N/lTlr8k+ YXQxyexWuZun10o30NgoMGOg2CrSJ1ERXdibh9xY5C55aric5rXIqk/fLbaHDItgYZJ5 7JRWibbBNJECSM2Hht/x+ClALRndim3Xm+753FAknSI3I5F2b1VCM/XVoHeSKyRMFUbU zckOIr7B6DPFg1MxNG35BLRXDaN8E28IG/RoTIAsqkyTeBSo1Xb/5d1YOExPfSrypXAf M6zA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z7si1635897pgp.660.2018.03.14.03.46.34; Wed, 14 Mar 2018 03:46:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751449AbeCNKpX (ORCPT + 99 others); Wed, 14 Mar 2018 06:45:23 -0400 Received: from mail-sn1nam02on0041.outbound.protection.outlook.com ([104.47.36.41]:55830 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750855AbeCNKpV (ORCPT ); Wed, 14 Mar 2018 06:45:21 -0400 Received: from SN4PR0201CA0006.namprd02.prod.outlook.com (2603:10b6:803:2b::16) by BLUPR02MB327.namprd02.prod.outlook.com (2a01:111:e400:883::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.588.14; Wed, 14 Mar 2018 10:45:19 +0000 Received: from CY1NAM02FT003.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::207) by SN4PR0201CA0006.outlook.office365.com (2603:10b6:803:2b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.588.14 via Frontend Transport; Wed, 14 Mar 2018 10:45:19 +0000 Authentication-Results: spf=softfail (sender IP is 149.199.60.100) smtp.mailfrom=gmail.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=fail action=none header.from=gmail.com; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning gmail.com discourages use of 149.199.60.100 as permitted sender) Received: from xsj-pvapsmtpgw02 (149.199.60.100) by CY1NAM02FT003.mail.protection.outlook.com (10.152.74.151) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.567.18 via Frontend Transport; Wed, 14 Mar 2018 10:45:18 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:36273 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1ew3uI-0003Ln-4S; Wed, 14 Mar 2018 03:45:18 -0700 Received: from [127.0.0.1] (helo=xsj-smtp-dlp2.xlnx.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1ew3uC-0005ku-RS; Wed, 14 Mar 2018 03:45:12 -0700 Received: from xsj-pvapsmtp01 (maildrop.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id w2EAjBba023912; Wed, 14 Mar 2018 03:45:11 -0700 Received: from [172.23.37.108] (helo=xhdnagasure40.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1ew3u7-0005dp-Ld; Wed, 14 Mar 2018 03:45:08 -0700 From: To: , , , , , , CC: , Naga Sureshkumar Relli Subject: [LINUX PATCH v8 1/2] Devicetree: Add pl353 smc controller devicetree binding information Date: Wed, 14 Mar 2018 16:14:16 +0530 Message-ID: <1521024256-30423-1-git-send-email-nagasureshkumarrelli@gmail.com> X-Mailer: git-send-email 2.7.4 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-Result: No--11.053-7.0-31-1 X-imss-scan-details: No--11.053-7.0-31-1;No--11.053-5.0-31-1 X-TM-AS-User-Approved-Sender: No;No X-TM-AS-Result-Xfilter: Match text exemption rules:No X-EOPAttributedMessage: 0 X-Matching-Connectors: 131654979189218303;(f9e945fa-a09a-4caa-7158-08d2eb1d8c44);() X-Forefront-Antispam-Report: CIP:149.199.60.100;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(39860400002)(376002)(39380400002)(396003)(346002)(2980300002)(189003)(199004)(82202002)(86152003)(73392003)(106466001)(76482006)(87572001)(81166006)(81156014)(55446002)(316002)(63266004)(83322999)(51416003)(4326008)(8936002)(54906003)(110136005)(16586007)(8676002)(6666003)(336012)(50226002)(107886003)(36756003)(48376002)(86362001)(2876002)(9786002)(2201001)(77096007)(50466002)(26005)(2906002)(498600001)(5660300001)(105596002)(305945005)(61266001)(47776003)(356003)(73972006)(107986001)(5001870100001)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR02MB327;H:xsj-pvapsmtpgw02;FPR:;SPF:SoftFail;PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;CY1NAM02FT003;1:dZvn6YOo9hYaJAGKktMC9lbVbEC0LnRLy/J0QdXeP4glcxIcd88/YPfNloUPPtx5Divo4p+cPH2BX0NQjRKylgNKzTLP+sx/LCavSi7tXLVB6NjYMFZbHjEst6lWxWrH MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 514798b0-1ad7-4ec6-9283-08d58998ade9 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(5600026)(4604075)(2017052603328);SRVR:BLUPR02MB327; X-Microsoft-Exchange-Diagn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nMCzsv1QD/4KcfSsNjNH8uMU7LEHcMAooBBhZwPMwHDIvQsaEla/m8BMNXSv2KrGX+uChjh2Fy1+5UvRzEYsxrpkGw2n0RMs5E8PnZGg+0wTxKfX1y/0hAp2zAhRLh5hsiRzfINlKDq6Ai0jKk6JPkT7nES/eZ1nn9C6t7/Xtzp/ndzf9CoptQ+fj14ueakSQUX2Bhjt4S699lg3BNPO8Hmui1Uaa5O9FG2trdRIUcmU6pLQgrL8t8b/zc75D+2e35ZAbER1Zev2fEzThZ9QGzQLyXV X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6095135)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231221)(944501244)(52105095)(93006095)(93001095)(6055026)(6096035)(201703131430075)(201703131448075)(201703131433075)(201703151042153)(20161123559100)(20161123563025)(20161123561025)(20161123565025)(20161123556025)(201708071742011);SRVR:BLUPR02MB327;BCL:0;PCL:0;RULEID:(400006);SRVR:BLUPR02MB327; X-Forefront-PRVS: 0611A21987 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR02MB327;23:yEx9VaISMPvwlS7Mj6BExkouKoUBGhsQcNcfP3LDNl?= =?us-ascii?Q?yCmJGUIzR3HxWUOn9iIT8eNObVUi+8zUd0pBS9dxux4L6XY5RthqqrxLD+ei?= =?us-ascii?Q?ofBvPYP5+4IjRlf/0GGumU4/HR5dAHATWTtH4VI9Msky96Es6H54N4tHsWJ+?= =?us-ascii?Q?fMOEBfPo22qB0iYYNCB+c45LqQMUiRGm/tRruxXi8TXepTQqKuTjzWcJb76C?= =?us-ascii?Q?Apj7eCH+QYUlEkPKl437QyOR+MPVqVgDoRbLWRo1I0UcC8aXpxQ57j3Wyn6n?= =?us-ascii?Q?fKkwCPSPSphaoyKgBrB69WvI59R7CV6nqLQIZNhgiq36OCPHT8YqcTMYQpJ7?= =?us-ascii?Q?0buu3Gt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7fZv7OAKu5B1OTLYxc7+aUDICrQfjc0a/L9xYtUB9D+5RqZW SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2018 10:45:18.6561 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 514798b0-1ad7-4ec6-9283-08d58998ade9 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[149.199.60.100];Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR02MB327 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Naga Sureshkumar Relli Add pl353 static memory controller devicetree binding information. Signed-off-by: Naga Sureshkumar Relli --- Changes in v8: - None 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 | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) 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..551e66b --- /dev/null +++ b/Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt @@ -0,0 +1,53 @@ +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 - "ref_clk", "aper_clk" + (See clock bindings for details). +- clocks : Clock phandles (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. + +Mandatory timing properties for child nodes: +- arm,nand-cycle-t0 : Read cycle time(t_rc). +- arm,nand-cycle-t1 : Write cycle time(t_wc). +- arm,nand-cycle-t2 : re_n assertion delay(t_rea). +- arm,nand-cycle-t3 : we_n de-assertion delay(t_wp). +- arm,nand-cycle-t4 : Status read time(t_clr) +- arm,nand-cycle-t5 : ID read time(t_ar) +- arm,nand-cycle-t6 : busy to re_n(t_rr) + +for nand partition information please refer the below file +Documentation/devicetree/bindings/mtd/partition.txt + +Example: + pl353smcc_0: pl353smcc@e000e000 { + compatible = "arm,pl353-smc-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>; + arm,nand-cycle-t0 = <0x4>; + arm,nand-cycle-t1 = <0x4>; + arm,nand-cycle-t2 = <0x1>; + arm,nand-cycle-t3 = <0x2>; + arm,nand-cycle-t4 = <0x2>; + arm,nand-cycle-t5 = <0x2>; + arm,nand-cycle-t6 = <0x4>; + (...) + }; + }; -- 2.7.4