aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-03-06 05:14:51 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 06:10:17 -0400
commit739a8c91a39cd2bc3fce23ab4368816150fcf27a (patch)
treef5f653d90c521020903c62faae65f9be44152473
parentf82757d912b916348976c464ddc80539d89c851d (diff)
[media] siano: Add the new voltage definitions for GPIO
Those new definitions came from this patch, from Doron Cohen: http://patchwork.linuxtv.org/patch/7882/ Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/common/siano/smscoreapi.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/media/common/siano/smscoreapi.h b/drivers/media/common/siano/smscoreapi.h
index a6d29a2426a1..62f05e89da0e 100644
--- a/drivers/media/common/siano/smscoreapi.h
+++ b/drivers/media/common/siano/smscoreapi.h
@@ -642,10 +642,22 @@ struct smscore_config_gpio {
642#define SMS_GPIO_OUTPUTSLEWRATE_SLOW 1 642#define SMS_GPIO_OUTPUTSLEWRATE_SLOW 1
643 u8 outputslewrate; 643 u8 outputslewrate;
644 644
645 /* 10xx */
645#define SMS_GPIO_OUTPUTDRIVING_S_4mA 0 646#define SMS_GPIO_OUTPUTDRIVING_S_4mA 0
646#define SMS_GPIO_OUTPUTDRIVING_S_8mA 1 647#define SMS_GPIO_OUTPUTDRIVING_S_8mA 1
647#define SMS_GPIO_OUTPUTDRIVING_S_12mA 2 648#define SMS_GPIO_OUTPUTDRIVING_S_12mA 2
648#define SMS_GPIO_OUTPUTDRIVING_S_16mA 3 649#define SMS_GPIO_OUTPUTDRIVING_S_16mA 3
650
651 /* 11xx*/
652#define SMS_GPIO_OUTPUTDRIVING_1_5mA 0
653#define SMS_GPIO_OUTPUTDRIVING_2_8mA 1
654#define SMS_GPIO_OUTPUTDRIVING_4mA 2
655#define SMS_GPIO_OUTPUTDRIVING_7mA 3
656#define SMS_GPIO_OUTPUTDRIVING_10mA 4
657#define SMS_GPIO_OUTPUTDRIVING_11mA 5
658#define SMS_GPIO_OUTPUTDRIVING_14mA 6
659#define SMS_GPIO_OUTPUTDRIVING_16mA 7
660
649 u8 outputdriving; 661 u8 outputdriving;
650}; 662};
651 663