3
0
Fork 0
forked from mirrors/linux
kernel/include/linux/phy/phy-hdmi.h
Cristian Ciocaltea 3bb9286f4e 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>
2025-04-11 17:18:03 +05:30

21 lines
474 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright 2022,2024 NXP
*/
#ifndef __PHY_HDMI_H_
#define __PHY_HDMI_H_
/**
* 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_ */