#include <linux/gpio/consumer.h>
#include <linux/of_irq.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <drm/drm_bridge_connector.h>
#include <drm/drm_of.h>
#include <sound/hdmi-codec.h>
#include "hdmi.h"
void msm_hdmi_set_mode(struct hdmi *hdmi, bool power_on)
{ … }
static irqreturn_t msm_hdmi_irq(int irq, void *dev_id)
{ … }
static void msm_hdmi_destroy(struct hdmi *hdmi)
{ … }
static void msm_hdmi_put_phy(struct hdmi *hdmi)
{ … }
static int msm_hdmi_get_phy(struct hdmi *hdmi)
{ … }
static int msm_hdmi_init(struct hdmi *hdmi)
{ … }
int msm_hdmi_modeset_init(struct hdmi *hdmi,
struct drm_device *dev, struct drm_encoder *encoder)
{ … }
#define HDMI_CFG(item, entry) …
static const char *hpd_reg_names_8960[] = …;
static const char *hpd_clk_names_8960[] = …;
static const struct hdmi_platform_config hdmi_tx_8960_config = …;
static const char *pwr_reg_names_8x74[] = …;
static const char *pwr_clk_names_8x74[] = …;
static const char *hpd_clk_names_8x74[] = …;
static unsigned long hpd_clk_freq_8x74[] = …;
static const struct hdmi_platform_config hdmi_tx_8974_config = …;
static int msm_hdmi_audio_hw_params(struct device *dev, void *data,
struct hdmi_codec_daifmt *daifmt,
struct hdmi_codec_params *params)
{ … }
static void msm_hdmi_audio_shutdown(struct device *dev, void *data)
{ … }
static const struct hdmi_codec_ops msm_hdmi_audio_codec_ops = …;
static struct hdmi_codec_pdata codec_data = …;
static int msm_hdmi_register_audio_driver(struct hdmi *hdmi, struct device *dev)
{ … }
static int msm_hdmi_bind(struct device *dev, struct device *master, void *data)
{ … }
static void msm_hdmi_unbind(struct device *dev, struct device *master,
void *data)
{ … }
static const struct component_ops msm_hdmi_ops = …;
static int msm_hdmi_dev_probe(struct platform_device *pdev)
{ … }
static void msm_hdmi_dev_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id msm_hdmi_dt_match[] = …;
static struct platform_driver msm_hdmi_driver = …;
void __init msm_hdmi_register(void)
{ … }
void __exit msm_hdmi_unregister(void)
{ … }