[PATCH v4 08/12] gpio: add ti-ssp gpio driver
Linus Walleij
linus.ml.walleij at gmail.com
Wed Nov 3 12:24:09 EDT 2010
2010/11/3 David Brownell <david-b at pacbell.net>:
> --- On Wed, 11/3/10, Linus Walleij <linus.ml.walleij at gmail.com> wrote:
>>
>> Incidentally the ARM PrimeCell PL022 is called SSP,
>> "Synchronous Serial Port" and is not multifunction at all.
>
> ISTR coming across that IP module; are you sure
> that it only supports a single serial protocol,
> instead of just a "small" variety" (multi)?
> Unless the hardware only supports one protocol,
> my point holds.
Yeah well:
/**
* enum ssp_interface - interfaces allowed for this SSP Controller
* @SSP_INTERFACE_MOTOROLA_SPI: Motorola Interface
* @SSP_INTERFACE_TI_SYNC_SERIAL: Texas Instrument Synchronous Serial
* interface
* @SSP_INTERFACE_NATIONAL_MICROWIRE: National Semiconductor Microwire
* interface
* @SSP_INTERFACE_UNIDIRECTIONAL: Unidirectional interface (STn8810
* &STn8815 only)
*/
enum ssp_interface {
SSP_INTERFACE_MOTOROLA_SPI,
SSP_INTERFACE_TI_SYNC_SERIAL,
SSP_INTERFACE_NATIONAL_MICROWIRE,
SSP_INTERFACE_UNIDIRECTIONAL
};
If that is what you mean then yes. All of the protols are
"SPI type" though.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list