[PATCH 1/5] drivers: soc: add support for exynos SROM driver

2015-04-29 Thread Pankaj Dubey
This patch adds Exynos SROM controller driver which will handle save restore of SROM registers during S2R. Change-Id: Iaddaaebc1d7090c9889e948e68e886519562c43c Signed-off-by: Pankaj Dubey --- drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc

[PATCH 2/5] ARM: EXYNOS: Remove SROM related register settings from mach-exynos

2015-04-29 Thread Pankaj Dubey
As now we have dedicated driver for SROM controller, it will take care of saving register banks during S2R so we can safely remove these settings from mach-exynos. Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/Kconfig | 2 + arch/arm/mach-exynos/exynos.c

RE: [PATCH v4 02/11] ARM: EXYNOS: Move cpufreq and cpuidle device registration to init_machine

2014-06-16 Thread Pankaj Dubey
Hi Tomasz, > -Original Message- > > Hi Pankaj, > > On 10.05.2014 08:56, Pankaj Dubey wrote: > > As exynos_cpuidle_init and exynos_cpufreq_init function have just one > > lines of code for registering platform devices. We can move these > > lines to

RE: [PATCH v3 4/6] ARM: EXYNOS: Remove unused header inclusion from hotplug.c

2014-06-16 Thread Pankaj Dubey
Hi Tomasz, > -Original Message- > > Hi Pankaj, > > On 10.05.2014 09:20, Pankaj Dubey wrote: > > This patch removed "plat/cpu.h" inclusion from hotplug.c as it is not > > required. > > > > Signed-off-by: Pankaj Dubey > > --- &g

RE: [PATCH v3 1/6] i2c: s3c2410: Handle i2c sys_cfg register in i2c driver

2014-06-16 Thread Pankaj Dubey
Hi Tomasz, > > Hi Pankaj, > > On 10.05.2014 09:20, Pankaj Dubey wrote: > > Let's handle i2c interrupt re-configuration in i2c driver. This will > > help us in removing some soc specific checks from machine files. > > Since only Exynos5250, and Exynos5420 need

RE: [PATCH v4 06/11] ARM: EXYNOS: Add support for mapping PMU base address via DT

2014-06-16 Thread Pankaj Dubey
Hi Tomasz, > Hi, > > On 10.05.2014 08:56, Pankaj Dubey wrote: > > From: Young-Gun Jang > > > > Add support for mapping Samsung Power Management Unit (PMU) base > > address from device tree. This patch also adds helper function as > > "get_exynos_pm

RE: [PATCH RFC] mfd: syscon: Decouple syscon interface from syscon devices

2014-06-24 Thread Pankaj Dubey
> Sorry for late reply. I tested this patch after changing exynos PMU to be a syscon provider and it's working well. So if we can address Arnd's comments, this patch will be helpful in making exynos PMU a complete platform driver. Thanks, Pankaj Dubey > > >> Signed-of

RE: [PATCH v4 10/11] ARM: EXYNOS: Add platform driver support for Exynos PMU.

2014-06-24 Thread Pankaj Dubey
comments for changed related to > regmap, as according to our previous discussion they will be dropped in next version. > > On 10.05.2014 08:56, Pankaj Dubey wrote: > > This patch modifies Exynos Power Management Unit (PMU) initialization > > implementation in followin

RE: [PATCH v4 10/11] ARM: EXYNOS: Add platform driver support for Exynos PMU.

2014-06-24 Thread Pankaj Dubey
Hi, On Wednesday, June 25 2014 Tomasz Figa write: > On 24.06.2014 13:28, Pankaj Dubey wrote: > > On Tuesday, June 17 2014, Tomasz Figa wrote: > >> On 10.05.2014 08:56, Pankaj Dubey wrote: > > [snip] > > >>> + > >>> + ret = platform_drive

[PATCH v5 0/6] Cleanup patches for mach-exynos

2014-06-25 Thread Pankaj Dubey
ut since I could not find I have included this here. If I have missed something please point to any existing such patch. - Added patch: Remove "linux/bug.h" from pmu.c. - Added patch: Move "mach/map.h" inclusion from regs-pmu.h to platsmp.c Pankaj Dubey (6): ARM: EXYNOS

[PATCH v5 2/6] ARM: EXYNOS: Move cpufreq and cpuidle device registration to init_machine

2014-06-25 Thread Pankaj Dubey
more cleaner. Suggested-by: Tomasz Figa Signed-off-by: Pankaj Dubey Reviewed-by: Tomasz Figa --- arch/arm/mach-exynos/exynos.c | 19 --- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index 6affcd9

[PATCH v5 1/6] ARM: EXYNOS: Make exynos machine_ops as static

2014-06-25 Thread Pankaj Dubey
As machine function ops are used only in this file let's make them static. Also remove unused and unwanted declarations from common.h. Signed-off-by: Pankaj Dubey Reviewed-by: Tomasz Figa --- arch/arm/mach-exynos/common.h |8 arch/arm/mach-exynos/exynos.c |6 +++--- 2

[PATCH v5 3/6] ARM: EXYNOS: Move SYSREG definition into sys-reg specific file

2014-06-25 Thread Pankaj Dubey
While making PMU implementation to be device tree based, there are few register offsets related with SYSREG present in regs-pmu.h, so let's make a new header file "regs-sys.h" to keep all such SYSREG related register offsets and remove them from "regs-pmu.h" Signed-off-b

