Re: [PATCH 1/1] ARM: dts: exynos5422-odroidxu3: add 'rtc_src' clock to rtc node

2015-03-30 Thread Krzysztof Kozlowski
2015-03-30 12:49 GMT+02:00 Markus Reichl m.rei...@fivetechno.de: The Exynos5422 SoC has a s3c6410 RTC where the source clock is now a mandatory property. This patch fixes probe failure of s3c-rtc on Odroid-XU3 boards. It is based in v4.0-rc2. Could you split this into separate patches: 1.

Re: [PATCH 2/5] exynos: add EXYNOS_G2D_EVENT to drmHandleEvent

2015-03-30 Thread Tobias Jakobi
Hello, On 2015-03-30 02:02, Rob Clark wrote: so, iirc, vmwgfx also has some custom events.. not really sure if they have their own hand-rolled drmHandleEvent() or if they have another way of catching those. Maybe we need some more flexible way to register handlers for driver custom events?

[PATCH V2 1/2] ARM: dts: Add bindings for 32kHz clocks from s2mps11

2015-03-30 Thread Markus Reichl
This creates include/dt-bindings/clock/samsung,s2mps11.h with the three 32kHz clock outputs from the s2mps11 mfd. Signed-off-by: Markus Reichl m.rei...@fivetechno.de --- Changes since v1: 1. Dropped Documentation. 2. Split into 2 parts. --- include/dt-bindings/clock/samsung,s2mps11.h | 23

[PATCH V2 2/2] ARM: dts: exynos5422-odroidxu3: add 'rtc_src' clock to rtc node

2015-03-30 Thread Markus Reichl
The Exynos5422 SoC has a s3c6410 RTC where the source clock is now a mandatory property. This patch fixes probe failure of s3c-rtc on Odroid-XU3 boards. It is based in v4.0-rc2. Tested-by: Anand Moon linux.am...@gmail.com Signed-off-by: Markus Reichl m.rei...@fivetechno.de --- Changes since v1:

Re: [PATCH 2/5] exynos: add EXYNOS_G2D_EVENT to drmHandleEvent

2015-03-30 Thread Tobias Jakobi
Hello, On 2015-03-30 02:02, Rob Clark wrote: Maybe we need some more flexible way to register handlers for driver custom events? But everyone adding their own thing to drmHandleEvent() doesn't really seem so nice.. that said, I'm not sure how much to care. If it is just exynos and vmwgfx,

[PATCH 1/1] ARM: dts: exynos5422-odroidxu3: add 'rtc_src' clock to rtc node

2015-03-30 Thread Markus Reichl
The Exynos5422 SoC has a s3c6410 RTC where the source clock is now a mandatory property. This patch fixes probe failure of s3c-rtc on Odroid-XU3 boards. It is based in v4.0-rc2. Signed-off-by: Markus Reichl m.rei...@fivetechno.de Tested-by: Anand Moon linux.am...@gmail.com ---

[PATCH 2/2] ARM: dts: s3c-rtc: Use s3c6410-rtc instead of exynos3250-rtc

2015-03-30 Thread Krzysztof Kozlowski
Mark samsung,exynos3250-rtc compatible as deprecated because it duplicates the samsung,s3c6410-rtc. Use samsung,s3c6410-rtc on Exynos3250 and Exynos4415 boards. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- Documentation/devicetree/bindings/rtc/s3c-rtc.txt | 3 ++-

[PATCH 1/2] drivers/rtc/rtc-s3c.c: Integrate Exynos3250 into S3C6410

2015-03-30 Thread Krzysztof Kozlowski
There are now no differences between RTC on Exynos3250 and S3C6410. Merge everything into one so duplicated code could be removed. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/rtc/rtc-s3c.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git

Re: [PATCH V2 1/2] ARM: dts: Add bindings for 32kHz clocks from s2mps11

2015-03-30 Thread Krzysztof Kozlowski
2015-03-30 16:15 GMT+02:00 Markus Reichl m.rei...@fivetechno.de: This creates include/dt-bindings/clock/samsung,s2mps11.h with the three 32kHz clock outputs from the s2mps11 mfd. Signed-off-by: Markus Reichl m.rei...@fivetechno.de --- Changes since v1: 1. Dropped Documentation. 2. Split

Re: [PATCH V2 2/2] ARM: dts: exynos5422-odroidxu3: add 'rtc_src' clock to rtc node

2015-03-30 Thread Krzysztof Kozlowski
2015-03-30 16:16 GMT+02:00 Markus Reichl m.rei...@fivetechno.de: The Exynos5422 SoC has a s3c6410 RTC where the source clock is now a mandatory property. This patch fixes probe failure of s3c-rtc on Odroid-XU3 boards. It is based in v4.0-rc2. Tested-by: Anand Moon linux.am...@gmail.com

