RE: [PATCH 4/5 v6] OMAP2+: musb: HWMOD adaptation for musb. registration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

>-----Original Message-----
>From: Kevin Hilman [mailto:khilman@xxxxxx]
>Sent: Tuesday, February 15, 2011 9:42 PM
>To: balbi@xxxxxx
>Cc: Hema HK; linux-omap@xxxxxxxxxxxxxxx;
>linux-usb@xxxxxxxxxxxxxxx; Tony Lindgren; Cousson, Benoit;
>Paul Walmsley
>Subject: Re: [PATCH 4/5 v6] OMAP2+: musb: HWMOD adaptation for
>musb. registration
>
>Hi Felipe,
>
>Felipe Balbi <balbi@xxxxxx> writes:
>
>> On Mon, Feb 14, 2011 at 04:15:10PM -0800, Kevin Hilman wrote:
>>> Hema HK <hemahk@xxxxxx> writes:
>>>
>>> > Using omap_device_build API instead of
>platform_device_register for
>>> > OMAP2430,OMAP34xx and OMAP4430 musb device registration.
>>> > The device specific resources defined in centralized
>>> > database will be used.
>>>
>>> Except for AM35x.
>>>
>>> NACK, for same reasons as previous version of this patch.
>>
>> Does it really make sense to hold on omap2plus HWMOD
>conversion because
>> of AM35x ? I mean, I understand it would be better to get
>all fixed up,
>> but loose another merge window for that ?
>>
>> Can we get omap2plus in and AM35x on the next merge window ? At least
>> omap2plus would have been converted to hwmod and would be using
>> pm_runtime as we want.
>
>Well, you get to decide as you're the maintainer of this stuff. ;)
>
>If you merge it, I suggest at least fixing the changelog to make it
>clear that not all devices are using hwmod.
>

I have a patch ready for adding hwmod for AM35x. But there is one issue
with
co-existance of omap3 musb hwmod and am35x. I think this is already a
problem
with current mainline with smart reflex hwmod changes.

For AM35x there is no separate CHIP_IS_*. So anything added in the omap3
hwmod database with CHIP_IS_OMAP3430 is considered for AM35x
and if that module soes not exists there will be crash.

I think for this issue Sanjeev Premi has send a mail on the
list.

>That being said, how difficult is it to add the hwmod data for
>the AM35x
>OTG block?   Just added it to the exising OMAP3 data using CHIP_IS* to
>marke it as AM35x, and you can at least get rid of the base address and
>IRQ number hacks for AM35x in this code.

This can be done. I will be posting the patch for AM35x hwmod also.

>
>Separating out the pdata function pointer hooks is a different matter
>which is also ugly, but I don't feel as strongly about.

I have another patch to move all the board specific internal PHY functions
to another file and pass them through board data instead of defining
and assigning here in the shared file.

Regards,
Hema
>
>Kevin
>
>
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux