Merge tag 'fixes-for-v3.18-merge-window' of git://git.kernel.org/pub/scm/linux/kernel...
[deliverable/linux.git] / drivers / gpu / drm / rcar-du / rcar_du_lvdsenc.h
CommitLineData
90374b5c
LP
1/*
2 * rcar_du_lvdsenc.h -- R-Car Display Unit LVDS Encoder
3 *
36d50464 4 * Copyright (C) 2013-2014 Renesas Electronics Corporation
90374b5c
LP
5 *
6 * Contact: Laurent Pinchart (laurent.pinchart@ideasonboard.com)
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 */
13
14#ifndef __RCAR_DU_LVDSENC_H__
15#define __RCAR_DU_LVDSENC_H__
16
17#include <linux/io.h>
18#include <linux/module.h>
19#include <linux/platform_data/rcar-du.h>
20
21struct rcar_drm_crtc;
22struct rcar_du_lvdsenc;
23
24enum rcar_lvds_input {
25 RCAR_LVDS_INPUT_DU0,
26 RCAR_LVDS_INPUT_DU1,
27 RCAR_LVDS_INPUT_DU2,
28};
29
30#if IS_ENABLED(CONFIG_DRM_RCAR_LVDS)
31int rcar_du_lvdsenc_init(struct rcar_du_device *rcdu);
32int rcar_du_lvdsenc_dpms(struct rcar_du_lvdsenc *lvds,
33 struct drm_crtc *crtc, int mode);
34#else
35static inline int rcar_du_lvdsenc_init(struct rcar_du_device *rcdu)
36{
37 return 0;
38}
39static inline int rcar_du_lvdsenc_dpms(struct rcar_du_lvdsenc *lvds,
40 struct drm_crtc *crtc, int mode)
41{
42 return 0;
43}
44#endif
45
46#endif /* __RCAR_DU_LVDSENC_H__ */
This page took 0.092161 seconds and 5 git commands to generate.