[PATCH 0/2] ARM: EXYNOS: Minor S3C RTC cleanups

2015-03-30 Thread Krzysztof Kozlowski
Hi, Now the s3c6410-rtc is exactly the same as exynos3250-rtc. Mark the second one as deprecated and switch to one binding. Patches are independent. Best regards, Krzysztof Krzysztof Kozlowski (3): drivers/rtc/rtc-s3c.c: Integrate Exynos3250 into S3C6410 ARM: dts: s3c-rtc: Use s3c6410-rtc

[PATCH] ARM: dts: Use define for s3c-rtc clock id

2015-03-30 Thread Krzysztof Kozlowski
Use a define instead of raw number as a ID for rtc_src clock. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- Patch depends on new file dt-bindings/clock/samsung,s2mps11.h from: http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg43136.html ---

[PATCH V3 1/2] ARM: dts: Add bindings for 32kHz clocks from s2mps11

2015-03-30 Thread Markus Reichl
This creates include/dt-bindings/clock/samsung,s2mps11.h with the three 32kHz clock outputs from the s2mps11 mfd. Signed-off-by: Markus Reichl m.rei...@fivetechno.de Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- Changes since v2: None Changes since v1: 1. Dropped Documentation.

[PATCH V3 2/2] ARM: dts: exynos5422-odroidxu3: add 'rtc_src' clock to rtc node

2015-03-30 Thread Markus Reichl
The Exynos5422 SoC has a s3c6410 RTC where the source clock is now a mandatory property. This patch fixes probe failure of s3c-rtc on Odroid-XU3 boards. It is based in v4.0-rc2. Signed-off-by: Markus Reichl m.rei...@fivetechno.de --- Changes since v2: 1. Dropped unused phandle. Changes since v1:

Re: [PATCH V3 2/2] ARM: dts: exynos5422-odroidxu3: add 'rtc_src' clock to rtc node

2015-03-30 Thread Krzysztof Kozlowski
2015-03-30 17:38 GMT+02:00 Markus Reichl m.rei...@fivetechno.de: The Exynos5422 SoC has a s3c6410 RTC where the source clock is now a mandatory property. This patch fixes probe failure of s3c-rtc on Odroid-XU3 boards. It is based in v4.0-rc2. Signed-off-by: Markus Reichl

[PATCH 1/1] ARM: dts: Add HS400 support for exynos5422-odroidxu3

2015-03-30 Thread Markus Reichl
HS400 timing values are added for exynos5422-odroidxu3 board. --- This patch is analog to [0]. This patch needs [0] for the pin-ctrl definition of sd0_rclk. [0]: https://www.mail-archive.com/linux-samsung-soc%40vger.kernel.org/msg42902.html Signed-off-by: Markus Reichl m.rei...@fivetechno.de

[RFC PATCH v3 1/2] clk: samsung: Add a clock lookup function

2015-03-30 Thread Javier Martinez Canillas
The Samsung helpers functions to register clocks, add the clock instance returned by the common clock framework to a lookup table that is used by OF to lookup the clocks. But this table could also be useful to clock drivers if they need to get a clock instance since the helper functions don't

[RFC PATCH v3 0/2] ARM: EXYNOS: Fix Suspend-to-RAM on Exynos5420

2015-03-30 Thread Javier Martinez Canillas
Hello, This series is a 3rd version of a RFC to fix Suspend-to-RAM on Exynos5420. Abhilash Kesavan traced down to the MDMA0 DMA controller clock needed to be enabled during suspend in order to make the system resume correctly. I posted a RFC that grabbed the clock in the Exynos5420 specific

Re: [PATCH 00/16 v2] iommu: Move domain allocation into drivers

2015-03-30 Thread Will Deacon
Hi Joerg, On Thu, Mar 26, 2015 at 12:43:03PM +, Joerg Roedel wrote: Changes v1-v2: * Rebased to v4.0-rc5 * Converted domain-types to a bit-field Hi, here is patch-set to replace the existing domain_init and domain_destroy iommu-ops with the new domain_alloc and

[PATCH 10/10] drm/exynos: atomic dpms support

2015-03-30 Thread Gustavo Padovan
From: Gustavo Padovan gustavo.pado...@collabora.co.uk Run dpms operations through the atomic intefaces. This basically removes the .dpms() callback from econders and crtcs and use .disable() and .enable() to turn the crtc on and off. Signed-off-by: Gustavo Padovan gustavo.pado...@collabora.co.uk

[PATCH] ARM: dts: exynos4412: Enable AX88760 USB hub on Origen board

2015-03-30 Thread Matthew Leach
Enable the Origen's usb phy and ohci devices in the device tree. Also add the samsung,vbus-gpio property to enable the GPX3(5) gpio pin so the AX88760 hub is powered. Signed-off-by: Matthew Leach matt...@mattleach.net --- arch/arm/boot/dts/exynos4412-origen.dts | 15 +++ 1 file

