Re: [PATCH RFC v4 1/3] PM / Runtime: Add an API pm_runtime_set_slave

2015-02-12 Thread amit daniel kachhap
Hi Alan, On Mon, Feb 9, 2015 at 9:28 PM, Alan Stern st...@rowland.harvard.edu wrote: On Mon, 9 Feb 2015, Amit Daniel Kachhap wrote: This API creates a pm runtime slave type device which does not itself participates in pm runtime but depends on the master devices to power manage them

[PATCH RFC v4 0/3] PM / Runtime: Feature to power manage slave devices

2015-02-09 Thread Amit Daniel Kachhap
://www.spinics.net/lists/linux-samsung-soc/msg38442.html) This work may also assist exynos iommu pm runtime posted earlier by Marek http://lists.linaro.org/pipermail/linaro-mm-sig/2014-August/004099.html Amit Daniel Kachhap (3): PM / Runtime: Add an API pm_runtime_set_slave PM / Domains: Save restore

[PATCH RFC v4 1/3] PM / Runtime: Add an API pm_runtime_set_slave

2015-02-09 Thread Amit Daniel Kachhap
/pm_runtime_put due to subsystems interaction behaviour or any other reason. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/base/power/runtime.c | 18 ++ include/linux/pm.h | 1 + include/linux/pm_runtime.h | 2 ++ 3 files changed, 21 insertions

[PATCH RFC v4 2/3] PM / Domains: Save restore slave pm runtime devices

2015-02-09 Thread Amit Daniel Kachhap
Based on the runtime request of the active device, the callbacks of the passive pm runtime devices will be invoked. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/base/power/domain.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers

[PATCH RFC v4 3/3] clk: samsung: Add PM runtime support for clocks.

2015-02-09 Thread Amit Daniel Kachhap
device with the power domain. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/clk/samsung/clk.c | 93 +++ drivers/clk/samsung/clk.h | 11 ++ 2 files changed, 104 insertions(+) diff --git a/drivers/clk/samsung/clk.c b/drivers

Re: [PATCH RFC v3 1/2] PM / Domains: Extend API pm_genpd_dev_need_restore to use restore types

2014-12-17 Thread amit daniel kachhap
On Wed, Dec 17, 2014 at 3:40 AM, Kevin Hilman khil...@kernel.org wrote: Marek Szyprowski m.szyprow...@samsung.com writes: Hello, On 2014-12-13 17:51, Amit Daniel Kachhap wrote: Instead of using bool to restore suspended devices initially, use flags like GPD_DEV_SUSPEND_INIT

Re: [PATCH RFC v3 1/2] PM / Domains: Extend API pm_genpd_dev_need_restore to use restore types

2014-12-17 Thread amit daniel kachhap
On Wed, Dec 17, 2014 at 6:38 PM, Marek Szyprowski m.szyprow...@samsung.com wrote: Hello, On 2014-12-17 03:43, amit daniel kachhap wrote: On Tue, Dec 16, 2014 at 4:40 PM, Marek Szyprowski m.szyprow...@samsung.com wrote: Hello, On 2014-12-13 17:51, Amit Daniel Kachhap wrote: Instead

Re: [PATCH RFC v3 1/2] PM / Domains: Extend API pm_genpd_dev_need_restore to use restore types

2014-12-16 Thread amit daniel kachhap
On Tue, Dec 16, 2014 at 4:40 PM, Marek Szyprowski m.szyprow...@samsung.com wrote: Hello, On 2014-12-13 17:51, Amit Daniel Kachhap wrote: Instead of using bool to restore suspended devices initially, use flags like GPD_DEV_SUSPEND_INIT, GPD_DEV_RESTORE_INIT and GPD_DEV_RESTORE_FORCE

[PATCH RFC v3 2/2] clk: samsung: Add PM runtime support for clocks.

2014-12-13 Thread Amit Daniel Kachhap
device with the power domain. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/clk/samsung/clk.c | 95 +++ drivers/clk/samsung/clk.h | 11 ++ 2 files changed, 106 insertions(+) diff --git a/drivers/clk/samsung/clk.c b/drivers

[PATCH RFC v3 1/2] PM / Domains: Extend API pm_genpd_dev_need_restore to use restore types

2014-12-13 Thread Amit Daniel Kachhap
-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- This work is continuation of earlier work, In V2: Completely removed notfiers and add support for huge clock list to be suspended and restored. There was some issue in this as some clocks are not exposed and are just initialised

Re: [PATCH] PM/ Domains: Export of_genpd_get_from_provider function.

2014-12-05 Thread amit daniel kachhap
On Thu, Dec 4, 2014 at 9:09 PM, Ulf Hansson ulf.hans...@linaro.org wrote: On 1 December 2014 at 12:41, Amit Daniel Kachhap amit.dan...@samsung.com wrote: This function looks up a PM domain form the provider. This will be useful to add parent/child domain relationship from the SoC specific

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

