History

phy: hdmi: Add color depth configuration

Extend the HDMI configuration options to allow managing bits per color channel. This is required by some PHY drivers such as rockchip-samsung-hdptx.

Cristian Ciocaltea committed 1 year ago

Commit 3bb92861 parent 10ed34d1 file · +2 −0Browse files

Unified · Split

include/linux/phy/phy-hdmi.h+2−0
@@ -9,11 +9,13 @@ · 8 unmodified lines
99 /**
1010 * struct phy_configure_opts_hdmi - HDMI configuration set
1111 * @tmds_char_rate: HDMI TMDS Character Rate in Hertz.
12+ * @bpc: Bits per color channel.
1213 *
1314 * This structure is used to represent the configuration state of a HDMI phy.
1415 */
1516 struct phy_configure_opts_hdmi {
1617 unsigned long long tmds_char_rate;
18+ unsigned int bpc;
1719 };
1820
1921 #endif /* __PHY_HDMI_H_ */