diff options
author | codeworkx <daniel.hillenbrand@codeworkx.de> | 2012-06-02 13:09:29 +0200 |
---|---|---|
committer | codeworkx <daniel.hillenbrand@codeworkx.de> | 2012-06-02 13:09:29 +0200 |
commit | c6da2cfeb05178a11c6d062a06f8078150ee492f (patch) | |
tree | f3b4021d252c52d6463a9b3c1bb7245e399b009c /include/linux/devfreq | |
parent | c6d7c4dbff353eac7919342ae6b3299a378160a6 (diff) | |
download | kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.zip kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.tar.gz kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.tar.bz2 |
samsung update 1
Diffstat (limited to 'include/linux/devfreq')
-rw-r--r-- | include/linux/devfreq/exynos4_bus.h | 28 | ||||
-rw-r--r-- | include/linux/devfreq/exynos4_display.h | 28 |
2 files changed, 56 insertions, 0 deletions
diff --git a/include/linux/devfreq/exynos4_bus.h b/include/linux/devfreq/exynos4_bus.h new file mode 100644 index 0000000..24d3f73 --- /dev/null +++ b/include/linux/devfreq/exynos4_bus.h @@ -0,0 +1,28 @@ +/* include/linux/devfreq/exynos4_bus.h + * + * Copyright (c) 2012 Samsung Electronics Co., Ltd. + * http://www.samsung.com/ + * MyungJoo Ham <myungjoo.ham@samsung.com> + * + * EXYNOS4 - Memory/Bus clock frequency scaling support in DEVFREQ framework + * This version supports EXYNOS4210 only. This changes bus frequencies + * and vddint voltages. Exynos4412/4212 should be able to be supported + * with minor modifications. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ +#ifndef __EXYNOS4_BUS_H +#define __EXYNOS4_BUS_H __FILE__ + +#ifdef CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND +#include <linux/devfreq.h> +struct exynos4_bus_platdata { + struct devfreq_simple_ondemand_data threshold; + unsigned int polling_ms; /* 0 to use default(50) */ +}; +#endif + +#endif /* __EXYNOS4_BUS_H */ diff --git a/include/linux/devfreq/exynos4_display.h b/include/linux/devfreq/exynos4_display.h new file mode 100644 index 0000000..8a4b957 --- /dev/null +++ b/include/linux/devfreq/exynos4_display.h @@ -0,0 +1,28 @@ +/* include/linux/devfreq/exynos4_display.h + * + * Copyright (c) 2012 Samsung Electronics Co., Ltd. + * http://www.samsung.com/ + * + * Chanwoo Choi <cw00.choi@samsung.com> + * Myungjoo Ham <myungjoo.ham@samsung.com> + * Kyungmin Park <kyungmin.park@samsung.com> + * + * EXYNOS4 - Dynamic LCD refresh rate support + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. +*/ + +#ifndef __ASM_ARCH_EXYNOS4_DISPLAY_H +#define __ASM_ARCH_EXYNOS4_DISPLAY_H __FILE__ + +#define EXYNOS4_DISPLAY_LV_HF 60 +#define EXYNOS4_DISPLAY_LV_LF 40 +#define EXYNOS4_DISPLAY_LV_DEFAULT EXYNOS4_DISPLAY_LV_HF + +/* Register/unregister display client to exynos4_display */ +extern int exynos4_display_register_client(struct notifier_block *nb); +extern int exynos4_display_unregister_client(struct notifier_block *nb); + +#endif /* __ASM_ARCH_EXYNOS4_DISPLAY_H */ |