From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Subject: Re: [PATCH 3/4] ARM: OMAP3+: hwmod: Add AM33XX HWMOD data for davinci_mdio module Date: Tue, 30 Oct 2012 22:35:14 +0100 Message-ID: <87y5infxt9.fsf@macbook.be.48ers.dk> References: <1351498881-32482-1-git-send-email-hvaibhav@ti.com> <1351498881-32482-5-git-send-email-hvaibhav@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-wi0-f178.google.com ([209.85.212.178]:62959 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934279Ab2J3Vfw (ORCPT ); Tue, 30 Oct 2012 17:35:52 -0400 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") Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Vaibhav Hiremath Cc: netdev@vger.kernel.org, paul@pwsan.com, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Mugunthan V N , Richard Cochran >>>>> "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 From mboxrd@z Thu Jan 1 00:00:00 1970 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