#include <linux/delay.h>
#include <linux/gpio/consumer.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/of.h>
#include <linux/of_graph.h>
#include <linux/platform_device.h>
#include <drm/drm_bridge.h>
struct tpd12s015_device { … };
static inline struct tpd12s015_device *to_tpd12s015(struct drm_bridge *bridge)
{ … }
static int tpd12s015_attach(struct drm_bridge *bridge,
enum drm_bridge_attach_flags flags)
{ … }
static void tpd12s015_detach(struct drm_bridge *bridge)
{ … }
static enum drm_connector_status tpd12s015_detect(struct drm_bridge *bridge)
{ … }
static void tpd12s015_hpd_enable(struct drm_bridge *bridge)
{ … }
static void tpd12s015_hpd_disable(struct drm_bridge *bridge)
{ … }
static const struct drm_bridge_funcs tpd12s015_bridge_funcs = …;
static irqreturn_t tpd12s015_hpd_isr(int irq, void *data)
{ … }
static int tpd12s015_probe(struct platform_device *pdev)
{ … }
static void tpd12s015_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id tpd12s015_of_match[] = …;
MODULE_DEVICE_TABLE(of, tpd12s015_of_match);
static struct platform_driver tpd12s015_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;