[RFC/PATCH 0/2] Backlight support

Gregory CLEMENT gregory.clement at free-electrons.com
Thu Oct 6 04:05:07 EDT 2011


This patch set is a RFC about a backlight framework. The purpose of
this framework is mainly to allow to add easily a support for a
backlight with the possibility of setting brightness directly from the
barebox shell using the brightness parameter.

An implementation is provided for i.MX23 by using the PWM. It was
tested on a custom i.MX23 base board.

All this commits are done to be applied on top of this git repository :

  git://git.pengutronix.de/git/barebox.git master

The HEAD of this git repository, when I created this patch, was:
commit 71e806048e5a370fbcabf5441de33bd3f083903a
login: correct a typo in command description

Gregory CLEMENT (2):
  backlight: Add backlight framework to support backlight driver
  backlight: mxs: Add backlight support for i.MX23

 arch/arm/mach-mxs/include/mach/backlight.h |   19 ++++
 drivers/video/Kconfig                      |    3 +-
 drivers/video/Makefile                     |    2 +
 drivers/video/backlight/Kconfig            |   16 ++++
 drivers/video/backlight/Makefile           |    3 +
 drivers/video/backlight/backlight-mxs.c    |  136 ++++++++++++++++++++++++++++
 drivers/video/backlight/backlight.c        |   85 +++++++++++++++++
 include/backlight.h                        |   21 +++++
 8 files changed, 284 insertions(+), 1 deletions(-)
 create mode 100644 arch/arm/mach-mxs/include/mach/backlight.h
 create mode 100644 drivers/video/backlight/Kconfig
 create mode 100644 drivers/video/backlight/Makefile
 create mode 100644 drivers/video/backlight/backlight-mxs.c
 create mode 100644 drivers/video/backlight/backlight.c
 create mode 100644 include/backlight.h

-- 
1.7.4.1





More information about the barebox mailing list