EDP: tn8: add consumer data for cameras
Timo Alho [Tue, 29 Oct 2013 12:09:36 +0000 (14:09 +0200)]
add system edp consumer data for ov5693 and mt9m114 cameras.

Bug 1391719
Bug 1391722

Change-Id: Ibdd41b6cd39d04c855087f23025218de41ea469c
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/304861
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: David Wang (SW-TEGRA) <davidw@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

arch/arm/mach-tegra/board-tn8-sysedp.c

index 8a64efa..7a89bc8 100644 (file)
@@ -24,6 +24,8 @@
 #include "board-panel.h"
 
 /* --- EDP consumers data --- */
+static unsigned int ov5693_states[] = { 0, 300 };
+static unsigned int mt9m114_states[] = { 0, 150 };
 static unsigned int sdhci_states[] = { 0, 966 };
 static unsigned int speaker_states[] = { 0, 1080 };
 static unsigned int wifi_states[] = { 0, 1020 };
@@ -33,6 +35,8 @@ static unsigned int pwm_backlight_states[] = {
 };
 
 static struct sysedp_consumer_data tn8_sysedp_consumer_data[] = {
+       SYSEDP_CONSUMER_DATA("ov5693", ov5693_states),
+       SYSEDP_CONSUMER_DATA("mt9m114", mt9m114_states),
        SYSEDP_CONSUMER_DATA("speaker", speaker_states),
        SYSEDP_CONSUMER_DATA("wifi", wifi_states),
        SYSEDP_CONSUMER_DATA("pwm-backlight", pwm_backlight_states),