HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ip-172-26-0-120 6.17.0-1009-aws #9~24.04.2-Ubuntu SMP Fri Mar 6 23:50:29 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //usr/src/linux-headers-7.0.0-1009-aws/include/linux/phy/phy-hdmi.h
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright 2022,2024 NXP
 */

#ifndef __PHY_HDMI_H_
#define __PHY_HDMI_H_

#include <linux/types.h>

enum phy_hdmi_mode {
	PHY_HDMI_MODE_TMDS,
	PHY_HDMI_MODE_FRL,
};

/**
 * struct phy_configure_opts_hdmi - HDMI configuration set
 * @bpc: Bits per color channel.
 * @tmds_char_rate: HDMI TMDS Character Rate in Hertz.
 * @frl.rate_per_lane: HDMI FRL Rate per Lane in Gbps.
 * @frl.lanes: HDMI FRL lanes count.
 *
 * This structure is used to represent the configuration state of a HDMI phy.
 */
struct phy_configure_opts_hdmi {
	unsigned int bpc;
	union {
		unsigned long long tmds_char_rate;
		struct {
			u8 rate_per_lane;
			u8 lanes;
		} frl;
	};
};

#endif /* __PHY_HDMI_H_ */