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: <20121219171600.7B0EF3E0C5A@localhost>
Date:	Wed, 19 Dec 2012 17:16:00 +0000
From:	Grant Likely <grant.likely@...retlab.ca>
To:	Linus Walleij <linus.walleij@...aro.org>,
	Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Cc:	linux-kernel@...r.kernel.org,
	Jerome Oufella <jerome.oufella@...oirfairelinux.com>
Subject: Re: [PATCH v2] gpio: add TS-5500 DIO blocks support

On Mon, 10 Dec 2012 10:55:04 +0100, Linus Walleij <linus.walleij@...aro.org> wrote:
> On Sat, Dec 8, 2012 at 3:36 AM, Vivien Didelot
> <vivien.didelot@...oirfairelinux.com> wrote:
> 
> > Technologic Systems TS-5500 provides digital I/O lines exposed through
> > pin blocks. On this platform, there are three of them, named DIO1, DIO2
> > and LCD port, that may be used as a DIO block.
> >
> > The TS-5500 pin blocks are described in the product's wiki:
> > http://wiki.embeddedarm.com/wiki/TS-5500#Digital_I.2FO
> >
> > This driver is not limited to the TS-5500 blocks. It can be extended to
> > support similar boards pin blocks, such as on the TS-5600.
> >
> > This patch is the V2 of the previous https://lkml.org/lkml/2012/9/25/671
> > with corrections suggested by Linus Walleij.
> >
> > Signed-off-by: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
> > Signed-off-by: Jerome Oufella <jerome.oufella@...oirfairelinux.com>
> 
> Thanks Vivien, it's looking *very* nice and clean now, so patch applied!
> 
> It's perfectly OK this late before the merge window since it's a new driver.
> 
> Yours,
> Linus Walleij

Wait a minute.... this driver looks very much like gpio-generic. It
really should be using that interface, not recreating all the gpio
infrastructure that has been done so many times before.

Please take a look at either send me a follow-on patch to convert it to
use gpio-generic, or tell my why gpio-generic isn't appropriate here.
It's already in, so I'm not got to take it back out (that wouldn't be
very fair), but I may decide to move it to staging.

g.

-- 
Grant Likely, B.Sc, P.Eng.
Secret Lab Technologies, Ltd.
--
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