2014-12-03 Thread amit daniel kachhap
On Wed, Dec 3, 2014 at 6:03 PM, Marek Szyprowski m.szyprow...@samsung.com wrote: This patch adds support for making one power domain a sub-domain of other domain. This is useful for modeling power dependences for devices like TV Mixer or Camera ISP, which needs to have more than one power

[PATCH] PM/ Domains: Export of_genpd_get_from_provider function.

2014-12-01 Thread Amit Daniel Kachhap
This function looks up a PM domain form the provider. This will be useful to add parent/child domain relationship from the SoC specific code. The caller of the function must make sure that PM domain provider is already registered. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com

Re: [PATCH V2] PM / Domains: Add pm_genpd_lookup() API to lookup domain by firmware node

2014-12-01 Thread amit daniel kachhap
no problems with that, but do you have a user for it? Amit Daniel Kachhap, posted a patchset which is adding subdomains configured from DT for Exynos. It's from there the idea to this patch comes from. Amit is about to post a new version, based on this patch. Hi Ulf, I was trying to use

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

2014-11-30 Thread amit daniel kachhap
On Sun, Nov 30, 2014 at 4:54 AM, Kukjin Kim kg...@kernel.org wrote: Amit Daniel Kachhap wrote: This patch moves Exynos PMU driver implementation from arm/mach-exynos to drivers/soc/samsung. This driver is mainly used for setting misc bits of register from PMU IP of Exynos SoC which

Re: [PATCH v5 3/6] driver: soc: exynos-pmu: Add an API to be called after wakeup

2014-11-30 Thread amit daniel kachhap
On Sun, Nov 30, 2014 at 4:56 AM, Kukjin Kim kg...@kernel.org wrote: Amit Daniel Kachhap wrote: This patch adds an API exynos_sys_powerup_conf to be called after system sleep wakeup. This will useful for exynos7 SoC to perform resume related initialisations. This is similar to currently

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

2014-11-30 Thread amit daniel kachhap
On Sun, Nov 30, 2014 at 5:05 AM, Kukjin Kim kg...@kernel.org wrote: Amit Daniel Kachhap wrote: Add PMU settings for exynos7. This is required for future suspend-to-ram, cpuidle and power domain support. Note: In this patch some static declarations lines are over 80 characters per line

[PATCH v5 1/6] ARM: EXYNOS: Move pmu specific headers under linux/soc/samsung

2014-11-29 Thread Amit Daniel Kachhap
Moving Exynos PMU specific header file into include/linux/soc/samsung thus updated affected files under mach-exynos to use new location of these header files. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos

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

2014-11-29 Thread Amit Daniel Kachhap
-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos/Makefile |2 +- drivers/soc/Kconfig|1 + drivers/soc/Makefile |1 + drivers/soc/samsung/Kconfig| 20

[PATCH v5 4/6] driver: soc: exynos-pmu: Add a new structure to allow u32 conf data

2014-11-29 Thread Amit Daniel Kachhap
Commit b04fa9f ARM: EXYNOS: use u8 for val[] in struct exynos_pmu_conf modifies the structure to allow only u8 type configuration data. To support SoC's which need u32 type data a new structure is added. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/soc/samsung/exynos

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

2014-11-29 Thread Amit Daniel Kachhap
.c...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/soc/samsung/exynos-pmu.c| 427 ++- include/linux/soc/samsung/exynos-regs-pmu.h | 273 + 2 files changed

[PATCH v5 0/6] exynos: Move pmu driver to driver/soc folder and add exynos7 support

2014-11-29 Thread Amit Daniel Kachhap
tree. (A) - http://www.spinics.net/lists/linux-samsung-soc/msg38442.html (B) - http://www.spinics.net/lists/arm-kernel/msg375910.html (C) - http://www.spinics.net/lists/linux-samsung-soc/msg39237.html (D) - http://www.spinics.net/lists/linux-samsung-soc/msg39095.html Amit Daniel Kachhap (6

[PATCH v5 6/6] arm: exynos: Select SOC_SAMSUNG config option

2014-11-29 Thread Amit Daniel Kachhap
The config option SOC_SAMSUNG is needed to enable all soc samsung drivers inside driver/soc/samsung folder. Currently, this will be useful to enable exynos pmu driver which is moved to that folder. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos/Kconfig |1

[PATCH v5 3/6] driver: soc: exynos-pmu: Add an API to be called after wakeup

2014-11-29 Thread Amit Daniel Kachhap
-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/soc/samsung/exynos-pmu.c |9 + include/linux/soc/samsung/exynos-pmu.h |1 + 2 files changed, 10 insertions(+) diff --git a/drivers/soc/samsung/exynos-pmu.c b/drivers/soc/samsung/exynos-pmu.c index 7eb5b0b..c3307eb

