#include <linux/clk.h>
#include <linux/dma-mapping.h>
#include <linux/module.h>
#include <linux/of_graph.h>
#include <linux/of_reserved_mem.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/slab.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_bridge.h>
#include <drm/drm_modeset_helper.h>
#include <drm/drm_module.h>
#include "zynqmp_disp.h"
#include "zynqmp_dp.h"
#include "zynqmp_dpsub.h"
#include "zynqmp_kms.h"
static int __maybe_unused zynqmp_dpsub_suspend(struct device *dev)
{ … }
static int __maybe_unused zynqmp_dpsub_resume(struct device *dev)
{ … }
static const struct dev_pm_ops zynqmp_dpsub_pm_ops = …;
bool zynqmp_dpsub_audio_enabled(struct zynqmp_dpsub *dpsub)
{ … }
unsigned int zynqmp_dpsub_get_audio_clk_rate(struct zynqmp_dpsub *dpsub)
{ … }
static int zynqmp_dpsub_init_clocks(struct zynqmp_dpsub *dpsub)
{ … }
static int zynqmp_dpsub_parse_dt(struct zynqmp_dpsub *dpsub)
{ … }
void zynqmp_dpsub_release(struct zynqmp_dpsub *dpsub)
{ … }
static int zynqmp_dpsub_probe(struct platform_device *pdev)
{ … }
static void zynqmp_dpsub_remove(struct platform_device *pdev)
{ … }
static void zynqmp_dpsub_shutdown(struct platform_device *pdev)
{ … }
static const struct of_device_id zynqmp_dpsub_of_match[] = …;
MODULE_DEVICE_TABLE(of, zynqmp_dpsub_of_match);
static struct platform_driver zynqmp_dpsub_driver = …;
drm_module_platform_driver(…);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;