1 /* SPDX-License-Identifier: GPL-2.0 */
3 * tda1997x - NXP HDMI receiver
5 * Copyright 2017 Tim Harvey <tharvey@gateworks.com>
13 struct tda1997x_platform_data {
14 enum v4l2_mbus_type vidout_bus_type;
16 u8 vidout_port_cfg[9];
17 /* pin polarity (1=invert) */
22 /* clock delays (0=-8, 1=-7 ... 15=+7 pixels) */
27 /* sync selections (controls how sync pins are derived) */
32 /* Audio Port Output */
34 u32 audout_mclk_fs; /* clock multiplier */
35 u32 audout_width; /* 13 or 32 bit */
36 u32 audout_layout; /* layout0=AP0 layout1=AP0,AP1,AP2,AP3 */
37 bool audout_layoutauto; /* audio layout dictated by pkt header */
38 bool audout_invert_clk; /* data valid on rising edge of BCLK */
39 bool audio_auto_mute; /* enable hardware audio auto-mute */