backlight: mxs: Add backlight support for i.MX23
Subsystems (5)
PATCH 2/2 backlight: mxs: Add backlight support for i.MX23
May work on i.MX28 but only tested on i.MX23 base board
Signed-off-by Gregory CLEMENT <[email protected]>
--- arch/arm/mach-mxs/include/mach/backlight.h | 19 ++++ drivers/video/backlight/Kconfig | 8 ++ drivers/video/backlight/Makefile | 4 +- drivers/video/backlight/backlight-mxs.c | 136 ++++++++++++++++++++++++++++ 4 files changed, 166 insertions(+), 1 deletions(-) create mode 100644 arch/arm/mach-mxs/include/mach/backlight.h create mode 100644 drivers/video/backlight/backlight-mxs.c
arch/arm/mach-mxs/include/mach/backlight.h new file +19 -0
@@ -0,0 +1,19 @@ +/* +* backlight.h - plateform definitions for the mxs backlight driver +* +* Copyright (C) 2011 Gregory Clement, Free Electrons +* +* This file is released under the GPLv2 or later +* +*/ + +#ifndef BACKLIGHT_MXS_H +#define BACKLIGHT_MXS_H + +struct mxs_backlight_platformdata { +int channel; +int period; +int cdiv; +}; + +#endif /* BACKLIGHT__H */
drivers/video/backlight/Kconfig +8 -0
@@ -6,3 +6,11 @@ menuconfig BACKLIGHT bool "Backlight support" help Add support for backlight + +if BACKLIGHT + +config BACKLIGHT_MXS + bool "i.MX23 Backlight driver" + depends on BACKLIGHT && ARCH_MXS + +endif
drivers/video/backlight/Makefile +3 -1
@@ -1 +1,3 @@ -obj-$(CONFIG_BACKLIGHT) += backlight.o +obj-$(CONFIG_BACKLIGHT) += backlight.o + +obj-$(CONFIG_BACKLIGHT_MSX) += backlight-mxs.o
drivers/video/backlight/backlight-mxs.c new file +136 -0
136 lines not on this page · raw message
Signature · 8 lines
1.7.4.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox