Re: [PATCH v2 4/7] regulator: anatop-regulator: convert to use syscon to access anatop register

2012-08-27 Thread Dong Aisheng
On Tue, Aug 28, 2012 at 06:15:35AM +0800, Shawn Guo wrote: > > + sreg->anatop = syscon_regmap_lookup_by_phandle(np, "fsl,anatop"); > > + if (IS_ERR(sreg->anatop)) > > + return PTR_ERR(sreg->anatop); > > + > > All the anatop regulators are child nodes of anatop. It looks a littl

Re: [PATCH v2 4/7] regulator: anatop-regulator: convert to use syscon to access anatop register

2012-08-27 Thread Shawn Guo
On Mon, Aug 27, 2012 at 03:24:42PM +0800, Dong Aisheng wrote: > From: Dong Aisheng > > Using syscon to access anatop register. > > Acked-by: Mark Brown > Signed-off-by: Dong Aisheng > --- > ChangeLog v1-v2: > * update to use generic regmap api > --- > arch/arm/boot/dts/imx6q.dtsi |

[PATCH v2 4/7] regulator: anatop-regulator: convert to use syscon to access anatop register

2012-08-27 Thread Dong Aisheng
From: Dong Aisheng Using syscon to access anatop register. Acked-by: Mark Brown Signed-off-by: Dong Aisheng --- ChangeLog v1-v2: * update to use generic regmap api --- arch/arm/boot/dts/imx6q.dtsi |6 ++ drivers/regulator/Kconfig|2 +- drivers/regulator/anatop