[v2 4/4] sata: imx: add ahci sata support on imx platforms
Girish K S
girish.shivananjappa at linaro.org
Mon Jul 1 11:04:38 EDT 2013
On 1 July 2013 20:18, Shawn Guo <shawn.guo at linaro.org> wrote:
> On Mon, Jul 01, 2013 at 04:57:35PM +0530, Girish K S wrote:
>> Hello Richard,
>>
>> Instead of writing a separate driver for the changes you mentioned in
>> the commit message. you can just add those changes to
>> the platform data (pdata-> init).
>
> No. The platform init hook is not used to do IP block related setup.
> If we're mapping ahci block and setting up ahci registers in platform
> code, we are generally not doing the right thing.
Yes I understand (anything specific to driver should be part of
driver). I need to touch few platforms that are already doing this.
Then how about keeping setup as part of driver data for the specific controller.
>
> Shawn
>
More information about the linux-arm-kernel
mailing list