blob: 14a69b3d4fb06c176519d50d9e5c75be57ff1340 [file] [log] [blame]
Tomi Valkeinenbb398132012-10-24 12:39:53 +03001/*
2 * Copyright (C) 2012 Texas Instruments
3 * Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published by
7 * the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#ifndef __OMAP2_DSS_DISPC_COMPAT_H
19#define __OMAP2_DSS_DISPC_COMPAT_H
20
21void dispc_mgr_enable_sync(enum omap_channel channel);
22void dispc_mgr_disable_sync(enum omap_channel channel);
23
Tomi Valkeinen549acbe2012-10-10 14:03:11 +030024int omap_dispc_wait_for_irq_interruptible_timeout(u32 irqmask,
25 unsigned long timeout);
26
Tomi Valkeinen96e2e632012-10-10 15:55:19 +030027int dss_dispc_initialize_irq(void);
28void dss_dispc_uninitialize_irq(void);
29
Tomi Valkeinenbb398132012-10-24 12:39:53 +030030#endif