[spi-devel-general] [PATCH v6 1/2] spi: implemented driver for Cirrus EP93xx SPI controller

Linus Walleij linus.ml.walleij at gmail.com
Mon May 3 09:18:09 EDT 2010


2010/5/3 Mika Westerberg <mika.westerberg at iki.fi>:

> Yeah. It looks pretty similar. Although there seems to be differences. Documentation
> of the controller can be found in:
>
>        http://www.cirrus.com/en/pubs/manual/EP93xx_Users_Guide_UM1.pdf
>
> It does not mention anything about AMBA PL022.

They have surely based the hardware on the PL022. A diff document would
surely be useful, can Cirrus answer that kind of questions for you?

Hm, it has to be *really* different to warrant a totally new driver
duplicate code is never fun...

>> Can you make a hexdump of the PrimeCell ID registers at offset
>> base+0xffe0..0xffff and post the contents?
>
> Here it is, you probably meant base + 0xfe0 .. 0xfff, right?
>
> [    2.410000] 0xc6070fe0: 0x0
> [    2.410000] 0xc6070fe4: 0x0
> [    2.410000] 0xc6070fe8: 0x0
> [    2.420000] 0xc6070fec: 0x0
> [    2.420000] 0xc6070ff0: 0x0
> [    2.420000] 0xc6070ff4: 0x0
> [    2.430000] 0xc6070ff8: 0x0
> [    2.430000] 0xc6070ffc: 0x0

Looks like it's been blanked out so atleast it is not identifying itself as
a PL022 anymore.

It could also be that PL022 and the Cirrus controller has some common
ancestor...

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list