Re: [PATCH] ARM: fix exynos randconfig build error

2015-03-30 Thread Russell King - ARM Linux
On Tue, Mar 03, 2015 at 01:44:34PM +0100, Bartlomiej Zolnierkiewicz wrote: Hi, On Tuesday, March 03, 2015 04:40:02 AM Kukjin Kim wrote: On 02/27/15 06:30, Kukjin Kim wrote: On 02/25/15 20:46, Krzysztof Kozlowski wrote: 2015-02-25 12:26 GMT+01:00 Russell King

Re: [PATCH 2/2] ARM: dts: s3c-rtc: Use s3c6410-rtc instead of exynos3250-rtc

2015-03-30 Thread Chanwoo Choi
On 03/31/2015 12:19 AM, Krzysztof Kozlowski wrote: Mark samsung,exynos3250-rtc compatible as deprecated because it duplicates the samsung,s3c6410-rtc. Use samsung,s3c6410-rtc on Exynos3250 and Exynos4415 boards. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com ---

Re: [PATCH 1/2] drivers/rtc/rtc-s3c.c: Integrate Exynos3250 into S3C6410

2015-03-30 Thread Chanwoo Choi
On 03/31/2015 12:19 AM, Krzysztof Kozlowski wrote: There are now no differences between RTC on Exynos3250 and S3C6410. Merge everything into one so duplicated code could be removed. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/rtc/rtc-s3c.c | 14 +- 1

Re: [PATCH v7 1/9] arm64: dts: exynos: Add dts files for 64-bit Exynos5433 SoC

