Re: [PATCH v9 0/2] Adds PMU and S2R support for exynos5420

2014-10-10 Thread Vikas Sajjan
Hi Kevin, On Sat, Oct 11, 2014 at 3:47 AM, Kevin Hilman khil...@kernel.org wrote: Abhilash Kesavan kesavan.abhil...@gmail.com writes: On Fri, Oct 10, 2014 at 4:29 AM, Kevin Hilman khil...@kernel.org wrote: Kevin Hilman khil...@kernel.org writes: [...] Trying $SUBJECT series on top of

Re: [PATCH v9 2/2] ARM: exynos5: Add Suspend-to-RAM support for 5420

2014-10-08 Thread Vikas Sajjan
On Tue, Oct 7, 2014 at 6:19 PM, Javier Martinez Canillas jav...@dowhile0.org wrote: Hello Vikas, On Tue, Oct 7, 2014 at 11:22 AM, Vikas Sajjan vikas.saj...@samsung.com wrote: Adds Suspend-to-RAM support for EXYNOS5420 Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com Signed-off

Re: [PATCH v9 1/2] ARM: exynos5: Add PMU support for 5420

2014-10-08 Thread Vikas Sajjan
Hi Javier, On Tue, Oct 7, 2014 at 6:17 PM, Javier Martinez Canillas jav...@dowhile0.org wrote: Hellos Vikas, On Tue, Oct 7, 2014 at 11:22 AM, Vikas Sajjan vikas.saj...@samsung.com wrote: From: Abhilash Kesavan a.kesa...@samsung.com Adds intial PMU settings for exynos5420. This is required

Re: [PATCH v9 0/2] Adds PMU and S2R support for exynos5420

2014-10-08 Thread Vikas Sajjan
Hi Kukjin, On Tue, Oct 7, 2014 at 3:07 PM, Vikas Sajjan vikas.saj...@samsung.com wrote: Rebased on 1] Kukjin Kim's tree, for-next branch https://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git/log/?h=for-next 2] Pankaj Dubey's v9 PMU patchset http://www.spinics.net/lists/arm

Re: [PATCH v9 0/2] Adds PMU and S2R support for exynos5420

2014-10-08 Thread Vikas Sajjan
On Wed, Oct 8, 2014 at 2:22 PM, Kukjin Kim kg...@kernel.org wrote: Vikas Sajjan wrote: Hi Kukjin, Hi, On Tue, Oct 7, 2014 at 3:07 PM, Vikas Sajjan vikas.saj...@samsung.com wrote: Rebased on 1] Kukjin Kim's tree, for-next branch https://git.kernel.org/cgit/linux/kernel/git/kgene

Re: [PATCH v9 0/2] Adds PMU and S2R support for exynos5420

2014-10-08 Thread Vikas Sajjan
Hi Javier, On Wed, Oct 8, 2014 at 3:42 PM, Javier Martinez Canillas jav...@dowhile0.org wrote: Hello Vikas, On Wed, Oct 8, 2014 at 11:26 AM, Vikas Sajjan vikas.saj...@samsung.com wrote: Can you please pick this series. Yes, sure I will queue this series after -rc1 release. Not related

[PATCH v9 2/2] ARM: exynos5: Add Suspend-to-RAM support for 5420

2014-10-07 Thread Vikas Sajjan
Adds Suspend-to-RAM support for EXYNOS5420 Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com --- arch/arm/mach-exynos/suspend.c | 151 +++- 1 file changed, 149 insertions(+), 2 deletions(-) diff --git

[PATCH v9 1/2] ARM: exynos5: Add PMU support for 5420

2014-10-07 Thread Vikas Sajjan
From: Abhilash Kesavan a.kesa...@samsung.com Adds intial PMU settings for exynos5420. This is required for future S2R and Switching support. Signed-off-by: Thomas Abraham thomas...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Vikas Sajjan vikas.saj

[PATCH v9 0/2] Adds PMU and S2R support for exynos5420

2014-10-07 Thread Vikas Sajjan
. make exynos_defconfig 4. echo +20 /sys/class/rtc/rtc0/wakealarm echo mem /sys/power/state Abhilash Kesavan (1): ARM: exynos5: Add PMU support for 5420 Vikas Sajjan (1): ARM: exynos5: Add Suspend-to-RAM support for 5420 arch/arm/mach-exynos/pmu.c | 287

Re: [PATCH v8 0/2] Adds PMU and S2R support for exynos5420

2014-10-02 Thread Vikas Sajjan
Hi Javier, On Wed, Oct 1, 2014 at 7:20 PM, Javier Martinez Canillas jav...@dowhile0.org wrote: Hello Vikas, On Wed, Oct 1, 2014 at 12:23 PM, Vikas Sajjan vikas.saj...@samsung.com wrote: My git log looks like below on top of Kukjin's for-next branch, d861ddd clk: exynos: Add

[PATCH v8 2/2] ARM: exynos5: Add Suspend-to-RAM support for 5420

2014-09-30 Thread Vikas Sajjan
Adds Suspend-to-RAM support for EXYNOS5420 Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com --- arch/arm/mach-exynos/suspend.c | 156 +++- 1 file changed, 154 insertions(+), 2 deletions(-) diff --git

[PATCH v8 1/2] ARM: exynos5: Add PMU support for 5420

