Subject: Re: [PATCH 3/4] ARM: OMAP3+: hwmod: Add AM33XX HWMOD data for davinci_mdio module

From: Peter Korsgaard <[email-masked]>
Date: Tue, 30 Oct 2012 22:35:14 +0100

>>>>> "Vaibhav" == Vaibhav Hiremath <[email-masked]> writes:

 Vaibhav> From: Mugunthan V N <[email-masked]>
 Vaibhav> This patch adds hwmod entry for davinci MDIO module,
 Vaibhav> creating parent<->child relationship between CPSW and MDIO module.

 Vaibhav> This Parent-child relation is required in order to use common resources
 Vaibhav> like, clock, but still maintaining the logical separation between them.

 Vaibhav> CPGMAC SubSystem consist of various sub-modules, like, mdio, cpdma,
 Vaibhav> cpsw, etc... These sub-modules are also used in some of Davinci
 Vaibhav> family of devices, so separate and independent platform devices &
 Vaibhav> drivers for CPSW and MDIO is implemented.
 Vaibhav> In case of AM33XX, the resources are shared and common register
 Vaibhav> bit-field is provided to control module/clock enable/disable,
 Vaibhav> makes it difficult to handle common resources from both drivers.

 Vaibhav> So the solution is, create parent<->child relationship between
 Vaibhav> CPGMAC & MDIO modules.

 Vaibhav> Signed-off-by: Mugunthan V N <[email-masked]>
 Vaibhav> Signed-off-by: Vaibhav Hiremath <[email-masked]>
 Vaibhav> Cc: Richard Cochran <[email-masked]>
 Vaibhav> Cc: Paul Walmsley <[email-masked]>

Acked-by: Peter Korsgaard <[email-masked]>

-- 
Bye, Peter Korsgaard