From: jacmet@sunsite.dk (Peter Korsgaard) Date: Tue, 30 Oct 2012 22:35:14 +0100 Subject: [PATCH 3/4] ARM: OMAP3+: hwmod: Add AM33XX HWMOD data for davinci_mdio module In-Reply-To: <1351498881-32482-5-git-send-email-hvaibhav@ti.com> (Vaibhav Hiremath's message of "Mon, 29 Oct 2012 13:51:20 +0530") References: <1351498881-32482-1-git-send-email-hvaibhav@ti.com> <1351498881-32482-5-git-send-email-hvaibhav@ti.com> Message-ID: <87y5infxt9.fsf@macbook.be.48ers.dk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org >>>>> "Vaibhav" == Vaibhav Hiremath writes: Vaibhav> From: Mugunthan V N 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 Vaibhav> Signed-off-by: Vaibhav Hiremath Vaibhav> Cc: Richard Cochran Vaibhav> Cc: Paul Walmsley Acked-by: Peter Korsgaard -- Bye, Peter Korsgaard