[media] siano: Add the new voltage definitions for GPIO
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 6 Mar 2013 10:14:51 +0000 (07:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 10:10:17 +0000 (07:10 -0300)
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>
drivers/media/common/siano/smscoreapi.h

index a6d29a2426a120554e7d711135703f3c83b8acb4..62f05e89da0e5be734df935d7684403c49f73ebd 100644 (file)
@@ -642,10 +642,22 @@ struct smscore_config_gpio {
 #define SMS_GPIO_OUTPUTSLEWRATE_SLOW 1
        u8 outputslewrate;
 
+       /* 10xx */
 #define SMS_GPIO_OUTPUTDRIVING_S_4mA  0
 #define SMS_GPIO_OUTPUTDRIVING_S_8mA  1
 #define SMS_GPIO_OUTPUTDRIVING_S_12mA 2
 #define SMS_GPIO_OUTPUTDRIVING_S_16mA 3
+
+       /* 11xx*/
+#define SMS_GPIO_OUTPUTDRIVING_1_5mA   0
+#define SMS_GPIO_OUTPUTDRIVING_2_8mA   1
+#define SMS_GPIO_OUTPUTDRIVING_4mA     2
+#define SMS_GPIO_OUTPUTDRIVING_7mA     3
+#define SMS_GPIO_OUTPUTDRIVING_10mA    4
+#define SMS_GPIO_OUTPUTDRIVING_11mA    5
+#define SMS_GPIO_OUTPUTDRIVING_14mA    6
+#define SMS_GPIO_OUTPUTDRIVING_16mA    7
+
        u8 outputdriving;
 };