linux/drivers/media/tuners/xc2028-types.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * xc2028_types
 *
 * This file includes internal tipes to be used inside xc2028.
 * Shouldn't be included outside xc2028
 *
 * Copyright (c) 2007-2008 Mauro Carvalho Chehab <[email protected]>
 */

/* xc3028 firmware types */

/* BASE firmware should be loaded before any other firmware */
#define BASE
#define BASE_TYPES

/* F8MHZ marks BASE firmwares for 8 MHz Bandwidth */
#define F8MHZ

/* Multichannel Television Sound (MTS)
   Those firmwares are capable of using xc2038 DSP to decode audio and
   produce a baseband audio output on some pins of the chip.
   There are MTS firmwares for the most used video standards. It should be
   required to use MTS firmwares, depending on the way audio is routed into
   the bridge chip
 */
#define MTS

/* FIXME: I have no idea what's the difference between
   D2620 and D2633 firmwares
 */
#define D2620
#define D2633

/* DTV firmwares for 6, 7 and 8 MHz
   DTV6 - 6MHz - ATSC/DVB-C/DVB-T/ISDB-T/DOCSIS
   DTV8 - 8MHz - DVB-C/DVB-T
 */
#define DTV6
#define QAM
#define DTV7
#define DTV78
#define DTV8

#define DTV_TYPES

/* There's a FM | BASE firmware + FM specific firmware (std=0) */
#define FM

#define STD_SPECIFIC_TYPES

/* Applies only for FM firmware
   Makes it use RF input 1 (pin #2) instead of input 2 (pin #4)
 */
#define INPUT1


/* LCD firmwares exist only for MTS STD/MN (PAL or NTSC/M)
	and for non-MTS STD/MN (PAL, NTSC/M or NTSC/Kr)
	There are variants both with and without NOGD
	Those firmwares produce better result with LCD displays
 */
#define LCD

/* NOGD firmwares exist only for MTS STD/MN (PAL or NTSC/M)
	and for non-MTS STD/MN (PAL, NTSC/M or NTSC/Kr)
	The NOGD firmwares don't have group delay compensation filter
 */
#define NOGD

/* Old firmwares were broken into init0 and init1 */
#define INIT1

/* SCODE firmware selects particular behaviours */
#define MONO
#define ATSC
#define IF
#define LG60
#define ATI638
#define OREN538
#define OREN36
#define TOYOTA388
#define TOYOTA794
#define DIBCOM52
#define ZARLINK456
#define CHINA
#define F6MHZ
#define INPUT2
#define SCODE

/* This flag identifies that the scode table has a new format */
#define HAS_IF

/* There are different scode tables for MTS and non-MTS.
   The MTS firmwares support mono only
  */
#define SCODE_TYPES


/* Newer types not defined on videodev2.h.
   The original idea were to move all those types to videodev2.h, but
   it seemed overkill, since, with the exception of SECAM/K3, the other
   types seem to be autodetected.
   It is not clear where secam/k3 is used, nor we have a feedback of this
   working or being autodetected by the standard secam firmware.
 */

#define V4L2_STD_SECAM_K3

/* Audio types */

#define V4L2_STD_A2_A
#define V4L2_STD_A2_B
#define V4L2_STD_NICAM_A
#define V4L2_STD_NICAM_B
#define V4L2_STD_AM
#define V4L2_STD_BTSC
#define V4L2_STD_EIAJ

#define V4L2_STD_A2
#define V4L2_STD_NICAM

/* To preserve backward compatibility,
   (std & V4L2_STD_AUDIO) = 0 means that ALL audio stds are supported
 */

#define V4L2_STD_AUDIO

/* Used standards with audio restrictions */

#define V4L2_STD_PAL_BG_A2_A
#define V4L2_STD_PAL_BG_A2_B
#define V4L2_STD_PAL_BG_NICAM_A
#define V4L2_STD_PAL_BG_NICAM_B
#define V4L2_STD_PAL_DK_A2
#define V4L2_STD_PAL_DK_NICAM
#define V4L2_STD_SECAM_L_NICAM
#define V4L2_STD_SECAM_L_AM