blob: b1179fb2586684e82fea2f9903dfef3fe285f8c4 [file] [log] [blame]
Archit Tanejae1ef4d22010-09-15 18:47:29 +05301/*
2 * linux/drivers/video/omap2/dss/dss_features.h
3 *
4 * Copyright (C) 2010 Texas Instruments
5 * Author: Archit Taneja <archit@ti.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published by
9 * the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef __OMAP2_DSS_FEATURES_H
21#define __OMAP2_DSS_FEATURES_H
22
Chandrabhanu Mahapatrae86d4562012-06-29 10:43:13 +053023#define MAX_DSS_MANAGERS 4
Archit Tanejab8c095b2011-09-13 18:20:33 +053024#define MAX_DSS_OVERLAYS 4
Chandrabhanu Mahapatrae86d4562012-06-29 10:43:13 +053025#define MAX_DSS_LCD_MANAGERS 3
Archit Tanejaa72b64b2011-05-12 17:26:26 +053026#define MAX_NUM_DSI 2
Archit Tanejae1ef4d22010-09-15 18:47:29 +053027
Taneja, Archit31ef8232011-03-14 23:28:22 -050028enum dss_range_param {
29 FEAT_PARAM_DSS_FCK,
30};
31
Archit Tanejae1ef4d22010-09-15 18:47:29 +053032/* DSS Feature Functions */
Taneja, Archit31ef8232011-03-14 23:28:22 -050033unsigned long dss_feat_get_param_min(enum dss_range_param param);
34unsigned long dss_feat_get_param_max(enum dss_range_param param);
Archit Tanejae1ef4d22010-09-15 18:47:29 +053035
Tomi Valkeinen649514c2012-09-28 12:46:49 +030036void dss_features_init(enum omapdss_version version);
Tomi Valkeinen98c28352015-11-04 17:10:56 +020037
Tomi Valkeinen98c28352015-11-04 17:10:56 +020038enum omap_dss_output_id dss_feat_get_supported_outputs(enum omap_channel channel);
39
Archit Tanejae1ef4d22010-09-15 18:47:29 +053040#endif