diff options
author | 2017-06-13 20:32:15 -0300 | |
---|---|---|
committer | 2017-06-20 10:24:54 -0300 | |
commit | eaa455f023c3ac62f99dcb0aed1bd3986b61f71e (patch) | |
tree | 7c37fa86cc25af61460626574f9a49106b35d59f /drivers/media/dvb-frontends/af9013.h | |
parent | [media] af9015: enable 2nd TS flow control when dual mode (diff) | |
download | linux-eaa455f023c3ac62f99dcb0aed1bd3986b61f71e.tar.gz linux-eaa455f023c3ac62f99dcb0aed1bd3986b61f71e.tar.bz2 linux-eaa455f023c3ac62f99dcb0aed1bd3986b61f71e.zip |
[media] af9013: add configurable TS output pin
On serial TS mode output pin could be selected from D0 or D7.
Add configuration option to for it.
Rename TS mode config option prefix from AF9013_TS_ to AF9013_TS_MODE_.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/af9013.h')
-rw-r--r-- | drivers/media/dvb-frontends/af9013.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/af9013.h b/drivers/media/dvb-frontends/af9013.h index 3f18258b64d4..353274524f1b 100644 --- a/drivers/media/dvb-frontends/af9013.h +++ b/drivers/media/dvb-frontends/af9013.h @@ -33,6 +33,7 @@ * @tuner: Used tuner model. * @if_frequency: IF frequency. * @ts_mode: TS mode. + * @ts_output_pin: TS output pin. * @spec_inv: Input spectrum inverted. * @api_version: Firmware API version. * @gpio: GPIOs. @@ -62,6 +63,7 @@ struct af9013_platform_data { #define AF9013_TS_MODE_PARALLEL 1 #define AF9013_TS_MODE_SERIAL 2 u8 ts_mode; + u8 ts_output_pin; bool spec_inv; u8 api_version[4]; #define AF9013_GPIO_ON (1 << 0) |