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
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
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
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
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
/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
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
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
: 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 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
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 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
://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
-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
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
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 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
: 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 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
/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
-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
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 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
: 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 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
ermal <---> Exynos thermal < Temperature Sensor
| |
\|/|
Cpufreq cooling device <-----
Amit Daniel Kachhap (3):
thermal: exynos: Add thermal interface support for linux thermal
layer
thermal: exynos4:
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
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
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
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
-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
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
: 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 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
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
From: Amit Daniel Kachhap
These TMU enablement patches are needed for exynos4 and exynos5 TMU
driver already merged(drivers/thermal/exynos_thermal.c).
This patchset is based on Samsung Maintainer's tree,
git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git for-next
Amit D
From: Amit Daniel Kachhap
This patch adds necessary source definations needed for TMU driver and
adds devicetree node for exynos4210.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/boot/dts/exynos4210.dtsi|7 +++
arch/arm/mach-exynos/clock-exynos4.c |4
arch/arm
From: Amit Daniel Kachhap
This patch adds necessary source definations needed for TMU driver and
adds devicetree node for exynos5250.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/boot/dts/exynos5250.dtsi |6 ++
arch/arm/mach-exynos/clock-exynos5.c|5 +
arch/arm
On 29 October 2012 17:52, Kukjin Kim wrote:
> On 10/26/12 18:29, Amit Daniel Kachhap wrote:
>>
>> From: Amit Daniel Kachhap
>>
>> This patch adds necessary source definations needed for TMU driver and
>> adds devicetree node for exynos4210.
>>
threshold interrupts and polling can be totally avoided.
Signed-off-by: Amit Daniel Kachhap
Signed-off-by: Amit Daniel Kachhap
---
drivers/thermal/step_wise.c | 19 +++
include/linux/thermal.h |2 ++
2 files changed, 17 insertions(+), 4 deletions(-)
diff --git a
trend type to
implement
this feature.
All these patches are based on thermal maintainer next tree.
git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next
Amit Daniel Kachhap (3):
thermal: Add new thermal trend type to support quick cooling
thermal: exynos: Miscellaneous fixes to
is not supported in exynos4210.
Signed-off-by: Jonghwa Lee
Signed-off-by: Amit Daniel Kachhap
---
drivers/thermal/exynos_thermal.c | 81 +++---
include/linux/platform_data/exynos_thermal.h |3 +
2 files changed, 49 insertions(+), 35 deletions(-)
diff --git
event that caused the interrupt.
Signed-off-by: Amit Daniel Kachhap
Signed-off-by: Amit Daniel Kachhap
---
drivers/thermal/exynos_thermal.c | 18 +++---
1 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c
This patch uses the quick thermal cooling trend type macros. This is needed
as exynos5 and other thermal sensors now supports only interrupt method for
thresold temperature check.
Signed-off-by: Amit Daniel Kachhap
Signed-off-by: Amit Daniel Kachhap
---
drivers/thermal/exynos_thermal.c |6
new thermal
trend type to implement this feature and some falling interrupt fixes.
All these patches are based on thermal maintainer thermal branch.
git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git thermal
Amit Daniel Kachhap (2):
thermal: exynos: Miscellaneous fixes to support
is not supported in exynos4210.
Signed-off-by: Jonghwa Lee
Signed-off-by: Amit Daniel Kachhap
---
drivers/thermal/exynos_thermal.c | 81 +++---
include/linux/platform_data/exynos_thermal.h |3 +
2 files changed, 49 insertions(+), 35 deletions(-)
diff --git
that caused the interrupt.
Signed-off-by: Amit Daniel Kachhap
Signed-off-by: Amit Daniel Kachhap
---
drivers/thermal/exynos_thermal.c | 21 +++--
1 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c
This patch uses the quick thermal cooling trend type macros. This is needed
as exynos5 and other thermal sensors now supports only interrupt method for
thresold temperature check.
Signed-off-by: Amit Daniel Kachhap
Signed-off-by: Amit Daniel Kachhap
---
drivers/thermal/exynos_thermal.c |6
These patch series contains 3 small fixes and device tree support for pmic
component of s5m8767 regulator driver.
Amit Daniel Kachhap (4):
regulator: s5m8767: Fix to work when platform registers less
regulators
regulator: s5m8767: Fix to read the first DVS register.
regulator: s5m8767
Add device tree based discovery support for pmic block of s5m8767
Signed-off-by: Amit Daniel Kachhap
---
.../bindings/regulator/s5m8767-regulator.txt | 133 ++
drivers/mfd/sec-core.c | 75 -
drivers/regulator/s5m8767.c
This patch modifies the DVS register read function to select correct DVS1
register. This change is required because the GPIO select pin is 000 in
unintialized state and hence selects the DVS1 register.
Signed-off-by: Amit Daniel Kachhap
---
drivers/regulator/s5m8767.c |6 +++---
1 files
Signed-off-by: Amit Daniel Kachhap
---
drivers/regulator/s5m8767.c | 17 ++---
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/drivers/regulator/s5m8767.c b/drivers/regulator/s5m8767.c
index 7ed7591..9f991f2 100644
--- a/drivers/regulator/s5m8767.c
+++ b/drivers
Signed-off-by: Amit Daniel Kachhap
---
drivers/regulator/s5m8767.c | 17 +
1 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/drivers/regulator/s5m8767.c b/drivers/regulator/s5m8767.c
index 2b822be..df0b094 100644
--- a/drivers/regulator/s5m8767.c
+++ b/drivers
This patch adds the missing cpufreq_cpu_put function needed for
returning the cpufreq policy instance.
Signed-off-by: Amit Daniel Kachhap
---
drivers/cpufreq/exynos-cpufreq.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers
that caused the interrupt.
Signed-off-by: Amit Daniel Kachhap
---
drivers/thermal/exynos_thermal.c | 19 ---
1 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c
index dcd13f7..0d17d41 100644
--- a
Hi Rui,
Any comment on these patches? These are based on new quick cooling
macros introduced.
Also my linaro ID is not valid so using samsung ID.
Thanks,
Amit Daniel
On Mon, Nov 26, 2012 at 5:47 AM, Amit Daniel Kachhap
wrote:
> Changes since V1: Used the new thermal trend type macro
>
. This is useful in debugging different
temperature threshold and its associated cooling action. Writing 0 on
this node should disable emulation.
Signed-off-by: Amit Daniel Kachhap
---
Documentation/thermal/sysfs-api.txt | 14 ++
drivers/thermal/thermal_sys.c | 26
This removes the driver specific sysfs support of the temperature
emulation and uses the newly added core thermal framework for thermal
emulation. A platform specific handler is added to support this.
Signed-off-by: Amit Daniel Kachhap
---
Documentation/thermal/exynos_thermal_emulation |6
Hi Daniel,
This hotplug noifiers looks fine. I suppose it should add extra state
C1 in cpu0. If it is done like below than for normal cases(when all
cpu's are online) there wont be any statistics for C0 state also which
is required. Other patches look good.
Thanks,
Amit
On Fri, Jan 4, 2013 at 8:
On Thu, Jan 10, 2013 at 1:32 PM, Daniel Lezcano wrote:
> On 01/10/2013 09:07 PM, amit daniel kachhap wrote:
>> Hi Daniel,
>
> Hi Amit Daniel,
>
>> This hotplug noifiers looks fine. I suppose it should add extra state
>> C1 in cpu0. If it is done like below than for
that caused the interrupt.
Signed-off-by: Amit Daniel Kachhap
---
Changes since V2,
Incorporated Joe Perches review comments about coding
guidelines.
This path is based on thermal maintainer next tree.
drivers/thermal/exynos_thermal.c | 17 +++--
1 files changed, 11 insertions
Hi Rui,
Any update?
Please merge these patch series as they have many critical fixes.
Thanks,
Amit Daniel
On Sun, Jan 6, 2013 at 3:57 PM, amit daniel kachhap
wrote:
> Hi Rui,
>
> Any comment on these patches? These are based on new quick cooling
> macros introduced.
> Also
This removes the driver specific sysfs support of the temperature
emulation and uses the newly added core thermal framework for thermal
emulation. A platform specific handler is added to support this.
Signed-off-by: Amit Daniel Kachhap
Acked-by: Kukjin Kim
---
Changes in V2:
* Added config
software emulation if no platform handler defined.
This is useful in debugging different temperature threshold and its
associated cooling action. Critical threshold's cannot be emulated.
Writing 0 on this node should disable emulation.
Signed-off-by: Amit Daniel Kachhap
Acked-by: Kukji
Amit Daniel Kachhap
---
Change since V1:
* Added description of pmic-buck-ds-gpios and op_mode in the device tree
documentation as suggested by Thomas Abraham.
* Incorporated coding guidelines review comments.
This patch is based on Mark Brown's tree next branch.
git://git.kernel.org/pub
On Thu, Jan 31, 2013 at 1:56 AM, Rahul Sharma wrote:
> On Thu, Jan 31, 2013 at 3:10 AM, Amit Daniel Kachhap
> wrote:
>> This device tree support is added for PMIC block of S5m8767 multi
>> function driver. The usage detail is added in the device tree
>> documentation
Amit Daniel Kachhap
---
Changes since V2:
* Remove un-necessary inclusion of platform file as pointed by
Rahul Sharma
Changes since V1:
* Added description of pmic-buck-ds-gpios and op_mode in the device tree
documentation as suggested by Thomas Abraham.
* Incorporated coding guidelines r
software emulation if no platform handler defined.
This is useful in debugging different temperature threshold and its
associated cooling action. Critical threshold's cannot be emulated.
Writing 0 on this node should disable emulation.
Signed-off-by: Amit Daniel Kachhap
Acked-by: Kukji
This change is needed for adding different type of cpufreq driver
and support single binary image.
Signed-off-by: Amit Daniel Kachhap
---
drivers/cpufreq/exynos-cpufreq.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq
: Amit Daniel Kachhap
---
.../bindings/cpufreq/cpufreq-exynos5440.txt| 24 ++
drivers/cpufreq/Kconfig.arm|8 +
drivers/cpufreq/Makefile |1 +
drivers/cpufreq/exynos5440-cpufreq.c | 448
4 files
Add cpufreq controller device node for Exynos5440 SoC for passing
parameters like controller base address, interrupt and cpufreq
table.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/boot/dts/exynos5440.dtsi |9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts
is not supported in exynos4210.
Acked-by: Kukjin Kim
Signed-off-by: Jonghwa Lee
Signed-off-by: Amit Daniel Kachhap
---
Hi,
Submitting these patches again as they got lost somewhere and was not merged.
Changes since V2:
* Rebased against Rui Zhang next tree.
* Added Kukjin Kim acked by
This patch uses the quick thermal cooling trend type macros. This is needed
as exynos5 and other thermal sensors now supports only interrupt method for
thresold temperature check.
Acked-by: Kukjin Kim
Signed-off-by: Amit Daniel Kachhap
---
Hi,
Submitting these patches again as they got lost
ra
Signed-off-by: Amit Daniel Kachhap
---
This patch is based on Samsung kernel maintainer's for-next tree.
git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git for-next
The s5m8767 DT support is already accepted by regulator's maintainer and is
present in the tree,
git:
The V2 of this patch is posted with comments suggested by Anil and
some missing LDO's.
Thanks,
Amit Daniel
On Wed, Feb 6, 2013 at 9:56 PM, Tushar Behera wrote:
> On 02/07/2013 11:19 AM, Kumar, Anil wrote:
>> On Thu, Feb 07, 2013 at 10:45:26, Tushar Behera wrote:
>>> Fr
read_temperature also follows the same execution method.
Acked-by: Kukjin Kim
Signed-off-by: Amit Daniel Kachhap
---
Changes in V3:
* Added an invalid return from function when CONFIG_THERMAL_EMULATION
is not defined.
* Added more details in the patch description.
Changes in V2:
* Added config
This patch helps to have single binary for exynos5440 and previous
exynos soc's. This change is needed for adding exynos5440 cpufreq driver
which does not uses exynos-cpufreq common file and adds it own driver.
Signed-off-by: Amit Daniel Kachhap
---
drivers/cpufreq/exynos-cpufreq.c |2
The OPP library support is needed for exynos5440 cpu frequency
dynamic scaling driver.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/Kconfig |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index
Add cpufreq controller device node for Exynos5440 SoC for passing
parameters like controller base address, interrupt and cpufreq
table. This node is added inside cpu0 node as done in other cpufreq
drivers.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/boot/dts/exynos5440.dtsi | 13
state management logic.
Signed-off-by: Amit Daniel Kachhap
---
Changes in V2:
* Added OPP library support to parse DT parameters.
* Removed a hack to handle interrupts in bootup.
* Added many review comments from Viresh and Inder.
All these patches are dependent on Thomas Abraham common clock
Add cpufreq controller device node for Exynos5440 SoC for passing
parameters like controller base address, interrupt and cpufreq
table. This node is added outside cpu0 as this driver is now a platform
driver and a new device structure is needed.
Signed-off-by: Amit Daniel Kachhap
---
Changes in
The OPP library support is needed for exynos5440 cpu frequency
dynamic scaling driver.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/Kconfig |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index
state management logic.
Signed-off-by: Amit Daniel Kachhap
---
Changes in V3:
* Converted the driver to probe based as suggested by Viresh. This is also
beneficial for multiplatform kernel.
* Other coding guidelines related changes.
Changes in V2:
* Added OPP library support to parse DT
This patch helps to have single binary for exynos5440 and previous
exynos soc's. This change is needed for adding exynos5440 cpufreq driver
which does not uses exynos-cpufreq common file and adds it own driver.
Signed-off-by: Amit Daniel Kachhap
---
drivers/cpufreq/exynos-cpufreq.c |2
This patch enables four cores on exynos5440. Also this patch skips the non
exynos5440 pmu control changes.
Cc: Kukjin Kim
Signed-off-by: Kukjin Kim
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/platsmp.c | 44 ++-
1 files changed, 25
This patch adds support for CPU hotlpug for the 3 secondary cores
of the exynos5440 SOC. The command to hotplug out/in is,
echo 0 > /sys/devices/system/cpu/cpu[1-3]/online
echo 1 > /sys/devices/system/cpu/cpu[1-3]/online
Cc: Kukjin Kim
Signed-off-by: Amit Daniel Kachhap
---
arch/ar
@vger.kernel.org/msg15860.html)
This whole patch series is based on 3.9-rc2.
Amit Daniel Kachhap (4):
cpufreq: exynos: Adding cpufreq driver for exynos5440
cpufreq: exynos: Remove error return even if no soc is found
arm: exynos: Enable OPP library support for exynos5440
dts: Add cpufreq controller
state management logic.
Signed-off-by: Amit Daniel Kachhap
---
.../bindings/cpufreq/cpufreq-exynos5440.txt| 29 ++
drivers/cpufreq/Kconfig.arm|9 +
drivers/cpufreq/Makefile |1 +
drivers/cpufreq/exynos5440-cpufreq.c
This patch helps to have single binary for exynos5440 and previous
exynos soc's. This change is needed for adding exynos5440 cpufreq driver
which does not uses exynos-cpufreq common file and adds it own driver.
Signed-off-by: Amit Daniel Kachhap
---
drivers/cpufreq/exynos-cpufreq.c |2
The OPP library support is needed for exynos5440 cpu frequency
dynamic scaling driver.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/Kconfig |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index
Add cpufreq controller device node for Exynos5440 SoC for passing
parameters like controller base address, interrupt and cpufreq
table. This node is added outside cpu0 as this driver is now a platform
driver and a new device structure is needed.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm
.
git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git for-next
Amit Daniel Kachhap (3):
ARM: EXYNOS: Move arm core power down clock to exynos5250 common
clock
ARM: SAMSUNG: Add SAMSUNG_PM config option to select pm
ARM: EXYNOS: cpuidle: Allow C1 state only in supported
Now with common clock support added for exynos5250 it is necessary to move
this code to exynos5250 common clock driver as clock registers should be
handled there. This change is tested in exynos5250 based arndale platform.
Cc: Abhilash Kesavan
Cc: Thomas Abraham
Signed-off-by: Amit Daniel
ined reference to
`s3c_pm_configure_extint'
linux/arch/arm/plat-samsung/pm.c:310: undefined reference to
`s3c_pm_restore_core'
make: *** [vmlinux] Error 1
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/Makefile |2 +-
arch/arm/mach-exynos/common.c |2 +-
This patch registers the basic C0 state for all exynos SOC's but
limits the C1(AFTR -Arm off top running) state in only the supported
SOC's(ie. EXYNOS 4210, 4212, 4412 and 5250).
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/cpuidle.c |4 +++-
1 files changed, 3
://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
-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
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/common.c | 42
1 - 100 of 553 matches
Mail list logo