Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
9417bc6d
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
9417bc6d
编写于
9月 26, 2010
作者:
M
Mauro Carvalho Chehab
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[media] Add analog support for Pixelvied Hybrid SBTVD
Signed-off-by:
N
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
上级
b9ede79a
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
44 addition
and
2 deletion
+44
-2
drivers/media/video/cx231xx/cx231xx-avcore.c
drivers/media/video/cx231xx/cx231xx-avcore.c
+1
-0
drivers/media/video/cx231xx/cx231xx-cards.c
drivers/media/video/cx231xx/cx231xx-cards.c
+39
-2
drivers/media/video/cx231xx/cx231xx-core.c
drivers/media/video/cx231xx/cx231xx-core.c
+3
-0
drivers/media/video/cx231xx/cx231xx.h
drivers/media/video/cx231xx/cx231xx.h
+1
-0
未找到文件。
drivers/media/video/cx231xx/cx231xx-avcore.c
浏览文件 @
9417bc6d
...
...
@@ -354,6 +354,7 @@ int cx231xx_afe_update_power_control(struct cx231xx *dev,
case
CX231XX_BOARD_CNXT_VIDEO_GRABBER
:
case
CX231XX_BOARD_HAUPPAUGE_EXETER
:
case
CX231XX_BOARD_HAUPPAUGE_USBLIVE2
:
case
CX231XX_BOARD_PV_PLAYTV_USB_HYBRID
:
if
(
avmode
==
POLARIS_AVMODE_ANALOGT_TV
)
{
while
(
afe_power_status
!=
(
FLD_PWRDN_TUNING_BIAS
|
FLD_PWRDN_ENABLE_PLL
))
{
...
...
drivers/media/video/cx231xx/cx231xx-cards.c
浏览文件 @
9417bc6d
...
...
@@ -395,6 +395,43 @@ struct cx231xx_board cx231xx_boards[] = {
.
gpio
=
0
,
}
},
},
[
CX231XX_BOARD_PV_PLAYTV_USB_HYBRID
]
=
{
.
name
=
"Pixelview PlayTV USB Hybrid"
,
.
tuner_type
=
TUNER_NXP_TDA18271
,
.
tuner_addr
=
0x60
,
.
decoder
=
CX231XX_AVDECODER
,
.
output_mode
=
OUT_MODE_VIP11
,
.
demod_xfer_mode
=
0
,
.
ctl_pin_status_mask
=
0xFFFFFFC4
,
.
agc_analog_digital_select_gpio
=
0x00
,
/* According with PV cxPolaris.inf file */
.
tuner_sif_gpio
=
-
1
,
.
tuner_scl_gpio
=
-
1
,
.
tuner_sda_gpio
=
-
1
,
.
gpio_pin_status_mask
=
0x4001000
,
.
tuner_i2c_master
=
2
,
.
demod_i2c_master
=
1
,
.
has_dvb
=
0
,
/* FIXME: need driver for mb86a20s */
.
demod_addr
=
0x10
,
.
norm
=
V4L2_STD_PAL_M
,
.
input
=
{{
.
type
=
CX231XX_VMUX_TELEVISION
,
.
vmux
=
CX231XX_VIN_3_1
,
.
amux
=
CX231XX_AMUX_VIDEO
,
.
gpio
=
0
,
},
{
.
type
=
CX231XX_VMUX_COMPOSITE1
,
.
vmux
=
CX231XX_VIN_2_1
,
.
amux
=
CX231XX_AMUX_LINE_IN
,
.
gpio
=
0
,
},
{
.
type
=
CX231XX_VMUX_SVIDEO
,
.
vmux
=
CX231XX_VIN_1_1
|
(
CX231XX_VIN_1_2
<<
8
)
|
CX25840_SVIDEO_ON
,
.
amux
=
CX231XX_AMUX_LINE_IN
,
.
gpio
=
0
,
}
},
},
};
const
unsigned
int
cx231xx_bcount
=
ARRAY_SIZE
(
cx231xx_boards
);
...
...
@@ -402,8 +439,6 @@ const unsigned int cx231xx_bcount = ARRAY_SIZE(cx231xx_boards);
struct
usb_device_id
cx231xx_id_table
[]
=
{
{
USB_DEVICE
(
0x0572
,
0x5A3C
),
.
driver_info
=
CX231XX_BOARD_UNKNOWN
},
{
USB_DEVICE_VER
(
USB_VID_PIXELVIEW
,
USB_PID_PIXELVIEW_SBTVD
,
0x4000
,
0x4fff
),
.
driver_info
=
CX231XX_BOARD_UNKNOWN
},
{
USB_DEVICE
(
0x0572
,
0x58A2
),
.
driver_info
=
CX231XX_BOARD_CNXT_CARRAERA
},
{
USB_DEVICE
(
0x0572
,
0x58A1
),
...
...
@@ -424,6 +459,8 @@ struct usb_device_id cx231xx_id_table[] = {
.
driver_info
=
CX231XX_BOARD_HAUPPAUGE_EXETER
},
{
USB_DEVICE
(
0x2040
,
0xc200
),
.
driver_info
=
CX231XX_BOARD_HAUPPAUGE_USBLIVE2
},
{
USB_DEVICE_VER
(
USB_VID_PIXELVIEW
,
USB_PID_PIXELVIEW_SBTVD
,
0x4000
,
0x4001
),
.
driver_info
=
CX231XX_BOARD_PV_PLAYTV_USB_HYBRID
},
{},
};
...
...
drivers/media/video/cx231xx/cx231xx-core.c
浏览文件 @
9417bc6d
...
...
@@ -719,6 +719,7 @@ int cx231xx_set_mode(struct cx231xx *dev, enum cx231xx_mode set_mode)
break
;
case
CX231XX_BOARD_CNXT_RDE_253S
:
case
CX231XX_BOARD_CNXT_RDU_253S
:
case
CX231XX_BOARD_PV_PLAYTV_USB_HYBRID
:
errCode
=
cx231xx_set_agc_analog_digital_mux_select
(
dev
,
1
);
break
;
case
CX231XX_BOARD_HAUPPAUGE_EXETER
:
...
...
@@ -740,6 +741,7 @@ int cx231xx_set_mode(struct cx231xx *dev, enum cx231xx_mode set_mode)
case
CX231XX_BOARD_CNXT_RDE_253S
:
case
CX231XX_BOARD_CNXT_RDU_253S
:
case
CX231XX_BOARD_HAUPPAUGE_EXETER
:
case
CX231XX_BOARD_PV_PLAYTV_USB_HYBRID
:
errCode
=
cx231xx_set_agc_analog_digital_mux_select
(
dev
,
0
);
break
;
default:
...
...
@@ -1381,6 +1383,7 @@ int cx231xx_dev_init(struct cx231xx *dev)
case
CX231XX_BOARD_CNXT_RDE_253S
:
case
CX231XX_BOARD_CNXT_RDU_253S
:
case
CX231XX_BOARD_HAUPPAUGE_EXETER
:
case
CX231XX_BOARD_PV_PLAYTV_USB_HYBRID
:
errCode
=
cx231xx_set_agc_analog_digital_mux_select
(
dev
,
0
);
break
;
default:
...
...
drivers/media/video/cx231xx/cx231xx.h
浏览文件 @
9417bc6d
...
...
@@ -62,6 +62,7 @@
#define CX231XX_BOARD_CNXT_RDU_250 7
#define CX231XX_BOARD_HAUPPAUGE_EXETER 8
#define CX231XX_BOARD_HAUPPAUGE_USBLIVE2 9
#define CX231XX_BOARD_PV_PLAYTV_USB_HYBRID 10
/* Limits minimum and default number of buffers */
#define CX231XX_MIN_BUF 4
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录