[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <A874F61F95741C4A9BA573A70FE3998F641766E4@DQHE02.ent.ti.com>
Date: Fri, 5 Oct 2012 08:09:44 +0000
From: "Kim, Milo" <Milo.Kim@...com>
To: Bryan Wu <bryan.wu@...onical.com>
CC: Richard Purdie <rpurdie@...ys.net>,
"linux-leds@...r.kernel.org" <linux-leds@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH 00/28] leds: add common driver for LP5521/5523/55231
LP5521, LP5523 and L55231 have common features as below.
Register access via the I2C.
Device initialization/de-initialization.
Create LED class devices for multiple output channels.
Device attributes for user-space interface.
Therefore, this series of patch set enables removing duplicate code for
lp5521/5523 driver and making coherent driver structure.
All patches have been tested in LP5521, LP5523 and LP55231 boards.
Signed-off-by: Milo(Woogyom) Kim <milo.kim@...com>
Tested-by: Milo(Woogyom) Kim <milo.kim@...com>
---
Documentation/leds/00-INDEX | 2 +
Documentation/leds/leds-lp5521.txt | 63 +-
Documentation/leds/leds-lp5523.txt | 27 +-
Documentation/leds/leds-lp55xx.txt | 104 +++
arch/arm/mach-omap2/board-rx51-peripherals.c | 8 +-
arch/arm/mach-ux500/board-mop500.c | 14 +-
drivers/leds/Kconfig | 15 +-
drivers/leds/Makefile | 1 +
drivers/leds/leds-lp5521.c | 928 +++++++---------------
drivers/leds/leds-lp5523.c | 1065 +++++++-------------------
drivers/leds/leds-lp55xx-common.c | 516 +++++++++++++
drivers/leds/leds-lp55xx-common.h | 138 ++++
include/linux/leds-lp5521.h | 73 --
include/linux/leds-lp5523.h | 49 --
include/linux/platform_data/leds-lp55xx.h | 55 ++
15 files changed, 1374 insertions(+), 1684 deletions(-)
create mode 100644 Documentation/leds/leds-lp55xx.txt
create mode 100644 drivers/leds/leds-lp55xx-common.c
create mode 100644 drivers/leds/leds-lp55xx-common.h
delete mode 100644 include/linux/leds-lp5521.h
delete mode 100644 include/linux/leds-lp5523.h
create mode 100644 include/linux/platform_data/leds-lp55xx.h
Best Regards,
Milo
--
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