1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (C) 2016 BayLibre, SAS
4 * Author: Neil Armstrong <narmstrong@baylibre.com>
5 * Copyright (C) 2014 Endless Mobile
8 * Jasper St. Pierre <jstpierre@mecheye.net>
11 #ifndef __MESON_VENC_CVBS_H
12 #define __MESON_VENC_CVBS_H
14 #include "meson_drv.h"
15 #include "meson_venc.h"
17 struct meson_cvbs_mode
{
18 struct meson_cvbs_enci_mode
*enci
;
19 struct drm_display_mode mode
;
22 #define MESON_CVBS_MODES_COUNT 2
24 /* Modes supported by the CVBS output */
25 extern struct meson_cvbs_mode meson_cvbs_modes
[MESON_CVBS_MODES_COUNT
];
27 int meson_venc_cvbs_create(struct meson_drm
*priv
);
29 #endif /* __MESON_VENC_CVBS_H */