From: Greg Meiste Date: Mon, 23 Aug 2010 21:51:17 +0000 (-0500) Subject: [ARM] tegra: stingray: Enable notification LED fading X-Git-Tag: firefly_0821_release~9834^2~663 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a7c83d1b8ca19308d276c9c0c84f4fcc8026eba0;p=firefly-linux-kernel-4.4.55.git [ARM] tegra: stingray: Enable notification LED fading Change-Id: I32cf8e461c125739700b4cf032e6f850bb6ccc4d Signed-off-by: Greg Meiste --- 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] = {