Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
5ecdd39f
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
14
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
5ecdd39f
编写于
12月 16, 2011
作者:
A
Arnd Bergmann
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'davinci/cleanup' into next/cleanup
上级
02735a29
e13c692b
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
75 addition
and
53 deletion
+75
-53
arch/arm/mach-davinci/include/mach/dm646x.h
arch/arm/mach-davinci/include/mach/dm646x.h
+1
-52
drivers/media/video/davinci/vpif.h
drivers/media/video/davinci/vpif.h
+1
-0
drivers/media/video/davinci/vpif_capture.h
drivers/media/video/davinci/vpif_capture.h
+1
-1
drivers/media/video/davinci/vpif_display.h
drivers/media/video/davinci/vpif_display.h
+1
-0
include/media/davinci/vpif_types.h
include/media/davinci/vpif_types.h
+71
-0
未找到文件。
arch/arm/mach-davinci/include/mach/dm646x.h
浏览文件 @
5ecdd39f
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
#include <linux/i2c.h>
#include <linux/i2c.h>
#include <linux/videodev2.h>
#include <linux/videodev2.h>
#include <linux/davinci_emac.h>
#include <linux/davinci_emac.h>
#include <media/davinci/vpif_types.h>
#define DM646X_EMAC_BASE (0x01C80000)
#define DM646X_EMAC_BASE (0x01C80000)
#define DM646X_EMAC_MDIO_BASE (DM646X_EMAC_BASE + 0x4000)
#define DM646X_EMAC_MDIO_BASE (DM646X_EMAC_BASE + 0x4000)
...
@@ -34,58 +35,6 @@ int __init dm646x_init_edma(struct edma_rsv_info *rsv);
...
@@ -34,58 +35,6 @@ int __init dm646x_init_edma(struct edma_rsv_info *rsv);
void
dm646x_video_init
(
void
);
void
dm646x_video_init
(
void
);
enum
vpif_if_type
{
VPIF_IF_BT656
,
VPIF_IF_BT1120
,
VPIF_IF_RAW_BAYER
};
struct
vpif_interface
{
enum
vpif_if_type
if_type
;
unsigned
hd_pol
:
1
;
unsigned
vd_pol
:
1
;
unsigned
fid_pol
:
1
;
};
struct
vpif_subdev_info
{
const
char
*
name
;
struct
i2c_board_info
board_info
;
u32
input
;
u32
output
;
unsigned
can_route
:
1
;
struct
vpif_interface
vpif_if
;
};
struct
vpif_display_config
{
int
(
*
set_clock
)(
int
,
int
);
struct
vpif_subdev_info
*
subdevinfo
;
int
subdev_count
;
const
char
**
output
;
int
output_count
;
const
char
*
card_name
;
};
struct
vpif_input
{
struct
v4l2_input
input
;
const
char
*
subdev_name
;
};
#define VPIF_CAPTURE_MAX_CHANNELS 2
struct
vpif_capture_chan_config
{
const
struct
vpif_input
*
inputs
;
int
input_count
;
};
struct
vpif_capture_config
{
int
(
*
setup_input_channel_mode
)(
int
);
int
(
*
setup_input_path
)(
int
,
const
char
*
);
struct
vpif_capture_chan_config
chan_config
[
VPIF_CAPTURE_MAX_CHANNELS
];
struct
vpif_subdev_info
*
subdev_info
;
int
subdev_count
;
const
char
*
card_name
;
};
void
dm646x_setup_vpif
(
struct
vpif_display_config
*
,
void
dm646x_setup_vpif
(
struct
vpif_display_config
*
,
struct
vpif_capture_config
*
);
struct
vpif_capture_config
*
);
...
...
drivers/media/video/davinci/vpif.h
浏览文件 @
5ecdd39f
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
#include <linux/videodev2.h>
#include <linux/videodev2.h>
#include <mach/hardware.h>
#include <mach/hardware.h>
#include <mach/dm646x.h>
#include <mach/dm646x.h>
#include <media/davinci/vpif_types.h>
/* Maximum channel allowed */
/* Maximum channel allowed */
#define VPIF_NUM_CHANNELS (4)
#define VPIF_NUM_CHANNELS (4)
...
...
drivers/media/video/davinci/vpif_capture.h
浏览文件 @
5ecdd39f
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
#include <media/v4l2-device.h>
#include <media/v4l2-device.h>
#include <media/videobuf-core.h>
#include <media/videobuf-core.h>
#include <media/videobuf-dma-contig.h>
#include <media/videobuf-dma-contig.h>
#include <m
ach/dm646x
.h>
#include <m
edia/davinci/vpif_types
.h>
#include "vpif.h"
#include "vpif.h"
...
...
drivers/media/video/davinci/vpif_display.h
浏览文件 @
5ecdd39f
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
#include <media/v4l2-device.h>
#include <media/v4l2-device.h>
#include <media/videobuf-core.h>
#include <media/videobuf-core.h>
#include <media/videobuf-dma-contig.h>
#include <media/videobuf-dma-contig.h>
#include <media/davinci/vpif_types.h>
#include "vpif.h"
#include "vpif.h"
...
...
include/media/davinci/vpif_types.h
0 → 100644
浏览文件 @
5ecdd39f
/*
* Copyright (C) 2011 Texas Instruments Inc
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation version 2.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef _VPIF_TYPES_H
#define _VPIF_TYPES_H
#define VPIF_CAPTURE_MAX_CHANNELS 2
enum
vpif_if_type
{
VPIF_IF_BT656
,
VPIF_IF_BT1120
,
VPIF_IF_RAW_BAYER
};
struct
vpif_interface
{
enum
vpif_if_type
if_type
;
unsigned
hd_pol
:
1
;
unsigned
vd_pol
:
1
;
unsigned
fid_pol
:
1
;
};
struct
vpif_subdev_info
{
const
char
*
name
;
struct
i2c_board_info
board_info
;
u32
input
;
u32
output
;
unsigned
can_route
:
1
;
struct
vpif_interface
vpif_if
;
};
struct
vpif_display_config
{
int
(
*
set_clock
)(
int
,
int
);
struct
vpif_subdev_info
*
subdevinfo
;
int
subdev_count
;
const
char
**
output
;
int
output_count
;
const
char
*
card_name
;
};
struct
vpif_input
{
struct
v4l2_input
input
;
const
char
*
subdev_name
;
};
struct
vpif_capture_chan_config
{
const
struct
vpif_input
*
inputs
;
int
input_count
;
};
struct
vpif_capture_config
{
int
(
*
setup_input_channel_mode
)(
int
);
int
(
*
setup_input_path
)(
int
,
const
char
*
);
struct
vpif_capture_chan_config
chan_config
[
VPIF_CAPTURE_MAX_CHANNELS
];
struct
vpif_subdev_info
*
subdev_info
;
int
subdev_count
;
const
char
*
card_name
;
};
#endif
/* _VPIF_TYPES_H */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录