From c6da2cfeb05178a11c6d062a06f8078150ee492f Mon Sep 17 00:00:00 2001 From: codeworkx Date: Sat, 2 Jun 2012 13:09:29 +0200 Subject: samsung update 1 --- include/linux/devfreq/exynos4_bus.h | 28 ++++++++++++++++++++++++++++ include/linux/devfreq/exynos4_display.h | 28 ++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 include/linux/devfreq/exynos4_bus.h create mode 100644 include/linux/devfreq/exynos4_display.h (limited to 'include/linux/devfreq') 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 + * + * 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 +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 + * Myungjoo Ham + * Kyungmin Park + * + * 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 */ -- cgit v1.1