summaryrefslogtreecommitdiff
path: root/include/linux/phy/phy-hdmi.h
diff options
context:
space:
mode:
authorSandor Yu <Sandor.yu@nxp.com>2025-03-18 15:35:35 +0300
committerVinod Koul <vkoul@kernel.org>2025-04-11 14:48:03 +0300
commit10ed34d6eaaf86e301a8f2dd190d26dfbc9799bd (patch)
treef24a22b50ffa2da2eafe4cf5732a791ea54063df /include/linux/phy/phy-hdmi.h
parentdfc820d2f8a8ea90bbc02269b5362e3678e58cac (diff)
downloadlinux-10ed34d6eaaf86e301a8f2dd190d26dfbc9799bd.tar.xz
phy: Add HDMI configuration options
Allow HDMI PHYs to be configured through the generic functions through a custom structure added to the generic union. The parameters added here are based on HDMI PHY implementation practices. The current set of parameters should cover the potential users. Signed-off-by: Sandor Yu <Sandor.yu@nxp.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Maxime Ripard <mripard@kernel.org> Acked-by: Vinod Koul <vkoul@kernel.org> Link: https://lore.kernel.org/r/d1cff6c03ec3732d2244022029245ab2d954d997.1734340233.git.Sandor.yu@nxp.com Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Link: https://lore.kernel.org/r/20250318-phy-sam-hdptx-bpc-v6-1-8cb1678e7663@collabora.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux/phy/phy-hdmi.h')
-rw-r--r--include/linux/phy/phy-hdmi.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/phy/phy-hdmi.h b/include/linux/phy/phy-hdmi.h
new file mode 100644
index 000000000000..6a696922bc7f
--- /dev/null
+++ b/include/linux/phy/phy-hdmi.h
@@ -0,0 +1,19 @@
+/* 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.
+ *
+ * This structure is used to represent the configuration state of a HDMI phy.
+ */
+struct phy_configure_opts_hdmi {
+ unsigned long long tmds_char_rate;
+};
+
+#endif /* __PHY_HDMI_H_ */