Re: [PATCH RFC v2 07/12] PM / Domains: export pm_genpd_lookup_name

2014-11-28 Thread amit daniel kachhap
On Thu, Nov 27, 2014 at 7:50 PM, Ulf Hansson ulf.hans...@linaro.org wrote: On 25 November 2014 at 09:48, amit daniel kachhap amit.dan...@samsung.com wrote: On Tue, Nov 25, 2014 at 1:05 PM, Ulf Hansson ulf.hans...@linaro.org wrote: On 24 November 2014 at 14:04, Amit Daniel Kachhap amit.dan

Re: [PATCH v4 0/5] exynos: Move pmu driver to driver/soc folder and add exynos7 support

2014-11-25 Thread amit daniel kachhap
On Mon, Nov 24, 2014 at 6:50 PM, Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com wrote: Hi, On Monday, November 24, 2014 07:36:10 AM Amit Daniel Kachhap wrote: This patch series [1 - 5] performs, 1) Moves pmu driver to driver/soc/samsung folder. This is needed as exynos7

Re: [PATCH RFC v2 06/12] driver: soc: exynos-pmu: Add exynos7 power domain on/off ops

2014-11-25 Thread amit daniel kachhap
On Tue, Nov 25, 2014 at 1:00 PM, Ulf Hansson ulf.hans...@linaro.org wrote: On 24 November 2014 at 14:04, Amit Daniel Kachhap amit.dan...@samsung.com wrote: This patch uses the restructuring done in PD handlers and adds PD on/off/status handlers for exynos7. In this SoC, some extra settings

Re: [PATCH RFC v2 07/12] PM / Domains: export pm_genpd_lookup_name

2014-11-25 Thread amit daniel kachhap
On Tue, Nov 25, 2014 at 1:05 PM, Ulf Hansson ulf.hans...@linaro.org wrote: On 24 November 2014 at 14:04, Amit Daniel Kachhap amit.dan...@samsung.com wrote: This API may be needed to set the power domain parent/child relationship in the power domain platform driver. The parent relationship

Re: [PATCH RFC v2 08/12] soc: samsung: pm_domain: Add support for parent power domain

2014-11-25 Thread amit daniel kachhap
On Tue, Nov 25, 2014 at 1:29 PM, Ulf Hansson ulf.hans...@linaro.org wrote: On 24 November 2014 at 14:04, Amit Daniel Kachhap amit.dan...@samsung.com wrote: This patch adds supports for parent power domain. This will ensure invoking of parent/child power domain on/off in a correct sequence

[PATCH RFC v2 00/12] soc: samsung: Modify and enhance power domain driver

2014-11-24 Thread Amit Daniel Kachhap
Amit Daniel Kachhap (12): arm: exynos: Add platform driver support for power domain driver soc: exynos: Move exynos power domain file to driver/soc/samsung folder soc: samsung: exynos-pmu: Register exynos pd driver as a mfd client soc: samsung: Re-structure PMU driver to create pd on/off

[PATCH RFC v2 01/12] arm: exynos: Add platform driver support for power domain driver

2014-11-24 Thread Amit Daniel Kachhap
once and registered with the power domain subsystem. - Existing DT bindings are used. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos/pm_domains.c | 40 +++-- 1 file changed, 25

[PATCH RFC v2 02/12] soc: exynos: Move exynos power domain file to driver/soc/samsung folder

2014-11-24 Thread Amit Daniel Kachhap
-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos/Makefile |1 - drivers/soc/samsung/Kconfig|9 + drivers/soc/samsung/Makefile |3 ++- .../soc/samsung}/pm_domains.c |0

[PATCH RFC v2 03/12] soc: samsung: exynos-pmu: Register exynos pd driver as a mfd client

2014-11-24 Thread Amit Daniel Kachhap
This is used to probe exynos power domain. This method can be also used for probing other PMU client drivers like pm sleep etc. Currently no platform data is supplied but can be easily extended when required. Reviewed-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Amit Daniel Kachhap

[PATCH RFC v2 04/12] soc: samsung: Re-structure PMU driver to create pd on/off handlers

2014-11-24 Thread Amit Daniel Kachhap
. This restructuring will be useful for SoC's where certain extra operation need to implemented along with PD on/off operation or if some PD registers are different. There is no functionality change for the existing SoC's. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/soc/samsung

[PATCH RFC v2 05/12] soc: samsung: pm_domain: Use unique compatible name for power domain

2014-11-24 Thread Amit Daniel Kachhap
. This change will not affect the existing DT bindings. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- .../bindings/arm/exynos/power_domain.txt |8 drivers/soc/samsung/pm_domains.c | 10 +- 2 files

[PATCH RFC v2 06/12] driver: soc: exynos-pmu: Add exynos7 power domain on/off ops

2014-11-24 Thread Amit Daniel Kachhap
compatible name feature to distinguish between power domains. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/soc/samsung/exynos-pmu.c| 105 +++ include/linux/soc/samsung/exynos-regs-pmu.h | 17 + 2 files changed, 122 insertions(+) diff

