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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 19 Mar 2011 17:21:47 +0000
From:	Ed W <lists@...dgooses.com>
To:	kernel@...dgooses.com
CC:	grant.likely@...retlab.ca, dilinger@...ued.net,
	linux-geode@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] leds: New PCEngines Alix system driver (enables LEDs
 via gpio interface)


On 19/03/2011 16:51, kernel@...dgooses.com wrote:
> From: Ed Wildgoose <git@...dgooses.com>
> 
> This new driver replaces the old PCEngines Alix 2/3 LED driver with
> a new driver that controls the LEDs through the leds-gpio driver.
> The old driver accessed GPIOs directly, which created a conflict
> and prevented also loading the cs5535-gpio driver to read other
> GPIOs on the Alix board. With this new driver, we hook into leds-gpio
> which in turn uses GPIO to control the LEDs and therefore it's
> possible to control both the LEDs and access onboard GPIOs
> 
> Driver is moved to platform/geode and any other geode
> initialisation modules should move here also.
> 
> This driver is inspired by leds-net5501.c
> by: Alessandro Zummo <a.zummo@...ertech.it>
> Ideally, leds-net5501.c should also be moved to platform/geode.
> Additionally the driver relies on parts of the patch: 7f131cf3ed
> by: Daniel Mack <daniel@...aq.de> to perform detection of the Alix board
> Signed-off-by: Ed Wildgoose <kernel@...dgooses.com>

Hi Grant

I *think* this patch should now be satisfactory and I believe to be
implemented as we discussed:

- I have made the driver look like a straightforward platform
initialisation routine and so further platform setup could be added here
if required.

My only thought is that it's quite tucked away and hard to find here,
given that at present it only enables LEDs on this platform (and seems
reasonably unlikely to grow beyond that). Would it be
acceptable/sensible to put the Kconfig entry under LEDs for the time
being (but the code under /platform/)? Obviously if it starts to do more
initialisation/setup then the KConfig can be moved back to /arch/x86/ ?

However, grateful if you could please now review this for inclusion?

I will submit a second patch momentarily which adds the extra dependency
of -gpio on -mfd as we discussed in the previous email

Many thanks

Ed W
--
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