linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Grant Likely <grant.likely@secretlab.ca>
To: Ben Gamari <bgamari.foss@gmail.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH] mcspi: Add support for GPIO chip select lines
Date: Mon, 14 Mar 2011 20:10:49 -0600	[thread overview]
Message-ID: <20110315021049.GA12819@angua.secretlab.ca> (raw)
In-Reply-To: <87ipvlm91r.fsf@gmail.com>

On Mon, Mar 14, 2011 at 10:06:40PM -0400, Ben Gamari wrote:
> On Mon, 14 Mar 2011 13:27:18 -0600, Grant Likely <grant.likely@secretlab.ca> wrote:
> > What if the board wanted to use both the native SPI ss line as well as
> > one or more GPIOs?  You probably want to reserve cs0 for the native
> > gpio line.
> > 
> Hmm, I had thought about this and assumed it would be easiest to punt on
> this, requiring the user to use the native line as a GPIO. This of
> course assumes that all of the CS lines also have pinmux configurations
> as GPIO pins. Is this not a good assumption? 

As a general principle I would say no since it would mean adding a 2nd
GPIO device will potentially break the first if the infrastructure
isn't in place to handle the first line as a gpio.

g.


  reply	other threads:[~2011-03-15  2:10 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <c0ffcf4415b8edbf55d653a620b92fbbbcd8fed7>
     [not found] ` <1297635034-24504-1-git-send-email-bgamari.foss@gmail.com>
     [not found]   ` <20110302215026.GA22854@angua.secretlab.ca>
     [not found]     ` <87sjv517yd.fsf@gmail.com>
     [not found]       ` <f7a269db-3bcf-4bac-8c38-b363e5c7bd0b@email.android.com>
2011-03-13 19:04         ` GPIO chip select support in McSPI Ben Gamari
2011-03-13 19:05           ` [PATCH] mcspi: Add support for GPIO chip select lines Ben Gamari
2011-03-14 19:27             ` Grant Likely
2011-03-15  2:06               ` Ben Gamari
2011-03-15  2:10                 ` Grant Likely [this message]
2011-03-14 19:25           ` GPIO chip select support in McSPI Grant Likely
2011-03-15  2:22             ` Ben Gamari
2011-03-15  3:29               ` Grant Likely
2011-08-30 10:14 McSPI questions pertaining to GPIO chip select support Raju Sana
2011-08-30 13:50 ` Ben Gamari
2011-08-30 13:50   ` [PATCH] mcspi: Add support for GPIO chip select lines Ben Gamari
  -- strict thread matches above, loose matches on Subject: below --
2010-01-28  4:33 McSPI questions pertaining to GPIO chip select support jassi brar
2010-12-21 17:56 ` [PATCH] mcspi: Add support for GPIO chip select lines Ben Gamari
2010-12-23 19:59   ` Tony Lindgren
2010-12-23 21:38   ` Grant Likely
2010-12-23 23:09     ` Ben Gamari
2010-12-24  0:37       ` Grant Likely
2010-12-24  2:27         ` Ben Gamari
2010-12-24  3:28           ` Grant Likely
2010-12-24  6:05             ` Ben Gamari
2011-02-12  8:33               ` Grant Likely
2011-02-13 22:07                 ` Ben Gamari

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=20110315021049.GA12819@angua.secretlab.ca \
    --to=grant.likely@secretlab.ca \
    --cc=bgamari.foss@gmail.com \
    --cc=linux-omap@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).