summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-pluto.c
diff options
context:
space:
mode:
authorMitch Luban <mluban@nvidia.com>2012-09-21 01:15:04 -0700
committerSimone Willett <swillett@nvidia.com>2012-10-31 19:13:15 -0700
commit8e3070659018aadbb6de1c99e463ac4b35346d4b (patch)
tree31c0980b033759d4d119a626e5787e98e4525cbe /arch/arm/mach-tegra/board-pluto.c
parent13e2150df6d965e6f36c2dfc5936b303c1685348 (diff)
pluto: calibrated backlight and PRISM for LG 5"
PRISM is enabled and includes backlight adjustments for LG 5" panel to ensure a linear backlight ramp up. Bug 1047558 Bug 1027942 Reviewed-on: http://git-master/r/142749 (cherry picked from commit 4064265fc7569fdc4b71e0847070e982bc78d5c4) Change-Id: I5552635b93dc60810a6c4e9d07d55dfa8384984f Signed-off-by: Mitch Luban <mluban@nvidia.com> Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-on: http://git-master/r/147349 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-pluto.c')
-rw-r--r--arch/arm/mach-tegra/board-pluto.c52
1 files changed, 0 insertions, 52 deletions
diff --git a/arch/arm/mach-tegra/board-pluto.c b/arch/arm/mach-tegra/board-pluto.c
index 41e1836662cf..955bbbaf26ef 100644
--- a/arch/arm/mach-tegra/board-pluto.c
+++ b/arch/arm/mach-tegra/board-pluto.c
@@ -216,56 +216,6 @@ static struct tegra_i2c_platform_data pluto_i2c5_platform_data = {
.arb_recovery = arb_lost_recovery,
};
-static struct led_info pluto_max8831_leds[] = {
- [MAX8831_ID_LED3] = {
- .name = "max8831:red:pluto",
- },
- [MAX8831_ID_LED4] = {
- .name = "max8831:green:pluto",
- },
- [MAX8831_ID_LED5] = {
- .name = "max8831:blue:pluto",
- },
- [MAX8831_BL_LEDS] = {
- .name = "pluto_display_bl",
- },
-};
-
-static struct max8831_subdev_info pluto_max8831_subdevs[] = {
- {
- .id = MAX8831_ID_LED3,
- .name = "max8831_led_bl",
- .platform_data = &pluto_max8831_leds[MAX8831_ID_LED3],
- .pdata_size = sizeof(pluto_max8831_leds[MAX8831_ID_LED3]),
- }, {
- .id = MAX8831_ID_LED4,
- .name = "max8831_led_bl",
- .platform_data = &pluto_max8831_leds[MAX8831_ID_LED4],
- .pdata_size = sizeof(pluto_max8831_leds[MAX8831_ID_LED4]),
- }, {
- .id = MAX8831_ID_LED5,
- .name = "max8831_led_bl",
- .platform_data = &pluto_max8831_leds[MAX8831_ID_LED5],
- .pdata_size = sizeof(pluto_max8831_leds[MAX8831_ID_LED5]),
- }, {
- .id = MAX8831_BL_LEDS,
- .name = "max8831_display_bl",
- .platform_data = &pluto_max8831_leds[MAX8831_BL_LEDS],
- .pdata_size = sizeof(pluto_max8831_leds[MAX8831_BL_LEDS]),
- },
-};
-
-static struct max8831_platform_data pluto_max8831 = {
- .num_subdevs = ARRAY_SIZE(pluto_max8831_subdevs),
- .subdevs = pluto_max8831_subdevs,
-};
-
-static struct i2c_board_info pluto_i2c_led_info = {
- .type = "max8831",
- .addr = 0x4d,
- .platform_data = &pluto_max8831,
-};
-
static struct i2c_board_info __initdata cs42l73_board_info = {
I2C_BOARD_INFO("cs42l73", 0x4a),
};
@@ -302,8 +252,6 @@ static void pluto_i2c_init(void)
tegra11_i2c_device4.dev.platform_data = &pluto_i2c4_platform_data;
tegra11_i2c_device5.dev.platform_data = &pluto_i2c5_platform_data;
- i2c_register_board_info(1, &pluto_i2c_led_info, 1);
-
platform_device_register(&tegra11_i2c_device5);
platform_device_register(&tegra11_i2c_device4);
platform_device_register(&tegra11_i2c_device3);