summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>2025-03-18 14:35:36 +0200
committerVinod Koul <vkoul@kernel.org>2025-04-11 17:18:03 +0530
commit3bb9286f4ece6acbc1fbaa9f192a82645d30efbf (patch)
tree1e5a60c1a4c2e84d6c9e5d1715f0cf7d673f6d76
parent10ed34d6eaaf86e301a8f2dd190d26dfbc9799bd (diff)
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. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Link: https://lore.kernel.org/r/20250318-phy-sam-hdptx-bpc-v6-2-8cb1678e7663@collabora.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r--include/linux/phy/phy-hdmi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/phy/phy-hdmi.h b/include/linux/phy/phy-hdmi.h
index 6a696922bc7f..f0ec963c6e84 100644
--- a/include/linux/phy/phy-hdmi.h
+++ b/include/linux/phy/phy-hdmi.h
@@ -9,11 +9,13 @@
/**
* struct phy_configure_opts_hdmi - HDMI configuration set
* @tmds_char_rate: HDMI TMDS Character Rate in Hertz.
+ * @bpc: Bits per color channel.
*
* This structure is used to represent the configuration state of a HDMI phy.
*/
struct phy_configure_opts_hdmi {
unsigned long long tmds_char_rate;
+ unsigned int bpc;
};
#endif /* __PHY_HDMI_H_ */