This client driver allows you to use a GPIO pin as a source for PPS
[linux-2.6/next.git] / include / media / upd64031a.h
blob3ad6a32e1bce20e9043bebffd785b214d2ce28cc
1 /*
2 * upd64031a - NEC Electronics Ghost Reduction input defines
4 * 2006 by Hans Verkuil (hverkuil@xs4all.nl)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 #ifndef _UPD64031A_H_
22 #define _UPD64031A_H_
24 /* Ghost reduction modes */
25 #define UPD64031A_GR_ON 0
26 #define UPD64031A_GR_OFF 1
27 #define UPD64031A_GR_THROUGH 3
29 /* Direct 3D/YCS Connection */
30 #define UPD64031A_3DYCS_DISABLE (0 << 2)
31 #define UPD64031A_3DYCS_COMPOSITE (2 << 2)
32 #define UPD64031A_3DYCS_SVIDEO (3 << 2)
34 /* Composite sync digital separation circuit */
35 #define UPD64031A_COMPOSITE_EXTERNAL (1 << 4)
37 /* Vertical sync digital separation circuit */
38 #define UPD64031A_VERTICAL_EXTERNAL (1 << 5)
40 #endif