[PATCH 1/9] spi/pxa2xx: don't use subys initcall for driver init

Haojian Zhuang haojian.zhuang at gmail.com
Wed Nov 24 09:14:31 EST 2010


On Wed, Nov 24, 2010 at 10:09 PM, Sebastian Andrzej Siewior
<bigeasy at linutronix.de> wrote:
> Haojian Zhuang wrote:
>>
>> Hi Sebastian,
>
> Hi Hoajian,
>
>> Actually it's added for cpufreq usage. We can check the commit in below.
>>
>>    pxa2xx_spi: register earlier
>>
>>    Register pxa2xx_spi earlier so it can be used with cpufreq
>>
>> So I think that this modifcation may cause others brokne.
>
> I've been pointed out to this commit but I don't understand _why_.
> The part I don't get is "so it can be used with cpufreq". Is it
> refered to a driver or the subsystem as it?
>

As we know, cpufreq is used to adjust frequency and voltage of CPU. We
need some interface to access PMIC hardware, such as I2C, SPI, .... So
I think that they need SPI to initialize first. Otherwise, they may
meet failure on accessing PMIC hardware.

Thanks
Haojian



More information about the linux-arm-kernel mailing list