aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/bridge
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2024-06-02 15:04:49 +0300
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>2024-09-03 02:35:35 +0300
commitcc3e8a216d6b817c509e1e1a3700055d178e04f8 (patch)
tree92a8e2362f00127a8c745774e50de2dd32ddb006 /include/drm/bridge
parentdrm/imx: parallel-display: switch to drm_panel_bridge (diff)
downloadlinux-cc3e8a216d6b817c509e1e1a3700055d178e04f8.tar.gz
linux-cc3e8a216d6b817c509e1e1a3700055d178e04f8.zip
drm/imx: add internal bridge handling display-timings DT node
i.MX DRM DT bindings allow using either a proper panel / bridge graph to provide information about connected panels, or just a display-timings DT node, describing just the timings and the flags. Add helper bridge driver supporting the latter usecase. It will be used by both LDB and parallel-display drivers. Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Tested-by: Chris Healy <cphealy@gmail.com> Tested-by: Philipp Zabel <p.zabel@pengutronix.de> # on imx6q-nitrogen6x Link: https://patchwork.freedesktop.org/patch/msgid/20240602-drm-imx-cleanup-v3-9-e549e2a43100@linaro.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Diffstat (limited to 'include/drm/bridge')
-rw-r--r--include/drm/bridge/imx.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/drm/bridge/imx.h b/include/drm/bridge/imx.h
new file mode 100644
index 000000000000..e14f429a9ca2
--- /dev/null
+++ b/include/drm/bridge/imx.h
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2012 Sascha Hauer, Pengutronix
+ */
+
+#ifndef DRM_IMX_BRIDGE_H
+#define DRM_IMX_BRIDGE_H
+
+struct drm_bridge *devm_imx_drm_legacy_bridge(struct device *dev,
+ struct device_node *np,
+ int type);
+
+#endif