Re: [PATCHv2 1/3] of: Split early_init_dt_scan into two parts

2014-07-02 Thread Tushar Behera
On 07/02/2014 07:33 AM, Laura Abbott wrote: Currently, early_init_dt_scan validates the header, sets the boot params, and scans for chosen/memory all in one function. Split this up into two separate functions (validation/setting boot params in one, scanning in another) to allow for additional

Re: [PATCH 4/7] Exynos: add support for 'domain-always-on' property

2014-07-02 Thread Joonyoung Shim
Hi Marek, On 07/01/2014 06:08 PM, Marek Szyprowski wrote: Hello, On 2014-07-01 10:52, Tobias Jakobi wrote: Hello Marek, I think you had a similar patch in the tizen tree, but according to Tomasz Figa, it was considered a hack. I don't quite see how this is different. Also, if I have been

ASoC: samsung: MACH_SMDK6450

2014-07-02 Thread Paul Bolle
Kukjin, Your commit 0aeaa68cf509 (ASoC: samsung: no more support for S5P6440 and S5P6450 SoCs) landed in next-20140702. It removed references to MACH_SMDK6440 and MACH_SMDK6450 from sound/soc/samsung/. It seems to have missed one reference to MACH_SMDK6450 in sound/soc/samsung/Kconfig

[PATCH] drivers: phy: exynos4x12-phy: Add missing MODULE_DEVICE_TABLE

2014-07-02 Thread Sjoerd Simons
Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk --- drivers/phy/phy-samsung-usb2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/phy-samsung-usb2.c b/drivers/phy/phy-samsung-usb2.c index 8a8c6bc..1e69a32 100644 --- a/drivers/phy/phy-samsung-usb2.c +++

Re: [PATCH 4/7] Exynos: add support for 'domain-always-on' property

2014-07-02 Thread Marek Szyprowski
Hello, On 2014-07-01 19:54, Tobias Jakobi wrote: Marek Szyprowski wrote: On 2014-07-01 10:52, Tobias Jakobi wrote: I think you had a similar patch in the tizen tree, but according to Tomasz Figa, it was considered a hack. I don't quite see how this is different. Also, if I have been

ASoC: samsung: MACH_SMDKC100