[PATCH v5 5/6] ARM: EXYNOS: Remove regs-pmu.h header dependency from pm_domain

2014-06-25 Thread Pankaj Dubey
file dependency from "pm_domain.c" it's better we define this definition in "pm_domain.c" file itself and thus it will help in removing header file inclusion from "pm_domain.c". Also removing "S5P_" prefix from macro. Signed-off-by: Pankaj Dubey Reviewe

[PATCH v5 4/6] ARM: EXYNOS: Remove file path from comment section

2014-06-25 Thread Pankaj Dubey
Many files under "arm/mach-exynos" are having file path in file comment section which is invalid now. So for better code maintainability let's remove them. Signed-off-by: Pankaj Dubey Reviewed-by: Tomasz Figa --- arch/arm/mach-exynos/headsmp.S |1 - arch/

[PATCH v5 6/6] ARM: EXYNOS: Remove "linux/bug.h" from pmu.c

2014-06-25 Thread Pankaj Dubey
This patch removes unnecessary header file inclusion from pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Tomasz Figa --- arch/arm/mach-exynos/pmu.c |1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-exynos/pmu.c b/arch/arm/mach-exynos/pmu.c index fb0deda..dcfcb44 100644 --- a

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

2014-06-25 Thread Pankaj Dubey
N config option, current "syscon" driver probe gets called and PMU probe never gets called. So modified PMU initialization code to scan DT and match against supported compatiblity string in driver code, and once we get matching node use that for accessing PMU

[PATCH v5 1/5] ARM: EXYNOS: Add support for mapping PMU base address via DT

2014-06-25 Thread Pankaj Dubey
Add support for mapping Samsung Power Management Unit (PMU) base address from device tree. Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/common.h |1 + arch/arm/mach-exynos/exynos.c | 45 + 2 files changed, 46 insertions(+) diff --git a/arch

[PATCH v5 4/5] ARM: EXYNOS: Add platform driver support for Exynos PMU

2014-06-25 Thread Pankaj Dubey
_exynosXYZ(). Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/Kconfig |1 + arch/arm/mach-exynos/pmu.c | 201 +- 2 files changed, 161 insertions(+), 41 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index d58995c

[PATCH v5 2/5] ARM: EXYNOS: Refactored code for using PMU address via DT

2014-06-25 Thread Pankaj Dubey
ing of PMU base address as well as help in reducing dependency over machine header files. Thus helping for migration of PMU implementation from machine to driver folder which can be reused for ARM64 bsed SoC. Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/common.h|4 +-

[PATCH v5 3/5] ARM: EXYNOS: Move "mach/map.h" inclusion from regs-pmu.h to platsmp.c

2014-06-25 Thread Pankaj Dubey
As we have removed static mappings from "regs-pmu.h" it does not need map.h anymore. But "platsmp.c" needed this and till now it got included indirectly. So lets move header inclusion of "mach/map.h" from "regs-pmu.h" to "platsmp.c". Sig

[PATCH v5 5/5] ARM: EXYNOS: Move PMU specific definitions from common.h

2014-06-25 Thread Pankaj Dubey
This patch moves PMU specific definitions into a new file as exynos-pmu.h. This will help in reducing dependency of common.h in pmu.c. Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/common.h | 17 - arch/arm/mach-exynos/exynos-pmu.h | 31

RE: [PATCH v5 1/5] ARM: EXYNOS: Add support for mapping PMU base address via DT

2014-07-04 Thread Pankaj Dubey
Hi Tomasz, On Monday, June 30, 2014 Tomasz Figa wrote: > > Hi Pankaj, > > In general the patch seems quite nice, but please see few comments inline. > > On 25.06.2014 16:03, Pankaj Dubey wrote: > > Add support for mapping Samsung Power Management Unit (PMU) base >

RE: [PATCH v5 2/5] ARM: EXYNOS: Refactored code for using PMU address via DT

2014-07-04 Thread Pankaj Dubey
Hi Tomasz, On Monday, June 30, 2014 Tomasz Figa wrote: > Hi Pankaj, > > This looks much better now, but please see my comments inline. > > On 25.06.2014 16:03, Pankaj Dubey wrote: > > Under "arm/mach-exynos" many files are using PMU register offsets. >

RE: [PATCH v5 3/5] ARM: EXYNOS: Move "mach/map.h" inclusion from regs-pmu.h to platsmp.c

2014-07-04 Thread Pankaj Dubey
Hi Tomasz, On Monday, June 30, 2014 Tomasz Figa wrote: > Hi Pankaj, > > On 25.06.2014 16:03, Pankaj Dubey wrote: > > As we have removed static mappings from "regs-pmu.h" it does not need > > map.h anymore. But "platsmp.c" needed this and till now it

RE: [PATCH v5 4/5] ARM: EXYNOS: Add platform driver support for Exynos PMU

2014-07-05 Thread Pankaj Dubey
Hi Tomasz, On Monday, June 30, 2014 Tomasz Figa wrote: > Hi Pankaj, > > Please see my comments inline. > > On 25.06.2014 16:03, Pankaj Dubey wrote: > > This patch modifies Exynos Power Management Unit (PMU) initialization > > implementation in following way: >

