aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSundar Raman2013-07-18 17:36:29 -0500
committerSundar Raman2013-07-25 09:20:46 -0500
commitd2ab39a009e3b62db5cf4ae06da110c312ee0e43 (patch)
treedca238ab20ff9e974ebf7303d6f52f86304903df
parent99f5cb085dccd1eb095e2858484f64c23bb86e5a (diff)
downloadkernel-video-d2ab39a009e3b62db5cf4ae06da110c312ee0e43.tar.gz
kernel-video-d2ab39a009e3b62db5cf4ae06da110c312ee0e43.tar.xz
kernel-video-d2ab39a009e3b62db5cf4ae06da110c312ee0e43.zip
platform_data: Added platform data for GC320
The omap_gcx.h file which contains platform specific structures for gc320 IP is being added as part of this patch Change-Id: I4889333139bb8cd3724ec99ad3e108952e585ed1 Signed-off-by: Sundar Raman <a0393242@ti.com>
-rw-r--r--include/linux/platform_data/omap_gcx.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/include/linux/platform_data/omap_gcx.h b/include/linux/platform_data/omap_gcx.h
new file mode 100644
index 00000000000..82abd8a97fc
--- /dev/null
+++ b/include/linux/platform_data/omap_gcx.h
@@ -0,0 +1,33 @@
1/*
2 * arch/arm/plat-omap/include/plat/omap_gcx.h
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */
18
19#ifndef OMAP_GCX_H
20#define OMAP_GCX_H
21
22struct omap_gcx_platform_data {
23 bool is_hw_present;
24 void *regbase;
25 /*bool (*was_context_lost)(struct device *dev);*/
26 int (*get_context_loss_count)(struct device *dev);
27 /* device scale */
28 int (*scale_dev)(struct device *dev, unsigned long freq);
29 /* bandwith */
30 int (*set_bw)(struct device *dev, unsigned long v);
31};
32
33#endif