2014-07-02 Thread Paul Bolle
Kukjin, Your commit 52ad6582ceb2 (ARM: S5PC100: no more support S5PC100 SoC landed in next-20140702. It removed the Kconfig symbol MACH_SMDKC100 (and a lot of other stuff). Is the trivial patch to also remove the last two references to MACH_SMDKC100 from sound/soc/samsung/Kconfig/ queued

Re: [PATCH] drivers: phy: exynos4x12-phy: Add missing MODULE_DEVICE_TABLE

2014-07-02 Thread Kishon Vijay Abraham I
Hi, On Wednesday 02 July 2014 01:18 PM, Sjoerd Simons wrote: Please add a commit log here describing what your patch does and why you need it. Cheers Kishon Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk --- drivers/phy/phy-samsung-usb2.c | 1 + 1 file changed, 1 insertion(+)

[PATCH 1/3] ARM: exynos: remove unused mach/memory.h

2014-07-02 Thread Uwe Kleine-König
ARCH_EXYNOS doesn't select NEED_MACH_MEMORY_H, so asm/memory.h doesn't include mach/memory.h and so this file is not used and can go away. Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de --- Cc: Kukjin Kim kgene@samsung.com Cc: linux-samsung-soc@vger.kernel.org ---

Re: [PATCH v5 05/14] clk: Add generic driver for Maxim PMIC clocks

2014-07-02 Thread Javier Martinez Canillas
Hello Mike, On 07/01/2014 07:26 PM, Mike Turquette wrote: Quoting Yadwinder Singh Brar (2014-06-29 21:01:36) Hi Javier, On Thu, Jun 26, 2014 at 11:45 PM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: Maxim Integrated Power Management ICs are very similar with regard to

Re: [PATCH v5 04/14] clk: max77686: Improve Maxim 77686 PMIC clocks binding

2014-07-02 Thread Javier Martinez Canillas
Hello Mike, On 07/01/2014 07:29 PM, Mike Turquette wrote: Quoting Javier Martinez Canillas (2014-06-26 11:15:36) Like most clock drivers, the Maxim 77686 PMIC clock binding follows the convention that the #clock-cells property is used to specify the number of cells in a clock provider. But

Re: [PATCH v5 05/14] clk: Add generic driver for Maxim PMIC clocks

2014-07-02 Thread Krzysztof Kozlowski
On śro, 2014-07-02 at 12:13 +0200, Javier Martinez Canillas wrote: Hello Mike, On 07/01/2014 07:26 PM, Mike Turquette wrote: Quoting Yadwinder Singh Brar (2014-06-29 21:01:36) Hi Javier, On Thu, Jun 26, 2014 at 11:45 PM, Javier Martinez Canillas javier.marti...@collabora.co.uk

ABBA deadlock in Common Clock Framework

2014-07-02 Thread Tomasz Figa
Hi All, While testing linux-next (next-20140625) on Exynos4412-based TRATS2 board, from time to time I hit a deadlock between clk_disable_unused() of Common Clock Framework and parallel clk_prepare() from s3c24xx-i2c driver. I believe the following is happening (in processes 1 and 2): 1:

Re: ABBA deadlock in Common Clock Framework

2014-07-02 Thread Russell King - ARM Linux
On Wed, Jul 02, 2014 at 12:59:04PM +0200, Tomasz Figa wrote: Hi All, While testing linux-next (next-20140625) on Exynos4412-based TRATS2 board, from time to time I hit a deadlock between clk_disable_unused() of Common Clock Framework and parallel clk_prepare() from s3c24xx-i2c driver. This

Re: ABBA deadlock in Common Clock Framework

2014-07-02 Thread Peter De Schrijver
On Wed, Jul 02, 2014 at 12:59:04PM +0200, Tomasz Figa wrote: Hi All, While testing linux-next (next-20140625) on Exynos4412-based TRATS2 board, from time to time I hit a deadlock between clk_disable_unused() of Common Clock Framework and parallel clk_prepare() from s3c24xx-i2c driver. I

Re: ABBA deadlock in Common Clock Framework

2014-07-02 Thread Sylwester Nawrocki
On 02/07/14 13:49, Peter De Schrijver wrote: Or if you use notifiers which use i2c... See also http://comments.gmane.org/gmane.linux.kernel/1553699. One workaround is to always leave the clock of the i2c controller in a prepared state. Keeping the clock always prepared might not be that bad,

Re: [RFC 0/4] ARM: dts: exynos: Prepare Spring

2014-07-02 Thread Vincent Palatin
On Tue, Jul 1, 2014 at 9:18 PM, Andreas Färber afaer...@suse.de wrote: Am 23.06.2014 23:24, schrieb Andreas Färber: Am 23.06.2014 22:11, schrieb Benson Leung: On Mon, Jun 23, 2014 at 12:57 PM, Doug Anderson diand...@chromium.org wrote: Also when the screen stayed on, the embedded

[RFC PATCH v3] ARM: EXYNOS: Use MCPM call-backs to support S2R on Exynos5420

2014-07-02 Thread Abhilash Kesavan
Use the MCPM layer to handle core suspend/resume on Exynos5420. Also, restore the entry address setup code post-resume. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com --- Hi Lorenzo and Nicolas, I have re-worked the patch to use the residency value as an indicator of the current state.

Re: [PATCH v5 04/14] clk: max77686: Improve Maxim 77686 PMIC clocks binding

2014-07-02 Thread Mike Turquette
Quoting Javier Martinez Canillas (2014-07-02 03:17:54) Hello Mike, On 07/01/2014 07:29 PM, Mike Turquette wrote: Quoting Javier Martinez Canillas (2014-06-26 11:15:36) Like most clock drivers, the Maxim 77686 PMIC clock binding follows the convention that the #clock-cells property is

[PATCH 0/6] Various improvements for samsung-pinctrl driver

2014-07-02 Thread Tomasz Figa
This series fixes various shortcommings of the Samsung pin control driver that have been spotted while using it on various platforms with multiple use cases and requirements. Most of the patches are independent of each other, with the exception of patch 4/6 which depends on patch 3/6, due to

[PATCH 1/6] pinctrl: samsung: Decouple direction setting from pinctrl

2014-07-02 Thread Tomasz Figa
This patch makes the pinctrl-samsung driver configure GPIO direction on its own, without using the pinctrl_gpio_direction_*() helpers. The rationale behind this change is as follows: - pinctrl-samsung does not need translation from GPIO namespace to pinctrl namespace to handle GPIO operations

[PATCH 3/6] pinctrl: exynos: Consolidate irq_chips of GPIO and WKUP EINTs

2014-07-02 Thread Tomasz Figa
Handling of irq_chip operations for GPIO and WKUP external interrupts is mostly the same, with the difference being offset of registers. However currently the driver has all the code duplicated for both EINT types, which is undesirable, because changes in irq_chip operations have to be done to

[PATCH 5/6] pinctrl: samsung: Allow grouping multiple pinmux/pinconf nodes

2014-07-02 Thread Tomasz Figa
One of remaining limitations of current pinctrl-samsung driver was the inability to parse multiple pinmux/pinconf group nodes grouped inside a single device tree node. It made defining groups of pins for single purpose, but with different parameters very inconvenient. This patch implements

[PATCH 4/6] pinctrl: exynos: Lock GPIOs as interrupts when used as EINTs

2014-07-02 Thread Tomasz Figa
Currently after configuring a GPIO pin as an interrupt related pinmux registers are changed, but there is no protection from calling gpio_direction_*() in a badly written driver, which would cause the same pinmux register to be reconfigured for regular input/output and this disabling interrupt

[PATCH 2/6] pinctrl: samsung: Handle GPIO request and free using pinctrl helpers

2014-07-02 Thread Tomasz Figa
This patch adds .request() and .free() operations to gpio_chip of pinctrl-samsung driver, which call pinctrl request and free helpers to request and free pinctrl pin along with GPIO pin. Signed-off-by: Tomasz Figa t.f...@samsung.com --- drivers/pinctrl/pinctrl-samsung.c | 15 ++- 1

Re: [PATCH 1/3 v5] spi: s3c64xx: fix broken cs_gpios usage in the driver

2014-07-02 Thread Mark Brown
On Fri, Jun 13, 2014 at 09:29:50AM +0530, Naveen Krishna Chatradhi wrote: Hence, spi-s3c64xx.c is broken since Jun 21 11:26:12 2013 and considering the time with no compliants about the breakage. I'm not clear what the breakage is? Some boards are broken but what's the driver issue?

[GIT PULL] Samsung clock fixes for v3.16

2014-07-02 Thread Tomasz Figa
The following changes since commit b640a6037c9ecd1f0ad23a8e9b4ca5f5b4112508: Merge tag 'sunxi-clk-for-3.16-2' of https://github.com/mripard/linux into clk-next (2014-06-11 07:11:59 -0700) are available in the git repository at:

Re: [PATCH v2] clk: s2mps11: Fix clk_ops

2014-07-02 Thread Mike Turquette
Quoting Karol Wrona (2014-07-01 10:13:59) s2mps11 clocks had registered callbacks for prepare ,unprepare and is_enabled. During disabling unused clocks the lack of is_prepared caused that unused s2mps11 clocks were not unprepared and stayed active. Regmap_read is cached so it can be called

Re: [GIT PULL] Samsung clock fixes for v3.16

2014-07-02 Thread Mike Turquette
Quoting Tomasz Figa (2014-07-02 09:52:06) The following changes since commit b640a6037c9ecd1f0ad23a8e9b4ca5f5b4112508: Merge tag 'sunxi-clk-for-3.16-2' of https://github.com/mripard/linux into clk-next (2014-06-11 07:11:59 -0700) are available in the git repository at:

Re: [PATCH 00/17] ARM: S5P64X0, S5PC100: no more support in mainline

2014-07-02 Thread Tomasz Figa
Hi Kukjin, On 30.06.2014 23:32, Kukjin Kim wrote: This series removes S5P64X0 and S5PC100 related codes in mainline, because no more user now. And if its supporting is required later, it will be done with using device tree. [PATCH 01/17] ARM: S5P64X0: no more support S5P6440 and S5P6450

Re: [GIT PULL] Samsung clock fixes for v3.16

2014-07-02 Thread Tomasz Figa
On 02.07.2014 19:13, Mike Turquette wrote: Quoting Tomasz Figa (2014-07-02 09:52:06) The following changes since commit b640a6037c9ecd1f0ad23a8e9b4ca5f5b4112508: Merge tag 'sunxi-clk-for-3.16-2' of https://github.com/mripard/linux into clk-next (2014-06-11 07:11:59 -0700) are available

Re: ASoC: samsung: MACH_SMDK6450

2014-07-02 Thread Kukjin Kim
On 07/02/14 18:23, Mark Brown wrote: On Wed, Jul 02, 2014 at 09:47:18AM +0200, Paul Bolle wrote: Your commit 0aeaa68cf509 (ASoC: samsung: no more support for S5P6440 and S5P6450 SoCs) landed in next-20140702. It removed references to MACH_SMDK6440 and MACH_SMDK6450 from sound/soc/samsung

Re: [PATCH 00/17] ARM: S5P64X0, S5PC100: no more support in mainline

2014-07-02 Thread Kukjin Kim
On 07/03/14 03:02, Tomasz Figa wrote: Hi Kukjin, Hi, On 30.06.2014 23:32, Kukjin Kim wrote: This series removes S5P64X0 and S5PC100 related codes in mainline, because no more user now. And if its supporting is required later, it will be done with using device tree. [PATCH 01/17] ARM:

RE: [PATCH v2 0/4] Add support for Exynos clock output configuration

2014-07-02 Thread Mike Turquette
Quoting Kukjin Kim (2014-06-25 03:36:51) Tomasz Figa wrote: Hi Tomasz, On all Exynos SoCs there is a dedicated CLKOUT pin that allows many of internal SoC clocks to be output from the SoC. The hardware structure Yeah, because the CLKOUT pin is used for measure of the clock for debug

Re: [PATCH] mtd: s3c2410: Move to clk_prepare_enable/clk_disable_unprepare

2014-07-02 Thread Brian Norris
On Mon, Jun 30, 2014 at 10:12:16PM +0300, Vasily Khoruzhick wrote: Use clk_prepare_enable/clk_disable_unprepare to make the driver work properly with common clock framework. Signed-off-by: Vasily Khoruzhick anars...@gmail.com Pushed to l2-mtd.git. Thanks! Brian -- To unsubscribe from this

Re: [PATCH V4 00/10] drm: exynos: few patches to enhance bridge chip support

2014-07-02 Thread Andreas Färber
Hi Ajay, Thanks a lot for your work on this. Am 11.06.2014 20:26, schrieb Ajay Kumar: This series is based on exynos-drm-next branch of Inki Dae's tree at: git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git I have tested this after adding few DT changes for