RE: [PATCH v5 5/5] ARM: EXYNOS: Move PMU specific definitions from common.h

2014-07-05 Thread Pankaj Dubey
Hi Tomasz, On Monday, June 30, 2014 Tomasz Figa wrote: > Hi Pankaj, > > On 25.06.2014 16:03, Pankaj Dubey wrote: > > This patch moves PMU specific definitions into a new file as > > exynos-pmu.h. > > This will help in reducing dependency of common.h in pmu.c. > >

[PATCH v6 0/6] Cleanup patches for mach-exynos

2014-07-06 Thread Pankaj Dubey
ux/bug.h" from pmu.c. - Added patch: Move "mach/map.h" inclusion from regs-pmu.h to platsmp.c Pankaj Dubey (6): ARM: EXYNOS: Make exynos machine_ops as static ARM: EXYNOS: Move cpufreq and cpuidle device registration to init_machine ARM: EXYNOS: Move SYSREG definition

[PATCH v6 1/6] ARM: EXYNOS: Make exynos machine_ops as static

2014-07-06 Thread Pankaj Dubey
As machine function ops are used only in this file let's make them static. Also remove unused and unwanted declarations from common.h. Signed-off-by: Pankaj Dubey Reviewed-by: Tomasz Figa --- arch/arm/mach-exynos/common.h |8 arch/arm/mach-exynos/exynos.c |6 +++--- 2

[PATCH v6 4/6] ARM: EXYNOS: Remove file path from comment section

2014-07-06 Thread Pankaj Dubey
Many files under "arm/mach-exynos" are having file path in file comment section which is invalid now. So for better code maintainability let's remove them. Signed-off-by: Pankaj Dubey Reviewed-by: Tomasz Figa --- arch/arm/mach-exynos/headsmp.S |1 - arch/

[PATCH v6 5/6] ARM: EXYNOS: Remove regs-pmu.h header dependency from pm_domain

2014-07-06 Thread Pankaj Dubey
file dependency from "pm_domain.c" it's better we define this definition in "pm_domain.c" file itself and thus it will help in removing header file inclusion from "pm_domain.c". Also removing "S5P_" prefix from macro. Signed-off-by: Pankaj Dubey Reviewe

[PATCH v6 6/6] ARM: EXYNOS: Remove "linux/bug.h" from pmu.c

2014-07-06 Thread Pankaj Dubey
This patch removes unnecessary header file inclusion from pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Tomasz Figa --- arch/arm/mach-exynos/pmu.c |1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-exynos/pmu.c b/arch/arm/mach-exynos/pmu.c index fb0deda..dcfcb44 100644 --- a

[PATCH v6 3/6] ARM: EXYNOS: Move SYSREG definition into sys-reg specific file

2014-07-06 Thread Pankaj Dubey
While making PMU implementation to be device tree based, there are few register offsets related with SYSREG present in regs-pmu.h, so let's make a new header file "regs-sys.h" to keep all such SYSREG related register offsets and remove them from "regs-pmu.h" Signed-off-b

[PATCH v6 2/6] ARM: EXYNOS: Move cpufreq and cpuidle device registration to init_machine

2014-07-06 Thread Pankaj Dubey
more cleaner. Suggested-by: Tomasz Figa Signed-off-by: Pankaj Dubey Reviewed-by: Tomasz Figa --- arch/arm/mach-exynos/exynos.c | 20 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index ff60b4c

[PATCH v6 4/4] ARM: EXYNOS: Move PMU specific definitions from common.h

2014-07-06 Thread Pankaj Dubey
This patch moves PMU specific definitions into a new file as exynos-pmu.h. This will help in reducing dependency of common.h in pmu.c. Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/common.h | 17 - arch/arm/mach-exynos/exynos-pmu.h | 24

[PATCH v6 2/4] ARM: EXYNOS: Refactored code for using PMU address via DT

2014-07-06 Thread Pankaj Dubey
e. But "platsmp.c" needed this and till now it got included indirectly. So lets move header inclusion of "mach/map.h" from "regs-pmu.h" to "platsmp.c". Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/common.h|4 +- arch/arm/ma

[PATCH v6 1/4] ARM: EXYNOS: Add support for mapping PMU base address via DT

2014-07-06 Thread Pankaj Dubey
Add support for mapping Samsung Power Management Unit (PMU) base address from device tree. Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/common.h |1 + arch/arm/mach-exynos/exynos.c | 37 + 2 files changed, 38 insertions(+) diff --git a/arch/arm

[PATCH v6 0/4] ARM: Exynos: PMU cleanup and refactoring for using DT

2014-07-06 Thread Pankaj Dubey
lity string in driver code, and once we get matching node use that for accessing PMU regmap handle using "syscon_early_regmap_lookup_by_phandle". If there is any better solution please suggest. Pankaj Dubey (4): ARM: EXYNOS: Add support for mapping PMU base address

[PATCH v6 3/4] ARM: EXYNOS: Add platform driver support for Exynos PMU

2014-07-06 Thread Pankaj Dubey
_exynosXYZ(). Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/Kconfig |1 + arch/arm/mach-exynos/pmu.c | 188 +- 2 files changed, 149 insertions(+), 40 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 8f9b66

