From mboxrd@z Thu Jan 1 00:00:00 1970 From: kishon@ti.com (Kishon Vijay Abraham I) Date: Wed, 2 Sep 2015 16:17:27 +0530 Subject: [PATCH 0/6] Fix pbias regulator enable Message-ID: <1441190853-7133-1-git-send-email-kishon@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org vsel_reg and enable_reg of the pbias regulator descriptor should actually have the offset from syscon. However after "ARM: dts: : add minimal l4 bus layout with control module support" vsel_reg and enable_reg started to have the absolute address because of address translation that happens due to pbias node made as the child node of syscon. This breaks the pbias regulator enable. This series adds the 'offset' to be populated in vsel_reg and enable_reg in the pbias driver itself. Tested these patches against mmc -next in omap4 panda, omap3 beagle xm, dra72 and omap5 uevm Kishon Vijay Abraham I (6): regulator: pbias: program pbias register offset in pbias driver ARM: dts: dra7: use "ti,pbias-dra7" compatible string for pbias ARM: dts: omap243x: use "ti,pbias-omap2" compatible string for pbias ARM: dts: omap3: use "ti,pbias-omap3" compatible string for pbias ARM: dts: OMAP4: use "ti,pbias-omap4" compatible string for pbias ARM: dts: OMAP5: use "ti,pbias-omap5" compatible string for pbias .../bindings/regulator/pbias-regulator.txt | 7 ++- arch/arm/boot/dts/dra7.dtsi | 2 +- arch/arm/boot/dts/omap2430.dtsi | 2 +- arch/arm/boot/dts/omap3.dtsi | 2 +- arch/arm/boot/dts/omap4.dtsi | 2 +- arch/arm/boot/dts/omap5.dtsi | 2 +- drivers/regulator/pbias-regulator.c | 52 +++++++++++++++++--- 7 files changed, 57 insertions(+), 12 deletions(-) -- 1.7.9.5