[PATCH RFC v2 07/12] PM / Domains: export pm_genpd_lookup_name

2014-11-24 Thread Amit Daniel Kachhap
-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/base/power/domain.c |3 ++- include/linux/pm_domain.h |7 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index fb83d4a..b0e1c2f 100644 --- a/drivers

[PATCH RFC v2 08/12] soc: samsung: pm_domain: Add support for parent power domain

2014-11-24 Thread Amit Daniel Kachhap
This patch adds supports for parent power domain. This will ensure invoking of parent/child power domain on/off in a correct sequence. In exynos7 SOC's, power domain controllers have parent and child hierarchy. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan

[PATCH RFC v2 09/12] drivers: soc: pm_domain: Modify the parent clocks bindings

2014-11-24 Thread Amit Daniel Kachhap
. Because of this change only exynos5420 SoC DT bindings are affected. The complete example is shown in the DT documentation section. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- .../bindings/arm/exynos/power_domain.txt | 18 +- drivers/soc/samsung/pm_domains.c

[PATCH RFC v2 11/12] drivers: soc: samsung: Add support for clock rate save/restore in power domain

2014-11-24 Thread Amit Daniel Kachhap
While turning power domain to on/off, some clocks rates might change and need to be saved/restored in the Exynos7 SOC. This patch adds the framework for saving those clocks before power off and restoring it back after power on operation. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com

[PATCH RFC v2 12/12] arm64: Kconfig: Enable PM_GENERIC_DOMAINS for exynos7

2014-11-24 Thread Amit Daniel Kachhap
Use power domain driver for Exynos7 SOC's Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm64/Kconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 30bd4d5..b102d0b 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64

[PATCH RFC v2 10/12] drivers: soc: samsung: Add support for clock enabling in power domain

2014-11-24 Thread Amit Daniel Kachhap
domain suspend/resume interface. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- .../bindings/arm/exynos/power_domain.txt | 12 ++ drivers/soc/samsung/pm_domains.c | 138 +++- 2 files changed, 146 insertions(+), 4 deletions(-) diff --git

[PATCH v4 0/5] exynos: Move pmu driver to driver/soc folder and add exynos7 support

2014-11-23 Thread Amit Daniel Kachhap
/msg38442.html (B) - http://www.spinics.net/lists/arm-kernel/msg375910.html (C) - http://www.spinics.net/lists/linux-samsung-soc/msg39237.html (D) - http://www.spinics.net/lists/linux-samsung-soc/msg39095.html Amit Daniel Kachhap (5): ARM: EXYNOS: Move pmu specific header files under linux/soc

[PATCH v4 3/5] driver: soc: exynos-pmu: Add an API to be called after wakeup

2014-11-23 Thread Amit Daniel Kachhap
-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/soc/samsung/exynos-pmu.c |9 + include/linux/soc/samsung/exynos-pmu.h |1 + 2 files changed, 10 insertions(+) diff --git a/drivers/soc/samsung/exynos-pmu.c b/drivers/soc/samsung/exynos-pmu.c index 2965c3b..f7ae8a0

[PATCH v4 4/5] drivers: soc: exynos-pmu: Add support for Exynos7

2014-11-23 Thread Amit Daniel Kachhap
.c...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- .../devicetree/bindings/arm/samsung/pmu.txt|1 + drivers/soc/samsung/exynos-pmu.c | 427 +++- include/linux/soc

[PATCH v4 2/5] drivers: soc: Add support for Exynos PMU driver

2014-11-23 Thread Amit Daniel Kachhap
-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos/Makefile |2 +- drivers/soc/Kconfig|1 + drivers/soc/Makefile |1 + drivers/soc/samsung/Kconfig| 20

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

2014-11-23 Thread amit daniel kachhap
On Sat, Nov 22, 2014 at 7:38 AM, Kukjin Kim kg...@kernel.org wrote: Pankaj Dubey wrote: Hi Kukjin, Hi, 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, +

Re: [PATCH v3 2/5] drivers: soc: Add support for Exynos PMU driver

2014-11-20 Thread amit daniel kachhap
On Thu, Nov 20, 2014 at 3:33 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Thu, Nov 20, 2014 at 11:09:25AM +0530, Amit Daniel Kachhap wrote: diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile index 063113d..44d220d 100644 --- a/drivers/soc/Makefile +++ b/drivers/soc

[PATCH v3 0/5] exynos: Move pmu driver to driver/soc folder and add exynos7 support

2014-11-19 Thread Amit Daniel Kachhap
(A) This complete patch series is rebased on Kukjin for-next tree. (A) - http://www.spinics.net/lists/linux-samsung-soc/msg38442.html (B) - http://www.spinics.net/lists/arm-kernel/msg375910.html Amit Daniel Kachhap (5): ARM: EXYNOS: Move pmu specific header files under linux/soc/samsung drivers: soc: Add