RE: [PATCH v6 2/6] ARM: EXYNOS: Move cpufreq and cpuidle device registration to init_machine

2014-07-08 Thread Pankaj Dubey
Hi Kukjin, > > On 07/07/14 12:50, Pankaj Dubey wrote: > > As exynos_cpuidle_init and exynos_cpufreq_init function have just one > > lines of code for registering platform devices. We can move these > > lines to exynos_dt_machine_init and delete exynos_cpuidle_init and

[PATCH v7 2/4] ARM: EXYNOS: Refactored code for using PMU address via DT

2014-07-08 Thread Pankaj Dubey
h anymore. But "platsmp.c" needed this and till now it got included indirectly. So lets move header inclusion of "mach/map.h" from "regs-pmu.h" to "platsmp.c". Signed-off-by: Pankaj Dubey Reviewed-by: Tomasz Figa --- arch/arm/mach-exynos/common.h

[PATCH v7 0/4] ARM: Exynos: PMU cleanup and refactoring for using DT

2014-07-08 Thread Pankaj Dubey
PMU probe never gets called. So modified PMU initialization code to scan DT and match against supported compatiblity string in driver code, and once we get matching node use that for accessing PMU regmap handle using "syscon_early_regmap_lookup_by_phandle".

[PATCH v7 4/4] ARM: EXYNOS: Move PMU specific definitions from common.h

2014-07-08 Thread Pankaj Dubey
This patch moves PMU specific definitions into a new file as exynos-pmu.h. This will help in reducing dependency of common.h in pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Tomasz Figa --- arch/arm/mach-exynos/common.h | 17 - arch/arm/mach-exynos/exynos-pmu.h | 24

[PATCH v7 3/4] ARM: EXYNOS: Add platform driver support for Exynos PMU

2014-07-08 Thread Pankaj Dubey
_exynosXYZ(). Signed-off-by: Pankaj Dubey Reviewed-by: Tomasz Figa --- arch/arm/mach-exynos/Kconfig |1 + arch/arm/mach-exynos/pmu.c | 185 +- 2 files changed, 146 insertions(+), 40 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exyn

[PATCH v7 1/4] ARM: EXYNOS: Add support for mapping PMU base address via DT

2014-07-08 Thread Pankaj Dubey
Add support for mapping Samsung Power Management Unit (PMU) base address from device tree. Signed-off-by: Pankaj Dubey Reviewed-by: Tomasz Figa --- arch/arm/mach-exynos/common.h |1 + arch/arm/mach-exynos/exynos.c | 37 + 2 files changed, 38 insertions

[RESPIN PATCH v6] ARM: EXYNOS: Move cpufreq and cpuidle device registration to init_machine

2014-07-13 Thread Pankaj Dubey
more cleaner. Suggested-by: Tomasz Figa Signed-off-by: Pankaj Dubey Reviewed-by: Tomasz Figa --- This patch is part of exynos-cleanup series v6 [1]. Just respinning after resolving merge conflicts on latest kgene/for-next. [1]: https://lkml.org/lkml/2014/7/10/338 arch/arm/mach-exynos

RE: [PATCH v6 2/6] ARM: EXYNOS: Move cpufreq and cpuidle device registration to init_machine

2014-07-13 Thread Pankaj Dubey
Hi Kukjin, On Thursday, July 10, 2014 7:04 PM, Kukjin wrote: > Pankaj Dubey wrote: > > > > Hi Kukjin, > > > Hi, > > > > > > > On 07/07/14 12:50, Pankaj Dubey wrote: > > > > As exynos_cpuidle_init and exynos_cpufreq_init function hav

[PATCH] ARM: EXYNOS: fix typo in static struct name "exynos5_list_diable_wfi_wfe"

2014-10-28 Thread Pankaj Dubey
This patch fixes a typo in struct named as "exynos5_list_diable_wfi_wfe" by making it "exynos5_list_disable_wfi_wfe" which is more meaningful. Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/pmu.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff -

[PATCH v4 0/2] Move i2c sys_cfg register configuration to i2c driver

2014-10-30 Thread Pankaj Dubey
ructure to make SoC specific information avaible to user space via sysfs entry, as suggested by Arnd. Pankaj Dubey (2): i2c: s3c2410: Handle i2c sys_cfg register in i2c driver ARM: EXYNOS: Remove i2c sys configuration related code .../devicetree/bindings/i2c/i2c-s3c2410.txt|1 +

[PATCH v4 1/2] i2c: s3c2410: Handle i2c sys_cfg register in i2c driver

2014-10-30 Thread Pankaj Dubey
linux-...@vger.kernel.org Signed-off-by: Pankaj Dubey --- .../devicetree/bindings/i2c/i2c-s3c2410.txt|1 + arch/arm/boot/dts/exynos5250.dtsi |4 +++ arch/arm/boot/dts/exynos5420.dtsi |4 +++ drivers/i2c/busses/i2c-s3c2410.c |

[PATCH v4 2/2] ARM: EXYNOS: Remove i2c sys configuration related code

2014-10-30 Thread Pankaj Dubey
As all these code has been moved into i2c driver, now we can safely remove them from machine files. CC: Russell King Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/exynos.c | 39 ++- arch/arm/mach-exynos/include/mach/map.h |3 --- arch/arm/mach

