From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: Dropping device tree pinmux nodes for GPIO usage (Was: [PATCH 3/5] arm64: dts: sun50i: add MMC nodes) Date: Tue, 17 Jan 2017 09:33:51 +0100 Message-ID: <20170117083351.jy7jsdpi2zvufq5q@lukather> References: <1483398226-29321-1-git-send-email-andre.przywara@arm.com> <1483398226-29321-4-git-send-email-andre.przywara@arm.com> <20170115155931.l5tjcdhbz6sj3wke@localhost> Reply-To: maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ibjbuieytilcvimr" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: <20170115155931.l5tjcdhbz6sj3wke@localhost> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Rask Ingemann Lambertsen Cc: Chen-Yu Tsai , Andre Przywara , Mark Rutland , devicetree , Ulf Hansson , "linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , linux-sunxi , linux-kernel , Hans De Goede , Rob Herring , Icenowy Zheng , linux-arm-kernel List-Id: devicetree@vger.kernel.org --ibjbuieytilcvimr Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline On Sun, Jan 15, 2017 at 04:59:32PM +0100, Rask Ingemann Lambertsen wrote: > On Tue, Jan 03, 2017 at 10:52:12AM +0800, Chen-Yu Tsai wrote: > > On Tue, Jan 3, 2017 at 7:03 AM, Andre Przywara wrote: > > > + > > > + mmc0_default_cd_pin: mmc0_cd_pin@0 { > > > + pins = "PF6"; > > > + function = "gpio_in"; > > > + bias-pull-up; > > > + }; > > > > We are starting to drop pinmux nodes for gpio usage. > > How do we get the equivalent of bias-pull-up/down and drive-strength if we > run across a pin that needs it? Hmm, that's actually a very good question... For those cases, leave the pinctrl node for now, we'll deal with that in due time Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --ibjbuieytilcvimr--