Message ID | 94d5c03e0603aa359c07e13a684bffdbaad7db3d.1371123426.git.b42378@freescale.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, Jun 13, 2013 at 07:51:00PM +0800, Nicolin Chen wrote: > On Sabre SD, system controls WM8962 power by pulling up/down GPIO_4_10, > so add a regulator controled by GPIO_4_10 for WM8962. > > Signed-off-by: Nicolin Chen <b42378@freescale.com> > --- > arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 7 +++++++ > 1 files changed, 7 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi > index e21f6a8..13af158 100644 > --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi > +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi > @@ -26,6 +26,13 @@ > gpio = <&gpio3 22 0>; > enable-active-high; > }; > + > + reg_audio: 8962_supply { 8962 does not looks like a good name. I changed it to wm8962. > + compatible = "regulator-fixed"; > + regulator-name = "8962-SUPPLY"; We generally use lowercases in device tree, so I changed it to "wm8962-supply". Shawn > + gpio = <&gpio4 10 0>; > + enable-active-high; > + }; > }; > > gpio-keys { > -- > 1.7.1 > >
diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index e21f6a8..13af158 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi @@ -26,6 +26,13 @@ gpio = <&gpio3 22 0>; enable-active-high; }; + + reg_audio: 8962_supply { + compatible = "regulator-fixed"; + regulator-name = "8962-SUPPLY"; + gpio = <&gpio4 10 0>; + enable-active-high; + }; }; gpio-keys {
On Sabre SD, system controls WM8962 power by pulling up/down GPIO_4_10, so add a regulator controled by GPIO_4_10 for WM8962. Signed-off-by: Nicolin Chen <b42378@freescale.com> --- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)