Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1038)

Side by Side Diff: arch/arm/mach-s5pv210/include/mach/regs-cec.h

Issue 2060003: ARM: S5PV210: Add TV out driver register definition files (Closed) Base URL: swsolcc@12.23.106.100:kernel-samsung.git
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | arch/arm/mach-s5pv210/include/mach/regs-hdmi.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /* linux/arch/arm/mach-s5pv210/include/mach/regs-cec.h
2 *
3 * Copyright (c) 2010 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com/
5 *
6 * S5PV210 - CEC register header file for Samsung TVOut driver
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */
12
13 #ifndef __ASM_ARCH_REGS_CEC_H
14 #define __ASM_ARCH_REGS_CEC_H __FILE__
15
16 #define HDMIDP_CECREG(x) (x)
17
18 #define CEC_STATUS_0 HDMIDP_CECREG(0x0000)
19 #define CEC_STATUS_1 HDMIDP_CECREG(0x0004)
20 #define CEC_STATUS_2 HDMIDP_CECREG(0x0008)
21 #define CEC_STATUS_3 HDMIDP_CECREG(0x000C)
22 #define CEC_IRQ_MASK HDMIDP_CECREG(0x0010)
23 #define CEC_IRQ_CLEAR HDMIDP_CECREG(0x0014)
24 #define CEC_LOGIC_ADDR HDMIDP_CECREG(0x0020)
25 #define CEC_DIVISOR_0 HDMIDP_CECREG(0x0030)
26 #define CEC_DIVISOR_1 HDMIDP_CECREG(0x0034)
27 #define CEC_DIVISOR_2 HDMIDP_CECREG(0x0038)
28 #define CEC_DIVISOR_3 HDMIDP_CECREG(0x003C)
29
30 #define CEC_TX_CTRL HDMIDP_CECREG(0x0040)
31 #define CEC_TX_BYTES HDMIDP_CECREG(0x0044)
32 #define CEC_TX_STAT0 HDMIDP_CECREG(0x0060)
33 #define CEC_TX_STAT1 HDMIDP_CECREG(0x0064)
34 #define CEC_TX_BUFF0 HDMIDP_CECREG(0x0080)
35 #define CEC_TX_BUFF1 HDMIDP_CECREG(0x0084)
36 #define CEC_TX_BUFF2 HDMIDP_CECREG(0x0088)
37 #define CEC_TX_BUFF3 HDMIDP_CECREG(0x008C)
38 #define CEC_TX_BUFF4 HDMIDP_CECREG(0x0090)
39 #define CEC_TX_BUFF5 HDMIDP_CECREG(0x0094)
40 #define CEC_TX_BUFF6 HDMIDP_CECREG(0x0098)
41 #define CEC_TX_BUFF7 HDMIDP_CECREG(0x009C)
42 #define CEC_TX_BUFF8 HDMIDP_CECREG(0x00A0)
43 #define CEC_TX_BUFF9 HDMIDP_CECREG(0x00A4)
44 #define CEC_TX_BUFF10 HDMIDP_CECREG(0x00A8)
45 #define CEC_TX_BUFF11 HDMIDP_CECREG(0x00AC)
46 #define CEC_TX_BUFF12 HDMIDP_CECREG(0x00B0)
47 #define CEC_TX_BUFF13 HDMIDP_CECREG(0x00B4)
48 #define CEC_TX_BUFF14 HDMIDP_CECREG(0x00B8)
49 #define CEC_TX_BUFF15 HDMIDP_CECREG(0x00BC)
50
51 #define CEC_RX_CTRL HDMIDP_CECREG(0x00C0)
52 #define CEC_RX_STAT0 HDMIDP_CECREG(0x00E0)
53 #define CEC_RX_STAT1 HDMIDP_CECREG(0x00E4)
54 #define CEC_RX_BUFF0 HDMIDP_CECREG(0x0100)
55 #define CEC_RX_BUFF1 HDMIDP_CECREG(0x0104)
56 #define CEC_RX_BUFF2 HDMIDP_CECREG(0x0108)
57 #define CEC_RX_BUFF3 HDMIDP_CECREG(0x010C)
58 #define CEC_RX_BUFF4 HDMIDP_CECREG(0x0110)
59 #define CEC_RX_BUFF5 HDMIDP_CECREG(0x0114)
60 #define CEC_RX_BUFF6 HDMIDP_CECREG(0x0118)
61 #define CEC_RX_BUFF7 HDMIDP_CECREG(0x011C)
62 #define CEC_RX_BUFF8 HDMIDP_CECREG(0x0120)
63 #define CEC_RX_BUFF9 HDMIDP_CECREG(0x0124)
64 #define CEC_RX_BUFF10 HDMIDP_CECREG(0x0128)
65 #define CEC_RX_BUFF11 HDMIDP_CECREG(0x012C)
66 #define CEC_RX_BUFF12 HDMIDP_CECREG(0x0130)
67 #define CEC_RX_BUFF13 HDMIDP_CECREG(0x0134)
68 #define CEC_RX_BUFF14 HDMIDP_CECREG(0x0138)
69 #define CEC_RX_BUFF15 HDMIDP_CECREG(0x013C)
70
71 #define CEC_RX_FILTER_CTRL HDMIDP_CECREG(0x0180)
72 #define CEC_RX_FILTER_TH HDMIDP_CECREG(0x0184)
73
74 #define CEC_IRQ_TX_DONE (1<<0)
75 #define CEC_IRQ_TX_ERROR (1<<1)
76 #define CEC_IRQ_RX_DONE (1<<4)
77 #define CEC_IRQ_RX_ERROR (1<<5)
78
79 #define CEC_TX_CTRL_START (1<<0)
80 #define CEC_TX_CTRL_BCAST (1<<1)
81 #define CEC_TX_CTRL_RETRY (0x04<<4)
82 #define CEC_TX_CTRL_RESET (1<<7)
83
84 #define CEC_RX_CTRL_ENABLE (1<<0)
85 #define CEC_RX_CTRL_RESET (1<<7)
86
87 #define CEC_LOGIC_ADDR_MASK 0x0F
88
89 #endif /* __ASM_ARCH_REGS_CEC_H */
OLDNEW
« no previous file with comments | « no previous file | arch/arm/mach-s5pv210/include/mach/regs-hdmi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698