From a7c83d1b8ca19308d276c9c0c84f4fcc8026eba0 Mon Sep 17 00:00:00 2001 From: Greg Meiste Date: Mon, 23 Aug 2010 16:51:17 -0500 Subject: [PATCH] [ARM] tegra: stingray: Enable notification LED fading Change-Id: I32cf8e461c125739700b4cf032e6f850bb6ccc4d Signed-off-by: Greg Meiste --- arch/arm/mach-tegra/board-stingray-power.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-tegra/board-stingray-power.c b/arch/arm/mach-tegra/board-stingray-power.c index ffda3a90bdb6..a290a0a230a4 100644 --- a/arch/arm/mach-tegra/board-stingray-power.c +++ b/arch/arm/mach-tegra/board-stingray-power.c @@ -268,9 +268,9 @@ static struct platform_device cpcap_privacy_led = { static struct cpcap_led stingray_notification_led ={ .blink_able = 1, .cpcap_register = CPCAP_REG_ADLC, - .cpcap_mask = 0x7FFF, - .on_val = 0x7FF5, - .off_val = 0x7FF4, + .cpcap_mask = 0x1FFF, + .on_val = 0x1FF5, + .off_val = 0x1FF4, .cpcap_duty_cycle = 0x41, .cpcap_current = 0x0, .class_name = LD_NOTIF_LED_DEV, @@ -310,6 +310,7 @@ struct cpcap_spi_init_data stingray_cpcap_spi_init[] = { {CPCAP_REG_USBC1, 0x1201}, {CPCAP_REG_USBC3, 0x7DFB}, {CPCAP_REG_OWDC, 0x0003}, + {CPCAP_REG_ADLC, 0x6000}, }; unsigned short cpcap_regulator_mode_values[CPCAP_NUM_REGULATORS] = { -- 2.34.1