RE: [PATCH 02/12] drivers: mfd: Add support for Exynos PMU driver

2014-11-03 Thread Pankaj Dubey
Hi Lee, On Monday, November 03, 2014 8:56 PM, Lee Jones wrote, > Subject: Re: [PATCH 02/12] drivers: mfd: Add support for Exynos PMU driver > > On Mon, 03 Nov 2014, Amit Daniel Kachhap wrote: > > > From: Pankaj Dubey > > > > This patch moves Exynos PMU driver

RE: [PATCH 03/12] PM / Domains: Add notifier support for power domain transitions

2014-11-03 Thread Pankaj Dubey
on from where the notifier chains are > > supposed to be called to the subsystem's maintainers preference, I'm > > rather reluctant to having one global notifiers list for all possible power domains > and all the notification clients. > > The possibly long list needs

RE: [PATCH 02/12] drivers: mfd: Add support for Exynos PMU driver

2014-11-05 Thread Pankaj Dubey
On Wednesday, November 05, 2014 7:18 PM, Sylwester Nawrocki wrote: > On 04/11/14 04:18, Pankaj Dubey wrote: > > 2: Since PM domain relies on PMU registers and does not have its own > > DT binding, MFD client and MFD device is most suitable for making > > this kind of plat

Re: [PATCH v2 3/6] drivers: soc: samsung: Fix a spelling mistake

2014-11-08 Thread Pankaj Dubey
rm-kernel/msg372742.html Thanks, Pankaj Dubey > Signed-off-by: Amit Daniel Kachhap > --- > drivers/soc/samsung/exynos-pmu.c |8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/soc/samsung/exynos-pmu.c > b/drivers/soc/samsung/exynos-pmu.c &

Re: [PATCH v2 2/6] drivers: soc: Add support for Exynos PMU driver

2014-11-08 Thread Pankaj Dubey
will be required to configure > before Suspend/Resume. Currently all these settings are done in > "arch/arm/mach-exynos/pmu.c" but moving ahead for ARM64 based SoC > support,there is a need of DT based implementation of PMU driver. > > This driver uses already existing DT binding

Re: [PATCH v2 6/6] drivers: soc: samsung: Add support for Exynos7 pmu

2014-11-08 Thread Pankaj Dubey
y. > > Reviewed-by: Pankaj Dubey > Signed-off-by: Eunseok Choi > Signed-off-by: Abhilash Kesavan > Signed-off-by: Amit Daniel Kachhap > --- > .../devicetree/bindings/arm/samsung/pmu.txt|1 + > drivers/soc/samsung/exynos-pmu.c | 425 >

RE: [PATCH v3 0/2] Handle reboot for Exynos SoC via restart_handler

2014-11-10 Thread Pankaj Dubey
Hi Kukjin, On Tuesday, October 07, 2014 1:23 PM, Pankaj Dubey wrote: > Subject: [PATCH v3 0/2] Handle reboot for Exynos SoC via restart_handler > > This patch removes restart hook from machine_desc of Exynos, and moves respective > code into reboot_notifiers. > Exynos5440 han

[PATCH] ARM: EXYNOS: Remove unused static iomapping

2014-11-10 Thread Pankaj Dubey
This patch removes all unused static iomapping from exynos4/5_iodesc table, and at the same time removes related macros from map.h and map-s5p.h. All such mappings are present in exynos.c but not currently there are no users of these mappings, so its safe to remove these. Signed-off-by: Pankaj

RE: [PATCH] ARM: EXYNOS: fix typo in static struct name "exynos5_list_diable_wfi_wfe"

2014-11-12 Thread Pankaj Dubey
smp_ops; extern void exynos_cpu_resume(void); extern void exynos_cpu_resume_ns(void); -extern void exynos_cpu_die(unsigned int cpu); extern void exynos_cpu_power_down(int cpu); extern void exynos_cpu_power_up(int cpu); extern int exynos_cpu_power_state(int cpu); ------

RE: [PATCH] ARM: EXYNOS: Remove unused static iomapping

2014-11-12 Thread Pankaj Dubey
Hi Kukjin, On Thursday, November 13, 2014 8:14 AM, Kukjin Kim wrote: > Subject: Re: [PATCH] ARM: EXYNOS: Remove unused static iomapping > > On 11/11/14 14:17, Pankaj Dubey wrote: > > This patch removes all unused static iomapping from exynos4/5_iodesc > > table, and at

[PATCH v4 0/2] Handle reboot for Exynos SoC via restart_handler

2014-11-17 Thread Pankaj Dubey
hanges since v1: - Addressed review comments from Tomasz Figa. Removed usage of local variables where ever unnecessary. - Make reg_base as global in clk-exynos5440.c file, to avoid iomapping it again in reboot_notifier handler. Pankaj Dubey (2): clk: samsung: exynos5440: move restart

[PATCH v4 1/2] clk: samsung: exynos5440: move restart code into clock driver

2014-11-17 Thread Pankaj Dubey
Let's register restart handler for Exynos5440 from it's clock driver for reboot functionality. So that we can cleanup restart hooks from machine specific file. CC: Sylwester Nawrocki CC: Tomasz Figa Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/exynos.c

[PATCH v4 2/2] ARM: EXYNOS: PMU: move restart code into pmu driver

