#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>
#define RCAR_HDMI_PHY_OPMODE_PLLCFG …
#define RCAR_HDMI_PHY_PLLCURRGMPCTRL …
#define RCAR_HDMI_PHY_PLLDIVCTRL …
struct rcar_hdmi_phy_params { … };
static const struct rcar_hdmi_phy_params rcar_hdmi_phy_params[] = …;
static enum drm_mode_status
rcar_hdmi_mode_valid(struct dw_hdmi *hdmi, void *data,
const struct drm_display_info *info,
const struct drm_display_mode *mode)
{ … }
static int rcar_hdmi_phy_configure(struct dw_hdmi *hdmi, void *data,
unsigned long mpixelclock)
{ … }
static const struct dw_hdmi_plat_data rcar_dw_hdmi_plat_data = …;
static int rcar_dw_hdmi_probe(struct platform_device *pdev)
{ … }
static void rcar_dw_hdmi_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id rcar_dw_hdmi_of_table[] = …;
MODULE_DEVICE_TABLE(of, rcar_dw_hdmi_of_table);
static struct platform_driver rcar_dw_hdmi_platform_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;