#include <linux/clk.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <drm/bridge/dw_hdmi.h>
#include <drm/drm_modes.h>
struct imx8mp_hdmi { … };
static enum drm_mode_status
imx8mp_hdmi_mode_valid(struct dw_hdmi *dw_hdmi, void *data,
const struct drm_display_info *info,
const struct drm_display_mode *mode)
{ … }
static int imx8mp_hdmi_phy_init(struct dw_hdmi *dw_hdmi, void *data,
const struct drm_display_info *display,
const struct drm_display_mode *mode)
{ … }
static void imx8mp_hdmi_phy_disable(struct dw_hdmi *dw_hdmi, void *data)
{ … }
static void im8mp_hdmi_phy_setup_hpd(struct dw_hdmi *hdmi, void *data)
{ … }
static const struct dw_hdmi_phy_ops imx8mp_hdmi_phy_ops = …;
static int imx8mp_dw_hdmi_probe(struct platform_device *pdev)
{ … }
static void imx8mp_dw_hdmi_remove(struct platform_device *pdev)
{ … }
static int __maybe_unused imx8mp_dw_hdmi_pm_suspend(struct device *dev)
{ … }
static int __maybe_unused imx8mp_dw_hdmi_pm_resume(struct device *dev)
{ … }
static const struct dev_pm_ops imx8mp_dw_hdmi_pm_ops = …;
static const struct of_device_id imx8mp_dw_hdmi_of_table[] = …;
MODULE_DEVICE_TABLE(of, imx8mp_dw_hdmi_of_table);
static struct platform_driver imx8mp_dw_hdmi_platform_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;