[PATCH v3 2/5] drivers: soc: Add support for Exynos PMU driver

2014-11-19 Thread Amit Daniel Kachhap
-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos/Makefile |2 +- drivers/soc/Kconfig|1 + drivers/soc/Makefile |1 + drivers/soc/samsung/Kconfig| 20

[PATCH v3 1/5] ARM: EXYNOS: Move pmu specific header files under linux/soc/samsung

2014-11-19 Thread Amit Daniel Kachhap
Moving Exynos PMU specific header file into include/linux/soc/samsung thus updated affected files under mach-exynos to use new location of these header files. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos

[PATCH v3 3/5] driver: soc: exynos-pmu: Add an API to be called after wakeup

2014-11-19 Thread Amit Daniel Kachhap
-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/soc/samsung/exynos-pmu.c |9 + include/linux/soc/samsung/exynos-pmu.h |1 + 2 files changed, 10 insertions(+) diff --git a/drivers/soc/samsung/exynos-pmu.c b/drivers/soc/samsung/exynos-pmu.c index aa43e04..f8896bc

[PATCH v3 4/5] drivers: soc: exynos-pmu: Add support for Exynos7

2014-11-19 Thread Amit Daniel Kachhap
.c...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- .../devicetree/bindings/arm/samsung/pmu.txt|1 + drivers/soc/samsung/exynos-pmu.c | 430 +++- include/linux/soc

[PATCH v3 5/5] arm: exynos: Select SOC_SAMSUNG config option

2014-11-19 Thread Amit Daniel Kachhap
The config option SOC_SAMSUNG is needed to enable all soc samsung drivers inside driver/soc/samsung folder. Currently, this will be useful to enable exynos pmu driver which is moved to that folder. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos/Kconfig |1

Re: [PATCH v2 0/6] exynos: Move pmu driver to driver/soc folder and add exynos7 support

2014-11-19 Thread amit daniel kachhap
On Wed, Nov 19, 2014 at 1:34 PM, Kukjin Kim kgene@samsung.com wrote: On 11/13/14 17:56, amit daniel kachhap wrote: On Sat, Nov 8, 2014 at 6:46 PM, Amit Daniel Kachhap amit.dan...@samsung.com wrote: This patch series[1 - 6] performs, 1) Moves pmu driver to driver/soc/samsung folder. Some

Re: [PATCH v2 0/6] exynos: Move pmu driver to driver/soc folder and add exynos7 support

2014-11-13 Thread amit daniel kachhap
On Sat, Nov 8, 2014 at 6:46 PM, Amit Daniel Kachhap amit.dan...@samsung.com wrote: This patch series[1 - 6] performs, 1) Moves pmu driver to driver/soc/samsung folder. Some discussion happened about this in the v1 version. Finally adding it in driver/soc folder as it too SoC

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

2014-11-10 Thread amit daniel kachhap
On Sat, Nov 8, 2014 at 12:15 AM, Kevin Hilman khil...@kernel.org wrote: Sylwester Nawrocki s.nawro...@samsung.com writes: On 04/11/14 07:44, amit daniel kachhap wrote: On Mon, Nov 3, 2014 at 11:53 PM, Kevin Hilman khil...@kernel.org wrote: Rafael J. Wysocki r...@rjwysocki.net writes

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

2014-11-09 Thread amit daniel kachhap
On Sat, Nov 8, 2014 at 9:26 PM, Pankaj Dubey dubepankaj1...@gmail.com wrote: Hi Amit, On 8 November 2014 18:46, Amit Daniel Kachhap amit.dan...@samsung.com wrote: This patches changes the name of exynos5_list_diable_wfi_wfe to exynos5_list_disable_wfi_wfe. Same change I have posted

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

2014-11-09 Thread amit daniel kachhap
On Sat, Nov 8, 2014 at 10:45 PM, Pankaj Dubey pankaj.du...@samsung.com wrote: Hi Amit, On 8 November 2014 18:46, Amit Daniel Kachhap amit.dan...@samsung.com wrote: This patch moves Exynos PMU driver implementation from arm/mach-exynos to drivers/soc/samsung. This driver is mainly used

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

2014-11-09 Thread amit daniel kachhap
On Sat, Nov 8, 2014 at 11:05 PM, Pankaj Dubey dubepankaj1...@gmail.com wrote: Hi Amit, On 8 November 2014 18:46, Amit Daniel Kachhap amit.dan...@samsung.com wrote: Add PMU settings for exynos7. This is required for future suspend-to-ram, cpuidle and power domain support. Note: In this patch

[PATCH v2 0/6] exynos: Move pmu driver to driver/soc folder and add exynos7 support

