Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1560349

Re: Dropping device tree pinmux nodes for GPIO usage (Was: [PATCH 3/5] arm64: dts: sun50i: add MMC nodes)

From Maxime Ripard <maxime.ripard@free-electrons.com>
Newsgroups linux.kernel
Subject Re: Dropping device tree pinmux nodes for GPIO usage (Was: [PATCH 3/5] arm64: dts: sun50i: add MMC nodes)
Date 2017-01-17 09:40 +0100
Message-ID <t0xt7-4GT-9@gated-at.bofh.it> (permalink)
References <sVjTQ-5zO-7@gated-at.bofh.it> <sVkmR-5Ll-1@gated-at.bofh.it> <sVnup-7Xq-3@gated-at.bofh.it> <sZVHb-4Dp-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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 <andre.przywara@arm.com> 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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Dropping device tree pinmux nodes for GPIO usage (Was: [PATCH 3/5]  arm64: dts: sun50i: add MMC nodes) Rask Ingemann Lambertsen <rask@formelder.dk> - 2017-01-15 17:20 +0100
  Re: Dropping device tree pinmux nodes for GPIO usage (Was: [PATCH  3/5] arm64: dts: sun50i: add MMC nodes) Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-01-17 09:40 +0100

csiph-web