Re: OMAP gpiolib?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[adding linux-omap list]

Hello,

Brian Hutchinson <b.hutchman@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux