All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@ti.com>
To: Brian Hutchinson <b.hutchman@gmail.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: OMAP gpiolib?
Date: Wed, 01 Jun 2011 07:36:44 -0700	[thread overview]
Message-ID: <8762opk48z.fsf@ti.com> (raw)
In-Reply-To: <BANLkTikpOeH_xXLtdrmuN4KJcrdgONcP2A@mail.gmail.com> (Brian Hutchinson's message of "Wed, 1 Jun 2011 08:33:21 -0400")

[adding linux-omap list]

Hello,

Brian Hutchinson <b.hutchman@gmail.com> writes:

> Hi Kevin,
>
> I caught part of the conversation on the ARM kernel list where it
> looks like gpiolib for OMAP was going to be targeted to 2.6.41 or
> something like that (going from memory).

Actually, the recent discussions were more about moving the OMAP driver into
drivers/gpio.  The OMAP GPIO driver already uses gpiolib.

> We have the C6A816x-evm (DDR2 version) and we have a custom board that
> should be here any day based on a DDR3 design.
>
> I just stepped up to the latest u-boot & kernel for the DDR3 EVM (PSP
> 04.00.00.10).  We need to use both the hardware spi (4 channels built
> into the c6a816x) and gpio spi.
>
> I've been helping a colleague here get the gpio spi going but he
> claims that he can't have gpio spi and hardware spi going at the same
> time.  He claims if he tries to use both at the same time he gets a
> kernel crash.
>
> So I guess my questions are:
> 1.  In the release notes of the TI kernel we have (2.6.37) it says
> gpio lib is added.  Is this the complete OMAP gpiolib support or are
> there still things missing that we may need to back port from a 2.6.41
> version?  I'm just trying to understand the roadmap and which tree I
> should be watching.  I've been in Arago land quite a bit lately and
> focusing on the git trees associated with that.

I'm not familiar with the TI PSP kernels, so any specific questions
should be addressed to the support channels for that kernel.

In mainline, there is nothing (significant) that is different between
.37 and .40 in OMAP GPIO support.  Both are using gpiolib.

> 2.  Can hardware spi & gpio spi be used at the same time?  Now that I
> think of ... in past projects I've used either/or ... never both at
> the same time.

I don't know without digging into the TERM and knowing which exact GPIO
pins and which SPI controller you're wanting to use, but GPIO pins are
most always mux'd with other pins, so it is common that use of specific
GPIO pins would prevent the use of some peripherals.

Hope that helps,

Kevin

       reply	other threads:[~2011-06-01 14:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BANLkTikpOeH_xXLtdrmuN4KJcrdgONcP2A@mail.gmail.com>
2011-06-01 14:36 ` Kevin Hilman [this message]
2011-06-01 14:48   ` OMAP gpiolib? Brian Hutchinson

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=8762opk48z.fsf@ti.com \
    --to=khilman@ti.com \
    --cc=b.hutchman@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 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.