Commit 91e3ac82 authored by Mathias Nyman's avatar Mathias Nyman Committed by Tony Lindgren

I2C: LP5521: Introduce lp5521 LED driver

Introduce n810's lp5521 LED driver.

Signed-off-by: Mathias Nyman <mathias.nyman@nokia.com

Updated to new style i2c driver and to build on current
linux-omap head.
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 09beb807
...@@ -664,6 +664,10 @@ static struct i2c_board_info __initdata n800_i2c_board_info_2[] = { ...@@ -664,6 +664,10 @@ static struct i2c_board_info __initdata n800_i2c_board_info_2[] = {
I2C_BOARD_INFO("tsl2563", 0x29), I2C_BOARD_INFO("tsl2563", 0x29),
.type = "tsl2563", .type = "tsl2563",
}, },
{
I2C_BOARD_INFO("lp5521", 0x32),
.type = "lp5521",
},
}; };
void __init nokia_n800_common_init(void) void __init nokia_n800_common_init(void)
......
...@@ -212,6 +212,13 @@ config SENSORS_TSL2563 ...@@ -212,6 +212,13 @@ config SENSORS_TSL2563
This driver can also be built as a module. If so, the module This driver can also be built as a module. If so, the module
will be called tsl2563. will be called tsl2563.
config LP5521
tristate "LP5521 LED driver chip"
depends on I2C
help
If you say yes here you get support for the National Semiconductor
LP5521 LED driver.
config MENELAUS config MENELAUS
bool "TWL92330/Menelaus PM chip" bool "TWL92330/Menelaus PM chip"
depends on I2C=y && ARCH_OMAP24XX depends on I2C=y && ARCH_OMAP24XX
......
...@@ -30,6 +30,7 @@ obj-$(CONFIG_TWL4030_POWEROFF) += twl4030-poweroff.o ...@@ -30,6 +30,7 @@ obj-$(CONFIG_TWL4030_POWEROFF) += twl4030-poweroff.o
obj-$(CONFIG_TWL4030_PWRBUTTON) += twl4030-pwrbutton.o obj-$(CONFIG_TWL4030_PWRBUTTON) += twl4030-pwrbutton.o
obj-$(CONFIG_TWL4030_MADC) += twl4030-madc.o obj-$(CONFIG_TWL4030_MADC) += twl4030-madc.o
obj-$(CONFIG_RTC_X1205_I2C) += x1205.o obj-$(CONFIG_RTC_X1205_I2C) += x1205.o
obj-$(CONFIG_LP5521) += lp5521.o
ifeq ($(CONFIG_I2C_DEBUG_CHIP),y) ifeq ($(CONFIG_I2C_DEBUG_CHIP),y)
EXTRA_CFLAGS += -DDEBUG EXTRA_CFLAGS += -DDEBUG
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment