[PATCH] video: fbdev: exynos: exynos_mipi_dsi_common.c: Cleaning up variable that is never used

2014-07-06 Thread Rickard Strandqvist
Variable ar assigned a value that is never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se ---

[PATCH] video: fbdev: exynos: s6e8ax0.c: Cleaning up variable that is never used

2014-07-06 Thread Rickard Strandqvist
Variable ar assigned a value that is never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se ---

[RFC PATCH 0/3] ARM: restart-notifier support for some architectures

2014-07-06 Thread Heiko Stübner
This series provides restart-notifier integration for the architectures I care about - S3C24XX and Rockchip. It of course depends on kernel: Add support for restart notifier call chain from Guenter Roeck. Samsung machines can generally be reset using their watchdog, but some also provide a

[RFC PATCH 2/3] clk: samsung: register restart notifiers for s3c2412 and s3c2443

2014-07-06 Thread Heiko Stübner
S3C2412, S3C2443 and their derivatives contain a special software-reset register in their system-controller. Therefore register a restart-notifier for those. Tested on a s3c2416-based board, s3c2412 compile-tested. Signed-off-by: Heiko Stuebner he...@sntech.de ---

[RFC PATCH 1/3] watchdog: s3c2410: add restart notifier

2014-07-06 Thread Heiko Stübner
On a lot of Samsung systems the watchdog is responsible for restarting the system and until now this code was contained in plat-samsung/watchdog-reset.c . With the introduction of the restart notifiers, this code can now move into driver itself, removing the need for arch-specific code. Tested

[RFC PATCH 3/3] clk: rockchip: add restart notifier

2014-07-06 Thread Heiko Stübner
Add infrastructure to write the correct value to the restart register and register the restart notifier for both rk3188 (including rk3066) and rk3188. Signed-off-by: Heiko Stuebner he...@sntech.de --- drivers/clk/rockchip/clk-rk3188.c | 2 ++ drivers/clk/rockchip/clk-rk3288.c | 2 ++

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

2014-07-06 Thread Pankaj Dubey
This series is doing code cleanup under arch/arm/mach-exynos. These patches have been separated from main exynos pmu v4 patch posted here [1]. [1]: https://lkml.org/lkml/2014/5/10/29 Changes Since v5: - Rebased on latest for-next of Kukjin Kim's tree. - Using of_machine_is_compatible instead

[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 pankaj.du...@samsung.com Reviewed-by: Tomasz Figa t.f...@samsung.com --- arch/arm/mach-exynos/common.h |8

[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 pankaj.du...@samsung.com Reviewed-by: Tomasz Figa t.f...@samsung.com --- arch/arm/mach-exynos/headsmp.S

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

2014-07-06 Thread Pankaj Dubey
Current pm_domain.c file uses S5P_INT_LOCAL_PWR_EN definition from regs-pmu.h and hence needs to include this header file. As there is no other user of S5P_INT_LOCAL_PWR_EN definition other than pm_domain, to remove regs-pmu.h header file dependency from pm_domain.c it's better we define this

[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 pankaj.du...@samsung.com Reviewed-by: Tomasz Figa t.f...@samsung.com --- arch/arm/mach-exynos/pmu.c |1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-exynos/pmu.c

[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-by: Pankaj Dubey

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

2014-07-06 Thread Pankaj Dubey
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 exynos_cpufreq_init function. This will help in reducing lines of code in exynos.c, making it

Re: [PATCH] drivers: phy: exynos-usb2: add support for Exynos 3250

2014-07-06 Thread Jaewon Kim
Hi, Marek 2014년 07월 04일 21:13, Marek Szyprowski 쓴 글: This patch adds support for Exynos3250 SoC to Exynos2USB PHY driver. Although Exynos3250 has only one device phy interface, the register layout and all operations that are required to get it enabled are almost same as on Exynos4x12. The

[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 pankaj.du...@samsung.com --- 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
Under arm/mach-exynos many files are using PMU register offsets. Since we have added support for accessing PMU base address via DT, now we can remove PMU mapping from exynosX_iodesc. Let's convert all these access using iomapped address. This will help us in removing static mapping of PMU base

RE: [PATCH 3/3] mmc: dw_mmc: Support voltage changes

2014-07-06 Thread Seungwon Jeon
On Fri, July 04, 2014, Seungwon Jeon wrote: On Tue, July 01, 2014. Yuvaraj Kumar wrote: On Fri, Jun 27, 2014 at 4:48 PM, Seungwon Jeon tgih@samsung.com wrote: Hi Yuvaraj, On Fri, June 27, 2014, Yuvaraj Kumar wrote: On Thu, Jun 26, 2014 at 10:20 PM, Doug Anderson

[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 pankaj.du...@samsung.com --- arch/arm/mach-exynos/common.h |1 + arch/arm/mach-exynos/exynos.c | 37 + 2 files changed, 38

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

2014-07-06 Thread Pankaj Dubey
This patch modifies Exynos Power Management Unit (PMU) initialization implementation in following way: - Added platform driver support and probe function where Exynos PMU driver will register itself as syscon provider with syscon framework. - Added platform struct exynos_pmu_data to hold