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

2015-12-17 Thread Pankaj Dubey
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: Amit Daniel Kachhap Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski [for testing o

[PATCH v7 4/6] ARM: EXYNOS: split up exynos5250 SoC specific PMU data

2015-12-17 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos5250, PMU configuration data and functions handing data into exynos5250 SoC specific PMU file mach-exynos/exynos5250-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Makefile | 4

[PATCH v7 5/6] ARM: EXYNOS: split up exynos5420 SoC specific PMU data

2015-12-17 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos5420, PMU configuration data and functions handing data into exynos5420 SoC specific PMU file mach-exynos/exynos5420-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski [for testing on Peach-Pi (Exynos5880)] Tested-by

[PATCH v7 2/6] ARM: EXYNOS: split up exynos3250 SoC specific PMU data

2015-12-17 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos3250 PMU configuration data and functions handing those data into exynos3250 SoC specific PMU file mach-exynos/exynos3250-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Makefile

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

2015-12-17 Thread Pankaj Dubey
Kachhap Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski [for testing on Trats2 (Exynos4412) and Odroid XU3 (Exynos5422)] Tested-by: Krzysztof Kozlowski [for testing on Peach-Pi (Exynos5880)] Tested-by: Pankaj Dubey --- arch/arm/mach-exynos/Kconfig

[PATCH v7 3/6] ARM: EXYNOS: split up exynos4 SoC specific PMU data

2015-12-17 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos4210, exynos4412 and exynos4212 PMU configuration data and functions handing data into a common exynos4 SoC specific PMU file mach-exynos/exynos4-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski [for testing on

[PATCH v7 0/6] samsung: pmu: split up SoC specific PMU data

2015-12-17 Thread Pankaj Dubey
]. [1]: https://lkml.org/lkml/2015/11/17/15 For testing entire patchset on Peach-Pi (Exynos5880) based chromebook for boot and S2R functionality. Tested-by: Pankaj Dubey For testing entire patchset on on Trats2 (Exynos4412, S2R, reboot, poweroff) and Odroid XU3 (Exynos5422, reboot, powero

[RESEND PATCH v5 4/8] ARM: dts: add SROM device node for exynos4

2015-12-11 Thread Pankaj Dubey
Add device node of SROM controller for exynos4. CC: Rob Herring CC: Mark Rutland CC: Ian Campbell Signed-off-by: Pankaj Dubey [k.kozlowski: fixed size of mapped SROMC memory region] Signed-off-by: Krzysztof Kozlowski Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim --- arch/arm

[RESEND PATCH v5 3/8] dt-bindings: add exynos-srom device tree binding

2015-12-11 Thread Pankaj Dubey
This patch adds exynos-srom binding information for SROM Controller driver on Exynos SoCs. CC: Rob Herring CC: Mark Rutland CC: Ian Campbell Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim --- .../devicetree/bindings/arm/samsung/exynos-srom.txt

[RESEND PATCH v5 8/8] ARM: EXYNOS: Remove SROM related register settings from mach-exynos

2015-12-11 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 Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos/Kconfig

[RESEND PATCH v5 5/8] ARM: dts: add SROM device node for exynos5

2015-12-11 Thread Pankaj Dubey
Add SROM controller device node for exynos5. CC: Rob Herring CC: Mark Rutland CC: Ian Campbell Signed-off-by: Pankaj Dubey [k.kozlowski: fixed size of mapped SROMC memory region] Signed-off-by: Krzysztof Kozlowski Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim --- arch/arm

[RESEND PATCH v5 1/8] ARM: EXYNOS: remove unused static mapping of CMU for exynos5

2015-12-11 Thread Pankaj Dubey
Remove unused static mapping of exynos5 CMU and related code. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos/exynos.c | 5 - arch/arm/mach-exynos/include/mach/map.h | 1 - 2 files changed, 6 deletions(-) diff

[RESEND PATCH v5 0/8] Add support for Exynos SROM Controller driver

2015-12-11 Thread Pankaj Dubey
s since v1: - Rebased to latest kgene tree. - Addressed review comments from Krzysztof Kozlowski. - Add two new patches for minor cleanup in exynos.c and map.h Pankaj Dubey (8): ARM: EXYNOS: remove unused static mapping of CMU for exynos5 ARM: EXYNOS: code cleanup in map.h dt-bindings: add e

[RESEND PATCH v5 2/8] ARM: EXYNOS: code cleanup in map.h

2015-12-11 Thread Pankaj Dubey
Remove unused exynos5440 uart offset macro. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos/include/mach/map.h | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-exynos

[RESEND PATCH v5 7/8] MAINTAINERS: add maintainers entry for drivers/soc/samsung

2015-12-11 Thread Pankaj Dubey
This patch adds maintainers entry for new driver folder drivers/soc/samsung Signed-off-by: Pankaj Dubey Acked-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index e9caa4b..2c4b21f 100644 --- a

[RESEND PATCH v5 6/8] drivers: soc: add support for exynos SROM driver

2015-12-11 Thread Pankaj Dubey
This patch adds Exynos SROM controller driver which will handle save restore of SROM registers during S2R. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski [p.fe...@samsung.com: tested on SMDK5410] Tested-by: Pavel Fedin Signed-off-by: Kukjin Kim --- drivers/soc/Kconfig

[PATCH v6 8/9] ARM: EXYNOS: rearrange static and non-static functions of PMU driver

2015-11-16 Thread Pankaj Dubey
This patch moves exynos_sys_powerdown_conf function above all static functions, to avoid confusion causing due to mixing of static-nonstatic-static functions and to improve readability of this driver. Signed-off-by: Pankaj Dubey Suggested-by: Krzysztof Kozlowski Reviewed-by: Krzysztof Kozlowski

[PATCH v6 9/9] drivers: soc: Add support for Exynos PMU driver

2015-11-16 Thread Pankaj Dubey
re done in "arch/arm/mach-exynos/pmu.c" but moving ahead for ARM64 based SoC support, there is a need of this PMU driver in driver/* folder. This driver uses existing DT binding information and there should be no functionality change in the supported platforms. Signed-off-by: Amit Daniel

[PATCH v6 7/9] ARM: EXYNOS: split up exynos5420 SoC specific PMU data

2015-11-16 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos5420, PMU configuration data and functions handing data into exynos5420 SoC specific PMU file mach-exynos/exynos5420-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Makefile | 2

[PATCH v6 6/9] ARM: EXYNOS: split up exynos5250 SoC specific PMU data

2015-11-16 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos5250, PMU configuration data and functions handing data into exynos5250 SoC specific PMU file mach-exynos/exynos5250-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Makefile | 4

[PATCH v6 5/9] ARM: EXYNOS: split up exynos4 SoC specific PMU data

2015-11-16 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos4210, exynos4412 and exynos4212 PMU configuration data and functions handing data into a common exynos4 SoC specific PMU file mach-exynos/exynos4-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach

[PATCH v6 4/9] ARM: EXYNOS: split up exynos3250 SoC specific PMU data

2015-11-16 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos3250 PMU configuration data and functions handing those data into exynos3250 SoC specific PMU file mach-exynos/exynos3250-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Makefile

[PATCH v6 3/9] ARM: EXYNOS: Move pmu specific headers under "linux/soc/samsung"

2015-11-16 Thread Pankaj Dubey
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: Amit Daniel Kachhap Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/

[PATCH v6 1/9] ARM: EXYNOS: removing redundant code from regs-pmu.h

2015-11-16 Thread Pankaj Dubey
commit 6ec4f8d0d91f ("ARM: EXYNOS: add generic function to calculate cpu number") introduced exynos_pmu_cpunr to be used by multi-cluster SoC's e.g Exynos5420, but it's no more used in the codebase and hence removing this part of code. Signed-off-by: Pankaj Dubey Reviewed-by:

[PATCH v6 2/9] ARM: EXYNOS: Fix potential NULL pointer access in exynos_sys_powerdown_conf

2015-11-16 Thread Pankaj Dubey
If no platform devices binded to the driver but driver itself loaded and exynos_sys_powerdown_conf is called from arch/arm/mach-exynos/{suspend.c, pm.c} it will result in NULL pointer access, to prevent this added check on pmu_context for NULL. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof

[PATCH v6 0/9] samsung: pmu: split up SoC specific PMU data

2015-11-16 Thread Pankaj Dubey
structure https://lkml.org/lkml/2015/10/28/917 For testing entire patchset on Peach-Pi (Exynos5880) based chromebook for boot and S2R functionality. Tested-by: Pankaj Dubey For testing entire patchset on on Trats2 (Exynos4412, S2R, reboot, poweroff) and Odroid XU3 (Exynos5422, reboot

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

2015-11-13 Thread Pankaj Dubey
On 13 November 2015 at 15:58, Krzysztof Kozlowski wrote: > > On 13.11.2015 18:29, Pankaj Dubey wrote: > > This patch moves Exynos PMU driver implementation from "arm/mach-exynos" > > to "drivers/soc/samsung". This driver is mainly used for setting misc >

[PATCH v5 0/9] samsung: pmu: split up SoC specific PMU data

2015-11-13 Thread Pankaj Dubey
ved Amit's Samsung id as it's no more valid. - Rebased on latest kgene tree. - Removed redundant code from regs-pmu.h Pankaj Dubey (9): ARM: EXYNOS: removing redundant code from regs-pmu.h ARM: EXYNOS: Fix potential NULL pointer access in exynos_sys_powerdown_conf ARM: EXYNO

[PATCH v5 1/9] ARM: EXYNOS: removing redundant code from regs-pmu.h

2015-11-13 Thread Pankaj Dubey
commit 6ec4f8d0d91f ("ARM: EXYNOS: add generic function to calculate cpu number") introduced exynos_pmu_cpunr to be used by multi-cluster SoC's e.g Exynos5420, but it's no more used in the codebase and hence removing this part of code. Signed-off-by: Pankaj Dubey Reviewed-by:

[PATCH v5 2/9] ARM: EXYNOS: Fix potential NULL pointer access in exynos_sys_powerdown_conf

2015-11-13 Thread Pankaj Dubey
If no platform devices binded to the driver but driver itself loaded and exynos_sys_powerdown_conf is called from arch/arm/mach-exynos/{suspend.c, pm.c} it will result in NULL pointer access, to prevent this added check on pmu_context for NULL. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof

[PATCH v5 4/9] ARM: EXYNOS: split up exynos3250 SoC specific PMU data

2015-11-13 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos3250 PMU configuration data and functions handing those data into exynos3250 SoC specific PMU file mach-exynos/exynos3250-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Makefile

[PATCH v5 3/9] ARM: EXYNOS: Move pmu specific headers under "linux/soc/samsung"

2015-11-13 Thread Pankaj Dubey
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: Amit Daniel Kachhap Signed-off-by: Pankaj Dubey --- arch/arm/

[PATCH v5 5/9] ARM: EXYNOS: split up exynos4 SoC specific PMU data

2015-11-13 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos4210, exynos4412 and exynos4212 PMU configuration data and functions handing data into a common exynos4 SoC specific PMU file mach-exynos/exynos4-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach

[PATCH v5 6/9] ARM: EXYNOS: split up exynos5250 SoC specific PMU data

2015-11-13 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos5250, PMU configuration data and functions handing data into exynos5250 SoC specific PMU file mach-exynos/exynos5250-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Makefile | 4

[PATCH v5 8/9] ARM: EXYNOS: rearrange static and non-static functions of PMU driver

2015-11-13 Thread Pankaj Dubey
This patch moves exynos_sys_powerdown_conf function above all static functions, to avoid confusion causing due to mixing of static-nonstatic-static functions and to improve readability of this driver. Signed-off-by: Pankaj Dubey Suggested-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/pmu.c

[PATCH v5 7/9] ARM: EXYNOS: split up exynos5420 SoC specific PMU data

2015-11-13 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos5420, PMU configuration data and functions handing data into exynos5420 SoC specific PMU file mach-exynos/exynos5420-pmu.c. Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/Makefile | 2 +- arch/arm/mach-exynos/exynos

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

2015-11-13 Thread Pankaj Dubey
re done in "arch/arm/mach-exynos/pmu.c" but moving ahead for ARM64 based SoC support, there is a need of this PMU driver in driver/* folder. This driver uses existing DT binding information and there should be no functionality change in the supported platforms. Signed-off-by: Amit Daniel

RE: [PATCH v4 3/9] ARM: EXYNOS: Move pmu specific headers under "linux/soc/samsung"

2015-11-13 Thread Pankaj Dubey
Hi Krzysztof, > -Original Message- > From: Krzysztof Kozlowski [mailto:k.kozlow...@samsung.com] > Sent: Thursday, November 12, 2015 9:40 AM > To: Pankaj Dubey; linux-samsung-soc@vger.kernel.org; linux- > ker...@vger.kernel.org; linux-arm-ker...@lists.infradead.

[PATCH v4 8/9] ARM: EXYNOS: rearrange static and non-static functions of PMU driver

2015-11-10 Thread Pankaj Dubey
This patch moves exynos_sys_powerdown_conf function above all static functions. Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/pmu.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/arch/arm/mach-exynos/pmu.c b/arch/arm/mach-exynos

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

2015-11-10 Thread Pankaj Dubey
re done in "arch/arm/mach-exynos/pmu.c" but moving ahead for ARM64 based SoC support, there is a need of this PMU driver in driver/* folder. This driver uses existing DT binding information and there should be no functionality change in the supported platforms. Signed-off-by: Amit Daniel

[PATCH v4 7/9] ARM: EXYNOS: split up exynos5420 SoC specific PMU data

2015-11-10 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos5420, PMU configuration data and functions handing data into exynos5420 SoC specific PMU file mach-exynos/exynos5420-pmu.c. Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/Makefile | 2 +- arch/arm/mach-exynos/exynos

[PATCH v4 5/9] ARM: EXYNOS: split up exynos4 SoC specific PMU data

2015-11-10 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos4210, exynos4412 and exynos4212 PMU configuration data and functions handing data into a common exynos4 SoC specific PMU file mach-exynos/exynos4-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach

[PATCH v4 6/9] ARM: EXYNOS: split up exynos5250 SoC specific PMU data

2015-11-10 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos5250, PMU configuration data and functions handing data into exynos5250 SoC specific PMU file mach-exynos/exynos5250-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Makefile | 4

[PATCH v4 4/9] ARM: EXYNOS: split up exynos3250 SoC specific PMU data

2015-11-10 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos3250 PMU configuration data and functions handing those data into exynos3250 SoC specific PMU file mach-exynos/exynos3250-pmu.c. Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/Makefile | 2 +- arch/arm/mach-exynos

[PATCH v4 3/9] ARM: EXYNOS: Move pmu specific headers under "linux/soc/samsung"

2015-11-10 Thread Pankaj Dubey
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: Amit Daniel Kachhap Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/exynos-pmu.h

[PATCH v4 2/9] ARM: EXYNOS: Fix potential NULL pointer access in exynos_sys_powerdown_conf

2015-11-10 Thread Pankaj Dubey
If no platform devices binded to the driver but driver itself loaded and exynos_sys_powerdown_conf is called from arch/arm/mach-exynos/{suspend.c, pm.c} it will result in NULL pointer access, to prevent this added check on pmu_context for NULL. Signed-off-by: Pankaj Dubey --- arch/arm/mach

[PATCH v4 1/9] ARM: EXYNOS: removing redundant code from regs-pmu.h

2015-11-10 Thread Pankaj Dubey
commit 6ec4f8d0d91f ("ARM: EXYNOS: add generic function to calculate cpu number") introduced exynos_pmu_cpunr to be used by multi-cluster SoC's e.g Exynos5420, but it's no more used in the codebase and hence removing this part of code. Signed-off-by: Pankaj Dubey Reviewed-by:

[PATCH v4 0/9] samsung: pmu: split up SoC specific PMU data

2015-11-10 Thread Pankaj Dubey
better readability. Changes since v2: - Removed Amit's Samsung id as it's no more valid. - Rebased on latest kgene tree. - Removed redundant code from regs-pmu.h Pankaj Dubey (9): ARM: EXYNOS: removing redundant code from regs-pmu.h ARM: EXYNOS: Fix potential NU

Re: [PATCH v3 4/7] ARCH: EXYNOS: split up exynos4 SoC specific PMU data

2015-11-04 Thread Pankaj Dubey
On Tuesday 03 November 2015 07:26 AM, Krzysztof Kozlowski wrote: On 26.10.2015 21:55, Pankaj Dubey wrote: This patch splits up mach-exynos/pmu.c file, and moves exynos4210, exynos4412 and exynos4212 PMU configuration data and functions handing data into a common exynos4 SoC specific PMU file

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

2015-11-04 Thread Pankaj Dubey
Hi Krzysztof, On Tuesday 03 November 2015 07:52 AM, Krzysztof Kozlowski wrote: On 26.10.2015 21:55, Pankaj Dubey 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 reg

Re: [PATCH v3 6/7] ARCH: EXYNOS: split up exynos5420 SoC specific PMU data

2015-11-04 Thread Pankaj Dubey
Hi Krzysztof, On Tuesday 03 November 2015 07:40 AM, Krzysztof Kozlowski wrote: On 26.10.2015 21:55, Pankaj Dubey wrote: This patch splits up mach-exynos/pmu.c file, and moves exynos5420, PMU configuration data and functions handing data into exynos5420 SoC specific PMU file mach-exynos

Re: [PATCH v3 5/7] ARCH: EXYNOS: split up exynos5250 SoC specific PMU data

2015-11-04 Thread Pankaj Dubey
On Tuesday 03 November 2015 07:37 AM, Krzysztof Kozlowski wrote: On 26.10.2015 21:55, Pankaj Dubey wrote: This patch splits up mach-exynos/pmu.c file, and moves exynos5250, PMU configuration data and functions handing data into exynos5250 SoC specific PMU file mach-exynos/exynos5250-pmu.c

Re: [PATCH v3 3/7] ARCH: EXYNOS: split up exynos3250 SoC specific PMU data

2015-11-04 Thread Pankaj Dubey
Hi Krzysztof, On Tuesday 03 November 2015 07:25 AM, Krzysztof Kozlowski wrote: On 26.10.2015 21:55, Pankaj Dubey wrote: This patch splits up mach-exynos/pmu.c file, and moves exynos3250 PMU configuration data and functions handing those data into exynos3250 SoC specific PMU file mach-exynos

Re: [PATCH v3 2/7] ARM: EXYNOS: Move pmu specific headers under "linux/soc/samsung"

2015-11-04 Thread Pankaj Dubey
On Tuesday 03 November 2015 07:16 AM, Krzysztof Kozlowski wrote: On 26.10.2015 21:55, Pankaj Dubey wrote: 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.

Re: [PATCH v3 1/7] ARM: EXYNOS: removing redundant code from regs-pmu.h

2015-11-04 Thread Pankaj Dubey
On Tuesday 03 November 2015 07:07 AM, Krzysztof Kozlowski wrote: On 26.10.2015 21:55, Pankaj Dubey wrote: commit 6ec4f8d0d91f ("ARM: EXYNOS: add generic function to calculate cpu number") introduced exynos_pmu_cpunr to be used by multi-cluster SoC's e.g Exynos5420, but it&#x

Re: [PATCH v3 0/7] samsung: pmu: split up SoC specific PMU data

2015-11-04 Thread Pankaj Dubey
Hi Krzysztof, On Tuesday 03 November 2015 07:36 AM, Krzysztof Kozlowski wrote: On 26.10.2015 21:55, Pankaj Dubey wrote: This patch series is a part of continuation work from following series [1] and [2]. 1: exynos: Move pmu driver to driver/soc folder and add exynos7 support http

Re: [PATCH v4 2/4] ARM: dts: Add SROMc to Exynos 5410

2015-10-30 Thread Pankaj Dubey
Hi Pavel, On Friday 30 October 2015 12:11 PM, Pavel Fedin wrote: Hello! -Original Message- From: linux-samsung-soc-ow...@vger.kernel.org [mailto:linux-samsung-soc-ow...@vger.kernel.org] On Behalf Of Pankaj Dubey Sent: Thursday, October 29, 2015 8:28 PM To: Pavel Fedin Cc: devicet

Re: [PATCH v4 0/4] [PATCH v4 0/4] Exynos SROMc configuration and Ethernet support for SMDK5410

2015-10-29 Thread Pankaj Dubey
xynos5410.dtsi | 15 ++ > arch/arm/mach-exynos/Kconfig | 2 +- > drivers/soc/samsung/Kconfig| 2 +- > drivers/soc/samsung/exynos-srom.c | 58 > +- > 6 files changed, 1

Re: [PATCH v4 4/4] ARM: dts: Add Ethernet chip to SMDK5410

2015-10-29 Thread Pankaj Dubey
gt; + reg = <0x0700 0x1>; > + phy-mode = "mii"; > + interrupt-parent = <&gpx0>; > + interrupts = <5 8>; > + reg-io-width = <2>; > + smsc,irq-push-pull; >

Re: [PATCH v4 2/4] ARM: dts: Add SROMc to Exynos 5410

2015-10-29 Thread Pankaj Dubey
<11 &gic 0 131 0>; > }; > + > + arch_timer { > + compatible = "arm,armv7-timer"; > + clock-frequency = <2400>; > + }; > + This

Re: [PATCH] ARM: exynos: Bring back reboot on Exynos5410

2015-10-29 Thread Pankaj Dubey
need to provide "syscon-provider" in our case it's PMU device node, register/offset and value to be written, and syscon-reboot driver will take care from registered restart-handler. Thanks, Pankaj Dubey Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Researc

Re: [PATCH] ARM: exynos: Bring back reboot on Exynos5410

2015-10-29 Thread Pankaj Dubey
d we will be using generic syscon based implementation for reboot, which is already present in Linux kernel. Thus effectively reducing LoC. Only we need to add device node entries in respective DT files, and this is being done for all Exynos SoCs including exynos5410. Thanks, Pankaj Dubey Kind rega

Re: [PATCH] ARM: EXYNOS: Constify local exynos_pmu_data structure

2015-10-28 Thread Pankaj Dubey
On 29 October 2015 at 07:10, Krzysztof Kozlowski wrote: > The Exynos5420 instance of exynos_pmu_data structure is not modified and > can be made const. > > Signed-off-by: Krzysztof Kozlowski > Suggested-by: Pavel Fedin Reviewed-by: Pankaj Dubey Thanks, Pankaj Dubey > >

Re: [PATCH] ARM: exynos: Bring back reboot on Exynos5410

2015-10-28 Thread Pankaj Dubey
merged, this will become redundant entry into PMU driver in the absence of any PMU data for Exynos5410. Alim has taken care of adding power-off and reboot device node in exynos5410.dtsi [2]. [1]: http://www.spinics.net/lists/devicetree/msg98858.html [2]: http://www.spinics.net/lists/devicetree/msg98

Re: [PATCH v2 1/4] ARM: dts: Add SROMc to Exynos 5410

2015-10-28 Thread Pankaj Dubey
it's not applicable for any of Exynos SoC, after confirmation from Kukjin. Shouldn't it be fixed then? Yes. It hasn't been pulled yet by arm-soc... Let's wait Kukjin's opinion how to deal with exynos[45].dtsi. Best regards, Krzysztof Thanks, Pankaj Dubey -- T

Re: [PATCH 4/4] Documentation: dt-bindings: Describe SROMc configuration

2015-10-26 Thread Pankaj Dubey
compatible = "samsung,exynos-srom"; reg = <0x1257 0x10>; + bank@3 { + bank = <3>; + width = <2>; + srom-timing = <1 9 12 1 9 1 1>; + }; }; Thanks, Pankaj Du

Re: [PATCH 3/4] ARM: dts: Add Ethernet chip to SMDK5410

2015-10-26 Thread Pankaj Dubey
ot;gpy6-4", "gpy6-5", "gpy6-6", "gpy6-7"; + samsung,pin-function = <2>; + samsung,pin-pud = <3>; + samsung,pin-drv = <0>; + }; +}; + &uart0 { status = "okay"; }; @@ -72,3

Re: [PATCH 1/4] ARM: dts: Add SROMc to Exynos 5410

2015-10-26 Thread Pankaj Dubey
quot;samsung,exynos5410-pmu", "syscon"; reg = <0x1004 0x5000>; Thanks, Pankaj Dubey -- 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

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

2015-10-26 Thread Pankaj Dubey
re done in "arch/arm/mach-exynos/pmu.c" but moving ahead for ARM64 based SoC support, there is a need of this PMU driver in driver/* folder. This driver uses existing DT binding information and there should be no functionality change in the supported platforms. Signed-off-by: Amit Daniel

[PATCH v3 6/7] ARCH: EXYNOS: split up exynos5420 SoC specific PMU data

2015-10-26 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos5420, PMU configuration data and functions handing data into exynos5420 SoC specific PMU file mach-exynos/exynos5420-pmu.c. Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/Makefile | 2 +- arch/arm/mach-exynos/exynos

[PATCH v3 5/7] ARCH: EXYNOS: split up exynos5250 SoC specific PMU data

2015-10-26 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos5250, PMU configuration data and functions handing data into exynos5250 SoC specific PMU file mach-exynos/exynos5250-pmu.c. Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/Makefile | 4 +- arch/arm/mach-exynos/exynos

[PATCH v3 4/7] ARCH: EXYNOS: split up exynos4 SoC specific PMU data

2015-10-26 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos4210, exynos4412 and exynos4212 PMU configuration data and functions handing data into a common exynos4 SoC specific PMU file mach-exynos/exynos4-pmu.c. Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/Makefile | 2 +- arch

[PATCH v3 3/7] ARCH: EXYNOS: split up exynos3250 SoC specific PMU data

2015-10-26 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos3250 PMU configuration data and functions handing those data into exynos3250 SoC specific PMU file mach-exynos/exynos3250-pmu.c. Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/Makefile | 2 +- arch/arm/mach-exynos

[PATCH v3 2/7] ARM: EXYNOS: Move pmu specific headers under "linux/soc/samsung"

2015-10-26 Thread Pankaj Dubey
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: Amit Daniel Kachhap Signed-off-by: Pankaj Dubey --- arch/arm/

[PATCH v3 1/7] ARM: EXYNOS: removing redundant code from regs-pmu.h

2015-10-26 Thread Pankaj Dubey
commit 6ec4f8d0d91f ("ARM: EXYNOS: add generic function to calculate cpu number") introduced exynos_pmu_cpunr to be used by multi-cluster SoC's e.g Exynos5420, but it's no more used in the codebase and hence removing this part of code. Signed-off-by: Pankaj Dubey --- arch/a

[PATCH v3 0/7] samsung: pmu: split up SoC specific PMU data

2015-10-26 Thread Pankaj Dubey
have been prepared on top of Kukjin Kim's for-next Changes since v2: - Removed Amit's Samsung id as it's no more valid. - Rebased on latest kgene tree. - Removed redundant code from regs-pmu.h Pankaj Dubey (7): ARM: EXYNOS: removing redundant code from regs-pmu.h ARM: EXYNO

[PATCH v5 6/8] drivers: soc: add support for exynos SROM driver

2015-10-20 Thread Pankaj Dubey
This patch adds Exynos SROM controller driver which will handle save restore of SROM registers during S2R. Signed-off-by: Pankaj Dubey --- drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc/samsung/Kconfig | 13 +++ drivers/soc/samsung

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

2015-10-20 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 Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Kconfig | 2 ++ arch/arm

[PATCH v5 7/8] MAINTAINERS: add maintainers entry for drivers/soc/samsung

2015-10-20 Thread Pankaj Dubey
This patch adds maintainers entry for new driver folder drivers/soc/samsung Signed-off-by: Pankaj Dubey Acked-by: Krzysztof Kozlowski --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7ba7ab7..262bba6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH v5 4/8] ARM: dts: add SROM device node for exynos4

2015-10-20 Thread Pankaj Dubey
Add device node of SROM controller for exynos4. CC: Rob Herring CC: Mark Rutland CC: Ian Campbell Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch

[PATCH v5 5/8] ARM: dts: add SROM device node for exynos5

2015-10-20 Thread Pankaj Dubey
Add SROM controller device node for exynos5. CC: Rob Herring CC: Mark Rutland CC: Ian Campbell Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos5.dtsi b/arch/arm

[PATCH v5 2/8] ARM: EXYNOS: code cleanup in map.h

2015-10-20 Thread Pankaj Dubey
Remove unused exynos5440 uart offset macro. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/include/mach/map.h | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-exynos/include/mach/map.h index

[PATCH v5 3/8] Documentation: dt-bindings: add exynos-srom binding information

2015-10-20 Thread Pankaj Dubey
This patch adds exynos-srom binding information for SROM Controller driver on Exynos SoCs. CC: Rob Herring CC: Mark Rutland CC: Ian Campbell Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/arm/samsung/exynos-srom.txt | 12 1

[PATCH v5 1/8] ARM: EXYNOS: remove unused static mapping of CMU for exynos5

2015-10-20 Thread Pankaj Dubey
Remove unused static mapping of exynos5 CMU and related code. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/exynos.c | 5 - arch/arm/mach-exynos/include/mach/map.h | 1 - 2 files changed, 6 deletions(-) diff --git a/arch/arm/mach-exynos

[PATCH v5 0/8] Add support for Exynos SROM Controller driver

2015-10-20 Thread Pankaj Dubey
Kozlowski. - Add two new patches for minor cleanup in exynos.c and map.h Pankaj Dubey (8): ARM: EXYNOS: remove unused static mapping of CMU for exynos5 ARM: EXYNOS: code cleanup in map.h Documentation: dt-bindings: add exynos-srom binding information ARM: dts: add SROM device node for

Re: [PATCH v4 6/8] drivers: soc: add support for exynos SROM driver

2015-10-20 Thread Pankaj Dubey
Kozlowski Thanks. Will update v5 soon with suggested modification. Thanks, Pankaj Dubey By the way, they will be useful only if pin controller driver for 5410 is accepted upstream, several authors have done it but i still didn't see it in upstream. Pin controller is needed in order to

Re: [PATCH v4 6/8] drivers: soc: add support for exynos SROM driver

2015-10-19 Thread Pankaj Dubey
Hi Krzysztof, On Tuesday 20 October 2015 05:40 AM, Krzysztof Kozlowski wrote: On 19.10.2015 20:46, Pankaj Dubey wrote: This patch adds Exynos SROM controller driver which will handle save restore of SROM registers during S2R. Signed-off-by: Pankaj Dubey --- drivers/soc/Kconfig

Re: [PATCH v3 6/8] drivers: soc: add support for exynos SROM driver

2015-10-19 Thread Pankaj Dubey
ffsets)); > + > + if (!exynos_srom_regs) { > + iounmap(exynos_srom_regs); > + return -ENOMEM; > + } > + > + return 0; > +} > > Instead of using a global static exynos_srom_base/exynos_srom_regs, why you > do not use platform_set

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

2015-10-19 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

[PATCH v4 7/8] MAINTAINERS: add maintainers entry for drivers/soc/samsung

2015-10-19 Thread Pankaj Dubey
This patch adds maintainers entry for new driver folder drivers/soc/samsung Signed-off-by: Pankaj Dubey --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7ba7ab7..262bba6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1438,6 +1438,7 @@ F

[PATCH v4 6/8] drivers: soc: add support for exynos SROM driver

2015-10-19 Thread Pankaj Dubey
This patch adds Exynos SROM controller driver which will handle save restore of SROM registers during S2R. Signed-off-by: Pankaj Dubey --- drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc/samsung/Kconfig | 13 +++ drivers/soc/samsung

[PATCH v4 5/8] ARM: dts: add SROM device node for exynos5

2015-10-19 Thread Pankaj Dubey
Add SROM controller device node for exynos5. CC: Rob Herring CC: Mark Rutland CC: Ian Campbell Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos5.dtsi b/arch/arm

[PATCH v4 4/8] ARM: dts: add SROM device node for exynos4

2015-10-19 Thread Pankaj Dubey
Add device node of SROM controller for exynos4. CC: Rob Herring CC: Mark Rutland CC: Ian Campbell Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch

[PATCH v4 2/8] ARM: EXYNOS: code cleanup in map.h

2015-10-19 Thread Pankaj Dubey
Remove unused exynos5440 uart offset macro. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/include/mach/map.h | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-exynos/include/mach/map.h index

[PATCH v4 3/8] Documentation: dt-bindings: add exynos-srom binding information

2015-10-19 Thread Pankaj Dubey
This patch adds exynos-srom binding information for SROM Controller driver on Exynos SoCs. CC: Rob Herring CC: Mark Rutland CC: Ian Campbell Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/arm/samsung/exynos-srom.txt | 12 1

[PATCH v4 1/8] ARM: EXYNOS: remove unused static mapping of CMU for exynos5

2015-10-19 Thread Pankaj Dubey
Remove unused static mapping of exynos5 CMU and related code. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/exynos.c | 5 - arch/arm/mach-exynos/include/mach/map.h | 1 - 2 files changed, 6 deletions(-) diff --git a/arch/arm/mach-exynos

[PATCH v4 0/8] Add support for Exynos SROM Controller driver

2015-10-19 Thread Pankaj Dubey
since v1: - Rebased to latest kgene tree. - Addressed review comments from Krzysztof Kozlowski. - Add two new patches for minor cleanup in exynos.c and map.h Pankaj Dubey (8): ARM: EXYNOS: remove unused static mapping of CMU for exynos5 ARM: EXYNOS: code cleanup in map.h Documentation: dt

Re: [4/7] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos5410 SoC

2015-10-19 Thread Pankaj Dubey
changed, 14 insertions(+) Reviewed-by: Pankaj Dubey Thanks, Pankaj Dubey -- 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: [3/7] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos5

2015-10-19 Thread Pankaj Dubey
insertions(+) Reviewed-by: Pankaj Dubey Thanks, Pankaj Dubey -- 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: [2/7] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos4

2015-10-19 Thread Pankaj Dubey
insertions(+) Reviewed-by: Pankaj Dubey Thanks, Pankaj Dubey -- 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

  1   2   3   4   5   6   >