From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from arroyo.ext.ti.com ([192.94.94.40]:40421 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750763AbbG2I5v (ORCPT ); Wed, 29 Jul 2015 04:57:51 -0400 Message-ID: <55B89586.9070008@ti.com> Date: Wed, 29 Jul 2015 11:57:42 +0300 From: Grygorii Strashko MIME-Version: 1.0 To: Kishon Vijay Abraham I , , , , , CC: , , Tero Kristo Subject: Re: [PATCH 1/2] regulator: pbias: use untranslated address to program pbias regulator References: <1437996250-2913-1-git-send-email-kishon@ti.com> <1437996250-2913-2-git-send-email-kishon@ti.com> In-Reply-To: <1437996250-2913-2-git-send-email-kishon@ti.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: On 07/27/2015 02:24 PM, Kishon Vijay Abraham I wrote: > vsel_reg and enable_reg of the pbias regulator descriptor should actually > have the offset from syscon. However after the pbias device tree node > is moved as a child node of syscon, vsel_reg and enable_reg has the > absolute address because of the address translation that happens while > creating device from device tree node. > So avoid using platform_get_resource and use of_get_address in order to > get only the offset (untranslated address) and populate these in > vsel_reg and enable_reg. > > Cc: > Cc: Tero Kristo > Signed-off-by: Kishon Vijay Abraham I For dra7-evm: Tested-by: Grygorii Strashko -- regards, -grygorii