Re: [PATCH 2/2] cpufreq: Remove exynos_sort_descend_freq_table in exynos5440-cpufreq.c

2014-04-29 Thread Viresh Kumar
On 29 April 2014 11:44, Amit Kachhap amit.kach...@gmail.com wrote: In the frequency table dts file, the frequencies are arranged in descending order which maps 1 to 1 with other frequency parameter to be calculated and programmed in some registers. But the OPP library works by generating the

[PATCH 1/1] ARM: dts: Add PD entry to MFC codec on 5420

2014-04-29 Thread Sachin Kamat
PD entry was missing in MFC codec node. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- arch/arm/boot/dts/exynos5420.dtsi |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 6f662b5cc90d..2fd36b0a7568 100644

Re: [PATCHv2] ARM: dts: exynos4: clean up arm-pmu node

2014-04-29 Thread Tushar Behera
On 04/25/2014 07:35 AM, Chanho Park wrote: This patch cleans a arm-pmu node up for exynos4. Only exynos4412 series boards have four pmu interrupts. Rest of exynos4 boards, except 4412, have only two pmu interrupts. Thus, we can define two interrupts in the exynos4.dtsi and extends the

RE: [PATCH-RESEND] ARM: dts: Add arm-pmu node for exynos4412

2014-04-29 Thread Chanho Park
Hi Tushar, -Original Message- From: Tushar Behera [mailto:tushar.beh...@linaro.org] Sent: Tuesday, April 29, 2014 3:08 PM To: Chanho Park; kgene@samsung.com Cc: linux-samsung-soc@vger.kernel.org; thomas.abra...@linaro.org; linux- arm-ker...@lists.infradead.org; Kyungmin Park

RE: [PATCH 2/2] cpufreq: Remove exynos_sort_descend_freq_table in exynos5440-cpufreq.c

2014-04-29 Thread Jonghwan Choi
Thanks to Amit Kachhap Viresh Kumar -Original Message- From: Viresh Kumar [mailto:viresh.ku...@linaro.org] Sent: Tuesday, April 29, 2014 3:21 PM To: Amit Kachhap Cc: Jonghwan Choi; Kukjin Kim; linux-samsung-soc; Rafael J. Wysocki; linux-arm-ker...@lists.infradead.org; open

Re: [RESUBMIT RFC PATCH v2 3/3] drivers: mfd: Add support for Exynos PMU driver

2014-04-29 Thread Pankaj Dubey
On 04/28/2014 09:26 PM, Lee Jones wrote: This patch moves Exynos PMU driver implementation from arm/mach-exynos to drivers/mfd. This driver is mainly used for setting misc bits of register from PMU IP of Exynos SoC which will be required to configure before Suspend/Resume. Currently all these

Re: [RESUBMIT RFC PATCH v2 3/3] drivers: mfd: Add support for Exynos PMU driver

2014-04-29 Thread Pankaj Dubey
On 04/29/2014 02:37 AM, Catalin Marinas wrote: On Mon, Apr 28, 2014 at 01:26:46PM +0100, Lee Jones wrote: This patch moves Exynos PMU driver implementation from arm/mach-exynos to drivers/mfd. This driver is mainly used for setting misc bits of register from PMU IP of Exynos SoC which will be

Re: [PATCH-RESEND] ARM: dts: Add arm-pmu node for exynos4412

2014-04-29 Thread Tushar Behera
On 04/29/2014 12:26 PM, Chanho Park wrote: Hi Tushar, -Original Message- From: Tushar Behera [mailto:tushar.beh...@linaro.org] Sent: Tuesday, April 29, 2014 3:08 PM To: Chanho Park; kgene@samsung.com Cc: linux-samsung-soc@vger.kernel.org; thomas.abra...@linaro.org; linux-

Re: [RESEND PATCH v3 3/5] mfd: tps65090: Stop caching most registers

