lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <74CDBE0F657A3D45AFBB94109FB122FF174FDAFAC8@HQMAIL01.nvidia.com>
Date:	Tue, 29 Nov 2011 08:51:42 -0800
From:	Stephen Warren <swarren@...dia.com>
To:	Jean-Christophe PLAGNIOL-VILLARD <plagnioj@...osoft.com>,
	Igor Grinberg <grinberg@...pulab.co.il>
CC:	Mark Brown <broonie@...nsource.wolfsonmicro.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Nicolas Ferre <nicolas.ferre@...el.com>,
	Grant Likely <grant.likely@...retlab.ca>
Subject: RE: [PATCH 1/2] gpiolib: introduce gpio_set_pullup

Jean-Christophe PLAGNIOL-VILLARD wrote at Monday, November 28, 2011 7:37 PM:
> On 11:35 Sun 27 Nov     , Igor Grinberg wrote:
> > On 11/25/11 17:34, Mark Brown wrote:
> > > On Fri, Nov 25, 2011 at 03:08:39PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > >
> > >> +/**
> > >> + * gpio_set_pullup - sets @pullup for a @gpio
> > >> + * @gpio: the gpio to set pullup
> > >> + * @pullup: pullup level
> > >> + */
> > >> +int gpio_set_pullup(unsigned gpio, unsigned pullup)
> > >
> > > This has some overlap with the pinmux subsystem.  We also need
> > > documentation of what the pullup values mean.
> yes and no
> 
> as some gpio IP (only gpio i2c extender as example ) have it too
> so you can not use the pinmux for this

Why not?

I believe the pinctrl subsystem should be applicable to any chip, be it
the main SoC/CPU in the system, or any other chip. We don't currently
have any non-SoC drivers, but that's just because nobody has written them
yet; there's no technical reason they couldn't exist.

-- 
nvpublic

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