From: Florian Fainelli <florian-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
To: Mark Brown
<broonie-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
Kevin Cernekee <cernekee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Maxime Bizon <mbizon-MmRyKUhfbQ9GWvitb5QawA@public.gmane.org>,
Jonas Gorski
<jonas.gorski-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: [PATCH] spi/bcm63xx: fix multi transfer messages
Date: Mon, 26 Nov 2012 14:20:56 +0100 [thread overview]
Message-ID: <4813771.TBFJ14qpIF@flexo> (raw)
In-Reply-To: <20121115011504.GA7599-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
On Thursday 15 November 2012 10:15:08 Mark Brown wrote:
> On Thu, Nov 15, 2012 at 12:33:31AM +0100, Jonas Gorski wrote:
> > On 15 November 2012 00:17, Mark Brown
>
> > > This is only going to work around a relatively small subset of cases so
> > > it doesn't seem worth rushing in. The normal fix for such issues is to
> > > control /CS as a GPIO.
>
> > Well, one of the "small" subsets is SPI attached flash, those need
> > write then read or write then write with CS asserted for most
> > operations, too. And I'm not sure if controlling CS as a GPIO is an
>
> This is the case for essentially all devices with registers too. If it
> were always fixing the issue (eg, by allocating a buffer if the one
> supplied isn't suitable) that'd be fine but instead it's going to work
> some but not all of the time which seems non-ideal
Devices that we care about on bcm63xx, which are connected to these built-in
chip-selects are:
- SPI flashes
- SPI Ethernet switches (register based)
- SPI SLIC/SLAC (register based as well)
I assume any hardware design which needs specific CS treatment would wire it
to a spare GPIO to fully control its assertion.
Would you accept this patch provided that Jonas updates his commit log with
this description of devices we support?
--
Florian
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
next prev parent reply other threads:[~2012-11-26 13:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-14 22:22 [PATCH] spi/bcm63xx: fix multi transfer messages Jonas Gorski
[not found] ` <20121114231650.GC4536@opensource.wolfsonmicro.com>
[not found] ` <20121114231650.GC4536-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
2012-11-14 23:33 ` Jonas Gorski
[not found] ` <20121115011504.GA7599@opensource.wolfsonmicro.com>
[not found] ` <20121115011504.GA7599-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
2012-11-26 13:20 ` Florian Fainelli [this message]
[not found] ` <20121126141005.GJ9411@opensource.wolfsonmicro.com>
[not found] ` <20121126141005.GJ9411-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
2012-11-26 14:48 ` Jonas Gorski
[not found] ` <20121126150344.GN9411@opensource.wolfsonmicro.com>
[not found] ` <20121126150344.GN9411-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
2012-11-26 15:23 ` Jonas Gorski
[not found] ` <20121126153321.GO9411@opensource.wolfsonmicro.com>
[not found] ` <20121126153321.GO9411-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
2012-11-27 20:41 ` Florian Fainelli
[not found] ` <20121128092628.GI32691@opensource.wolfsonmicro.com>
[not found] ` <20121128092628.GI32691-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
2012-11-28 9:29 ` Florian Fainelli
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=4813771.TBFJ14qpIF@flexo \
--to=florian-p3rkhjxn3npafugrpc6u6w@public.gmane.org \
--cc=broonie-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org \
--cc=cernekee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=jonas.gorski-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=mbizon-MmRyKUhfbQ9GWvitb5QawA@public.gmane.org \
--cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/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: link
Be 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.