2014-04-29 Thread Lee Jones
On Mon, 28 Apr 2014, Doug Anderson wrote: Lee, On Mon, Apr 28, 2014 at 4:57 AM, Lee Jones lee.jo...@linaro.org wrote: Nearly all of the registers in tps65090 combine control bits and status bits. Turn off caching of all registers except the select few that can be cached.

Re: [RFC v2 PATCH v3 10/14] drm/panel: add S6E3FA0 driver

2014-04-29 Thread YoungJun Cho
On 04/29/2014 03:02 PM, YoungJun Cho wrote: Hi Laurent, Thank you for sharing your idea. On 04/29/2014 12:05 AM, Laurent Pinchart wrote: Hi YoungJun, On Tuesday 22 April 2014 10:24:39 YoungJun Cho wrote: On 04/22/2014 08:00 AM, Laurent Pinchart wrote: Hi YoungJun, Thank you for the patch.

Re: [PATCHv2 2/4] ARM: dts: exynos4: add exynos_usbphy node

2014-04-29 Thread Sachin Kamat
Hi Chanho, On 25 April 2014 12:29, Chanho Park chanho61.p...@samsung.com wrote: This patch enables a exynos_usbphy node for exynos4 SoCs. A exynos4x12 usb phy node is almost same with 4210's one except compatible string and pmu syscon. Cc: Tomasz Figa t.f...@samsung.com Cc: Kamil Debski

Re: [RESUBMIT RFC PATCH v2 3/3] drivers: mfd: Add support for Exynos PMU driver

2014-04-29 Thread Lee Jones
This patch moves Exynos PMU driver implementation from arm/mach-exynos to drivers/mfd. This driver is mainly used for setting misc bits of register from PMU IP of Exynos SoC which will be required to configure before Suspend/Resume. Currently all these settings are done in

RE: [PATCHv2 2/4] ARM: dts: exynos4: add exynos_usbphy node

2014-04-29 Thread Chanho Park
Hi Sachin, -Original Message- From: Sachin Kamat [mailto:sachin.ka...@linaro.org] Sent: Tuesday, April 29, 2014 6:23 PM To: Chanho Park Cc: Kukjin Kim; linux-samsung-soc; Tomasz Figa; Kamil Debski; devicet...@vger.kernel.org Subject: Re: [PATCHv2 2/4] ARM: dts: exynos4: add

[PATCH 11/15] ASoC: WM0010 needs SPI

2014-04-29 Thread Xia Kaixu
From: Arnd Bergmann a...@arndb.de The missing dependency can lead to build errors, so make it explicit in Kconfig. Signed-off-by: Arnd Bergmann a...@arndb.de Signed-off-by: Xia Kaixu kaixu@linaro.org Cc: Mark Brown broo...@kernel.org Cc: Liam Girdwood lgirdw...@gmail.com Cc: Ben Dooks

[PATCH 07/15] ASoC: UDA1380 needs I2C

2014-04-29 Thread Xia Kaixu
From: Arnd Bergmann a...@arndb.de The UDA1380 driver needs I2C to be enabled, so SND_SOC_SAMSUNG_H1940_UDA1380 and SND_SOC_SAMSUNG_RX1950_UDA1380 also require this. Signed-off-by: Arnd Bergmann a...@arndb.de Signed-off-by: Xia Kaixu kaixu@linaro.org Cc: Mark Brown broo...@kernel.org Cc:

[PATCH 10/15] ASoC: TLV320AIC23 and Simtec Hermes audio

2014-04-29 Thread Xia Kaixu
From: Arnd Bergmann a...@arndb.de This codec requires I2C to be enabled, so any other option that selects it should also depend on I2C. Signed-off-by: Arnd Bergmann a...@arndb.de Signed-off-by: Xia Kaixu kaixu@linaro.org Cc: Mark Brown broo...@kernel.org Cc: Liam Girdwood lgirdw...@gmail.com

[PATCH 13/15] ASoC: SND_S3C_DMA_LEGACY needs S3C24XX_DMA

