#include <linux/gpio/consumer.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_graph.h>
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h>
#include <linux/slab.h>
#include <drm/drm_bridge.h>
#include <drm/drm_panel.h>
enum thc63_ports { … };
struct thc63_dev { … };
static inline struct thc63_dev *to_thc63(struct drm_bridge *bridge)
{ … }
static int thc63_attach(struct drm_bridge *bridge,
enum drm_bridge_attach_flags flags)
{ … }
static enum drm_mode_status thc63_mode_valid(struct drm_bridge *bridge,
const struct drm_display_info *info,
const struct drm_display_mode *mode)
{ … }
static void thc63_enable(struct drm_bridge *bridge)
{ … }
static void thc63_disable(struct drm_bridge *bridge)
{ … }
static const struct drm_bridge_funcs thc63_bridge_func = …;
static int thc63_parse_dt(struct thc63_dev *thc63)
{ … }
static int thc63_gpio_init(struct thc63_dev *thc63)
{ … }
static int thc63_probe(struct platform_device *pdev)
{ … }
static void thc63_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id thc63_match[] = …;
MODULE_DEVICE_TABLE(of, thc63_match);
static struct platform_driver thc63_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;