summaryrefslogtreecommitdiff
path: root/drivers/video/meson/simplefb_common.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-01-31 07:19:52 -0500
committerTom Rini <trini@konsulko.com>2019-01-31 07:19:52 -0500
commitab0ec15f77b5692c06fac024f34a90ab4752b41a (patch)
treecfed03861f7d12397131bb88b0d4852f18ca8538 /drivers/video/meson/simplefb_common.h
parent535d74a8ae8d194269cefdf59ae17a92cd6e75dc (diff)
parentfce1069bfb9b0b12fb760c408833c33243492257 (diff)
Merge tag 'u-boot-amlogic-20190131' of git://git.denx.de/u-boot-amlogic
- Add features and fixups to support video on Amlogic GX SoCs - Add video support for Amlogic GX SoC - Add DT fixups - Enable Video and USB Console for libretech-cc board
Diffstat (limited to 'drivers/video/meson/simplefb_common.h')
-rw-r--r--drivers/video/meson/simplefb_common.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/video/meson/simplefb_common.h b/drivers/video/meson/simplefb_common.h
new file mode 100644
index 0000000000..9ea7b0486c
--- /dev/null
+++ b/drivers/video/meson/simplefb_common.h
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * (C) Copyright 2017 Icenowy Zheng <icenowy@aosc.io>
+ */
+
+#ifndef __SIMPLEFB_COMMON_H
+#define __SIMPLEFB_COMMON_H
+
+/**
+ * meson_simplefb_fdt_match() - match a meson simplefb node
+ *
+ * Match a meson simplefb device node with a specified pipeline, and
+ * return its offset.
+ *
+ * @blob: device tree blob
+ * @pipeline: display pipeline
+ * @return device node offset in blob, or negative values if failed
+ */
+int meson_simplefb_fdt_match(void *blob, const char *pipeline);
+
+#endif