History

phy: hdmi: Add HDMI 2.1 FRL configuration options

The HDMI 2.1 specification introduced the Fixed Rate Link (FRL) mode, aiming to replace the older Transition-Minimized Differential Signaling (TMDS) mode used in previous HDMI versions to support much higher bandwidths (up to 48 Gbps) for modern video and audio formats. FRL has been designed to support ultra high resolution formats at high refresh rates like 8K@60Hz or 4K@120Hz, and eliminates the need for dynamic bandwidth adjustments, which reduces latency. It operates with 3 or 4 lanes at different link rates: 3Gbps, 6Gbps, 8Gbps, 10Gbps or 12Gbps. Add support for configuring the FRL mode for HDMI PHYs.

Cristian Ciocaltea committed 10 months ago

Commit 41c6cac1 parent 4dd5d4c1 file · +17 −2Browse files

Showing the changes to include/linux/phy (1 of 1 file). Show all

Unified · Split

include/linux/phy/phy-hdmi.h+17−2
@@ -6,16 +6,31 @@ · 5 unmodified lines
6#ifndef __PHY_HDMI_H_6#ifndef __PHY_HDMI_H_
7#define __PHY_HDMI_H_7#define __PHY_HDMI_H_
8 8
9#include <linux/types.h>
10
11enum phy_hdmi_mode {
12 PHY_HDMI_MODE_TMDS,
13 PHY_HDMI_MODE_FRL,
14};
15
9/**16/**
10 * struct phy_configure_opts_hdmi - HDMI configuration set17 * struct phy_configure_opts_hdmi - HDMI configuration set
11 * @tmds_char_rate: HDMI TMDS Character Rate in Hertz.
12 * @bpc: Bits per color channel.18 * @bpc: Bits per color channel.
19 * @tmds_char_rate: HDMI TMDS Character Rate in Hertz.
20 * @frl.rate_per_lane: HDMI FRL Rate per Lane in Gbps.
21 * @frl.lanes: HDMI FRL lanes count.
13 *22 *
14 * This structure is used to represent the configuration state of a HDMI phy.23 * This structure is used to represent the configuration state of a HDMI phy.
15 */24 */
16struct phy_configure_opts_hdmi {25struct phy_configure_opts_hdmi {
17 unsigned long long tmds_char_rate;
18 unsigned int bpc;26 unsigned int bpc;
27 union {
28 unsigned long long tmds_char_rate;
29 struct {
30 u8 rate_per_lane;
31 u8 lanes;
32 } frl;
33 };
19};34};
20 35
21#endif /* __PHY_HDMI_H_ */36#endif /* __PHY_HDMI_H_ */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t