Messages in this thread | | | Date | Wed, 3 Nov 2010 17:24:09 +0100 | Subject | Re: [PATCH v4 08/12] gpio: add ti-ssp gpio driver | From | Linus Walleij <> |
| |
2010/11/3 David Brownell <david-b@pacbell.net>: > --- On Wed, 11/3/10, Linus Walleij <linus.ml.walleij@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
| |