mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* LED framework
@ 2010-12-18 15:15 Sascha Hauer
  2010-12-18 15:15 ` [PATCH 1/7] Add generic poll infrastructure Sascha Hauer
                   ` (6 more replies)
  0 siblings, 7 replies; 21+ messages in thread
From: Sascha Hauer @ 2010-12-18 15:15 UTC (permalink / raw)
  To: barebox

Hi All,

The following series adds generic LED support for barebox.
Included is an infrastructure to register gpios as LEDs and
generic triggers for LEDs (Heartbeat, network activity). LEDs and
triggers can be controlled in C code and also on the command line.

The last patch only contains a small usage example, I'm not going
to commit it.

I have implemented this patchset completely remote with printfs in
the gpio functions, so I haven't seen any LED blinking. I hope that
the triggers are not too short for a LED to actually blink.

Sascha

The following changes since commit fad11e85641d27f683e2866ec5700cafd5868179:

  eth: fix 'warning: No MAC address set' when using EEPROM MAC (2010-12-16 08:30:14 +0100)

are available in the git repository at:
  git://git.pengutronix.de/git/barebox.git led

Marc Kleine-Budde (1):
      Add generic poll infrastructure

Sascha Hauer (6):
      basic LED support
      LED: Add gpio LED support
      LED: Add LED trigger support
      LED: Add led command
      LED: Add trigger command
      pcm038: led testing. Not to be committed

 arch/arm/boards/pcm038/pcm038.c |   24 ++++++++-
 commands/Kconfig                |   15 +++++
 commands/Makefile               |    2 +
 commands/led.c                  |   60 ++++++++++++++++++++
 commands/trigger.c              |  106 ++++++++++++++++++++++++++++++++++
 common/Kconfig                  |    3 +
 common/Makefile                 |    1 +
 common/console.c                |    5 ++
 common/poller.c                 |   45 +++++++++++++++
 drivers/Kconfig                 |    1 +
 drivers/Makefile                |    1 +
 drivers/led/Kconfig             |   13 ++++
 drivers/led/Makefile            |    3 +
 drivers/led/core.c              |  119 +++++++++++++++++++++++++++++++++++++++
 drivers/led/led-gpio.c          |   92 ++++++++++++++++++++++++++++++
 include/led.h                   |   69 ++++++++++++++++++++++
 include/net.h                   |    3 +
 include/poller.h                |   31 ++++++++++
 lib/vsprintf.c                  |    4 +
 net/eth.c                       |   20 ++++++-
 net/net.c                       |   21 +++++--
 21 files changed, 631 insertions(+), 7 deletions(-)
 create mode 100644 commands/led.c
 create mode 100644 commands/trigger.c
 create mode 100644 common/poller.c
 create mode 100644 drivers/led/Kconfig
 create mode 100644 drivers/led/Makefile
 create mode 100644 drivers/led/core.c
 create mode 100644 drivers/led/led-gpio.c
 create mode 100644 include/led.h
 create mode 100644 include/poller.h


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2010-12-20  8:28 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-18 15:15 LED framework Sascha Hauer
2010-12-18 15:15 ` [PATCH 1/7] Add generic poll infrastructure Sascha Hauer
2010-12-18 15:28   ` Sascha Hauer
2010-12-18 15:15 ` [PATCH 2/7] basic LED support Sascha Hauer
2010-12-18 16:38   ` Jean-Christophe PLAGNIOL-VILLARD
2010-12-18 17:18     ` Sascha Hauer
2010-12-18 16:48   ` Jean-Christophe PLAGNIOL-VILLARD
2010-12-18 19:06   ` Belisko Marek
2010-12-19 21:31   ` Marc Reilly
2010-12-20  8:27     ` Sascha Hauer
2010-12-18 15:15 ` [PATCH 3/7] LED: Add gpio " Sascha Hauer
2010-12-18 16:41   ` Jean-Christophe PLAGNIOL-VILLARD
2010-12-18 17:18     ` Sascha Hauer
2010-12-18 15:15 ` [PATCH 4/7] LED: Add LED trigger support Sascha Hauer
2010-12-18 16:51   ` Belisko Marek
2010-12-18 17:21     ` Sascha Hauer
2010-12-18 15:15 ` [PATCH 5/7] LED: Add led command Sascha Hauer
2010-12-18 16:45   ` Jean-Christophe PLAGNIOL-VILLARD
2010-12-18 17:24     ` Sascha Hauer
2010-12-18 15:15 ` [PATCH 6/7] LED: Add trigger command Sascha Hauer
2010-12-18 15:15 ` [PATCH 7/7] pcm038: led testing. Not to be committed Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox