diff options
author | Oleg Matcovschi <oleg.matcovschi@ti.com> | 2012-05-03 11:50:35 -0700 |
---|---|---|
committer | Dmytro Kedrovskyi <x0169235@ti.com> | 2012-06-01 13:42:48 +0300 |
commit | 111c1590e702f17a49bf9dc4f42f2b8eb8954bbd (patch) | |
tree | 4ca7c35b4f289320669ce62866bee9b3f19d4f40 /arch/arm/plat-omap | |
parent | 990d094c3daa0a30a87e5573623a7e2185feade7 (diff) | |
download | kernel_samsung_espresso10-111c1590e702f17a49bf9dc4f42f2b8eb8954bbd.zip kernel_samsung_espresso10-111c1590e702f17a49bf9dc4f42f2b8eb8954bbd.tar.gz kernel_samsung_espresso10-111c1590e702f17a49bf9dc4f42f2b8eb8954bbd.tar.bz2 |
OMAP4470: gcx: Add device_scale, bandwith interface functions.
Extend device platform data to support device scaling and querying
L3 bandwidth.
Change-Id: I7e926767ba727bacc0f13543425d43225f815ccd
Signed-off-by: Oleg Matcovschi <oleg.matcovschi@ti.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/plat/omap_gcx.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/omap_gcx.h b/arch/arm/plat-omap/include/plat/omap_gcx.h index 9d8102c..576e0d9 100644 --- a/arch/arm/plat-omap/include/plat/omap_gcx.h +++ b/arch/arm/plat-omap/include/plat/omap_gcx.h @@ -22,6 +22,10 @@ struct omap_gcx_platform_data { void *regbase; bool (*was_context_lost)(struct device *dev); + /* device scale */ + int (*scale_dev)(struct device *dev, unsigned long freq); + /* bandwith */ + int (*set_bw)(struct device *dev, unsigned long v); }; #endif |