[PATCH] RFC: spi/sa1100: rewrite the SA1100 SPI driver

Linus Walleij linus.walleij at linaro.org
Wed Jan 18 07:20:27 EST 2012


On Wed, Jan 18, 2012 at 1:13 PM, Linus Walleij <linus.walleij at linaro.org> wrote:
> On Wed, Jan 18, 2012 at 12:13 AM, Russell King - ARM Linux
> <linux at arm.linux.org.uk> wrote:
>
>> The SSP interface is more than just SPI (it's microwire and TI format,
>> and I have a working ASoC driver for the Assabet.)
>
> We usually merge drivers for microwire, TI, Motorola ... etc into
> drivers/spi as well. It's a good enough fit, the differences are very
> small. This is how we configure mode from the PL022 driver platform data:

By the way, the similarities between the SA1100 SSP and the PL022
SSP/SPI were striking so I had a look at the register maps, but while
many of the registers are similarly named and many of the same bits
exist these bits are in wildly different places, so it's not directly
mergeable.

It looks like the PL022 SSP is a hardware based on the SA1100 SSP
datasheet or even the VHDL code for it.

PrimeCell geneaology is one of these funny things, If I find genetic
evidence, i.e. the hardware happen to have the same obscure bugs,
then I cosider the ancestry proven...

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list