Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752112AbbGOO2U (ORCPT ); Wed, 15 Jul 2015 10:28:20 -0400 Received: from mail-bn1on0087.outbound.protection.outlook.com ([157.56.110.87]:50880 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751468AbbGOO2S convert rfc822-to-8bit (ORCPT ); Wed, 15 Jul 2015 10:28:18 -0400 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; lists.infradead.org; dkim=none (message not signed) header.d=none; From: Ranjit Abhimanyu Waghmode To: Mark Brown CC: Michal Simek , Soren Brinkmann , "dwmw2@infradead.org" , "computersforpeace@gmail.com" , "zajec5@gmail.com" , "marex@denx.de" , "shijie.huang@intel.com" , "juhosg@openwrt.org" , "ben@decadent.org.uk" , "linux-mtd@lists.infradead.org" , "linux-spi@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Harini Katakam , "Punnaiah Choudary Kalluri" , "ran27jit@gmail.com" Subject: RE: [RFC PATCH 0/2] spi: add dual parallel & stacked mode support in Zynq MPSoC GQSPI controller Thread-Topic: [RFC PATCH 0/2] spi: add dual parallel & stacked mode support in Zynq MPSoC GQSPI controller Thread-Index: AQHQukU049LhNwab9kGRuWMzGe3Kwp3arNKAgAHtGCA= Date: Wed, 15 Jul 2015 14:12:54 +0000 Message-ID: <7CFCFE83B8145347A1D424EC939F1C3CA7E53D@XAP-PVEXMBX01.xlnx.xilinx.com> References: <1436445895-25504-1-git-send-email-ranjit.waghmode@xilinx.com> <20150714164005.GE11162@sirena.org.uk> In-Reply-To: <20150714164005.GE11162@sirena.org.uk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.23.97.32] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-21678.006 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD054;1:fxBS3BCEVFUjtViam9JmDA94iHwgZt3d/LurAtY4GWgRGxMd5srmJ3fqP730bP+Jh9m2oQDYMNtDqLgpC7BTOUHjvVqLnA4otgPBxmrCO7EewqDyISsXPx9lOiZZ05EpAR5bUfP86MCHdh2+5HLaOCQoJpIydW3DobpulBFYiSfEBXmpr0rOjV4UB99A/ORY59j1ylMd7AOeCMi0fExuLPdyrXXx3y8sLc/N3QBRPaEH+RyvSGdRIpvpiHjlOWbaOBzhGSJjIR2CDaxNeTKUOYvHu4XaNk1vtgtbGqtOSVXQkJ71xXMIkhPMQuXM49jeXxeagvSaM3wyc8a6CEKjCldro9BOVVwC2IwcaBME34jGQg/hyVLKXx7LHlT9d6U7UGthE5IjAHdmPZGIyPX1v4DqKTwQZgzpHXfL3zCeEDp9gSlFgCYYf12H7/cU1GVj X-Forefront-Antispam-Report: CIP:149.199.60.100;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(438002)(199003)(189002)(106116001)(46102003)(46406003)(189998001)(92566002)(106466001)(2900100001)(2950100001)(2920100001)(102836002)(6806004)(2656002)(97756001)(5003600100002)(87936001)(50986999)(54356999)(76176999)(33656002)(5001920100001)(23726002)(110136002)(5001960100002)(55846006)(86362001)(63266004)(47776003)(77156002)(62966003)(50466002)(107986001)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN1AFFO11HUB009;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;MLV:sfv;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11HUB009;2:LXov6ppMZfjKxPEmt/P2C5qQayiJgjmfrGmHHefg/8IV+TGPiyB3Tf2CnRnY2Vgv;3:fZ0DcmTkEpN0l9lgLrHp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8P+UrL5DT6MZGAg3sxXjyR;4:FvOsj3R4kBi8yRctDcJRgeI1sVJNrg/ux4mcZkCm8iQEKOSmCj+e4CeXmfo0867g7BDl6KGIOnBS+VAos4bV3phkAFLJBm3BjB5a2MsmfwxzjOmLgu2f7Gs2T19MtRiw2NntbCIT1UjOp4nGLnlQXaGQ0tvc5z/N05nFeDO/Fp/a7oabnxMdzGWAf8ycj4v/AuTYxG6LP8xYZ+9RlsQADXYctZCqHt7nw2BzJfRyV08d7ijB9whZ8dXeMx5pzovuTD+zxwEdeHUcVI520pcyF3Tw/upIKUuxrPeM8K3QAKM= BN1AFFO11HUB009: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:BN1AFFO11HUB009;BCL:0;PCL:0;RULEID:;SRVR:BN1AFFO11HUB009; X-Forefront-PRVS: 0638FD5066 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN1AFFO11HUB009;23:WIFrihwp/vqgrO6xZ2fQxIsX5KnIpKxIjOgdaJE?= =?us-ascii?Q?38IExk2A+vGnwN27Jlgp0ynIG27c2QCrGBPx8cgcxwKs1Jag1wYaG0nny58p?= =?us-ascii?Q?o62H55Bfu26sJH25mOm4/RLu3ZIslWDrS3o3ocBRHBpzOGeoE8swCMFUXlGf?= =?us-ascii?Q?3XSuesTzLmLSrSCAMcjsq5lhOLLM68KTGI9FUFqRpn0lFaZNPyEyEKUc4kL/?= =?us-ascii?Q?Xc4ZZgxTXk4mPWPmaQkWwJeV/QB5TQ8B/qJQQvP2zwpcvtF0V2iPT7BA88/8?= =?us-ascii?Q?y0zEHBd+tXuWc+QVDRhXOQXtW68yKd3Ist62y0+KkGByzn7sXPs5bvcFjf1U?= =?us-ascii?Q?WKu9pQRhI/Lav+Jj7yOgDp0YVD6TXdGUmRmOiNnTKM2EI1eWz/dn2VDrELf5?= =?us-ascii?Q?uxkUvM9+47l0iMej0bi0B8ASFP9CYhlfNaBBrCwYm8TOYsB+mN6tXrkxg51L?= =?us-ascii?Q?ngt4BTdmMixPW6kJ7Ul5Z6H6hMtAYClKbZ1bshpfTRI4YWv0VohNhbp/DVkV?= =?us-ascii?Q?U2rzNZdJsH/lvZCTJ9q3ziPBA6zhUthGFU+Wfks+ofkPGyrm0ju049SQMOkD?= =?us-ascii?Q?C633rx+Mp0ZTdOFmcSrvYsK/OutZEJzK8niY45Ju67ovgQ5gSCHs5elaO7pO?= =?us-ascii?Q?kD3AleYde35AjQIiZtUwPO5qsh7MO1wTePCyhoSKugC7G9499U1CknGeSQyk?= =?us-ascii?Q?+EPdfrpcTFbYec2vcXxGYY2635iwrU6vsYjm0TDQ41yiyAUA1lMVffDD/wWs?= =?us-ascii?Q?HH6+BS2mPyfCK6q0XC9v2cEzAaJEHpSjYroEos4lqa7nrlxjBbgvlIKoDH/5?= =?us-ascii?Q?TGq2QEjMrIQM2PB96bko5Pcsck8m7wyksEHJQua8N3ZYBrxu9Jbo4oLKb01I?= =?us-ascii?Q?WD2vLUwv0eI5c5uEHbVwwjfU9D1ZfRlaviudGJr3hD7O0222YOqF/n/cTLEZ?= =?us-ascii?Q?ugYjE/iTBrVKlAxt1J6luiOoEd6u0ItlshaGje5vXtQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11HUB009;5:QIOg15d/A12nOZdaOfk7YiUkrOzOo6FwLjhce846C6rDF7tgCmLU0r70LgRJpkGhZMcNTwHBUai5LIoBJ76xSmodceTw9n9K3N4fl3x3YipssT3vj9EHUC2HOE5JojAuSOxnavumj6eida1RK0dNYA==;24:5UeG1GaRzeDVUH/ghwHEtqqCOWzgfC+89mvGUzQrR4zaagoJNpGjkOBp076AESbOafFJ1D3ENwrULbRloLs+gUX0ls0llPQR7uBKLu44dlM=;25:uI0pcRUACjYTxARMawAOrz4DDZ/TNUyXN7z0To0vqkQ81xW7VEmLufLUuiaBj6hreau/NmOiS9Ys7dD/hPOnxOU4MEGPmXuFHSL9qYwFDMLjHPnQimLl4ETKB0Ng6pafkuM7FVaxYV/oNgq6bx7dHMgN8pCP90PirQ9yX7eniU7qqJO4HtftEtFWD74tVT4vTBZD/XYFC1zV5h8lRl9iwmnkqx06zqxBpP4k/Zg91HVA6a4xjm8jVDYSc9BF6MKe;20:EYBrnzrKIviaTEWbrwAayqPaqLE1GVldtkzWT0smZZeXEb9kg2W5T57m1nrN8YsTDFCId0vNFbfyE8D0sclOSA==;23:KtJ/onhMUi8703jvGDBa8rB/gPO+R3LZlABm4iUX8Z0uCI0cXDtpGsrs4ypN+tYGgvxWiIrB04reKjKwJPXepr1tRnJPaPs3IHAfFD3bPdAAc5e5ZXE5ejAPco42sjdZFRw9HIlD6+JPO8MRwA8cWUdd9NCFTeT5fTXyNKVUjBmpmmVVCmb9RBy69ro1fTesgLHFcgjHAq3u+Uf6uQbxQYbHv0sPrbZJkqbCvgyp/RiKZ+5pHy36JS9mj218xutz X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jul 2015 14:12:58.5491 (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: BN1AFFO11HUB009 BN1AFFO11HUB009: X-MS-Exchange-Organization-RulesExecuted X-OriginatorOrg: xilinx.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1660 Lines: 40 Hi Mark, > > What is dual parallel mode? > > --------------------------- > > ZynqMP GQSPI controller supports Dual Parallel mode with following > functionalities: > > 1) Supporting two SPI flash memories operating in parallel. 8 I/O lines. > > 2) Chip selects and clock are shared to both the flash devices > > 3) This mode is targeted for faster read/write speed and also doubles the size > > 4) Commands/data can be transmitted/received from both the devices(mirror), > > or only upper or only lower flash memory devices. > > 5) Data arrangement: > > With stripe enabled, > > Even bytes i.e. 0, 2, 4,... are transmitted on Lower Data Bus > > Odd bytes i.e. 1, 3, 5,.. are transmitted on Upper Data Bus. > > For the SPI code this just seems like SPI with an 8 bit data width. > > > What is stacked mode? > > --------------------- > > ZynqMP GQSPI controller supports stacked mode with following > functionalities: > > 1) The Generic Quad-SPI controller also supports two SPI flash memories > > in a shared bus arrangement to reduce IO pin count. > > 2) Separate chip select lines > > 3) Shared I/O lines > > 4) This mode is targeted for increasing the flash memory and no performance > > improvement when compared with single. > > This is just a normal SPI controller from a SPI point of view. How can we really represent the stacked mode in current configuration? Thanks & Regards, Ranjit -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/