aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/adv7511.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-08-23 08:12:36 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-08-26 06:53:43 -0400
commit5a544cce2177fe361ba539db9ddaf1eff4e73f81 (patch)
tree1bc229f17c92c06fcfebad820d1ba46680dffbe9 /include/media/adv7511.h
parenta89bcd4c6c2023615a89001b5a11b0bb77eb9491 (diff)
[media] adv7511: add new video encoder
This is an Analog Devices HDMI transmitter. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media/adv7511.h')
-rw-r--r--include/media/adv7511.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/include/media/adv7511.h b/include/media/adv7511.h
new file mode 100644
index 000000000000..bb78bed9a5b8
--- /dev/null
+++ b/include/media/adv7511.h
@@ -0,0 +1,48 @@
1/*
2 * Analog Devices ADV7511 HDMI Transmitter Device Driver
3 *
4 * Copyright 2013 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
5 *
6 * This program is free software; you may redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
11 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
12 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
13 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
14 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
15 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
16 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
17 * SOFTWARE.
18 */
19
20#ifndef ADV7511_H
21#define ADV7511_H
22
23/* notify events */
24#define ADV7511_MONITOR_DETECT 0
25#define ADV7511_EDID_DETECT 1
26
27
28struct adv7511_monitor_detect {
29 int present;
30};
31
32struct adv7511_edid_detect {
33 int present;
34 int segment;
35};
36
37struct adv7511_cec_arg {
38 void *arg;
39 u32 f_flags;
40};
41
42struct adv7511_platform_data {
43 uint8_t i2c_edid;
44 uint8_t i2c_cec;
45 uint32_t cec_clk;
46};
47
48#endif