From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mugunthan V N Subject: Re: [PATCH 1/2] ARM: OMAP2+: hwmod: rt address space index for DT Date: Thu, 25 Jul 2013 15:30:40 +0530 Message-ID: <51F0F748.9020904@ti.com> References: <4bb04ee7bcb8ca73d5fc43049ba029471b9cdda3.1373036932.git.afzal@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from comal.ext.ti.com ([198.47.26.152]:40217 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753121Ab3GYKBU (ORCPT ); Thu, 25 Jul 2013 06:01:20 -0400 In-Reply-To: <4bb04ee7bcb8ca73d5fc43049ba029471b9cdda3.1373036932.git.afzal@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Afzal Mohammed Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Paul Walmsley , "Benoit Cousson (benoit.cousson@linaro.org)" , Tony Lindgren , Russell King On 7/5/2013 8:43 PM, Afzal Mohammed wrote: > Address space is being removed from hwmod database and DT information > in property is being used. Currently the 0th index of device > address space is used to map for register target address. This is not > always true, eg. cpgmac has it's sysconfig in second address space. > > Handle it by specifying index of device address space to be used for > register target. As default value of this field would be zero with > static initialization, existing behaviour of using first address space > for register target while using DT would be kept as such. > > Signed-off-by: Afzal Mohammed I have tested this patch and it's needed when we have CPSW Ethernet built-in to go to low power state. Tested-by: Mugunthan V N Regards Mugunthan V N