2014-11-17 Thread Pankaj Dubey
Let's register restart handler from PMU driver for reboot functionality. So that we can remove restart hooks from machine specific file, and thus moving ahead when PMU moved to driver folder, this functionality can be reused for ARM64 based Exynos SoC's. Signed-off-by: Pankaj Dubey ---

RE: [PATCH v4 2/2] ARM: EXYNOS: PMU: move restart code into pmu driver

2014-11-18 Thread Pankaj Dubey
On Monday, November 17, 2014 10:11 PM, Guenter Roeck wrote: > On Mon, Nov 17, 2014 at 04:51:13PM +0530, Pankaj Dubey wrote: > > > > +/* > > + * Exynos PMU reboot notifier, handles reboot functionality > > restart, really. > > > + */ > > +static

[PATCH v5 0/2] Handle reboot for Exynos SoC via restart_handler

2014-11-18 Thread Pankaj Dubey
id iomapping it again in reboot_notifier handler. Pankaj Dubey (2): clk: samsung: exynos5440: move restart code into clock driver ARM: EXYNOS: PMU: move restart code into pmu driver arch/arm/mach-exynos/common.h|1 - arch/arm/mach-exynos/exynos.c| 23 -

[PATCH v5 2/2] ARM: EXYNOS: PMU: move restart code into pmu driver

2014-11-18 Thread Pankaj Dubey
Let's register restart handler from PMU driver for restart functionality. So that we can remove restart hooks from machine specific file, and thus moving ahead when PMU moved to driver folder, this functionality can be reused for ARM64 based Exynos SoC's. Signed-off-by: Pankaj Dubey

[PATCH v5 1/2] clk: samsung: exynos5440: move restart code into clock driver

2014-11-18 Thread Pankaj Dubey
Let's register restart handler for Exynos5440 from it's clock driver for restart functionality. So that we can cleanup restart hooks from machine specific file. CC: Sylwester Nawrocki CC: Tomasz Figa Signed-off-by: Pankaj Dubey Acked-by: Guenter Roeck --- arch/arm/mach-exyno

RE: [PATCH v5 2/2] ARM: EXYNOS: PMU: move restart code into pmu driver

2014-11-18 Thread Pankaj Dubey
On Tuesday, November 18, 2014 8:50 PM, Sylwester Nawrocki Wrote: > On 18/11/14 11:47, Pankaj Dubey wrote: > > diff --git a/arch/arm/mach-exynos/pmu.c b/arch/arm/mach-exynos/pmu.c > > index 6c8a76d..e4c3512 100644 > > --- a/arch/arm/mach-exynos/pmu.c > > +++ b

RE: [PATCH v5 1/2] clk: samsung: exynos5440: move restart code into clock driver

2014-11-18 Thread Pankaj Dubey
On Tuesday, November 18, 2014 8:47 PM, Sylwester Nawrocki Wrote: > On 18/11/14 11:47, Pankaj Dubey wrote: > > Let's register restart handler for Exynos5440 from it's clock driver > > for restart functionality. So that we can cleanup restart hooks from > > ma

RE: [PATCH v4] ARM: EXYNOS: add Exynos3250 PMU support

2014-11-19 Thread Pankaj Dubey
On Tuesday, November 18, 2014 11:05 PM, Bartlomiej Zolnierkiewicz Wrote: > This patch prepares the PMU code for the future: > - suspend/resume (S2R) support > - cpuidle AFTR/W-AFTR modes support > on Exynos3250. > > Cc: Pankaj Dubey > Cc: Vikas Sajjan > Acked-by: Kyungm

Re: [1/2] ARM: dts: Fix bootup issue on smdk5250

2014-11-19 Thread Pankaj Dubey
boot is fine now, hence Tested-by: Pankaj Dubey --- arch/arm/boot/dts/exynos5250-smdk5250.dts |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts index bc27cc2..95b5b51 100644 --- a/arc

Re: [2/2] ARM: dts: Add missing irq pinctrl for max77686 on smdk5250

2014-11-19 Thread Pankaj Dubey
makes max77686 RTC work and also configures it as wakeup source. Signed-off-by: Yadwinder Singh Brar Reviewed-by: Javier Martinez Canillas Tested this on SMDK5250, and with this PMIC RTC is working fine. Tested-by: Pankaj Dubey Thanks, Pankaj Dubey --- arch/arm/boot/dts/exynos5250-smdk5250

Re: [RFC PATCH 1/1] drm/exynos: Move platform drivers registration to module init

2014-11-20 Thread Pankaj Dubey
defconfig). >>> >> >> Yes, that works because the commit that caused the Exynos DRM lockup was: >> >> 43c0767 ("of/platform: Move platform devices under /sys/devices/platform") >> >> which landed in next-20141105. >> >> Reverting

Re: [PATCH 1/2] Input: add regulator haptic driver

2014-11-20 Thread Pankaj Dubey
led to register input device\n"); > + return error; > + } > + > + platform_set_drvdata(pdev, haptic); > + > + return 0; > +} > + > +static int __maybe_unused regulator_haptic_suspend(struct device *dev) > +{ > + struct platfor

Re: [PATCH v4 1/2] i2c: s3c2410: Handle i2c sys_cfg register in i2c driver

