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

Peter Korsgaard jacmet at sunsite.dk
Tue Oct 30 17:35:14 EDT 2012


>>>>> "Vaibhav" == Vaibhav Hiremath <hvaibhav at ti.com> writes:

 Vaibhav> From: Mugunthan V N <mugunthanvnm at ti.com>
 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 <mugunthanvnm at ti.com>
 Vaibhav> Signed-off-by: Vaibhav Hiremath <hvaibhav at ti.com>
 Vaibhav> Cc: Richard Cochran <richardcochran at gmail.com>
 Vaibhav> Cc: Paul Walmsley <paul at pwsan.com>

Acked-by: Peter Korsgaard <jacmet at sunsite.dk>

-- 
Bye, Peter Korsgaard



More information about the linux-arm-kernel mailing list