2014-11-08 Thread Amit Daniel Kachhap
. (A) - http://www.spinics.net/lists/linux-samsung-soc/msg38444.html (B) - http://www.spinics.net/lists/linux-samsung-soc/msg38442.html (C) - https://lkml.org/lkml/2014/10/6/581 (D) - http://www.spinics.net/lists/arm-kernel/msg358230.html Amit Daniel Kachhap (6): ARM: EXYNOS: Move pmu specific

[PATCH v2 5/6] driver: soc: exynos-pmu: Add an API to be called after wakeup

2014-11-08 Thread Amit Daniel Kachhap
This patch adds an API exynos_sys_powerup_conf to be called after system sleep wakeup. This is similar to currently existing API exynos_sys_powerdown_conf. Reviewed-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/soc/samsung/exynos

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

2014-11-08 Thread Amit Daniel Kachhap
.c...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- .../devicetree/bindings/arm/samsung/pmu.txt|1 + drivers/soc/samsung/exynos-pmu.c | 425 include/linux/soc

[PATCH v2 1/6] ARM: EXYNOS: Move pmu specific header files under linux/soc/samsung

2014-11-08 Thread Amit Daniel Kachhap
Moving Exynos PMU specific header file into include/linux/soc/samsung thus updated affected files under mach-exynos to use new location of these header files. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos

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

2014-11-08 Thread Amit Daniel Kachhap
-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 information. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm

[PATCH v2 4/6] soc: samsung: exynos-pmu: Register exynos-pmu driver as a mfd driver

2014-11-08 Thread Amit Daniel Kachhap
the sysreg interfaces to provide register base addresses but this is costlier than readl/writel, so both the interfaces are provided to mfd based exynos-pmu client drivers. Reviewed-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/soc

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

2014-11-08 Thread Amit Daniel Kachhap
This patches changes the name of exynos5_list_diable_wfi_wfe to exynos5_list_disable_wfi_wfe. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/soc/samsung/exynos-pmu.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/soc/samsung/exynos

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

2014-11-05 Thread amit daniel kachhap
On Thu, Nov 6, 2014 at 11:18 AM, Pankaj Dubey pankaj.du...@samsung.com wrote: 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

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

2014-11-03 Thread amit daniel kachhap
On Mon, Nov 3, 2014 at 11:51 PM, Sylwester Nawrocki s.nawro...@samsung.com wrote: Hi, Cc: Ulf, Kevin, Geert. On 03/11/14 04:53, Amit Daniel Kachhap wrote: These power domain transition notifiers will assist in carrying out some activity associated with domain power on/off such as some

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

2014-11-03 Thread amit daniel kachhap
On Mon, Nov 3, 2014 at 8:22 PM, Ulf Hansson ulf.hans...@linaro.org wrote: On 3 November 2014 15:54, Rafael J. Wysocki r...@rjwysocki.net wrote: CC: Kevin, Ulf, Geert. On Monday, November 03, 2014 09:23:01 AM Amit Daniel Kachhap wrote: These power domain transition notifiers will assist

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

2014-11-03 Thread amit daniel kachhap
On Mon, Nov 3, 2014 at 11:53 PM, Kevin Hilman khil...@kernel.org wrote: +Mike Turquette Hi Amit, Rafael J. Wysocki r...@rjwysocki.net writes: CC: Kevin, Ulf, Geert. On Monday, November 03, 2014 09:23:01 AM Amit Daniel Kachhap wrote: These power domain transition notifiers will assist

[PATCH 00/12] soc: samsung: Modify and enhance power domain driver

2014-11-02 Thread Amit Daniel Kachhap
They are kept in this patch series for completeness after rebase fixes. This complete patch series is rebased on linux-next as it involves many subsystems. Amit Daniel Kachhap (10): PM / Domains: Add notifier support for power domain transitions mfd: exynos-pmu: Register exynos-pmu driver as a mfd

[PATCH 01/12] ARM: EXYNOS: Move pmu specific header files under linux/mfd/samsung

2014-11-02 Thread Amit Daniel Kachhap
lee.jo...@linaro.org Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos/exynos.c |2 +- arch/arm/mach-exynos/mcpm-exynos.c |2 +- arch/arm/mach-exynos/platsmp.c

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

2014-11-02 Thread Amit Daniel Kachhap
Jones lee.jo...@linaro.org Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos/Kconfig |1 + arch/arm/mach-exynos/Makefile |2 +- drivers/mfd/Kconfig

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

2014-11-02 Thread Amit Daniel Kachhap
-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/base/power/domain.c | 112 ++- include/linux/pm_domain.h | 31 2 files changed, 142 insertions(+), 1 deletion(-) diff --git

[PATCH 04/12] mfd: exynos-pmu: Register exynos-pmu driver as a mfd driver

2014-11-02 Thread Amit Daniel Kachhap
interfaces to provide register base addresses but this is costlier than readl/writel, so both the interfaces are provided to mfd based exynos-pmu client drivers. Cc: Lee Jones lee.jo...@linaro.org Reviewed-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan

