linux/drivers/gpu/drm/amd/display/dc/dc_hdmi_types.h

/*
 * Copyright 2022 Advanced Micro Devices, Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 *
 * Authors: AMD
 *
 */

#ifndef DC_HDMI_TYPES_H
#define DC_HDMI_TYPES_H

#include "os_types.h"

/* Address range from 0x00 to 0x1F.*/
#define DP_ADAPTOR_TYPE2_SIZE
#define DP_ADAPTOR_TYPE2_REG_ID
#define DP_ADAPTOR_TYPE2_REG_MAX_TMDS_CLK
/* Identifies adaptor as Dual-mode adaptor */
#define DP_ADAPTOR_TYPE2_ID
/* MHz*/
#define DP_ADAPTOR_TYPE2_MAX_TMDS_CLK
/* MHz*/
#define DP_ADAPTOR_TYPE2_MIN_TMDS_CLK
/* kHZ*/
#define DP_ADAPTOR_DVI_MAX_TMDS_CLK
/* kHZ*/
#define DP_ADAPTOR_HDMI_SAFE_MAX_TMDS_CLK

struct dp_hdmi_dongle_signature_data {};

/* DP-HDMI dongle slave address for retrieving dongle signature*/
#define DP_HDMI_DONGLE_ADDRESS
#define DP_HDMI_DONGLE_SIGNATURE_EOT


/* SCDC Address defines (HDMI 2.0)*/
#define HDMI_SCDC_WRITE_UPDATE_0_ARRAY
#define HDMI_SCDC_ADDRESS
#define HDMI_SCDC_SINK_VERSION
#define HDMI_SCDC_SOURCE_VERSION
#define HDMI_SCDC_UPDATE_0
#define HDMI_SCDC_TMDS_CONFIG
#define HDMI_SCDC_SCRAMBLER_STATUS
#define HDMI_SCDC_CONFIG_0
#define HDMI_SCDC_CONFIG_1
#define HDMI_SCDC_SOURCE_TEST_REQ
#define HDMI_SCDC_STATUS_FLAGS
#define HDMI_SCDC_ERR_DETECT
#define HDMI_SCDC_TEST_CONFIG

#define HDMI_SCDC_MANUFACTURER_OUI
#define HDMI_SCDC_DEVICE_ID

hdmi_scdc_update_read_data;

hdmi_scdc_status_flags_data;

hdmi_scdc_ced_data;

hdmi_scdc_manufacturer_OUI_data;

hdmi_scdc_device_id_data;

#endif /* DC_HDMI_TYPES_H */