2014-11-21 Thread Pankaj Dubey
On Friday 21 November 2014 12:55 PM, Wolfram Sang wrote: On Thu, Oct 30, 2014 at 01:34:29PM +0530, Pankaj Dubey wrote: Let's handle i2c interrupt re-configuration in i2c driver. This will help us in removing some soc specific checks from machine files and will help in removing static ioma

[PATCH v5 0/2] Move i2c sys_cfg register configuration to i2c driver

2014-11-21 Thread Pankaj Dubey
ed infrastructure to make SoC specific information avaible to user space via sysfs entry, as suggested by Arnd. Pankaj Dubey (2): i2c: s3c2410: Handle i2c sys_cfg register in i2c driver ARM: EXYNOS: Remove i2c sys configuration related code .../devicetree/bindings/i2c/i2c-s3c2410.txt

[PATCH v5 1/2] i2c: s3c2410: Handle i2c sys_cfg register in i2c driver

2014-11-21 Thread Pankaj Dubey
linux-...@vger.kernel.org Signed-off-by: Pankaj Dubey --- .../devicetree/bindings/i2c/i2c-s3c2410.txt|1 + arch/arm/boot/dts/exynos5250.dtsi |4 +++ arch/arm/boot/dts/exynos5420.dtsi |4 +++ drivers/i2c/busses/i2c-s3c2410.c |

[PATCH v5 2/2] ARM: EXYNOS: Remove i2c sys configuration related code

2014-11-21 Thread Pankaj Dubey
As all these code has been moved into i2c driver, now we can safely remove them from machine files. CC: Russell King Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/exynos.c | 39 ++- arch/arm/mach-exynos/include/mach/map.h |3 --- arch/arm/mach

Re: [PATCH v5 1/2] clk: samsung: exynos5440: move restart code into clock driver

2014-11-21 Thread Pankaj Dubey
Hi Kukjin, On Thursday 20 November 2014 11:18 PM, Sylwester Nawrocki wrote: On 19/11/14 04:37, Pankaj Dubey wrote: +static int exynos5440_clk_restart_notify(struct notifier_block *this, + unsigned long code, void *unused) +{ + u32 val, status; + + status

[PATCH v6] i2c: s3c2410: Handle i2c sys_cfg register in i2c driver

2014-11-24 Thread Pankaj Dubey
f i2c driver. CC: Wolfram Sang CC: linux-...@vger.kernel.org Signed-off-by: Pankaj Dubey --- This patch is created from following patch series V5(1/2). https://patchwork.kernel.org/patch/5354131/ DT and machine (mach-exynos) changes will be posted separately. drivers/i2c/busses/i2c-s3c2410.c |

[PATCH v6 0/2] Remove i2c sys_cfg register configuration from mach-exynos

2014-11-24 Thread Pankaj Dubey
space via sysfs entry, as suggested by Arnd. Pankaj Dubey (2): i2c: s3c2410: add Sysreg phandle to i2c device nodes ARM: EXYNOS: Remove i2c sys configuration related code .../devicetree/bindings/i2c/i2c-s3c2410.txt|1 + arch/arm/boot/dts/exynos5250.dtsi |

[PATCH v6 2/2] ARM: EXYNOS: Remove i2c sys configuration related code

2014-11-24 Thread Pankaj Dubey
As all these code has been moved into i2c driver, now we can safely remove them from machine files. CC: Russell King Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/exynos.c | 39 ++- arch/arm/mach-exynos/include/mach/map.h |3 --- arch/arm/mach

[PATCH v6 1/2] i2c: s3c2410: add Sysreg phandle to i2c device nodes

2014-11-24 Thread Pankaj Dubey
-...@vger.kernel.org Signed-off-by: Pankaj Dubey --- .../devicetree/bindings/i2c/i2c-s3c2410.txt|1 + arch/arm/boot/dts/exynos5250.dtsi |4 arch/arm/boot/dts/exynos5420.dtsi |4 3 files changed, 9 insertions(+) diff --git a/Documentation

Re: [PATCH v4 1/2] i2c: s3c2410: Handle i2c sys_cfg register in i2c driver

2014-11-24 Thread Pankaj Dubey
msung-soc/40155 Thanks, Pankaj Dubey Thanks, Kukjin -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v2 1/2] Input: add regulator haptic driver

2014-11-25 Thread Pankaj Dubey
; + unsigned int max_volt; + unsigned int min_volt; +}; + +#endif /* _REGULATOR_HAPTIC_H */ With these two minor fixes please feel free to add: Reviewed-by: Pankaj Dubey Thanks, Pankaj Dubey -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the

RE: [PATCH v2 0/3] Some cleanup for samsung clock

2014-11-25 Thread Pankaj Dubey
Hi Sylwester, On Thursday, October 23, 2014 10:58 PM, Sylwester Nawrocki Wrote: > To: Pankaj Dubey; linux-arm-ker...@lists.infradead.org; linux-samsung- > s...@vger.kernel.org; tomasz.f...@gmail.com > Cc: kgene@samsung.com; mturque...@linaro.org; naus...@samsung.com > Subject: Re:

Re: [PATCH] ARM: EXYNOS: use u8 for val[] in struct exynos_pmu_conf

2014-11-25 Thread Pankaj Dubey
bb8 arch/arm/mach-exynos/pmu.o.after Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Kyungmin Park I tested this patch and it's really helpful to reduce size. How about resubmitting this change? As this will not get applied on current tree. Thanks, Pankaj Dubey --- arch/arm