[PATCH 05/12] arm: exynos: Add platform driver support for power domain driver

2014-11-02 Thread Amit Daniel Kachhap
protected register access(regmap) is not used. Cc: Kukjin Kim kgene@samsung.com Reviewed-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- .../bindings/arm/exynos/power_domain.txt |8 +-- arch/arm/mach-exynos/pm_domains.c

[PATCH 06/12] soc: exynos: Move exynos power domain file to driver/soc/samsung folder

2014-11-02 Thread Amit Daniel Kachhap
-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos/Makefile |1 - drivers/soc/Kconfig|1 + drivers/soc/Makefile |1 + drivers/soc

[PATCH 08/12] soc: samsung: pm_domain: Add a new parameter for power configuration

2014-11-02 Thread Amit Daniel Kachhap
This patch adds a new optional parameter pd-power-conf to fetch the correct power configuration value. In exynos7 soc, this field is different from previous exynos soc's. Cc: Kukjin Kim kgene@samsung.com Reviewed-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Amit Daniel Kachhap

[PATCH 07/12] soc: samsung: pm_domain: Use compatible name for power domain name

2014-11-02 Thread Amit Daniel Kachhap
@samsung.com Reviewed-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- .../bindings/arm/exynos/power_domain.txt |8 drivers/soc/samsung/pm_domains.c |7 ++- 2 files changed, 14 insertions(+), 1

[PATCH 09/12] soc: samsung: pm_domain: Add support for parent power domain

2014-11-02 Thread Amit Daniel Kachhap
...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- .../bindings/arm/exynos/power_domain.txt |2 + drivers/soc/samsung/pm_domains.c | 42 +++- 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree

[PATCH 11/12] clk: samsung: save and restore clock registers for power domain

2014-11-02 Thread Amit Daniel Kachhap
This patch adds support for save and restore for clock registers which loses register contents across power domain off/on sequence. Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Mike Turquette mturque...@linaro.org Reviewed-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Amit Daniel

[PATCH 10/12] soc: samsung: pm_domain: Use the recently added PM Domain notifiers

2014-11-02 Thread Amit Daniel Kachhap
/GPD_ON_POST are required. Cc: Kukjin Kim kgene@samsung.com Reviewed-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/soc/samsung/pm_domains.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/soc/samsung

[PATCH 12/12] arm64: Kconfig: Enable PM_GENERIC_DOMAINS for exynos7

2014-11-02 Thread Amit Daniel Kachhap
Use power domain driver for Exynos7 SOC's Cc: Catalin Marinas catalin.mari...@arm.com Reviewed-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm64/Kconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b

Re: [PATCH v3 0/8] thermal: exynos: various cleanups

2014-09-01 Thread amit daniel kachhap
on next-20140731 kernel. It should not cause any functionality changes. Did you have the time to test this series? Hi Eduardo/Bartlomiej, For the whole series tested on exynos5250 based arndale board. Tested-by: Amit Daniel Kachhap amit.dan...@samsung.com Sorry for the delay as I was busy

Re: [PATCHv3] thermal: exynos: Add support for TRIM_RELOAD feature at Exynos3250

2014-08-19 Thread amit daniel kachhap
: Zhang Rui rui.zh...@intel.com Cc: Eduardo Valentin edubez...@gmail.com Cc: Amit Daniel Kachhap amit.dan...@samsung.com The changes looks fine, Reviewed-by: Amit Daniel Kachhap amit.dan...@samsung.com Thanks, Amit --- Changes from v2: - Fix build break because of missing 'or' operation

Re: [PATCH] thermal: exynos: Remove duplicate code when reading triminfo register of Exynos5440

2014-08-19 Thread amit daniel kachhap
...@intel.com Cc: Eduardo Valentin edubez...@gmail.com Cc: Amit Daniel Kachhap amit.dan...@samsung.com Reviewed-by: Amit Daniel Kachhap amit.dan...@samsung.com Thanks, Amit --- drivers/thermal/samsung/exynos_tmu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/thermal

Re: [PATCH v2 0/9] thermal: exynos: various cleanups

2014-07-28 Thread amit daniel kachhap
Hi Eduardo, Please reject this entire series as this is not re-based recently. Actually two point trimming which this series seeks to remove is used by exynos3250 and is in Rui's tree

Re: [RESEND PATCH] thermal: samsung: Add TMU support for Exynos3250 SoC

2014-07-22 Thread amit daniel kachhap
On Mon, Jul 21, 2014 at 11:34 AM, Zhang Rui rui.zh...@intel.com wrote: On Fri, 2014-07-18 at 09:00 +0900, Chanwoo Choi wrote: This patch adds the registers, bit fields and compatible strings required to support for the 1 TMU channels on Exynos3250. Signed-off-by: Chanwoo Choi

