/* SPDX-License-Identifier: GPL-2.0-only */ /* * adv7604 - Analog Devices ADV7604 video decoder driver * * Copyright 2012 Cisco Systems, Inc. and/or its affiliates. All rights reserved. */ #ifndef _ADV7604_ #define _ADV7604_ #include <linux/types.h> /* Analog input muxing modes (AFE register 0x02, [2:0]) */ enum adv7604_ain_sel { … }; /* * Bus rotation and reordering. This is used to specify component reordering on * the board and describes the components order on the bus when the ADV7604 * outputs RGB. */ enum adv7604_bus_order { … }; /* Input Color Space (IO register 0x02, [7:4]) */ enum adv76xx_inp_color_space { … }; /* Select output format (IO register 0x03, [4:2]) */ enum adv7604_op_format_mode_sel { … }; enum adv76xx_drive_strength { … }; /* INT1 Configuration (IO register 0x40, [1:0]) */ enum adv76xx_int1_config { … }; enum adv76xx_page { … }; /* Platform dependent definition */ struct adv76xx_platform_data { … }; enum adv76xx_pad { … }; #define V4L2_CID_ADV_RX_ANALOG_SAMPLING_PHASE … #define V4L2_CID_ADV_RX_FREE_RUN_COLOR_MANUAL … #define V4L2_CID_ADV_RX_FREE_RUN_COLOR … /* notify events */ #define ADV76XX_HOTPLUG … #endif