[PATCH v2] spi/pxa2xx-pci: Add common clock framework support in PCI glue layer

Andrea Adami andrea.adami at gmail.com
Tue Jul 29 09:13:06 PDT 2014


On Fri, Jul 25, 2014 at 7:32 AM, Mika Westerberg
<mika.westerberg at linux.intel.com> wrote:
> On Fri, Jul 25, 2014 at 01:10:54AM +0800, chiau.ee.chew at intel.com wrote:
>> From: Chew, Chiau Ee <chiau.ee.chew at intel.com>
>>
>> SPI PXA2XX core layer has dependency on common clock framework
>> to obtain information on host supported clock rate. Thus, we
>> setup the clock device in the PCI glue layer to enable PCI mode
>> host pass in the clock rate information.
>>
>> Signed-off-by: Chew, Chiau Ee <chiau.ee.chew at intel.com>
>> Acked-by: Kweh, Hock Leong <hock.leong.kweh at intel.com>
>
> Looks reasonable,
>
> Acked-by: Mika Westerberg <mika.westerberg at linux.intel.com>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Hi,

note that a previous version of the patch breaks spi on pxa machines:
tested on pxa250 poodle and pxa255 corgi.
The patch is included in linux-Yocto since 3.14.

The evident error is the absence of the touchscreen and on corgi a total crash.
pxa2xx-spi: probe of pxa2xx-spi.1 failed with error -2

I sent the full logs to the pxa maintainers.
Please let me know if there are any trivial fixes to apply on the top
of this patch for the non-pci, non-DT boards or better workarounds.

Thanks

Andrea



More information about the linux-arm-kernel mailing list