2015-03-30 Thread Chanwoo Choi
Hi Mark, On 03/31/2015 01:09 AM, Mark Rutland wrote: Hi, On Wed, Mar 18, 2015 at 12:17:28AM +, Chanwoo Choi wrote: This patch adds new Exynos5433 dtsi to support 64-bit Exynos5433 SoC based on Octal core CPUs (quad Cortex-A57 and quad Cortex-A53). And Exynos5433 supports PSCI (Power

Re: [RFC PATCH v3 1/2] clk: samsung: Add a clock lookup function

2015-03-30 Thread Michael Turquette
Quoting Javier Martinez Canillas (2015-03-30 09:08:40) Hello Tomasz, On 03/30/2015 06:02 PM, Tomasz Figa wrote: Hi Javier, 2015-03-31 0:53 GMT+09:00 Javier Martinez Canillas javier.marti...@collabora.co.uk: The Samsung helpers functions to register clocks, add the clock instance

Re: [PATCH 2/2] ARM: dts: s3c-rtc: Use s3c6410-rtc instead of exynos3250-rtc

2015-03-30 Thread Alexandre Belloni
Hi, On 31/03/2015 at 08:38:30 +0900, Chanwoo Choi wrote : diff --git a/Documentation/devicetree/bindings/rtc/s3c-rtc.txt b/Documentation/devicetree/bindings/rtc/s3c-rtc.txt index ab757b84daa7..ac2fcd6ff4b8 100644 --- a/Documentation/devicetree/bindings/rtc/s3c-rtc.txt +++

Re: [PATCH 1/2] drivers/rtc/rtc-s3c.c: Integrate Exynos3250 into S3C6410

2015-03-30 Thread Alexandre Belloni
nitpick: I would prefer rtc: rtc-s3c instead of drivers/rtc/rtc-s3c.c On 30/03/2015 at 17:19:32 +0200, Krzysztof Kozlowski wrote : There are now no differences between RTC on Exynos3250 and S3C6410. Merge everything into one so duplicated code could be removed. Signed-off-by: Krzysztof

Re: [PATCH 2/2] ARM: dts: s3c-rtc: Use s3c6410-rtc instead of exynos3250-rtc

2015-03-30 Thread Chanwoo Choi
Hi, On 03/31/2015 09:31 AM, Alexandre Belloni wrote: Hi, On 31/03/2015 at 08:38:30 +0900, Chanwoo Choi wrote : diff --git a/Documentation/devicetree/bindings/rtc/s3c-rtc.txt b/Documentation/devicetree/bindings/rtc/s3c-rtc.txt index ab757b84daa7..ac2fcd6ff4b8 100644 ---

Re: [PATCH] ARM: dts: Use define for s3c-rtc clock id

2015-03-30 Thread Chanwoo Choi
Hi, On 03/31/2015 12:21 AM, Krzysztof Kozlowski wrote: Use a define instead of raw number as a ID for rtc_src clock. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- Patch depends on new file dt-bindings/clock/samsung,s2mps11.h from:

Re: [PATCH RESEND] phy: exynos5-usbdrd: Add to support for Exynos5433 SoC

2015-03-30 Thread Jaewon Kim
Hi Kishon. Could you check my patch?? On 26/03/2015 14:16, Vivek Gautam wrote: On Thu, Mar 26, 2015 at 7:48 AM, Jaewon Kim jaewon02@samsung.com wrote: This patch adds driver data to support for Exynos5433 SoC. The Exynos5433 has one USB3.0 Host and USB3.0 DRD(Dual Role Device). Exynos5433

Re: [PATCH V3 2/2] ARM: dts: exynos5422-odroidxu3: add 'rtc_src' clock to rtc node

2015-03-30 Thread Chanwoo Choi
Hi, On 03/31/2015 12:38 AM, Markus Reichl wrote: The Exynos5422 SoC has a s3c6410 RTC where the source clock is now a mandatory property. This patch fixes probe failure of s3c-rtc on Odroid-XU3 boards. It is based in v4.0-rc2. Signed-off-by: Markus Reichl m.rei...@fivetechno.de ---

Re: [PATCH RESEND] phy: exynos5-usbdrd: Add to support for Exynos5433 SoC

2015-03-30 Thread Kishon Vijay Abraham I
On Tuesday 31 March 2015 10:36 AM, Jaewon Kim wrote: Hi Kishon. Could you check my patch?? sure.. patch looks fine. will queue it. -Kishon On 26/03/2015 14:16, Vivek Gautam wrote: On Thu, Mar 26, 2015 at 7:48 AM, Jaewon Kim jaewon02@samsung.com wrote: This patch adds driver data to

[RFC PATCH v3 2/2] clk: exynos5420: Make sure MDMA0 clock is enabled during suspend

2015-03-30 Thread Javier Martinez Canillas
Commit ae43b3289186 (ARM: 8202/1: dmaengine: pl330: Add runtime Power Management support v12) added pm support for the pl330 dma driver but it makes the clock for the Exynos5420 MDMA0 DMA controller to be gated during suspend and this clock needs to remain enabled in order to make the system

Re: [RFC PATCH 2/2] ARM: EXYNOS: Make sure that the Exynos5420 MDMA0 clock is enabled during suspend

2015-03-30 Thread Javier Martinez Canillas
Hello Chanwoo, Thanks a lot for your feedback. On 03/30/2015 04:04 AM, Chanwoo Choi wrote: I faced on the similiar issue. If some clock was disabled, Exynos SoC could not enter the suspend mode But, I think it is not prpper method to resolve this issue. about that that specific clock

Re: [RFC PATCH v3 1/2] clk: samsung: Add a clock lookup function

2015-03-30 Thread Tomasz Figa
Hi Javier, 2015-03-31 0:53 GMT+09:00 Javier Martinez Canillas javier.marti...@collabora.co.uk: The Samsung helpers functions to register clocks, add the clock instance returned by the common clock framework to a lookup table that is used by OF to lookup the clocks. But this table could also

Re: [RFC PATCH v3 2/2] clk: exynos5420: Make sure MDMA0 clock is enabled during suspend

2015-03-30 Thread Tomasz Figa
Hi Javier, Please see my comments inline. 2015-03-31 0:53 GMT+09:00 Javier Martinez Canillas javier.marti...@collabora.co.uk: [snip] diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 07d666cc6a29..2d39b629144a 100644 ---

Re: [RFC PATCH v3 1/2] clk: samsung: Add a clock lookup function

2015-03-30 Thread Javier Martinez Canillas
Hello Tomasz, On 03/30/2015 06:02 PM, Tomasz Figa wrote: Hi Javier, 2015-03-31 0:53 GMT+09:00 Javier Martinez Canillas javier.marti...@collabora.co.uk: The Samsung helpers functions to register clocks, add the clock instance returned by the common clock framework to a lookup table that is

Re: [PATCH v7 1/9] arm64: dts: exynos: Add dts files for 64-bit Exynos5433 SoC

2015-03-30 Thread Mark Rutland
Hi, On Wed, Mar 18, 2015 at 12:17:28AM +, Chanwoo Choi wrote: This patch adds new Exynos5433 dtsi to support 64-bit Exynos5433 SoC based on Octal core CPUs (quad Cortex-A57 and quad Cortex-A53). And Exynos5433 supports PSCI (Power State Coordination Interface) v0.1. This patch includes

Re: [RFC PATCH v3 2/2] clk: exynos5420: Make sure MDMA0 clock is enabled during suspend

2015-03-30 Thread Javier Martinez Canillas
Hello Tomasz, Thanks a lot for your feedback. On 03/30/2015 06:07 PM, Tomasz Figa wrote: Hi Javier, Please see my comments inline. 2015-03-31 0:53 GMT+09:00 Javier Martinez Canillas javier.marti...@collabora.co.uk: [snip] diff --git a/drivers/clk/samsung/clk-exynos5420.c