2014-04-29 Thread Xia Kaixu
From: Arnd Bergmann a...@arndb.de SND_S3C_DMA_LEGACY can only be set on S3C24xx, which does not (yet) support the dmaengine framework, so samsung_dma_get_ops() fails to link if S3C24XX_DMA is disabled: sound/built-in.o: In function `dma_hw_params': :(.text+0x7f310): undefined reference to

[PATCH 03/15] ASoC: SMDK_WM8580_PCM needs REGMAP_I2C

2014-04-29 Thread Xia Kaixu
From: Arnd Bergmann a...@arndb.de This adds a missing dependency for SND_SOC_SMDK_WM8580_PCM to require REGMAP_I2C to be enabled, avoiding possible build erorrs. Signed-off-by: Arnd Bergmann a...@arndb.de Signed-off-by: Xia Kaixu kaixu@linaro.org Cc: Mark Brown broo...@kernel.org Cc: Liam

[PATCH 04/15] ASoC: samsung-idma: avoid 64-bit division

2014-04-29 Thread Xia Kaixu
From: Arnd Bergmann a...@arndb.de dma_addr_t may be 64 bit wide, which causes a build failure when doing a division on it. Here it is safe to cast to an u32 type, which avoids the problem. Signed-off-by: Arnd Bergmann a...@arndb.de Signed-off-by: Xia Kaixu kaixu@linaro.org Cc: Mark Brown

[PATCH 01/15] ASoC: CS42L51 and WM8962 codecs depend on INPUT

2014-04-29 Thread Xia Kaixu
From: Arnd Bergmann a...@arndb.de Building ARM randconfig got into a situation where CONFIG_INPUT is turned off and SND_SOC_ALL_CODECS is turned on, which failed for two codecs trying to use the input subsystem. Some other drivers also select one of these codecs and consequently need an explicit

Re: [PATCH V2 2/9] drm/panel: add pre_enable and post_disable routines

2014-04-29 Thread Ajay kumar
ping! On Fri, Apr 25, 2014 at 11:46 PM, Ajay kumar ajayn...@gmail.com wrote: On Fri, Apr 25, 2014 at 11:34 AM, Ajay kumar ajayn...@gmail.com wrote: On Friday, April 25, 2014, Thierry Reding thierry.red...@gmail.com wrote: On Thu, Apr 24, 2014 at 12:56:02AM +0530, Ajay kumar wrote: Thierry,

Re: [PATCH 0/8] i.MX6 PCIe binding change and MSI support

2014-04-29 Thread Lucas Stach
Hi Bjorn, Am Freitag, den 25.04.2014, 08:39 -0600 schrieb Bjorn Helgaas: [...] PCI: designware: split Exynos and i.MX bindings ARM: dts: imx6: update pcie to bring in line with new binding PCI: imx6: use new clock names PCI: imx6: drop old irq mapping PCI: imx6: rip out

Re: [PATCH v2 6/7] i2c: ChromeOS EC tunnel driver

2014-04-29 Thread Wolfram Sang
Hi, just a basic review to keep things rolling... On the original Samsung ARM Chromebook these devices were on an I2C bus that was shared between the AP and the EC and arbitrated using some extranal GPIOs (see i2c-arb-gpio-challenge). The original arbitration scheme worked well enough but

Re: [RFC v2 PATCH v3 10/14] drm/panel: add S6E3FA0 driver

2014-04-29 Thread YoungJun Cho
Hi Andrzej, Laurent, Thierry. CCing Steffen Trumtrar, On 04/29/2014 05:35 PM, YoungJun Cho wrote: On 04/29/2014 03:02 PM, YoungJun Cho wrote: Hi Laurent, Thank you for sharing your idea. On 04/29/2014 12:05 AM, Laurent Pinchart wrote: Hi YoungJun, On Tuesday 22 April 2014 10:24:39

Re: [PATCH V2 7/9] drm/bridge: ptn3460: add drm_panel controls

2014-04-29 Thread Rob Clark
On Mon, Apr 28, 2014 at 9:08 AM, Ajay kumar ajayn...@gmail.com wrote: Daniel, On Sun, Apr 27, 2014 at 6:25 PM, Daniel Vetter dan...@ffwll.ch wrote: On Fri, Apr 25, 2014 at 8:17 AM, Ajay kumar ajayn...@gmail.com wrote: We can call panel_enable/disable at the right point. Even the bridge chips

Re: [PATCH v4 2/7] arm64: Decouple page size from level of translation tables

2014-04-29 Thread Catalin Marinas
Jungseok, On Tue, Apr 29, 2014 at 05:59:20AM +0100, Jungseok Lee wrote: +choice + prompt Level of translation tables + default ARM64_3_LEVELS if ARM64_4K_PAGES + default ARM64_2_LEVELS if ARM64_64K_PAGES + help + Allows level of translation tables. + +config

Re: [PATCH v4 3/7] arm64: Introduce a kernel configuration option for VA_BITS

2014-04-29 Thread Catalin Marinas
On Tue, Apr 29, 2014 at 05:59:23AM +0100, Jungseok Lee wrote: +config ARM64_VA_BITS + int Virtual address space size + range 39 39 if ARM64_4K_PAGES ARM64_3_LEVELS + range 42 42 if ARM64_64K_PAGES ARM64_2_LEVELS + help + This feature is determined by a combination of

Re: [PATCH v4 4/7] arm64: Add a description on 48-bit address space with 4KB pages

2014-04-29 Thread Catalin Marinas
On Tue, Apr 29, 2014 at 05:59:27AM +0100, Jungseok Lee wrote: --- a/Documentation/arm64/memory.txt +++ b/Documentation/arm64/memory.txt @@ -8,10 +8,11 @@ This document describes the virtual memory layout used by the AArch64 Linux kernel. The architecture allows up to 4 levels of translation

Re: [RFC v3 PATCH v2 10/16] drm/exynos: dsi: add driver data to support Exynos5420

2014-04-29 Thread Sachin Kamat
On 27 April 2014 07:20, YoungJun Cho yj44@samsung.com wrote: The offset of register DSIM_PLLTMR_REG in Exynos5420 is different from the one in Exynos4 SoC. In case of Exynos5420 SoC, there is no frequency band bit in DSIM_PLLCTRL_REG, and it uses DSIM_PHYCTRL_REG and DSIM_PHYTIMING*_REG

Re: [RFC v3 PATCH 08/16] drm/exynos: fimd: support I80 interface

2014-04-29 Thread Sachin Kamat
Hi YoungJun, On 27 April 2014 07:20, YoungJun Cho yj44@samsung.com wrote: To support MIPI DSI command mode interface, FIMD should do followings: - Sets LCD block configuration for I80 interface. - Uses lcd_sys as an IRQ resource and sets relevant IRQ configuration. - Implements trigger

Re: [PATCH 51/97] ARM: l2c: remove platforms/SoCs setting early BRESP

2014-04-29 Thread Stephen Warren
On 04/28/2014 06:02 PM, Simon Horman wrote: On Mon, Apr 28, 2014 at 08:30:32PM +0100, Russell King wrote: Since we now automatically enable early BRESP in core L2C-310 code when we detect a Cortex-A9, we don't need platforms/SoCs to set this bit explicitly. Instead, they should seek to

Re: [RESEND PATCH v3 2/5] charger: tps65090: Allow charger module to be used when no irq

2014-04-29 Thread Doug Anderson
Anton, On Wed, Apr 23, 2014 at 8:56 AM, Doug Anderson diand...@chromium.org wrote: On the ARM Chromebook tps65090 has two masters: the AP (the main processor running linux) and the EC (the embedded controller). The AP is allowed to mess with FETs but the EC is in charge of charge control.

Re: [PATCH 5/5] devfreq: exynos5: Use devm_devfreq_* function using device resource management

2014-04-29 Thread Sachin Kamat
Hi Chanwoo, On 25 April 2014 14:38, Chanwoo Choi cw00.c...@samsung.com wrote: This patch uses devm_devfreq_add_device()/devm_devfreq_register_opp_notifier() to control automatically the resource of devfreq. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Cc: Kukjin Kim

Re: [PATCH v4 6/7] arm64: mm: Implement 4 levels of translation tables

2014-04-29 Thread Catalin Marinas
On Tue, Apr 29, 2014 at 05:59:33AM +0100, Jungseok Lee wrote: diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S index 0fd5650..03ec424 100644 --- a/arch/arm64/kernel/head.S +++ b/arch/arm64/kernel/head.S @@ -37,8 +37,9 @@ /* * swapper_pg_dir is the virtual address of the

Re: [RESEND PATCH v3 5/5] regulator: tps65090: Make FETs more reliable by adding retries

2014-04-29 Thread Mark Brown
On Wed, Apr 23, 2014 at 08:56:05AM -0700, Doug Anderson wrote: An issue was discovered with tps65090 where sometimes the FETs wouldn't actually turn on when requested (they would report overcurrent). The most problematic FET was the one used for the LCD Applied, thanks. signature.asc

Re: [PATCH 2/3] [media] s5p-mfc: Core support to add v8 decoder

2014-04-29 Thread Sachin Kamat
Hi Arun, On 23 April 2014 18:27, Arun Kumar K arun...@samsung.com wrote: From: Kiran AVND avnd.ki...@samsung.com This patch adds variant data and core support for V8 decoder. This patch also adds the register definition file for new firmware version v8 for MFC. Signed-off-by: Kiran AVND

Re: [PATCH v4 1/7] arm64: Use pr_* instead of printk

2014-04-29 Thread Mitchel Humpherys
On Mon, Apr 28 2014 at 09:59:14 PM, Jungseok Lee jays@samsung.com wrote: This patch fixed the following checkpatch complaint as using pr_* instead of printk. WARNING: printk() should include KERN_ facility level Cc: Catalin Marinas catalin.mari...@arm.com Signed-off-by: Jungseok Lee

Re: [PATCH V2] ASoC: SAMSUNG: Add sound card driver for Snow board

2014-04-29 Thread Mark Brown
On Fri, Apr 25, 2014 at 09:46:11AM +0530, Tushar Behera wrote: On 04/24/2014 07:09 PM, Mark Brown wrote: defined. Why is that? Also, why is the secondary I2S playback stream not supported (this may be a reason to restrict to only the one I2S interface)? AFAICS, I2S driver doesn't

Re: [RFC v3 PATCH v2 10/16] drm/exynos: dsi: add driver data to support Exynos5420

2014-04-29 Thread YoungJun Cho
Hi Sachin, Thank you for comment. I'll fix. Thank you. Best regards YJ On 04/30/2014 12:26 AM, Sachin Kamat wrote: On 27 April 2014 07:20, YoungJun Cho yj44@samsung.com wrote: The offset of register DSIM_PLLTMR_REG in Exynos5420 is different from the one in Exynos4 SoC. In case of

Re: [RFC v3 PATCH 08/16] drm/exynos: fimd: support I80 interface

2014-04-29 Thread YoungJun Cho
Hi Sachin, Thank you for comment. I'll fix. Thank you. Best regards YJ On 04/30/2014 12:35 AM, Sachin Kamat wrote: Hi YoungJun, On 27 April 2014 07:20, YoungJun Cho yj44@samsung.com wrote: To support MIPI DSI command mode interface, FIMD should do followings: - Sets LCD block

Re: [PATCH 5/5] devfreq: exynos5: Use devm_devfreq_* function using device resource management

2014-04-29 Thread Chanwoo Choi
Hi Sachin, On 04/30/2014 01:54 AM, Sachin Kamat wrote: Hi Chanwoo, On 25 April 2014 14:38, Chanwoo Choi cw00.c...@samsung.com wrote: This patch uses devm_devfreq_add_device()/devm_devfreq_register_opp_notifier() to control automatically the resource of devfreq. Signed-off-by: Chanwoo

Re: [PATCH v4 3/7] arm64: Introduce a kernel configuration option for VA_BITS

2014-04-29 Thread Jungseok Lee
On Tuesday, April 29, 2014 11:45 PM, Catalin Marinas wrote: On Tue, Apr 29, 2014 at 05:59:23AM +0100, Jungseok Lee wrote: +config ARM64_VA_BITS + int Virtual address space size + range 39 39 if ARM64_4K_PAGES ARM64_3_LEVELS + range 42 42 if ARM64_64K_PAGES ARM64_2_LEVELS +

Re: [PATCH v4 1/7] arm64: Use pr_* instead of printk

2014-04-29 Thread Jungseok Lee
On Wednesday, April 30, 2014 5:35 AM, Mitchel Humpherys wrote: On Mon, Apr 28 2014 at 09:59:14 PM, Jungseok Lee jays@samsung.com wrote: This patch fixed the following checkpatch complaint as using pr_* instead of printk. WARNING: printk() should include KERN_ facility level Cc:

Re: [PATCH v4 6/7] arm64: mm: Implement 4 levels of translation tables

2014-04-29 Thread Jungseok Lee
On Wednesday, April 30, 2014 2:04 AM, Catalin Marinas wrote: On Tue, Apr 29, 2014 at 05:59:33AM +0100, Jungseok Lee wrote: diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S index 0fd5650..03ec424 100644 --- a/arch/arm64/kernel/head.S +++ b/arch/arm64/kernel/head.S @@

Re: [PATCH v4 2/7] arm64: Decouple page size from level of translation tables

2014-04-29 Thread Jungseok Lee
On Tuesday, April 29, 2014 11:41 PM, Catalin Marinas wrote: Jungseok, Hi, Catalin On Tue, Apr 29, 2014 at 05:59:20AM +0100, Jungseok Lee wrote: +choice + prompt Level of translation tables + default ARM64_3_LEVELS if ARM64_4K_PAGES + default ARM64_2_LEVELS if ARM64_64K_PAGES +

Re: [PATCH v7 1/2] phy: Add new Exynos5 USB 3.0 PHY driver

2014-04-29 Thread Vivek Gautam
Hi Kishon, Tomasz, On Mon, Apr 28, 2014 at 11:47 AM, Vivek Gautam gautam.vi...@samsung.com wrote: Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. The new driver uses the generic PHY framework and will interact with DWC3 controller present on Exynos5 series of SoCs. Thereby,

Re: [PATCH 04/15] ASoC: samsung-idma: avoid 64-bit division

2014-04-29 Thread Tushar Behera
On 04/29/2014 04:48 PM, Xia Kaixu wrote: From: Arnd Bergmann a...@arndb.de dma_addr_t may be 64 bit wide, which causes a build failure when doing a division on it. Here it is safe to cast to an u32 type, which avoids the problem. Signed-off-by: Arnd Bergmann a...@arndb.de Signed-off-by:

Re: [PATCH Resend] ARM: EXYNOS: Map SYSRAM address through DT

2014-04-29 Thread Sachin Kamat
Hi Heiko, On 16 April 2014 22:55, Heiko Stübner he...@sntech.de wrote: Hi, Am Mittwoch, 16. April 2014, 16:35:36 schrieb Arnd Bergmann: On Wednesday 16 April 2014 17:20:51 Sachin Kamat wrote: Instead of hardcoding the SYSRAM details for each SoC, pass this information through device tree

Re: [PATCH v3 3/4] usb: ohci-exynos: Add facility to use phy provided by the generic phy framework

2014-04-29 Thread Vivek Gautam
Hi, On Mon, Apr 28, 2014 at 9:11 PM, Alan Stern st...@rowland.harvard.edu wrote: On Mon, 28 Apr 2014, Vivek Gautam wrote: Add support to consume phy provided by Generic phy framework. Keeping the support for older usb-phy intact right now, in order to prevent any functionality break in

Re: [PATCH v12 00/31] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2014-04-29 Thread Shaik Ameer Basha
On Mon, Apr 28, 2014 at 2:04 PM, Arnd Bergmann a...@arndb.de wrote: On Sunday 27 April 2014 13:07:32 Shaik Ameer Basha wrote: The current exynos-iommu(System MMU) driver does not work autonomously since it is lack of support for power management of peripheral blocks. For example, MFC device

[PATCH v3 01/12] ARM: EXYNOS: Make exynos machine_ops as static

2014-04-29 Thread Pankaj Dubey
As machine function ops are used only in this file let's make them static. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com --- arch/arm/mach-exynos/exynos.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-exynos/exynos.c

[PATCH v3 04/12] ARM: EXYNOS: Move SYSREG definition into sys-reg specific file.

2014-04-29 Thread Pankaj Dubey
From: Young-Gun Jang yg1004.j...@samsung.com 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

[PATCH v3 08/12] ARM: EXYNOS: Remove linux/bug.h from pmu.c

2014-04-29 Thread Pankaj Dubey
This patch removes unnecessary header file inclusion from pmu.c. Signed-off-by: Young-Gun Jang yg1004.j...@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 v3 12/12] ARM: EXYNOS: Move PMU specific definitions from common.h

2014-04-29 Thread Pankaj Dubey
From: Young-Gun Jang yg1004.j...@samsung.com This patch moves PMU specific definitions into a new file as exynos-pmu.h. This will help in making PMU implementation independent of common.h header. Signed-off-by: Young-Gun Jang yg1004.j...@samsung.com Signed-off-by: Pankaj Dubey

[PATCH v3 05/12] ARM: EXYNOS: Remove file path from comment section

2014-04-29 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 v3 03/12] ARM: EXYNOS: Cleanup mach-exynos/common.h file

2014-04-29 Thread Pankaj Dubey
Remove unused and unwanted declarations from mach-exynos/common.h Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com --- arch/arm/mach-exynos/common.h |9 - 1 file changed, 9 deletions(-) diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h index

[PATCH v3 02/12] ARM: EXYNOS: Move cpufreq and cpuidle device registration to init_machine

2014-04-29 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

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

2014-04-29 Thread Pankaj Dubey
This patch modifies Exynos Power Management Unit (PMU) initialization implementation in following way: - Added platform_device support by registering static platform device. - Added platform struct exynos_pmu_data to hold platform specific data. - For each SoC's PMU support now we can add

[PATCH v3 10/12] ARM: EXYNOS: Move mach/map.h inclusion from regs-pmu.h to platsmp.c

2014-04-29 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. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com ---

[PATCH v3 00/12] ARM: Exynos: PMU cleanup and refactoring for using DT

2014-04-29 Thread Pankaj Dubey
This patch series, does some minor cleanup of exynos machine files. It also modifies Exynos Power Management Unit (PMU) related code for converting it into a platform_driver. This is also preparation for moving PMU related code out of machine folder into a either drivers/mfd, or drivers/power or

[PATCH v3 06/12] ARM: EXYNOS: Remove regs-pmu.h header dependency from pm_domain

2014-04-29 Thread Pankaj Dubey
From: Young-Gun Jang yg1004.j...@samsung.com 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

[PATCH v3 09/12] ARM: EXYNOS: Refactored code for using PMU address via DT

2014-04-29 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 either of iomapped address or regmap handle. This will help us in removing

[PATCH v3 07/12] ARM: EXYNOS: Add support for mapping PMU base address via DT

2014-04-29 Thread Pankaj Dubey
From: Young-Gun Jang yg1004.j...@samsung.com Add support for mapping Samsung Power Management Unit (PMU) base address from device tree. This patch also adds helper function as get_exynos_pmuregmap. This function can be used by other machine files such as pm.c, hotplug.c for accessing PMU regmap