2014-09-30 Thread Vikas Sajjan
From: Abhilash Kesavan a.kesa...@samsung.com Add intial PMU settings for exynos5420. This is required for future S2R and Switching support. Signed-off-by: Thomas Abraham thomas...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Vikas Sajjan vikas.saj

[PATCH v8 0/2] Adds PMU and S2R support for exynos5420

2014-09-30 Thread Vikas Sajjan
support for 5420 Vikas Sajjan (1): ARM: exynos5: Add Suspend-to-RAM support for 5420 arch/arm/mach-exynos/pmu.c | 287 +++ arch/arm/mach-exynos/regs-pmu.h | 227 +++ arch/arm/mach-exynos/suspend.c | 156

Re: [PATCH v7 0/2] Adds PMU and S2R support for exynos5420

2014-09-29 Thread Vikas Sajjan
Hi Javier, On Thu, Sep 25, 2014 at 10:45 PM, Javier Martinez Canillas jav...@dowhile0.org wrote: [adding Pankaj Dubey to cc list] Hello Vikas, On Sun, Sep 14, 2014 at 4:57 PM, Vikas Sajjan vikas.saj...@samsung.com wrote: Hi All, On Thu, Aug 21, 2014 at 6:29 PM, Vikas Sajjan vikas.saj

Re: [RESEND PATCH] arm: exynos: Allow rtc alarm and tick wakeup irq for exynos3250.

2014-09-17 Thread Vikas Sajjan
Hi, On Wed, Sep 17, 2014 at 8:52 AM, Jonghwa Lee jonghwa3@samsung.com wrote: Add rtc alarm and tick irq to wakeup sources in exynos3250. Signed-off-by: Jonghwa Lee jonghwa3@samsung.com Acked-by : Chanwoo choi cw00.c...@samsung.com --- arch/arm/mach-exynos/pm.c |9 - 1

Re: [RESEND PATCH v4 2/2] ARM: EXYNOS: Refactor the pm code to use DT based lookup

2014-09-14 Thread Vikas Sajjan
Hi kukjin, On Tue, Sep 9, 2014 at 11:24 AM, Vikas Sajjan vikas.saj...@samsung.com wrote: Hi Kukjin, On Wed, Sep 3, 2014 at 7:10 PM, Kukjin Kim kgene@samsung.com wrote: Vikas Sajjan wrote: Hi, Hi, Sorry for late response... On Tue, Aug 19, 2014 at 3:05 PM, Bartlomiej

Re: [RESEND PATCH v4 2/2] ARM: EXYNOS: Refactor the pm code to use DT based lookup

2014-09-08 Thread Vikas Sajjan
Hi Kukjin, On Wed, Sep 3, 2014 at 7:10 PM, Kukjin Kim kgene@samsung.com wrote: Vikas Sajjan wrote: Hi, Hi, Sorry for late response... On Tue, Aug 19, 2014 at 3:05 PM, Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com wrote: Hi, On Tuesday, August 19, 2014 01:26:49 PM Vikas

Re: [RESEND PATCH v4 2/2] ARM: EXYNOS: Refactor the pm code to use DT based lookup

2014-08-26 Thread Vikas Sajjan
Hi kukjin, On Tue, Aug 19, 2014 at 12:37 PM, Vikas Sajjan vikas.saj...@samsung.com wrote: Refactoring the pm.c to avoid using soc_is_exynos checks, instead use the DT based lookup. While at it, consolidate the common code across SoCs and create static helper functions. Signed-off-by: Vikas

Re: [RESEND PATCH v4 2/2] ARM: EXYNOS: Refactor the pm code to use DT based lookup

2014-08-21 Thread Vikas Sajjan
Hi, On Tue, Aug 19, 2014 at 3:05 PM, Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com wrote: Hi, On Tuesday, August 19, 2014 01:26:49 PM Vikas Sajjan wrote: Hi Kukjin, On Tue, Aug 19, 2014 at 12:22 PM, Vikas Sajjan vikas.saj...@samsung.com wrote: Refactoring the pm.c to avoid using

[PATCH v7 0/2] Adds PMU and S2R support for exynos5420

2014-08-21 Thread Vikas Sajjan
Rebased on 1] Kukjin Kim's tree, master branch http://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git/log/ 2] Pankaj Dubey's v7 PMU patchset https://lkml.org/lkml/2014/7/9/2 http://lists.infradead.org/pipermail/linux-arm-kernel/2014-July/270655.html 3] My pm.c refactoring patchset

[PATCH v7 2/2] ARM: exynos5: Add Suspend-to-RAM support for 5420

2014-08-21 Thread Vikas Sajjan
From: Abhilash Kesavan a.kesa...@samsung.com Adds Suspend-to-RAM support for EXYNOS5420 Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com --- arch/arm/mach-exynos/pm.c | 149 - 1 file changed

[PATCH v7 1/2] ARM: exynos5: Add PMU support for 5420

2014-08-21 Thread Vikas Sajjan
From: Abhilash Kesavan a.kesa...@samsung.com Add intial PMU settings for exynos5420. This is required for future S2R and Switching support. Signed-off-by: Thomas Abraham thomas...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Vikas Sajjan vikas.saj

[PATCH v2 0/3] Adds PMU and S2R support for exynos5800

2014-08-21 Thread Vikas Sajjan
/sys/class/rtc/rtc0/wakealarm echo mem /sys/power/state Procedure B: 1. make exynos_defconfig 2 disable BL_SWITCHER 3. pass no_console_suspend in bootargs 4. echo +20 /sys/class/rtc/rtc0/wakealarm echo mem /sys/power/state Vikas Sajjan (3): ARM: dts: Add

