From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen-Yu Tsai Subject: Re: [PATCH v2 11/12] ARM: dts: sun8i: add pinmux for V3s mmc1 Date: Mon, 6 Mar 2017 12:22:47 +0800 Message-ID: References: <20170305133709.6288-1-icenowy@aosc.xyz> <20170305133709.6288-12-icenowy@aosc.xyz> Reply-To: wens-jdAy2FN1RRM@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org In-Reply-To: <20170305133709.6288-12-icenowy-ymACFijhrKM@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Icenowy Zheng Cc: Vinod Koul , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Mark Brown , dmaengine-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree , linux-arm-kernel , linux-kernel , Linux-ALSA , linux-sunxi List-Id: devicetree@vger.kernel.org On Sun, Mar 5, 2017 at 9:37 PM, Icenowy Zheng wrote: > Allwinner V3s SoC features 3 MMC controllers, mmc0 is used as the > MicroSD slot on Lichee Pi Zero, and on Lichee Pi Zero's dock mmc1 is > also soldered as a MicroSD slot. > > Add the pinmux for mmc1, thus we can enable the MicroSD slot on the > Lichee Pi Zero dock. > > Signed-off-by: Icenowy Zheng > --- > arch/arm/boot/dts/sun8i-v3s.dtsi | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi > index 5fb6cb69f7bc..a39c26bceedc 100644 > --- a/arch/arm/boot/dts/sun8i-v3s.dtsi > +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi > @@ -234,6 +234,14 @@ > drive-strength = <30>; > bias-pull-up; > }; > + > + mmc1_pins: mmc1@0 { This seems to be the only possible configuration. In that case, please drop the @0 from the node name. We shouldn't be adding them anyway, since it causes warnings from the device tree compiler. Otherwise, Acked-by: Chen-Yu Tsai > + pins = "PG0", "PG1", "PG2", "PG3", > + "PG4", "PG5"; > + function = "mmc1"; > + drive-strength = <30>; > + bias-pull-up; > + }; > }; > > timer@01c20c00 { > -- > 2.11.1 > > -- > You received this message because you are subscribed to the Google Groups "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/d/optout.