3 * Copyright (c) 2007 Mauro Carvalho Chehab (mchehab@infradead.org)
4 * This code is placed under the terms of the GNU General Public License v2
7 /* xc3028 firmware types */
9 /* BASE firmware should be loaded before any other firmware */
12 /* F8MHZ marks BASE firmwares for 8 MHz Bandwidth */
15 /* Multichannel Television Sound (MTS)
16 Those firmwares are capable of using xc2038 DSP to decode audio and
17 produce a baseband audio output on some pins of the chip.
18 There are MTS firmwares for the most used video standards. It should be
19 required to use MTS firmwares, depending on the way audio is routed into
24 /* FIXME: I have no idea what's the difference between
25 D2620 and D2633 firmwares
30 /* DTV firmwares for 6, 7 and 8 MHz
31 DTV6 - 6MHz - ATSC/DVB-C/DVB-T/ISDB-T/DOCSIS
32 DTV8 - 8MHz - DVB-C/DVB-T
40 /* There's a FM | BASE firmware + FM specific firmware (std=0) */
43 /* Applies only for FM firmware
44 Makes it use RF input 1 (pin #2) instead of input 2 (pin #4)
46 #define INPUT1 (1<<11)
49 /* LCD firmwares exist only for MTS STD/MN (PAL or NTSC/M)
50 and for non-MTS STD/MN (PAL, NTSC/M or NTSC/Kr)
51 There are variants both with and without NOGD
55 /* NOGD firmwares exist only for MTS STD/MN (PAL or NTSC/M)
56 and for non-MTS STD/MN (PAL, NTSC/M or NTSC/Kr)
60 /* Old firmwares were broken into init0 and init1 */
63 #define MONO (1 << 15)
64 #define ATSC (1 << 16)
66 #define LG60 (1 << 18)
67 #define ATI638 (1 << 19)
68 #define OREN538 (1 << 20)
69 #define OREN36 (1 << 21)
70 #define TOYOTA388 (1 << 22)
71 #define TOYOTA794 (1 << 23)
72 #define DIBCOM52 (1 << 24)
73 #define ZARLINK456 (1 << 25)
74 #define CHINA (1 << 26)
75 #define F6MHZ (1 << 27)
76 #define INPUT2 (1 << 28)
77 #define SCODE (1 << 29)
79 /* Newer types to be moved to videodev2.h */
81 #define V4L2_STD_SECAM_K3 (0x04000000)
85 #define V4L2_STD_A2_A (1LL<<32)
86 #define V4L2_STD_A2_B (1LL<<33)
87 #define V4L2_STD_NICAM_A (1LL<<34)
88 #define V4L2_STD_NICAM_B (1LL<<35)
89 #define V4L2_STD_AM (1LL<<36)
90 #define V4L2_STD_BTSC (1LL<<37)
91 #define V4L2_STD_EIAJ (1LL<<38)
93 #define V4L2_STD_A2 (V4L2_STD_A2_A | V4L2_STD_A2_B)
94 #define V4L2_STD_NICAM (V4L2_STD_NICAM_A | V4L2_STD_NICAM_B)
96 /* To preserve backward compatibilty,
97 (std & V4L2_STD_AUDIO) = 0 means that ALL audio stds are supported
100 #define V4L2_STD_AUDIO (V4L2_STD_A2 | \
106 /* Used standards with audio restrictions */
108 #define V4L2_STD_PAL_BG_A2_A (V4L2_STD_PAL_BG | V4L2_STD_A2_A)
109 #define V4L2_STD_PAL_BG_A2_B (V4L2_STD_PAL_BG | V4L2_STD_A2_B)
110 #define V4L2_STD_PAL_BG_NICAM_A (V4L2_STD_PAL_BG | V4L2_STD_NICAM_A)
111 #define V4L2_STD_PAL_BG_NICAM_B (V4L2_STD_PAL_BG | V4L2_STD_NICAM_B)
112 #define V4L2_STD_PAL_DK_A2 (V4L2_STD_PAL_DK | V4L2_STD_A2)
113 #define V4L2_STD_PAL_DK_NICAM (V4L2_STD_PAL_DK | V4L2_STD_NICAM)
114 #define V4L2_STD_SECAM_L_NICAM (V4L2_STD_SECAM_L | V4L2_STD_NICAM)
115 #define V4L2_STD_SECAM_L_AM (V4L2_STD_SECAM_L | V4L2_STD_AM)