Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753725AbcK0ItP (ORCPT ); Sun, 27 Nov 2016 03:49:15 -0500 Received: from mail-dm3nam03on0068.outbound.protection.outlook.com ([104.47.41.68]:39936 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753626AbcK0ItF (ORCPT ); Sun, 27 Nov 2016 03:49:05 -0500 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;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; X-IncomingTopHeaderMarker: OriginalChecksum:;UpperCasedChecksum:;SizeAsReceived:1660;Count:16 From: Naga Sureshkumar Relli To: , , , , CC: , , , Subject: [LINUX RFC v4 0/4] Add stripe support for ZynqMP SoC GQSPI controller Date: Sun, 27 Nov 2016 14:03:18 +0530 Message-ID: <1480235598-33827-1-git-send-email-nagasure@xilinx.com> X-Mailer: git-send-email 2.1.1 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-22724.006 X-TM-AS-User-Approved-Sender: Yes;Yes X-IncomingHeaderCount: 16 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.100;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(209900001)(189002)(199003)(90966002)(103686003)(48376002)(39380400001)(39400400001)(39410400001)(81156014)(81166006)(38730400001)(8676002)(2201001)(36756003)(50466002)(47776003)(50986999)(42186005)(626004)(63266004)(8936002)(92566002)(5660300001)(50226002)(189998001)(6862003)(15395725005)(305945005)(46386002)(45336002)(5003940100001)(7846002)(6636002)(5001770100001)(356003)(39450400002)(52956003)(33646002)(36386004)(2906002)(106466001)(4326007)(107986001)(5001870100001)(217873001)(6606295002);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR02MB1112;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;CY1NAM02FT053;1:SSswkyGTbnGcqHl4gmWVT00R6EAOBAkkmZ6jhSZklDLEXBSNiB8tl1E78shpPRflmk2Rbv8zHySHwjZCxCEFpGqTobI0pGi4BlcIhmxjKZJxIEo1ILeEAGHU8XdnZOPI7nVd/BJgikk4ZfNK89elqeWllc07BkiGksOj3YolWwmeFkpa9uEcIuPXQmQuCmqVXq/dXw3YoYjinBNjzz/md8LjKIcZXWEF7L48rWxwqXFEeyaRGuHWhp/hyWtTKTSbaHWMitMmaYQFm6RXkZ5QtD1NeP71qvTl5ws1XOLcRnvJ2mcZv2zGZn/odqMbeFleMf2LVy30Nf7bMXaYPLDS+eg4k2mnxos/mIwtLeuYGgrqZ0hysHLzNwC5TfPFcIhMYUK5Zr1Z+Sb+L5ONRNE8s7laHgsu+ZyGWRTDasm1QsY5/LgsLjW0Ow2PumasSsEj5vWWGlVaHq1KdBrfqF5ZI/T/hzUlQ2ddfJDZhTGSLwVyYggCFjs1RY4nJKWJFbxlI4cSPW3pnrdMMt9mQaUJxB661hG2Nio04YQwpXaZNMyPMm1YbGLlPyaFW9KfjB5NQE1GnlwXQ19jPNMt+4sGMEFXpqV+yxOn+yt35bKTXPQ= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: f74c41da-dcf1-43a6-9611-08d416a00eca X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(8251501002);SRVR:BN3PR02MB1112; X-Microsoft-Exchange-Diagnostics: 1;BN3PR02MB1112;3:OuzSUFG82dYF2j92WzW/xdDqt11ErhxrJeo2fXyCTDgroj6J+dvGpOTNMFmbGI88HlKvv6waGg7hTXBgxAk0+H2f6LLtpSFxPRG7Ake10Tyxj2A/ESR1FKlbs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EUMwdMD8gycGSNNbN70YzgII52rMIpoWch5xAP6pLwZNnu37U2E+Mgu/I2pVPRii4A7FZz4KypnpbQdLLLcGca72H/+AxW0Tfnre40X7XnUJ5LZpcxOmk8JdZfvnLTniF3Iwk+UV0ncGVNnI40vXjP3Dznx8wyhBw== X-Microsoft-Exchange-Diagnostics: 1;BN3PR02MB1112;31:FcfI3tuUOynUiTbqlD7K2IwBz0J/0iyb1mht0tN0Kb8KQFUj9xpeMHcTYNmgsfI+apz/+AzxtakUDr8chP0hytdxf1jhuitQow05VsNe1TUdjVlm9WQyWdVINAWe0+oqPvHDZ8NbQWRr13Il5DP4FkOv7TjzTKo1bA3trJBxGtSX0ugmbFcwq+QLeGA0HZEZQLE8lVJRXgGUL0oSAwS+YwC0Yr+VLd7o6v4/0DBJXqkzrDtDhVAD//gLovbEY/vfEsRiH/h+2INWoxV99tDEo7dquCqETIN5fPbE7VuAb8U=;20:kVHV5/jKOGFNtAslQobrd3RBMB7+NZ9blKCQkPGaShPkwE5P5gveB7EsZ6bcPJr9aWKk4nuuWtb2awnPbgddfAoanVQXH67/s0HXbxXh3MQiJC1yFcTQlmon+6WaG/ZqWKenq6QLbsKggwmjhJGo0mgS/rHvDjYoqoV9NtpO5fbUxvqeZnAWkrqbPe75S8LHkg8pJybNJyxVtlh8CAc1vv3zFYxqi8Y9v03J2Fd8jRhZGg8fBcLj7gvVUXly/ZZpj13pvmlsC5fg/TLipyTdSiqUSN9F3lhII6sIUyUc85E85FX23BfFlvd2VeO7EH5CuHf2e4Okyo+/eSC17R8QRkSQwFcmGXa8GiFX8fs1UrVHjJAbOCZk5O4MVnuBoN2KAlGPFhBLOPh8w3V0wHtLFqOaRVu55tuzIQ65pp9nETACmbVvYGcH9EqL22ZzKsaiZkmONtfG2CkoVLknaU9f/XwvtYvy5HfYFcLO/s9tMPEL2TAVtWiqVerMEOMf+ZbY X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6060326)(6040361)(6045199)(601004)(2401047)(13015025)(13017025)(13023025)(13024025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(6061324)(20161123560025)(20161123555025)(20161123564025)(20161123562025)(6072148);SRVR:BN3PR02MB1112;BCL:0;PCL:0;RULEID:;SRVR:BN3PR02MB1112; X-Microsoft-Exchange-Diagnostics: 1;BN3PR02MB1112;4:zUuL+W/3dZuQN9xS/JmhT4afR9Bd3gZxztIb2tYi6STPpMLkzwOJUsFwz154AhgsUlInZkZbpstvye5qhMmWBycEXeemtDtg/9X/KD/fRuwBVY/GJGYRrmozrnVJsAZa4T3Nu91SxESgNYzVUxgzHjQP92NZmdGauElSHhjafMS4aNy4kFbeUPlfXdxRIoV/mUxWzx58VHdHghQnKrUdQZSMdKl8dGZbTSWle7QIsmEmKD5zMVegRs9CLm6HNZf9fBuLrQK7PAjaKX0JUFVG00+uaNK2p+OX6yHd8L48w1cJq7lWHfOm3gA+4UChIygNc5NEPxW4G2IdD2dYFkKlvPYpSddDcepo5ESODy3lgTMwNVY9SgcRDJwhTqC+RCvAECeqn2meCJ1vycq/vn3qVZDi4kg0ISqjWxd1qXo7EiaRIjr7XF2dMpLu1Rh21edFgr5yspfTamNhT2FlmShjd8AghFdcTeL59xArPmkRSUkbyraNhZaWTbUdgvnp39DFdqoqH+e7qlupzumg+0g9mLtfq8m2BPmL9v1NuzFGOQbfD4loLyoX3zP/rhqjTOYrRGv+5n0Laa6NAUxtH+Lmsl4/xFHMoh5xvZxtPdgsAih/QOVk/5KGYGQcAHSS/NWvPw6qQm5zn8dcwU8Kh9Mt23iWEQwBYSFuFG/QrCNeQNXOo13pz7TvojEjV8VKDWyuI4VzXp6G9E4fxdgb3Fl2kR9bQKw7N+dwOPtfrcdZS9M= X-Forefront-PRVS: 0139052FDB X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN3PR02MB1112;23:GxRrQ9XRchDt+dodxwNIZErWi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zdWyOZXQzXCODw5wZcFoAe2sovneaclbqsPcVrz4ElpQJvYPxmA9WlnxVLqikE3HNW1NX7CzO9FKHTG2FMnCw==;24:RlGb+teCfBDZF1yHf4GMs1NSKHQ56V8DBJ4UjDESx8HGGgOruY0eafAPN2r2/POnMYRZdYaQZTTXoNO7lm/WjiLujK4fDkQqiQcEr6xDfZk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN3PR02MB1112;7:iEj76wCHMa/vnhnq8cV5v8aik690niujJANIB6RZ2wMpTePZx8aI9fzm/x72GB79p3AIrP3rwOmIdOCEiqjhM1dbIQYV6FL9ZJrq+XmQw4PKzvnY6xctBB+/BcFOACdTzjeJcdRMj185GyHJFnNjeNat93jzsUuRXIrVlvF4qiBo/9kILNP952VVwtxKqB56EAo6ufGvgsxMStCw/xgytAAVbDVXj6vaFEnn8Oq2UPzkisg7wzGqxIlPBquyQI888fHwDq4VKn0jX3d7KnF2MJdIgHmxiba9oZqlQioGQfdjJUMwXIZcXUzWcrBsjKg7gEc5AnCxElN80BoZ2Y3pHkhlJ76ef+HkfJ0hkajsABtOBTIDOQ1MGOYRjj5EGynKahQbBFa6vP0eXIC7Ya2p84/7lU2QCwUzgZps4sOb0LwLk7Hj5/AKJomRzdUqHjPa+1twyzWOKRQx52w4MkvLOg== X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Nov 2016 08:33:26.1224 (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: BN3PR02MB1112 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1588 Lines: 37 This patch series is continuation to previous patches mentioned in below link http://marc.info/?l=linux-spi&m=145009963109143&w=2 i am re-initiating this series, Could you please help us to get this done? 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, data lines and clock are differ 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. i have tested this on top of latest git-hub master. kindly suggest us the way, so that we can proceed further to add this support. Naga Sureshkumar Relli (4): spi: adding support for data stripe feature in core mtd: add spi_device instance to spi_nor struct mtd: spi-nor: add stripe support spi: zynqmp: gqspi: add support for stripe feature drivers/mtd/devices/m25p80.c | 1 + drivers/mtd/spi-nor/spi-nor.c | 130 ++++++++++++++++++++++++++++++++--------- drivers/spi/spi-zynqmp-gqspi.c | 26 ++++++++- drivers/spi/spi.c | 8 +++ include/linux/mtd/spi-nor.h | 3 + include/linux/spi/spi.h | 11 ++++ 6 files changed, 149 insertions(+), 30 deletions(-) -- 2.10.2