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: <sta...@vger.kernel.org>
Cc: Tero Kristo <t-kri...@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com>

For dra7-evm:
Tested-by: Grygorii Strashko <grygorii.stras...@ti.com>


--
regards,
-grygorii
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to