[PATCH v2 1/3] ARM: dts: Add pmu node for exynos5800 SoC

2014-08-21 Thread Vikas Sajjan
Adds pmu node for exynos5800 SoC. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- .../devicetree/bindings/arm/samsung/pmu.txt|1 + arch/arm/boot/dts/exynos5800.dtsi |4 2 files changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH v2 3/3] ARM: exynos: Add PMU and S2R support for exynos5800 SoC

2014-08-21 Thread Vikas Sajjan
Adds PMU and S2R support for exynos5800 SoC. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- arch/arm/mach-exynos/pm.c |3 +++ arch/arm/mach-exynos/pmu.c | 22 ++ arch/arm/mach-exynos/regs-pmu.h |3 ++- 3 files changed, 27 insertions(+), 1

[PATCH v2 2/3] ARM: exynos: Add exynos5800-pmu compatible entry

2014-08-21 Thread Vikas Sajjan
Adds exynos5800-pmu compatible string entry in the pmu table. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- arch/arm/mach-exynos/exynos.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index 6a24e11..90377c9 100644

[RESEND PATCH v4 0/2] Refactor the pm code to use DT based lookup

2014-08-19 Thread Vikas Sajjan
/kgene/linux-samsung.git/log/?h=for-next Tested on 5250 based Chromebook. Vikas Sajjan (2): ARM: EXYNOS: Move Disabling of JPEG USE_RETENTION for exynos5250 to pmu.c ARM: EXYNOS: Refactor the pm code to use DT based lookup arch/arm/mach-exynos/pm.c | 172

[RESEND PATCH v4 2/2] ARM: EXYNOS: Refactor the pm code to use DT based lookup

2014-08-19 Thread Vikas Sajjan
Refactoring the pm.c to avoid using soc_is_exynos checks, instead use the DT based lookup. While at it, consolidate the common code across SoCs and create static helper functions. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com Reviewed-by: Tomasz Figa t.f...@samsung.com --- arch/arm/mach

[RESEND PATCH v4 1/2] ARM: EXYNOS: Move Disabling of JPEG USE_RETENTION for exynos5250 to pmu.c

2014-08-19 Thread Vikas Sajjan
Move the Disabling of JPEG USE_RETENTION for exynos5250 to pmu.c to make way for refactoring of pm.c and to create common functions across exynos4 and exynos5250. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com Reviewed-by: Tomasz Figa t.f...@samsung.com --- arch/arm/mach-exynos/pm.c

Re: [RESEND PATCH v4 2/2] ARM: EXYNOS: Refactor the pm code to use DT based lookup

2014-08-19 Thread Vikas Sajjan
Hi Kukjin, On Tue, Aug 19, 2014 at 12:22 PM, Vikas Sajjan vikas.saj...@samsung.com wrote: Refactoring the pm.c to avoid using soc_is_exynos checks, instead use the DT based lookup. While at it, consolidate the common code across SoCs and create static helper functions. Signed-off-by: Vikas

Re: [PATCH v3 0/2] Refactor the pm code to use DT based lookup

2014-08-18 Thread Vikas Sajjan
Hi All, On Thu, Aug 7, 2014 at 5:29 PM, Vikas Sajjan vikas.saj...@samsung.com wrote: Refactoring the pm.c to avoid using soc_is_exynos checks, instead use the DT based lookup. While at it, move exynos5250 specific disabling of JPEG USE_RETENTION to pmu.c changes since v2

Re: [PATCH v3 1/2] ARM: EXYNOS: Move Disabling of JPEG USE_RETENTION for exynos5250 to pmu.c

2014-08-18 Thread Vikas Sajjan
Hi Tomasz, On Mon, Aug 18, 2014 at 5:42 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Vikas, On 07.08.2014 13:59, Vikas Sajjan wrote: Move the Disabling of JPEG USE_RETENTION for exynos5250 to pmu.c to make way for refactoring of pm.c and to create common functions across exynos4

[PATCH v4 0/2] Refactor the pm code to use DT based lookup

2014-08-18 Thread Vikas Sajjan
/kgene/linux-samsung.git/log/?h=for-next Tested on 5250 based Chromebook. Vikas Sajjan (2): ARM: EXYNOS: Move Disabling of JPEG USE_RETENTION for exynos5250 to pmu.c ARM: EXYNOS: Refactor the pm code to use DT based lookup arch/arm/mach-exynos/pm.c | 172

[PATCH v4 1/2] ARM: EXYNOS: Move Disabling of JPEG USE_RETENTION for exynos5250 to pmu.c

2014-08-18 Thread Vikas Sajjan
Move the Disabling of JPEG USE_RETENTION for exynos5250 to pmu.c to make way for refactoring of pm.c and to create common functions across exynos4 and exynos5250. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com Reviewed-by: Tomasz Figa t.f...@samsung.com --- arch/arm/mach-exynos/pm.c

[PATCH v4 2/2] ARM: EXYNOS: Refactor the pm code to use DT based lookup

2014-08-18 Thread Vikas Sajjan
Refactoring the pm.c to avoid using soc_is_exynos checks, instead use the DT based lookup. While at it, consolidate the common code across SoCs and create static helper functions. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com Reviewed-by: Tomasz Figa t.f...@samsung.com --- arch/arm/mach

[PATCH v3 2/2] ARM: EXYNOS: Refactor the pm code to use DT based lookup

