Skip to content

Commit

Permalink
[media] siano: Add the new voltage definitions for GPIO
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab committed Mar 21, 2013
1 parent f82757d commit 739a8c9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions drivers/media/common/siano/smscoreapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit 739a8c9

Please sign in to comment.