Re: [PATCH 2/3] regulator: s2mpa01: Optimize the regulator description macro

2014-07-15 Thread amit daniel kachhap
On Mon, Jul 14, 2014 at 2:19 PM, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: On 08.07.2014 14:27, Amit Daniel Kachhap wrote: This patch makes the regulator description macro take minimum and steps voltage as parameter. In this way many repeated macros can be removed. Now these macros

[PATCH v2 2/3] regulator: s2mpa01: Optimize the regulator description macro

2014-07-15 Thread Amit Daniel Kachhap
-by: Krzysztof Kozlowski k.kozlow...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- Changes since v1: * Removed min parameter from regulator_desc_ldo1 as pointed by Krzysztof * Added Cc to maintainers. * Added Krzysztof reviewed-by. drivers/regulator/s2mpa01.c | 134

[PATCH v2 1/3] regulator: s2mpxxx: Move regulator min/step voltages in common place

2014-07-15 Thread Amit Daniel Kachhap
: Mark Brown broo...@kernel.org Cc: Samuel Ortiz sa...@linux.intel.com Cc: Lee Jones lee.jo...@linaro.org Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- Changes since v1: * Added Cc to maintainers. * Added Krzysztof reviewed

[PATCH v2 3/3] regulator: s2mps11: Optimize the regulator description macro

2014-07-15 Thread Amit Daniel Kachhap
-by: Krzysztof Kozlowski k.kozlow...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- Changes since v1: * Removed min parameter from regulator_desc_s2mps11_ldo1 as pointed by Krzysztof * Added Cc to maintainers. * Added Krzysztof reviewed-by. drivers/regulator/s2mps11.c | 259

Re: [PATCH v6 15/23] regulator: max77686: Setup DVS-related GPIOs on probe

2014-07-11 Thread amit daniel kachhap
On Fri, Jul 11, 2014 at 7:33 AM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: Hello Amit, On 07/10/2014 12:08 PM, amit daniel kachhap wrote: On Fri, Jul 4, 2014 at 3:25 PM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: MAX77686 PMIC support Dyamic Voltage

Re: [PATCH v7 08/24] mfd: max77686: Add Dynamic Voltage Scaling (DVS) support

2014-07-11 Thread amit daniel kachhap
On Fri, Jul 11, 2014 at 7:15 AM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: Hello Amit, On 07/10/2014 11:59 AM, amit daniel kachhap wrote: On Sat, Jul 5, 2014 at 1:54 AM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: Some regulators on the MAX77686 PMIC

Re: [PATCH v7 08/24] mfd: max77686: Add Dynamic Voltage Scaling (DVS) support

2014-07-10 Thread amit daniel kachhap
. This patch adds support to configure the DVSx and SELBx lines from DT and to setup and read the GPIO lines connected to them. The entire series looks nice. Few minor comments from my side. I guess still one more version in needed as per other ppls comment. You may add, Reviewed-by: Amit Daniel

Re: [PATCH v6 15/23] regulator: max77686: Setup DVS-related GPIOs on probe

2014-07-10 Thread amit daniel kachhap
On Fri, Jul 4, 2014 at 3:25 PM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: MAX77686 PMIC support Dyamic Voltage Scaling (DVS) on a set of Buck regulators. A number of GPIO are connected to these lines and are requested by the mfd driver. Setup the GPIO pins from the

Re: [PATCH 2/3] regulator: s2mpa01: Optimize the regulator description macro

2014-07-10 Thread amit daniel kachhap
On Thu, Jul 10, 2014 at 1:05 PM, Lee Jones lee.jo...@linaro.org wrote: On Thu, 10 Jul 2014, amit daniel kachhap wrote: Adding MFD maintainers. Why, what for? Sorry not needed for this patch. On Tue, Jul 8, 2014 at 5:57 PM, Amit Daniel Kachhap amit.dan...@samsung.com wrote: This patch

Re: [PATCH 1/3] regulator: s2mpxxx: Move regulator min/step voltages in common place

2014-07-09 Thread amit daniel kachhap
On Wed, Jul 9, 2014 at 2:55 PM, Mark Brown broo...@kernel.org wrote: On Tue, Jul 08, 2014 at 05:57:58PM +0530, Amit Daniel Kachhap wrote: include/linux/mfd/samsung/core.h| 21 include/linux/mfd/samsung/s2mpa01.h | 12 - include/linux/mfd/samsung/s2mps11.h | 9

Re: [PATCH 2/3] regulator: s2mpa01: Optimize the regulator description macro

2014-07-09 Thread amit daniel kachhap
Adding MFD maintainers. On Tue, Jul 8, 2014 at 5:57 PM, Amit Daniel Kachhap amit.dan...@samsung.com wrote: This patch makes the regulator description macro take minimum and steps voltage as parameter. In this way many repeated macros can be removed. Now these macros are repeated only

  1   2   3   4   5   6   >