2014-08-07 Thread Vikas Sajjan
Refactoring the pm.c to avoid using soc_is_exynos checks, instead use the DT based lookup. While at it, consolidate the common code across SoCs and create a static helper functions. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- arch/arm/mach-exynos/pm.c | 168

[PATCH v3 1/2] ARM: EXYNOS: Move Disabling of JPEG USE_RETENTION for exynos5250 to pmu.c

2014-08-07 Thread Vikas Sajjan
Move the Disabling of JPEG USE_RETENTION for exynos5250 to pmu.c to make way for refactoring of pm.c and to create common functions across exynos4 and exynos5250. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- arch/arm/mach-exynos/pm.c |7 +-- arch/arm/mach-exynos/pmu.c |6

Re: [PATCH v2] ARM: EXYNOS: Refactor the pm code to use DT based lookup

2014-08-06 Thread Vikas Sajjan
Hi Tomasz, On Wed, Aug 6, 2014 at 1:35 AM, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Vikas, Please see my comments inline. On 25.07.2014 13:49, Vikas Sajjan wrote: Refactoring the pm.c to avoid using soc_is_exynos checks, instead use the DT based lookup. While at it, consolidate

Re: [PATCH v2] ARM: EXYNOS: Refactor the pm code to use DT based lookup

2014-08-06 Thread Vikas Sajjan
Hi Tomasz, On Wed, Aug 6, 2014 at 6:57 PM, Tomasz Figa t.f...@samsung.com wrote: On 06.08.2014 14:58, Vikas Sajjan wrote: On Wed, Aug 6, 2014 at 1:35 AM, Tomasz Figa tomasz.f...@gmail.com wrote: On 25.07.2014 13:49, Vikas Sajjan wrote: [snip] + + /* Disable USE_RETENTION

Re: [PATCH v2] ARM: EXYNOS: Refactor the pm code to use DT based lookup

2014-08-03 Thread Vikas Sajjan
Hi Kukjin, On Fri, Jul 25, 2014 at 5:34 PM, Vikas Sajjan vikas.saj...@samsung.com wrote: Refactoring the pm.c to avoid using soc_is_exynos checks, instead use the DT based lookup. While at it, consolidate the common code across SoCs and create a static helper functions. Signed-off

[PATCH 1/2] ARM: EXYNOS: Add PMU DT node for exynos5260 SoC

2014-07-28 Thread Vikas Sajjan
Addd PMU DT node for exynos5260 SoC. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- .../devicetree/bindings/arm/samsung/pmu.txt|1 + arch/arm/boot/dts/exynos5260.dtsi |5 + 2 files changed, 6 insertions(+) diff --git a/Documentation/devicetree

[PATCH 2/2] ARM: EXYNOS: Add exynos5260 PMU compatible string to DT match table

2014-07-28 Thread Vikas Sajjan
Exynos initialisation code now relies on obtaining the PMU address via DT node, so add the exynos5260 PMU compatible string to DT match table. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- arch/arm/mach-exynos/exynos.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm

[PATCH 0/2] Add support to get PMU node via DT for exynos5260

2014-07-28 Thread Vikas Sajjan
rebased on kgene tree for-next branch https://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git/log/?h=for-next Vikas Sajjan (2): ARM: EXYNOS: Add PMU DT node for exynos5260 SoC ARM: EXYNOS: Add exynos5260 PMU compatible string to DT match table .../devicetree/bindings/arm

[RESEND][PATCH 0/2] Add support to get PMU address via DT for exynos5260

2014-07-28 Thread Vikas Sajjan
rebased on kgene tree for-next branch https://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git/log/?h=for-next Vikas Sajjan (2): ARM: DTS: Add PMU DT node for exynos5260 SoC ARM: EXYNOS: Add exynos5260 PMU compatible string to DT match table .../devicetree/bindings/arm/samsung

[RESEND][PATCH 2/2] ARM: EXYNOS: Add exynos5260 PMU compatible string to DT match table

2014-07-28 Thread Vikas Sajjan
Exynos initialisation code now relies on obtaining the PMU address via DT, so add the exynos5260 PMU compatible string to DT match table. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- arch/arm/mach-exynos/exynos.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach

[RESEND][PATCH 1/2] ARM: DTS: Add PMU DT node for exynos5260 SoC

2014-07-28 Thread Vikas Sajjan
Adds PMU DT node for exynos5260 SoC. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- .../devicetree/bindings/arm/samsung/pmu.txt|1 + arch/arm/boot/dts/exynos5260.dtsi |5 + 2 files changed, 6 insertions(+) diff --git a/Documentation/devicetree

[PATCH v2] ARM: EXYNOS: Refactor the pm code to use DT based lookup

2014-07-25 Thread Vikas Sajjan
Refactoring the pm.c to avoid using soc_is_exynos checks, instead use the DT based lookup. While at it, consolidate the common code across SoCs and create a static helper functions. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- changes since v1: - Address Kukjin Kim comments

Re: [PATCH v6 2/4] ARM: EXYNOS: Refactor the code to use DT based lookup

2014-07-24 Thread Vikas Sajjan
Hi Kukjin, On Fri, Jul 25, 2014 at 8:06 AM, Kukjin Kim kgene@samsung.com wrote: Vikas Sajjan wrote: Refactoring the pm.c to avoid using soc_is_exynos checks, instead use the DT based lookup. Yes! please. Can you please make a separate patch from this series? Sure, will respin

Re: [PATCH 0/3] Adds PMU and S2R support for exynos5800

2014-07-17 Thread Vikas Sajjan
On Wed, Jul 9, 2014 at 5:10 PM, Vikas Sajjan vikas.saj...@samsung.com wrote: Rebased on 1] Kukjin Kim's tree, for-next branch https://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git/log/?h=for-next 2] My 5420 PMU Series : http://www.mail-archive.com/linux-samsung-soc

[PATCH v3 2/2] ARM: dts: Add mask-tpm-reset DT node to the exynos5800-peach-pi

2014-07-15 Thread Vikas Sajjan
. It will get pulled back high again during a normal warm reset when it will default back to an input. To properly preserve the TPM state across suspend/resume and to make the chrome U-Boot happy, properly set the GPIO to mask the reset to the TPM. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com

[PATCH v3 1/2] ARM: dts: Add mask-tpm-reset to the device tree

2014-07-15 Thread Vikas Sajjan
-by: Doug Anderson diand...@chromium.org Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- arch/arm/boot/dts/exynos5420-peach-pit.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index

[PATCH v3 0/2] Add mask-tpm-reset DT node to the exynos5

2014-07-15 Thread Vikas Sajjan
based on gpio number - included the exynos5800-peach-pi patch in this series changes since v1: - removed fixed regulator and used hogs instead. Doug Anderson (1): ARM: dts: Add mask-tpm-reset to the device tree Vikas Sajjan (1): ARM: dts: Add mask-tpm-reset DT node

Re: [PATCH v6 0/4] Adds PMU and S2R support for exynos5420

2014-07-15 Thread Vikas Sajjan
On Fri, Jul 11, 2014 at 11:45 AM, Naveen Krishna Ch naveenkrishna...@gmail.com wrote: Hello Vikas, On 7 July 2014 18:25, Vikas Sajjan vikas.saj...@samsung.com wrote: Rebased on 1] Kukjin Kim's tree, for-next branch https://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git/log/?h

[PATCH v2] ARM: dts: Add mask-tpm-reset to the device tree

2014-07-14 Thread Vikas Sajjan
-by: Doug Anderson diand...@chromium.org Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- changes since v1: - removed fixed regulator and used hogs instead. arch/arm/boot/dts/exynos5420-peach-pit.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH] ARM: dts: Add mask-tpm-reset DT node to the exynos5800-peach-pi

2014-07-14 Thread Vikas Sajjan
. It will get pulled back high again during a normal warm reset when it will default back to an input. To properly preserve the TPM state across suspend/resume and to make the chrome U-Boot happy, properly set the GPIO to mask the reset to the TPM. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com

Re: [PATCH v2] ARM: dts: Add mask-tpm-reset to the device tree

2014-07-14 Thread Vikas Sajjan
Doug, On Mon, Jul 14, 2014 at 10:30 PM, Doug Anderson diand...@chromium.org wrote: Vikas, On Sun, Jul 13, 2014 at 11:33 PM, Vikas Sajjan vikas.saj...@samsung.com wrote: From: Doug Anderson diand...@chromium.org The mask-tpm-reset GPIO is used by the kernel to prevent the TPM from being

[PATCH 0/3] Adds PMU and S2R support for exynos5800

2014-07-09 Thread Vikas Sajjan
4. pass no_console_suspend in bootargs 5. echo +20 /sys/class/rtc/rtc0/wakealarm echo mem /sys/power/state Vikas Sajjan (3): arm: dts: Add pmu node for exynos5800 SoC arm: exynos: Add exynos5800-pmu compatible entry arm: exynos: Add PMU and S2R support for exynos5800 SoC

[PATCH 1/3] arm: dts: Add pmu node for exynos5800 SoC

2014-07-09 Thread Vikas Sajjan
Adds pmu node for exynos5800 SoC. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- .../devicetree/bindings/arm/samsung/pmu.txt|1 + arch/arm/boot/dts/exynos5800.dtsi |4 2 files changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH 2/3] arm: exynos: Add exynos5800-pmu compatible entry

2014-07-09 Thread Vikas Sajjan
Adds exynos5800-pmu compatible string entry in the pmu table. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- arch/arm/mach-exynos/exynos.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index d75d3e8..d5853b1 100644

Re: [PATCH] ARM: dts: Add mask-tpm-reset to the device tree

2014-07-09 Thread Vikas Sajjan
: On Thu, Jun 26, 2014 at 11:15 AM, Vikas Sajjan vikas.saj...@samsung.com wrote: From: Doug Anderson diand...@chromium.org The mask-tpm-reset GPIO is used by the kernel to prevent the TPM from being reset across sleep/wake. If we don't set it to anything then the TPM will be reset. U-Boot

Re: [PATCH v5 3/3] clk: samsung: exynos5420: Setup clocks before system suspend

2014-07-08 Thread Vikas Sajjan
On Tue, Jul 8, 2014 at 2:13 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Vikas, On 08.07.2014 06:34, Vikas Sajjan wrote: Hi Kukjin, On Mon, Jun 30, 2014 at 11:28 PM, Tomasz Figa t.f...@samsung.com wrote: Hi Vikas, Abhilash, On 26.06.2014 13:12, Vikas Sajjan wrote: Prior to suspending

[PATCH v6 0/4] Adds PMU and S2R support for exynos5420

2014-07-07 Thread Vikas Sajjan
for 5420 Vikas Sajjan (2): ARM: EXYNOS: Refactor the code to use DT based lookup clk: samsung: exynos5420: Setup clocks before system suspend arch/arm/mach-exynos/pm.c| 376 ++ arch/arm/mach-exynos/pmu.c | 288

[PATCH v6 1/4] arm: exynos5: Add PMU support for 5420

2014-07-07 Thread Vikas Sajjan
From: Abhilash Kesavan a.kesa...@samsung.com Add intial PMU settings for exynos5420. This is required for future S2R and Switching support. Signed-off-by: Thomas Abraham thomas...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Vikas Sajjan vikas.saj

[PATCH v6 4/4] clk: samsung: exynos5420: Setup clocks before system suspend

2014-07-07 Thread Vikas Sajjan
Prior to suspending the system, we need to ensure that certain clock source and gate registers are unmasked. while at it, add these clks to save/restore list also. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com --- drivers/clk/samsung

Re: [PATCH] ARM: EXYNOS: add EXYNOS3250 PMU support

2014-07-07 Thread Vikas Sajjan
Hi, On Mon, Jun 2, 2014 at 10:24 PM, Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com wrote: This is needed for suspend/resume and cpuidle AFTR mode support. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com --- against

Re: [PATCH v5 3/3] clk: samsung: exynos5420: Setup clocks before system suspend

2014-07-07 Thread Vikas Sajjan
Hi Kukjin, On Mon, Jun 30, 2014 at 11:28 PM, Tomasz Figa t.f...@samsung.com wrote: Hi Vikas, Abhilash, On 26.06.2014 13:12, Vikas Sajjan wrote: Prior to suspending the system, we need to ensure that certain clock source and gate registers are unmasked. while at it, add these clks to save

Re: [PATCH] ARM: dts: Add mask-tpm-reset to the device tree

2014-06-27 Thread Vikas Sajjan
wrote: Hi Doug, On 26.06.2014 17:25, Doug Anderson wrote: Tomasz, On Thu, Jun 26, 2014 at 2:52 AM, Tomasz Figa t.f...@samsung.com wrote: Hi Vikas, Doug, On 26.06.2014 11:15, Vikas Sajjan wrote: From: Doug Anderson diand...@chromium.org The mask-tpm-reset GPIO is used by the kernel

[PATCH] ARM: dts: Add mask-tpm-reset to the device tree

2014-06-26 Thread Vikas Sajjan
-by: Doug Anderson diand...@chromium.org Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- arch/arm/boot/dts/exynos5420-peach-pit.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach

[PATCH v5 3/3] clk: samsung: exynos5420: Setup clocks before system suspend

2014-06-26 Thread Vikas Sajjan
Prior to suspending the system, we need to ensure that certain clock source and gate registers are unmasked. while at it, add these clks to save/restore list also. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com --- drivers/clk/samsung

[PATCH v5 0/3] Adds PMU and S2R support for exynos5420

2014-06-26 Thread Vikas Sajjan
mem /sys/power/state Abhilash Kesavan (2): arm: exynos5: Add PMU support for 5420 arm: exynos5: Add Suspend-to-RAM support for 5420 Vikas Sajjan (1): clk: samsung: exynos5420: Setup clocks before system suspend arch/arm/mach-exynos/pm.c| 150 -- arch/arm/mach

[PATCH v5 2/3] arm: exynos5: Add Suspend-to-RAM support for 5420

2014-06-26 Thread Vikas Sajjan
From: Abhilash Kesavan a.kesa...@samsung.com Adds Suspend-to-RAM support for EXYNOS5420 Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- arch/arm/mach-exynos/pm.c | 150 - 1 file changed

[PATCH v5 1/3] arm: exynos5: Add PMU support for 5420

2014-06-26 Thread Vikas Sajjan
From: Abhilash Kesavan a.kesa...@samsung.com Add intial PMU settings for exynos5420. This is required for future S2R and Switching support. Signed-off-by: Thomas Abraham thomas...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Vikas Sajjan vikas.saj

Re: [PATCH v5 0/5] ARM: Exynos: PMU cleanup and refactoring for using DT

2014-06-26 Thread Vikas Sajjan
valid. Taking ownership of all his patches. Changes Since v3: - Optimized exynos_pmu_probe function by removing exynos_pmu_data_init as suggested by Vikas Sajjan. - Modified syscon_early_regmap_lookup_by_phandle and syscon_regmap_lookup_by_phandle function call to pass property as NULL

Re: [PATCH v4 00/11] ARM: Exynos: PMU cleanup and refactoring for using DT

2014-05-27 Thread Vikas Sajjan
by Sachin Kamat. - Optimized exynos_pmu_probe function by removing exynos_pmu_data_init as suggested by Vikas Sajjan. - Rebased on top of Sysram patches by Sachin Kamat. - Modified syscon_early_regmap_lookup_by_phandle and syscon_regmap_lookup_by_phandle function call to pass property as NULL

Crash during S2R on Arndale if CONFIG_SAMSUNG_PM_CHECK enabled

2014-05-23 Thread Vikas Sajjan
) [ 10.774637] [c006f7a0] (tick_nohz_idle_enter) from [c00500d8] (cpu_startup_entry+0x48/0x160) [ 10.774637] [c00500d8] (cpu_startup_entry) from [c04caae4] (start_kernel+0x344/0x350) [ 10.774637] ---[ end trace 2ba1a0 Regards Vikas Sajjan -- To unsubscribe from this list: send the line

[PATCH V3 1/4] ARM: dts: Add sysreg sytem controller node to exynos5250 and exynos5420

2014-05-19 Thread Vikas Sajjan
dts: Add usb2phy to Exynos 5250 patch] [gautam.vi...@samsung.com: added similar syscon entry for exynos5420] Signed-off-by: Vivek Gautam gautam.vi...@samsung.com [vikas.saj...@samsung.com: updated the binding document] Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- .../devicetree/bindings

[PATCH V3 0/4] dts: Add usb2phy to Exynos 5250/5420

2014-05-19 Thread Vikas Sajjan
Based on 'for-next' branch of Kgene's linux-samsung tree. These patches are as per discussions on the driver side patches which have already been acked. [1] Changes from v2: - Addressed kukjin's comments to update DT binding documentation for sysreg. - removed the version for

[PATCH V3 3/4] ARM: dts: Add usb2phy support on exynos5420

2014-05-19 Thread Vikas Sajjan
From: Vivek Gautam gautam.vi...@samsung.com Add required device node for usb2phy to let enable USB 2.0 support. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- arch/arm/boot/dts/exynos5420.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git

[PATCH V3 2/4] ARM: dts: Add usb2phy to Exynos 5250

2014-05-19 Thread Vikas Sajjan
From: Kamil Debski k.deb...@samsung.com Add support to PHY of USB2 of the Exynos 5250 SoC. Signed-off-by: Kamil Debski k.deb...@samsung.com [gautam.vi...@samsung.com: Split the usb phy entries from syscon entries from earlier patch: dts: Add usb2phy to Exynos 5250] [gautam.vi...@samsung.com:

[PATCH V3 4/4] ARM: dts: Add usb 2.0 support on exynos5420

2014-05-19 Thread Vikas Sajjan
From: Vivek Gautam gautam.vi...@samsung.com Add required device node for ehci and ohci controllers to enable USB 2.0 support. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- arch/arm/boot/dts/exynos5420.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff

[PATCH V3 0/3] Add PMU and S2R support for exynos5420

2014-05-08 Thread Vikas Sajjan
figa's PM consolidations for exynos Tested on peach-pit board on top of shaik ameer basha's CLK v3 patchset http://www.spinics.net/lists/arm-kernel/msg325313.html Vikas Sajjan (3): ARM: EXYNOS5: PMU support for 5420 ARM: EXYNOS5: Add Suspend-to-RAM support for 5420 CLK: EXYNOS: Add clk save

[PATCH V3 1/3] ARM: EXYNOS5: PMU support for 5420

2014-05-08 Thread Vikas Sajjan
Add intial PMU settings for exynos5420. This is required for future S2R and Switching support. Signed-off-by: Thomas Abraham thomas...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- arch/arm/mach-exynos/common.h |9

[PATCH V3 2/3] ARM: EXYNOS5: Add Suspend-to-RAM support for 5420

2014-05-08 Thread Vikas Sajjan
Adds Suspend-to-RAM support for EXYNOS5420 Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- arch/arm/mach-exynos/pm.c | 163 ++- arch/arm/mach-exynos/regs-pmu.h |2 + 2 files changed, 146

[PATCH V3 3/3] CLK: EXYNOS: Add clk save/restore registers for 5420

2014-05-08 Thread Vikas Sajjan
Adds clk save/restore registers for 5420 Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- drivers/clk/samsung/clk-exynos5420.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420

Re: [PATCH v3 11/12] ARM: EXYNOS: Add platform driver support for Exynos PMU.

2014-04-30 Thread Vikas Sajjan
Hi Pankaj, On Wed, Apr 30, 2014 at 10:47 AM, Pankaj Dubey pankaj.du...@samsung.com wrote: This patch modifies Exynos Power Management Unit (PMU) initialization implementation in following way: - Added platform_device support by registering static platform device. - Added platform struct

Re: [PATCH V2 1/3] ARM: EXYNOS5: Add PMU settings for exynos5420

2014-04-28 Thread Vikas Sajjan
) In addition to above, please see some comments inline. On 27.03.2014 07:13, Vikas Sajjan wrote: Add intial PMU settings for exynos5420. This is required for future S2R and Switching support. Signed-off-by: Thomas Abraham thomas...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa

Re: [PATCH V2 2/3] ARM: EXYNOS5: Support Suspend-to-RAM on EXYNOS5420

2014-04-28 Thread Vikas Sajjan
Hi Tomasz, On Wed, Apr 16, 2014 at 12:33 AM, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Vikas, Basically same comments as for the series for Exynos5260. Also see more comments inline. On 27.03.2014 07:13, Vikas Sajjan wrote: Adds Suspend-to-RAM support for EXYNOS5420 Signed-off

Re: [PATCH v12 30/31] ARM: dts: add System MMU nodes of exynos5250

2014-04-27 Thread Vikas Sajjan
Hi shaik, +Doug, Abhilash, On Sun, Apr 27, 2014 at 1:08 PM, Shaik Ameer Basha shaik.am...@samsung.com wrote: From: Cho KyongHo pullip@samsung.com Signed-off-by: Cho KyongHo pullip@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi | 270 - 1

Re: [PATCH] ARM: dts: Remove mau_pd node for Exynos5420

2014-04-26 Thread Vikas Sajjan
Hi, On Sat, Apr 26, 2014 at 5:00 AM, Tomasz Figa tomasz.f...@gmail.com wrote: On 24.04.2014 13:03, Tushar Behera wrote: On 04/24/2014 03:36 PM, Tomasz Figa wrote: On 24.04.2014 11:07, Tushar Behera wrote: On 04/23/2014 03:43 PM, Kukjin Kim wrote: Tushar Behera wrote: On 22 April

Re: [PATCH] ARM: dts: Remove mau_pd node for Exynos5420

2014-04-26 Thread Vikas Sajjan
Hi Tomasz, On Sat, Apr 26, 2014 at 8:48 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Vikas, On 26.04.2014 13:57, Vikas Sajjan wrote: Hi, On Sat, Apr 26, 2014 at 5:00 AM, Tomasz Figa tomasz.f...@gmail.com wrote: On 24.04.2014 13:03, Tushar Behera wrote: On 04/24/2014 03:36 PM

Re: [PATCH 1/4] ARM: dts: exynos4: add PMU syscon node

2014-04-25 Thread Vikas Sajjan
Hi, On Thu, Apr 24, 2014 at 9:37 PM, Tomasz Figa t.f...@samsung.com wrote: Hi Chanho, On 14.04.2014 14:48, Chanho Park wrote: This patch adds a PMU(Power Management Unit) syscon node. This should be required for USB Phy syscon regmap I/F. Cc: Tomasz Figa t.f...@samsung.com Cc: Kamil

Re: [PATCH 1/3] ARM: dts: Add PMU reg node to exynos4210

2014-04-24 Thread Vikas Sajjan
+Tomasz On Wed, Apr 2, 2014 at 1:32 PM, Pankaj Dubey pankaj.du...@samsung.com wrote: This patch adds pmu regnode to exynos4210 dtsi to handle PMU register access via DT. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com --- arch/arm/boot/dts/exynos4210.dtsi |5 + 1 file

Re: [PATCH 06/10] ARM: EXYNOS: Add support for mapping PMU base address via DT

2014-04-23 Thread Vikas Sajjan
Hi, On Wed, Apr 2, 2014 at 1:20 PM, Pankaj Dubey pankaj.du...@samsung.com wrote: From: Young-Gun Jang yg1004.j...@samsung.com Add support for mapping Exynos Power Management Unit (PMU) base address from device tree. Code will use existing samsung pmu binding information. This patch also adds

Re: [PATCHv2 3/8] ARM: EXYNOS: Add IO mapping for PMU of Exynos3250

2014-04-15 Thread Vikas Sajjan
Hi, On Tue, Apr 15, 2014 at 2:02 PM, Chanwoo Choi cw00.c...@samsung.com wrote: Hi, On 04/15/2014 05:11 PM, Arnd Bergmann wrote: On Tuesday 15 April 2014 10:59:47 Chanwoo Choi wrote: This patch add memory mapping for PMU (Power Management Unit) which is used for power control of Exynos3250.

Re: [PATCH v2 2/3] ARM: EXYNOS: Add initial support of PMU for Exynos5260

2014-04-15 Thread Vikas Sajjan
Hi Tomasz, On Wed, Apr 16, 2014 at 12:04 AM, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Vikas, On 17.03.2014 14:09, Vikas Sajjan wrote: Adds PMU support of PMU for Exynos5260. Suspend-to-RAM can be built on top this. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off

Re: [PATCH V2 0/3] Add PMU and S2R support for exynos5420

2014-04-11 Thread Vikas Sajjan
Hi, Any comments on this series. On Thu, Mar 27, 2014 at 11:43 AM, Vikas Sajjan vikas.saj...@samsung.com wrote: rebased on kgene tree for-next branch https://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git/log/?h=for-next changes since v1: - Addressed comments from

Re: [PATCH v2 0/3] Add initial support of PMU for exynos5260

2014-04-11 Thread Vikas Sajjan
Hi, Any comments on this series. On Mon, Mar 17, 2014 at 6:39 PM, Vikas Sajjan vikas.saj...@samsung.com wrote: From: Vikas Sajjan vikas.saj...@linaro.org 1) Added initial PMU support for exynos5260 2) Added S2R(single CPU) support on exynos5260 3) Added PMU mapping via DT. rebased

Re: AFTR does not work on arndale 5250

2014-04-08 Thread Vikas Sajjan
Hi Daniel, I checked AFTR on v3.14 ( https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?id=refs/tags/v3.14) on exynos5250 based chromebook (exynos5250-snow.dtb) I am able to hotplug CPU1 (echo 0 /sys/devices/system/cpu/cpu1/online). I can see, it enters

[PATCH V2 0/3] Add PMU and S2R support for exynos5420

2014-03-27 Thread Vikas Sajjan
): ARM: dts: Add node for GPIO keys on SMDK5420 Vikas Sajjan (2): ARM: EXYNOS5: Add PMU settings for exynos5420 ARM: EXYNOS5: Support Suspend-to-RAM on EXYNOS5420 arch/arm/boot/dts/exynos5420-smdk5420.dts| 11 + arch/arm/mach-exynos/common.h| 10 + arch/arm/mach

[PATCH V2 2/3] ARM: EXYNOS5: Support Suspend-to-RAM on EXYNOS5420

2014-03-27 Thread Vikas Sajjan
Adds Suspend-to-RAM support for EXYNOS5420 Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- arch/arm/mach-exynos/pm.c| 148 ++ arch/arm/mach-exynos/regs-pmu.h |4 +- arch

  1   2   3   4   >