summaryrefslogtreecommitdiff
path: root/drivers/phy/mediatek/phy-mtk-hdmi.h
diff options
context:
space:
mode:
authorGuillaume Ranquet <granquet@baylibre.com>2023-02-16 19:02:26 +0300
committerVinod Koul <vkoul@kernel.org>2023-04-12 19:26:40 +0300
commit605b90371912edb2214088e69f5e7e1121507062 (patch)
tree4d101146089d77ead60207a8df9fe8a05cd8bfbd /drivers/phy/mediatek/phy-mtk-hdmi.h
parentc78fe548b062db5a0c90390078601dfbc9b4daa9 (diff)
downloadlinux-605b90371912edb2214088e69f5e7e1121507062.tar.xz
phy: phy-mtk-hdmi: Add generic phy configure callback
Some phys, such as mt8195, needs to have a configure callback defined. Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Guillaume Ranquet <granquet@baylibre.com> Link: https://lore.kernel.org/r/20220919-v8-2-a84c80468fe9@baylibre.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/mediatek/phy-mtk-hdmi.h')
-rw-r--r--drivers/phy/mediatek/phy-mtk-hdmi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/mediatek/phy-mtk-hdmi.h b/drivers/phy/mediatek/phy-mtk-hdmi.h
index c7fa65cff989..f5aac9d352d8 100644
--- a/drivers/phy/mediatek/phy-mtk-hdmi.h
+++ b/drivers/phy/mediatek/phy-mtk-hdmi.h
@@ -24,6 +24,7 @@ struct mtk_hdmi_phy_conf {
const struct clk_ops *hdmi_phy_clk_ops;
void (*hdmi_phy_enable_tmds)(struct mtk_hdmi_phy *hdmi_phy);
void (*hdmi_phy_disable_tmds)(struct mtk_hdmi_phy *hdmi_phy);
+ int (*hdmi_phy_configure)(struct phy *phy, union phy_configure_opts *opts);
};
struct mtk_hdmi_phy {