From: Ranjit Abhimanyu Waghmode <ranjit.waghmode@xilinx.com> To: Mark Brown <broonie@kernel.org> Cc: Mark Brown <broonie@kernel.org>, Michal Simek <michals@xilinx.com>, Soren Brinkmann <sorenb@xilinx.com>, "zajec5@gmail.com" <zajec5@gmail.com>, "marex@denx.de" <marex@denx.de>, "shijie.huang@intel.com" <shijie.huang@intel.com>, "juhosg@openwrt.org" <juhosg@openwrt.org>, "ben@decadent.org.uk" <ben@decadent.org.uk>, "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>, "linux-spi@vger.kernel.org" <linux-spi@vger.kernel.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Harini Katakam <harinik@xilinx.com>, Punnaiah Choudary Kalluri <punnaia@xilinx.com>, "ran27jit@gmail.com" <ran27jit@gmail.com>, "dwmw2@infradead.org" <dwmw2@infradead.org>, "computersforpeace@gmail.com" <computersforpeace@gmail.com> Subject: RE: [RFC PATCH 0/2] spi: add dual parallel & stacked mode support in Zynq MPSoC GQSPI controller Date: Fri, 24 Jul 2015 10:42:35 +0000 [thread overview] Message-ID: <7CFCFE83B8145347A1D424EC939F1C3CA81D12@XAP-PVEXMBX01.xlnx.xilinx.com> (raw) In-Reply-To: 20150716085739.GT11162@sirena.org.uk Hi Mark, > > > For an example take two flashes connected in stacked mode. > > > For user it doesn't matter whether how many flashes are really connected. > > > There will be situation like, single partition is spread across two > > > flashes > > (partition staring at the end of one flash and continued to the second > > flash). But it has to be shown contiguous to user. > > > In this scenario, I am not clear how MTD layer will handle the case. > > > It would be great if you could just put some light on it. > > > > That's something for the MTD layer or possibly even a layer above it > > to worry about - this situation is the same as we have with disks > > where we have md which combines other devices, if something similar is > > needed for flash we should use a similar pattern. To support the dual parallel mode in this controller, following minor things can be added to the driver. 1) Controller needs to know in which mode it is working, then it's obvious to set the appropriate flag for the same 2) There are more than one chip selects, so need to set the same And for supporting the same dual parallel mode, MTD layer may need to update for: 1) Adding TWO_FLASH support 2) Adding DATA_STRIPE support 3) For reading array size needs to be doubled. 4) Need to access even addresses. Basically address/2. So kindly suggest your view on the above request. Regards, Ranjit > > Kindly help in understanding, how can we represent the stacked mode and > parallel mode changes in MTD layer? > > Thanks & Regards, > Ranjit
WARNING: multiple messages have this Message-ID (diff)
From: ranjit.waghmode@xilinx.com (Ranjit Abhimanyu Waghmode) To: linux-arm-kernel@lists.infradead.org Subject: [RFC PATCH 0/2] spi: add dual parallel & stacked mode support in Zynq MPSoC GQSPI controller Date: Fri, 24 Jul 2015 10:42:35 +0000 [thread overview] Message-ID: <7CFCFE83B8145347A1D424EC939F1C3CA81D12@XAP-PVEXMBX01.xlnx.xilinx.com> (raw) In-Reply-To: 20150716085739.GT11162@sirena.org.uk Hi Mark, > > > For an example take two flashes connected in stacked mode. > > > For user it doesn't matter whether how many flashes are really connected. > > > There will be situation like, single partition is spread across two > > > flashes > > (partition staring at the end of one flash and continued to the second > > flash). But it has to be shown contiguous to user. > > > In this scenario, I am not clear how MTD layer will handle the case. > > > It would be great if you could just put some light on it. > > > > That's something for the MTD layer or possibly even a layer above it > > to worry about - this situation is the same as we have with disks > > where we have md which combines other devices, if something similar is > > needed for flash we should use a similar pattern. To support the dual parallel mode in this controller, following minor things can be added to the driver. 1) Controller needs to know in which mode it is working, then it's obvious to set the appropriate flag for the same 2) There are more than one chip selects, so need to set the same And for supporting the same dual parallel mode, MTD layer may need to update for: 1) Adding TWO_FLASH support 2) Adding DATA_STRIPE support 3) For reading array size needs to be doubled. 4) Need to access even addresses. Basically address/2. So kindly suggest your view on the above request. Regards, Ranjit > > Kindly help in understanding, how can we represent the stacked mode and > parallel mode changes in MTD layer? > > Thanks & Regards, > Ranjit
next prev parent reply other threads:[~2015-07-24 10:42 UTC|newest] Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-07-09 12:44 [RFC PATCH 0/2] spi: add dual parallel & stacked mode support in Zynq MPSoC GQSPI controller Ranjit Waghmode 2015-07-09 12:44 ` Ranjit Waghmode 2015-07-09 12:44 ` Ranjit Waghmode 2015-07-09 12:44 ` [RFC PATCH 1/2] spi: zynqmp: gqspi: add support for dual parallel mode configuration Ranjit Waghmode 2015-07-09 12:44 ` Ranjit Waghmode 2015-07-09 12:44 ` Ranjit Waghmode 2015-07-14 16:26 ` Mark Brown 2015-07-14 16:26 ` Mark Brown 2015-07-14 16:26 ` Mark Brown 2015-07-09 12:44 ` [RFC PATCH 2/2] spi: zynqmp: gqspi: add support for stacked " Ranjit Waghmode 2015-07-09 12:44 ` Ranjit Waghmode 2015-07-09 12:44 ` Ranjit Waghmode 2015-07-14 16:28 ` Mark Brown 2015-07-14 16:28 ` Mark Brown 2015-07-14 16:28 ` Mark Brown 2015-07-10 8:28 ` [RFC PATCH 0/2] spi: add dual parallel & stacked mode support in Zynq MPSoC GQSPI controller Mike Looijmans 2015-07-10 8:28 ` Mike Looijmans 2015-07-13 14:59 ` Mark Brown 2015-07-13 14:59 ` Mark Brown 2015-07-13 14:59 ` Mark Brown 2015-07-13 10:04 ` Thomas.Betker 2015-07-13 10:04 ` Thomas.Betker 2015-07-13 10:04 ` Thomas.Betker at rohde-schwarz.com 2015-07-14 4:24 ` Harini Katakam 2015-07-14 4:24 ` Harini Katakam 2015-07-14 4:24 ` Harini Katakam 2015-07-14 16:40 ` Mark Brown 2015-07-14 16:40 ` Mark Brown 2015-07-14 16:40 ` Mark Brown 2015-07-15 14:12 ` Ranjit Abhimanyu Waghmode 2015-07-15 14:12 ` Ranjit Abhimanyu Waghmode 2015-07-15 14:12 ` Ranjit Abhimanyu Waghmode 2015-07-15 16:01 ` Mark Brown 2015-07-15 16:01 ` Mark Brown 2015-07-15 16:01 ` Mark Brown 2015-07-16 7:27 ` Ranjit Abhimanyu Waghmode 2015-07-16 7:27 ` Ranjit Abhimanyu Waghmode 2015-07-16 7:27 ` Ranjit Abhimanyu Waghmode 2015-07-16 8:57 ` Mark Brown 2015-07-16 8:57 ` Mark Brown 2015-07-17 12:03 ` Ranjit Abhimanyu Waghmode 2015-07-17 12:03 ` Ranjit Abhimanyu Waghmode 2015-07-17 12:03 ` Ranjit Abhimanyu Waghmode 2015-07-24 10:42 ` Ranjit Abhimanyu Waghmode [this message] 2015-07-24 10:42 ` Ranjit Abhimanyu Waghmode 2015-07-24 10:52 ` Mark Brown 2015-07-24 10:52 ` Mark Brown 2015-07-27 13:55 ` Ranjit Abhimanyu Waghmode 2015-07-27 13:55 ` Ranjit Abhimanyu Waghmode 2015-07-27 13:55 ` Ranjit Abhimanyu Waghmode 2015-07-27 14:23 ` Mark Brown 2015-07-27 14:23 ` Mark Brown 2015-07-27 14:23 ` Mark Brown
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=7CFCFE83B8145347A1D424EC939F1C3CA81D12@XAP-PVEXMBX01.xlnx.xilinx.com \ --to=ranjit.waghmode@xilinx.com \ --cc=ben@decadent.org.uk \ --cc=broonie@kernel.org \ --cc=computersforpeace@gmail.com \ --cc=dwmw2@infradead.org \ --cc=harinik@xilinx.com \ --cc=juhosg@openwrt.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mtd@lists.infradead.org \ --cc=linux-spi@vger.kernel.org \ --cc=marex@denx.de \ --cc=michals@xilinx.com \ --cc=punnaia@xilinx.com \ --cc=ran27jit@gmail.com \ --cc=shijie.huang@intel.com \ --cc=sorenb@xilinx.com \ --cc=zajec5@gmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.