Re: [RESEND,2/7] ARM: Exynos: add support for sub-power domains

2014-11-26 Thread Pankaj Dubey
, so that we can come up with single approach for all such needs. [1]: https://patchwork.kernel.org/patch/5366171/ Thanks, Pankaj Dubey Node of a device using power domains must have a samsung,power-domain property defined with a phandle to respective power domain. diff --git a/arch/arm/mach

Re: [PATCH v6 1/2] i2c: s3c2410: add Sysreg phandle to i2c device nodes

2014-11-26 Thread Pankaj Dubey
On Thursday 27 November 2014 12:13 AM, Kukjin Kim wrote: On 11/24/14 17:47, Pankaj Dubey wrote: This patch adds syscon based phandle to i2c device nodes of exynos5250 and exynos5420. These phandles will be used to save restore i2c sysreg configuration register during s2r from i2c driver. CC

Re: [01/19] pinctrl: exynos: Add support for Exynos5433

2014-11-27 Thread Pankaj Dubey
N_BANK_EINTG(8, 0x200, "gpg3", 0x40), +}; + +/* pin banks of exynos5433 pin-controller - TOUCH */ +static struct samsung_pin_bank exynos5433_pin_banks9[] = { + EXYNOS_PIN_BANK_EINTG(3, 0x000, "gpj1", 0x00), +}; + +/* + * Samsung pinctrl driver data for Exynos5433

Re: [03/19] clk: samsung: exynos5433: Add clocks using common clock framework

2014-11-27 Thread Pankaj Dubey
Hi Chanwoo, On Thursday 27 November 2014 01:05 PM, Chanwoo Choi wrote: This patch adds the support for CMU (Clock Management Units) of Exynos5433 which is 64bit SoC and has Octa-cores. This patch supports necessary clocks for kernel boot as following: - PLL/MMC/UART/MCT/I2C/SPI Cc: Sylwester Na

Re: [PATCH] drm/exynos: Add DECON driver

2014-11-27 Thread Pankaj Dubey
+ if (IS_ERR(ctx->aclk)) { > + dev_err(dev, "failed to get bus clock aclk\n"); > + ret = PTR_ERR(ctx->aclk); > + goto err_del_component; > + } > + > + ctx->eclk = devm_clk_get(dev, "decon0_ec

Re: [PATCH v5 5/6] drivers: soc: exynos-pmu: Add support for Exynos7

2014-11-30 Thread Pankaj Dubey
rt. >>> >>> Note: In this patch some static declarations lines are over 80 >>> characters per line for easy redability. >>> >>> Reviewed-by: Pankaj Dubey >>> Signed-off-by: Eunseok Choi >>> Signed-off-by: Abhilash Kesavan >

Re: [PATCH V2] drm/exynos: Add DECON driver

2014-12-01 Thread Pankaj Dubey
robe(dev); > + if (IS_ERR(ctx->display)) { > + ret = PTR_ERR(ctx->display); > + goto err_del_component; > + } > + > + pm_runtime_enable(dev); > + > + ret = component_add(dev, &decon_component_ops); > +

[PATCH] ARM: samsung: add exynos-chipid binding information

2014-12-02 Thread Pankaj Dubey
Exynos SoC's DT files are using Chipid device nodes, but it's binding information is missing. This patch adds exynos-chipid binding information. Signed-off-by: Pankaj Dubey --- .../bindings/arm/samsung/exynos-chipid.txt | 12 1 file changed, 12 insertions(+) c

[PATCH v4 0/2] Introducing Exynos ChipId driver

2014-12-03 Thread Pankaj Dubey
". - Added drivers/base/soc.c provided infrastructure to make SoC specific information avaible to user space via sysfs entry, as suggested by Arnd. Pankaj Dubey (2): soc: samsung: add exynos chipid driver support ARM: EXYNOS: refactoring of mach-exynos to enable chipid dr

[PATCH v4 2/2] ARM: EXYNOS: refactoring of mach-exynos to enable chipid driver

2014-12-03 Thread Pankaj Dubey
This patch enables chipid driver for ARCH_EXYNOS and refactors machine code for using chipid driver for identification of SoC ID and SoC rev. Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/Kconfig |2 + arch/arm/mach-exynos/common.h| 46

[PATCH v4 1/2] soc: samsung: add exynos chipid driver support

2014-12-03 Thread Pankaj Dubey
-chipid. CC: Grant Likely CC: Rob Herring CC: Linus Walleij Signed-off-by: Pankaj Dubey --- drivers/soc/Kconfig|1 + drivers/soc/Makefile |1 + drivers/soc/samsung/Kconfig| 14 ++ drivers/soc/samsung/Makefile |1

[PATCH v3 0/3] Few cleanups for samsung clock

2014-12-03 Thread Pankaj Dubey
removing syscore_ops.h from clk.h. Changes since v1: - Added patch commit message description to patch 1/3 and 2/3. Pankaj Dubey (3): clk: samsung: Spelling s/bwtween/between/ clk: samsung: remove unnecessary CONFIG_OF from clk.c clk: samsung: remove unnecessary inclusion of header files from

<    1   2   3   4   5   6   >