/* SPDX-License-Identifier: GPL-2.0-or-later */1/*2* upd6408x - NEC Electronics 3-Dimensional Y/C separation input defines3*4* 2006 by Hans Verkuil ([email protected])5*/67#ifndef _UPD64083_H_8#define _UPD64083_H_910/* There are two bits of information that the driver needs in order11to select the correct routing: the operating mode and the selection12of the Y input (external or internal).1314The first two operating modes expect a composite signal on the Y input,15the second two operating modes use both the Y and C inputs.1617Normally YCS_MODE is used for tuner and composite inputs, and the18YCNR mode is used for S-Video inputs.1920The external Y-ADC is selected when the composite input comes from a21upd64031a ghost reduction device. If this device is not present, or22the input is a S-Video signal, then the internal Y-ADC input should23be used. */2425/* Operating modes: */2627/* YCS mode: Y/C separation (burst locked clocking) */28#define UPD64083_YCS_MODE 029/* YCS+ mode: 2D Y/C separation and YCNR (burst locked clocking) */30#define UPD64083_YCS_PLUS_MODE 13132/* Note: the following two modes cannot be used in combination with the33external Y-ADC. */34/* MNNR mode: frame comb type YNR+C delay (line locked clocking) */35#define UPD64083_MNNR_MODE 236/* YCNR mode: frame recursive YCNR (burst locked clocking) */37#define UPD64083_YCNR_MODE 33839/* Select external Y-ADC: this should be set if this device is used in40combination with the upd64031a ghost reduction device.41Otherwise leave at 0 (use internal Y-ADC). */42#define UPD64083_EXT_Y_ADC (1 << 2)4344#endif454647