This patch adds necessary source definations needed for TMU driver and
the platform device support.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/Kconfig | 11 +++
arch/arm/mach-exynos/Makefile |1 +
arch/arm/mach-exynos/clock.c
EXYNOS4"
+ depends on ARCH_EXYNOS4 && THERMAL
+ help
+ If you say yes here you get support for TMU (Thermal Managment
+ Unit) on SAMSUNG EXYNOS4 series of SoC.
+
+ This driver can also be built as a module. If so, the module
+ will be called ex
This code added creates a link between temperature sensors, linux thermal
framework and cooling devices for samsung exynos platform. This layer
monitors the temperature from the sensor and informs the generic thermal
layer to take the necessary cooling action.
Signed-off-by: Amit Daniel Kachhap
easily done as the registration APIs return the
cooling device pointer. The user of these APIs are responsible for
passing the cpumask.
Signed-off-by: Amit Daniel Kachhap
---
Documentation/thermal/cpu-cooling-api.txt | 16 +++
drivers/thermal/Kconfig |2 +-
drivers/thermal
default data such as freq_clip_max if
needed.
Signed-off-by: Amit Daniel Kachhap
---
Documentation/thermal/cpu-cooling-api.txt | 60 +
drivers/thermal/Kconfig | 11 +
drivers/thermal/Makefile |1 +
drivers/thermal/cpu_cooling.c | 359
back function.
Also since the trip temperature's are in ascending order so some logic
is put in place to skip the un-necessary checks.
Signed-off-by: Amit Daniel Kachhap
---
Documentation/thermal/sysfs-api.txt |4 +-
drivers/thermal/thermal_sys.c |
This patch adds necessary source definations needed for TMU driver and
the platform device support.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/Kconfig | 11 +
arch/arm/mach-exynos/Makefile |1 +
arch/arm/mach-exynos/clock.c |4
functions are removed as all of them are present in generic linux thermal layer.
Also the platform data structure is modified to pass frequency cooling
in percentages for each thermal level.
Signed-off-by: Amit Daniel Kachhap
---
Documentation/mfd/exynos4_tmu | 35
This movement is needed because the hwmon entries and corresponding
sysfs interface is a duplicate of utilities already provided by
driver/thermal/thermal_sys.c. The goal is to place it in mfd folder
and add necessary calls to get the temperature information.
Signed-off-by: Amit Daniel Kachhap
cooling action.
Signed-off-by: Amit Daniel Kachhap
---
drivers/thermal/Kconfig |8 +
drivers/thermal/Makefile |1 +
drivers/thermal/exynos_thermal.c | 272 ++
include/linux/exynos_thermal.h | 72 ++
4 files changed, 353
hermal < Temperature Sensor
| |
\|/|
Cpufreq cooling device <-
Amit Daniel Kachhap (4):
thermal: exynos: Add thermal interface support for linux thermal
layer
hwmon: exynos4: Move thermal sens
: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/pm.c | 15 ---
1 files changed, 0 insertions(+), 15 deletions(-)
diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c
index e190130..4816827 100644
--- a/arch/arm/mach-exynos/pm.c
+++ b/arch
This patch enables calling generic l2 setup functions if device tree is used.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/common.c | 13 +++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
This patch adds code to save L2 register configuration at boot, and
later used to resume L2 before MMU is enabled in suspend and cpuidle
resume paths.
Signed-off-by: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/common.c | 42
This patch adds code to resume L2 before MMU is enabled in
suspend and cpuidle resume paths. s3c_cpu_resume is moved to the
data section with appropriate comments.
Signed-off-by: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/plat-s5p/sleep.S | 44
-by: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/cpuidle.c | 147 ++-
arch/arm/mach-exynos/include/mach/pmu.h |2 +
2 files changed, 146 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-exynos/cpuidle.c b/arch/arm
://www.spinics.net/lists/arm-kernel/msg132243.html) earlier
submitted by Jaecheol Lee .
This patch uses CPU PM notifiers , common l2 save/restore and
new cpu_suspend/resume interfaces and is based on the tip of
master branch of kernel.org tree(v3.3-rc4)
Amit Daniel Kachhap (5):
ARM: exynos: Add support AFTR
This patch enables calling generic l2 setup functions if device tree is used.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/common.c | 14 --
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/pm.c | 15 ---
1 files changed, 0 insertions(+), 15 deletions(-)
diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c
index a4f61a4..2dd55a1 100644
--- a/arch/arm/mach-exynos/pm.c
+++ b/arch
This patch adds code to save L2 register configuration at boot, and
later used to resume L2 before MMU is enabled in suspend and cpuidle
resume paths.
Signed-off-by: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/common.c | 42
This patch adds code to resume L2 before MMU is enabled in
suspend and cpuidle resume paths. s3c_cpu_resume is moved to the
data section with appropriate comments.
Signed-off-by: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/plat-s5p/sleep.S | 44
-by: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/cpuidle.c | 149 ++-
arch/arm/mach-exynos/include/mach/pmu.h |2 +
2 files changed, 148 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-exynos/cpuidle.c b/arch/arm
of
for-next branch of samsung tree
(git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git for-next)
since commit id 44ceab1ea847daa03d1d58a20c43a83e8b99a2f9.
Amit Daniel Kachhap (5):
ARM: exynos: Add support AFTR mode on EXYNOS4210
ARM: s5p: add L2 early resume code
ARM
functions are currently left although all of them are present in generic
linux thermal layer.
Also the platform data structure is modified to pass frequency cooling
in percentages for each thermal level.
Signed-off-by: Amit Daniel Kachhap
---
drivers/hwmon/exynos4_tmu.c | 34
This patch adds necessary source definations needed for TMU driver and
the platform device support.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/Kconfig | 12 +
arch/arm/mach-exynos/Makefile |1 +
arch/arm/mach-exynos/clock.c |4
cooling action.
Signed-off-by: Amit Daniel Kachhap
---
drivers/thermal/Kconfig |8 ++
drivers/thermal/Makefile |1 +
drivers/thermal/exynos_thermal.c | 255 ++
include/linux/exynos_thermal.h | 59 +
4 files changed, 323
ermal <---> Exynos thermal < Temperature Sensor
| |
\|/|
Cpufreq cooling device <-----
Amit Daniel Kachhap (3):
thermal: exynos: Add thermal interface support for linux thermal
layer
thermal: exynos4:
This patch enables calling generic l2 setup functions if device tree is used.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/cpu.c | 12 ++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-exynos/cpu.c b/arch/arm/mach-exynos/cpu.c
index
: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/pm.c | 15 ---
1 files changed, 0 insertions(+), 15 deletions(-)
diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c
index 4093fea..1883cc9 100644
--- a/arch/arm/mach-exynos/pm.c
+++ b/arch
This patch adds code to resume L2 before MMU is enabled in
suspend and cpuidle resume paths. s3c_cpu_resume is moved to the
data section with appropriate comments.
Signed-off-by: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/plat-s5p/sleep.S | 44
This patch adds code to save L2 register configuration at boot, and
later used to resume L2 before MMU is enabled in suspend and cpuidle
resume paths.
Signed-off-by: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/cpu.c | 42
-by: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/cpuidle.c | 152 ++-
arch/arm/mach-exynos/include/mach/pmu.h |2 +
2 files changed, 151 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-exynos/cpuidle.c b/arch/arm
/restore and
new cpu_suspend/resume interfaces and is based on the tip of
for-next branch of samsung tree.
(git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
for-next).
Amit Daniel Kachhap (5):
ARM: exynos: Add support AFTR mode on EXYNOS4210
ARM: exynos: save L2 settings
This patch enables calling generic l2 setup functions if device tree is used.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/cpu.c | 12 ++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-exynos/cpu.c b/arch/arm/mach-exynos/cpu.c
index
: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/pm.c | 15 ---
1 files changed, 0 insertions(+), 15 deletions(-)
diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c
index 4093fea..1883cc9 100644
--- a/arch/arm/mach-exynos/pm.c
+++ b/arch
This patch adds code to resume L2 before MMU is enabled in
suspend and cpuidle resume paths.
Signed-off-by: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/plat-s5p/sleep.S | 28
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a
This patch adds code to save L2 register configuration at boot, and
later used to resume L2 before MMU is enabled in suspend and cpuidle
resume paths.
Signed-off-by: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/cpu.c | 42
This patch cleans up sleep code in preparation for L2 resume code
and hotplug functions
Signed-off-by: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/plat-s5p/sleep.S |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/arch/arm/plat-s5p/sleep.S b/arch
-by: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/cpuidle.c | 152 ++-
arch/arm/mach-exynos/include/mach/pmu.h |2 +
2 files changed, 151 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-exynos/cpuidle.c b/arch/arm
://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
for-next).
Amit Daniel Kachhap (6):
ARM: exynos: Add support AFTR mode on EXYNOS4210
ARM: s5p: remove useless churn in sleep.S
ARM: exynos: save L2 settings during bootup
ARM: s5p: add L2 early resume code
ARM: exynos: remove useless
This patch adds remove_irq in place of disable_irq which is
correct equivalent function for setup_irq used in
exynos4_mct_tick_init.
Signed-off-by: Amit Daniel Kachhap
Tested-by: Inderpal Singh
---
arch/arm/mach-exynos/mct.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff
This patch adds code to save L2 register configuration at boot, and to
resume L2 before MMU is enabled in suspend and cpuidle resume paths.
Signed-off-by: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/cpu.c | 42 +++---
arch
This patch enables calling generic l2 setup functions if device tree is used.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/cpu.c | 12 ++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-exynos/cpu.c b/arch/arm/mach-exynos/cpu.c
index
: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/pm.c | 15 ---
1 files changed, 0 insertions(+), 15 deletions(-)
diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c
index 509a435..0c264e1 100644
--- a/arch/arm/mach-exynos/pm.c
+++ b/arch
This patch cleans up sleep code in preparation for L2 resume code
and hotplug functions
Signed-off-by: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/plat-s5p/sleep.S |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/arch/arm/plat-s5p/sleep.S b/arch
Lee
Signed-off-by: Lorenzo Pieralisi
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/cpuidle.c | 148 ++-
arch/arm/mach-exynos/include/mach/pmu.h |2 +
2 files changed, 146 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-exynos
/linux/kernel/git/kgene/linux-samsung.git
for-next).
Amit Daniel Kachhap (5):
ARM: exynos4: Add support for AFTR mode cpuidle state
ARM: exynos4: remove useless churn in sleep.S
ARM: exynos4: add L2 early resume code
ARM: exynos4: remove useless code to save/restore L2
ARM: exynos4
The L2 retention cpuidle state is modified to use the interfaces
exposed by the lorenzo's cpuidle consolidation code. As can be seen lot of
code is reduced in the machine directory.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/Kconfig |1 +
arch/arm/mach-ex
This patch adds support AFTR(ARM OFF TOP RUNNING) mode in
cpuidle driver. L2 cache keeps their data in this mode.
Signed-off-by: Jaecheol Lee
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos4/Makefile |2 +-
arch/arm/mach-exynos4/cpuidle.c | 131
This adds a function to get the revision id.
Signed-off-by: Jaecheol Lee
Signed-off-by: Changhwan Youn
---
arch/arm/mach-exynos4/cpu.c | 10 ++
arch/arm/plat-s5p/include/plat/exynos4.h |1 +
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach
These changes are necessary to make the retention cpuidle state work. This adds
support for saving more L2 registers.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/common/gic.c|1 -
arch/arm/kernel/sr_helpers.h |2 +-
arch/arm/mm/cache-l2x0.c | 10 +-
3 files
infrastructure to enter and exit from the retention idle state.
All these codes have been tested on Samsung ORIGEN board against the tree
git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git for-next.
Amit Daniel Kachhap (4):
ARM: kernel: Some fixes in save/restore common code
This patch adds PM runtime management support in the I2C driver.
The functionality of the driver is not modified much but some extra I2C
states are added for PM runtime. The runtime suspend keeps the interrupt
for the I2C interface disabled.
Signed-off-by: Amit Daniel Kachhap
---
drivers/i2c
501 - 553 of 553 matches
Mail list logo