From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Sun, 25 Apr 2010 06:07:42 +0800 Subject: [U-Boot] [PATCH v2] misc: add gpio based status led driver In-Reply-To: <20100424192355.04FCBCCF03F@gemini.denx.de> References: <1269665654-2609-1-git-send-email-thomas@wytron.com.tw> <1271810712-16238-1-git-send-email-thomas@wytron.com.tw> <20100424192355.04FCBCCF03F@gemini.denx.de> Message-ID: <4BD36BAE.2060903@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/25/2010 03:23 AM, Wolfgang Denk wrote: > Dear Thomas Chou, > > In message<1271810712-16238-1-git-send-email-thomas@wytron.com.tw> you wrote: > >> This patch adds a status led driver followed the GPIO access >> conventions of Linux. The led mask is used to specify the gpio pin. >> >> Signed-off-by: Thomas Chou >> --- >> Moved to drivers/misc. >> > Which boards are the users of this code? > > Best regards, > > Wolfgang Denk > > Hi Wolfgang, It is used in the example designs of Altera NEEK and DE2 boards, which I provided for nios2 linux/uclinux on nios wiki. They are used by many nios2 users. It may be used by other boards which support the GPIO access conventions of Linux. Though the GPIO access is not unified in u-boot currently, I think it should be the right direction to follow the conventions of Linux. Best regards, Thomas