diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2018-07-24 18:45:28 +0300 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2019-01-31 11:35:01 +0300 |
commit | 3bed42209404f91f3e0efaf7f9b3c9a989beb922 (patch) | |
tree | 11dc0a035643757f28e8cfaf51c03322561d4d5e /drivers/video/meson/simplefb_common.h | |
parent | 56dd8d87e5034bf18fbc6d7c248f28f6eb484a9b (diff) | |
download | u-boot-3bed42209404f91f3e0efaf7f9b3c9a989beb922.tar.xz |
video: Add Meson Video Processing Unit Driver
This adds video output support for Amlogic GXBB/GXL/GXM chips.
The supported ports are CVBS and HDMI (based on DW_HDMI).
When using HDMI, only DMT modes are supported.
There is support for simple-framebuffer (CONFIG_VIDEO_DT_SIMPLEFB)
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Jorge Ramire-Ortiz <jramirez@baylibre.com>
Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com>
[narmstrong: fixed defines alignment in meson_canvas.c]
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/video/meson/simplefb_common.h')
-rw-r--r-- | drivers/video/meson/simplefb_common.h | 21 |
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 |