Re: DT on s3c24xx

2014-12-17 Thread Uwe Kleine-König
Hello, [Cc += linusw, linux-gpio] On Wed, Dec 17, 2014 at 10:04:24PM +0300, Vasily Khoruzhick wrote: > I'd like to port several s3c24xx to DT, and I'm stuck with s3c24xx LCD > controller and power drivers for H1940 and RX1950. > > Please see [1]. I want to move this function into another LCD pow

Re: [PATCHv4 1/8] devfreq: event: Add new devfreq_event class to provide basic data for devfreq governor

2014-12-17 Thread Chanwoo Choi
Dear Myungjoo, Thanks for your review. On 12/18/2014 03:24 PM, MyungJoo Ham wrote: > Hi Chanwoo, > > I love the idea and I now have a little mechanical issues in your code. > >> --- >> drivers/devfreq/Kconfig | 2 + >> drivers/devfreq/Makefile| 5 +- >> drivers/devfreq/devf

Re: [PATCH] clk: samsung: Fix Exynos 5420 pinctrl setup and clock disable failure due to domain being gated

2014-12-17 Thread Mike Turquette
Quoting Mike Turquette (2014-12-17 07:23:22) > Quoting Krzysztof Kozlowski (2014-12-16 00:20:15) > > On pon, 2014-12-15 at 14:26 -0800, Kevin Hilman wrote: > > > Kevin Hilman writes: > > > > > > > Sylwester Nawrocki writes: > > > > > > > >> On 09/12/14 13:59, Krzysztof Kozlowski wrote: > > > >>>

Re: [PATCHv4 1/8] devfreq: event: Add new devfreq_event class to provide basic data for devfreq governor

2014-12-17 Thread MyungJoo Ham
Hi Chanwoo, I love the idea and I now have a little mechanical issues in your code. > --- > drivers/devfreq/Kconfig | 2 + > drivers/devfreq/Makefile| 5 +- > drivers/devfreq/devfreq-event.c | 449 > > drivers/devfreq/event/Makefile

Re: [PATCH v7 1/3] Input: add regulator haptic driver

2014-12-17 Thread Dmitry Torokhov
On Thursday, December 18, 2014 10:17:42 AM Jaewon Kim wrote: > Hi Dmity, > > 2014년 12월 18일 07:06에 Dmitry Torokhov 이(가) 쓴 글: > > HI Jaewon, > > > > On Wed, Dec 17, 2014 at 12:35:06PM +0900, Jaewon Kim wrote: > >> This patch adds support for haptic driver controlled by > >> voltage of regulator. An

Re: [PATCH v7 1/3] Input: add regulator haptic driver

2014-12-17 Thread Jaewon Kim
Hi Dmity, 2014년 12월 18일 07:06에 Dmitry Torokhov 이(가) 쓴 글: HI Jaewon, On Wed, Dec 17, 2014 at 12:35:06PM +0900, Jaewon Kim wrote: This patch adds support for haptic driver controlled by voltage of regulator. And this driver support for Force Feedback interface from input framework Signed-off-by

Re: [PATCH RFC v3 1/2] PM / Domains: Extend API pm_genpd_dev_need_restore to use restore types

2014-12-17 Thread Rafael J. Wysocki
On Wednesday, December 17, 2014 10:25:09 AM Kevin Hilman wrote: > amit daniel kachhap writes: > > > On Wed, Dec 17, 2014 at 3:40 AM, Kevin Hilman wrote: > >> Marek Szyprowski writes: > >> > >>> Hello, > >>> > >>> On 2014-12-13 17:51, Amit Daniel Kachhap wrote: > Instead of using bool to re

Re: Enable runtime PM automatically?

2014-12-17 Thread Rafael J. Wysocki
On Wednesday, December 17, 2014 08:33:13 PM Geert Uytterhoeven wrote: > On Tue, Dec 16, 2014 at 11:10 PM, Kevin Hilman wrote: > > At a deeper level, the problem with this approach is that this is more > > generically a runtime PM dependency problem, not a genpd problem. For > > example, what happ

Re: [Linaro-mm-sig] [PATCH v3 18/19] iommu: exynos: init from dt-specific callback instead of initcall

2014-12-17 Thread Laurent Pinchart
Hi Arnd, On Wednesday 17 December 2014 22:58:47 Arnd Bergmann wrote: > On Wednesday 17 December 2014 18:02:51 Laurent Pinchart wrote: > > On Wednesday 17 December 2014 16:41:33 Arnd Bergmann wrote: > >> On Wednesday 17 December 2014 16:39:02 Laurent Pinchart wrote: > >>> On Wednesday 17 December 2

Re: [PATCH v7 1/3] Input: add regulator haptic driver

2014-12-17 Thread Dmitry Torokhov
HI Jaewon, On Wed, Dec 17, 2014 at 12:35:06PM +0900, Jaewon Kim wrote: > This patch adds support for haptic driver controlled by > voltage of regulator. And this driver support for > Force Feedback interface from input framework > > Signed-off-by: Jaewon Kim > Signed-off-by: Hyunhee Kim > Acked

Re: [Linaro-mm-sig] [PATCH v3 18/19] iommu: exynos: init from dt-specific callback instead of initcall

2014-12-17 Thread Arnd Bergmann
On Wednesday 17 December 2014 18:02:51 Laurent Pinchart wrote: > On Wednesday 17 December 2014 16:41:33 Arnd Bergmann wrote: > > On Wednesday 17 December 2014 16:39:02 Laurent Pinchart wrote: > > > On Wednesday 17 December 2014 15:27:36 Arnd Bergmann wrote: > > > > On Wednesday 17 December 2014 01:

Enable runtime PM automatically?

2014-12-17 Thread Geert Uytterhoeven
On Tue, Dec 16, 2014 at 11:10 PM, Kevin Hilman wrote: > At a deeper level, the problem with this approach is that this is more > generically a runtime PM dependency problem, not a genpd problem. For > example, what happens when the same kind of dependency exists on a > platform using a custom PM

DT on s3c24xx

2014-12-17 Thread Vasily Khoruzhick
Hi, I'd like to port several s3c24xx to DT, and I'm stuck with s3c24xx LCD controller and power drivers for H1940 and RX1950. Please see [1]. I want to move this function into another LCD power driver, but I'm not sure what to do with s3c_gpio_cfgpin(). I need to change pin function in runtime, a

Re: [PATCH RFC v3 1/2] PM / Domains: Extend API pm_genpd_dev_need_restore to use restore types

2014-12-17 Thread Kevin Hilman
amit daniel kachhap writes: > On Wed, Dec 17, 2014 at 3:40 AM, Kevin Hilman wrote: >> Marek Szyprowski writes: >> >>> Hello, >>> >>> On 2014-12-13 17:51, Amit Daniel Kachhap wrote: Instead of using bool to restore suspended devices initially, use flags like GPD_DEV_SUSPEND_INIT, GPD_D

Re: [alsa-devel] [PATCH/RFC 12/14] ASoC: samsung: i2s: Add clock provider for the I2S internal clocks

2014-12-17 Thread Sylwester Nawrocki
On 12/12/14 21:03, Mark Brown wrote: > On Thu, Dec 11, 2014 at 06:45:50PM +0100, Sylwester Nawrocki wrote: > >> +Optional Properties: >> >> - samsung,idma-addr: Internal DMA register base address of the audio >>sub system(used in secondary sound source). >> - pinctrl-0: Should specify pin co

Re: [PATCH] ARM: SAMSUNG: remove dead #elif CONFIG_S3C24XX_DMAC

2014-12-17 Thread Heiko Stübner
Am Mittwoch, 17. Dezember 2014, 16:52:40 schrieb Arnd Bergmann: > On Wednesday 17 December 2014 16:40:37 Stefan Hengelein wrote: > > The corresponding CPP-block can never be selected since there are > > conflicting Kconfig constraints: > > - CONFIG_S3C24XX_DMAC has a dependency on ARCH_S3C24XX > >

Re: [Linaro-mm-sig] [PATCH v3 18/19] iommu: exynos: init from dt-specific callback instead of initcall

2014-12-17 Thread Laurent Pinchart
Hi Arnd, On Wednesday 17 December 2014 16:41:33 Arnd Bergmann wrote: > On Wednesday 17 December 2014 16:39:02 Laurent Pinchart wrote: > > On Wednesday 17 December 2014 15:27:36 Arnd Bergmann wrote: > > > On Wednesday 17 December 2014 01:24:42 Laurent Pinchart wrote: > > > > If we forbid the IOMMU

Re: [Linaro-mm-sig] [PATCH v3 18/19] iommu: exynos: init from dt-specific callback instead of initcall

2014-12-17 Thread Arnd Bergmann
On Wednesday 17 December 2014 15:53:25 Lucas Stach wrote: > Am Mittwoch, den 17.12.2014, 15:27 +0100 schrieb Arnd Bergmann: > > On Wednesday 17 December 2014 01:24:42 Laurent Pinchart wrote: > > > > > > If we forbid the IOMMU driver from being compiled as a module can't we > > > just > > > rely

Re: [PATCH] ARM: SAMSUNG: remove dead #elif CONFIG_S3C24XX_DMAC

2014-12-17 Thread Arnd Bergmann
On Wednesday 17 December 2014 16:40:37 Stefan Hengelein wrote: > The corresponding CPP-block can never be selected since there are > conflicting Kconfig constraints: > - CONFIG_S3C24XX_DMAC has a dependency on ARCH_S3C24XX > - The surrounding CPP-block needs CONFIG_S3C64XX_DEV_SPI0 to be defined. >

[PATCH] ARM: SAMSUNG: remove dead #elif CONFIG_S3C24XX_DMAC

2014-12-17 Thread Stefan Hengelein
The corresponding CPP-block can never be selected since there are conflicting Kconfig constraints: - CONFIG_S3C24XX_DMAC has a dependency on ARCH_S3C24XX - The surrounding CPP-block needs CONFIG_S3C64XX_DEV_SPI0 to be defined. - CONFIG_S3C64XX_DEV_SPI0 is only selected by MACH_WLF_CRAGG_6410 -

Re: [Linaro-mm-sig] [PATCH v3 18/19] iommu: exynos: init from dt-specific callback instead of initcall

2014-12-17 Thread Arnd Bergmann
On Wednesday 17 December 2014 16:39:02 Laurent Pinchart wrote: > > On Wednesday 17 December 2014 15:27:36 Arnd Bergmann wrote: > > On Wednesday 17 December 2014 01:24:42 Laurent Pinchart wrote: > > > If we forbid the IOMMU driver from being compiled as a module can't we > > > just rely on deferred

Re: [PATCH] clk: samsung: Fix Exynos 5420 pinctrl setup and clock disable failure due to domain being gated

2014-12-17 Thread Mike Turquette
Quoting Krzysztof Kozlowski (2014-12-16 00:20:15) > On pon, 2014-12-15 at 14:26 -0800, Kevin Hilman wrote: > > Kevin Hilman writes: > > > > > Sylwester Nawrocki writes: > > > > > >> On 09/12/14 13:59, Krzysztof Kozlowski wrote: > > >>> On pią, 2014-12-05 at 15:15 +0100, Krzysztof Kozlowski wrote

Re: [PATCH/RFC 11/14] ASoC: samsung: odroidx2: Handle I2S CDCLK clock conditionally

2014-12-17 Thread Sylwester Nawrocki
On 12/12/14 19:53, Mark Brown wrote: > On Thu, Dec 11, 2014 at 06:45:49PM +0100, Sylwester Nawrocki wrote: >> > If the codec control it's master clock provider by the I2S module >> > we should not be touching it with set_sysclk() calls. >> > So skip the set_sysclk() call in the machine driver if "c

Re: [PATCH/RFC 04/14] ASoC: samsung: i2s: Request memory region in driver probe()

2014-12-17 Thread Sylwester Nawrocki
On 12/12/14 19:49, Mark Brown wrote: > On Thu, Dec 11, 2014 at 06:45:42PM +0100, Sylwester Nawrocki wrote: >> > The memory mapped registers region is common for both DAIs so request >> > it in the I2S platform device driver's probe for the platform device >> > corresponding to the primary DAI, rath

Re: [PATCH RFC v3 1/2] PM / Domains: Extend API pm_genpd_dev_need_restore to use restore types

2014-12-17 Thread amit daniel kachhap
On Wed, Dec 17, 2014 at 6:38 PM, Marek Szyprowski wrote: > Hello, > > > On 2014-12-17 03:43, amit daniel kachhap wrote: >> >> On Tue, Dec 16, 2014 at 4:40 PM, Marek Szyprowski >> wrote: >>> >>> Hello, >>> >>> On 2014-12-13 17:51, Amit Daniel Kachhap wrote: Instead of using bool to resto

Re: [Linaro-mm-sig] [PATCH v3 18/19] iommu: exynos: init from dt-specific callback instead of initcall

2014-12-17 Thread Lucas Stach
Am Mittwoch, den 17.12.2014, 15:27 +0100 schrieb Arnd Bergmann: > On Wednesday 17 December 2014 01:24:42 Laurent Pinchart wrote: > > > > If we forbid the IOMMU driver from being compiled as a module can't we just > > rely on deferred probing ? The bus master driver will just be reprobed > > afte

Re: [Linaro-mm-sig] [PATCH v3 18/19] iommu: exynos: init from dt-specific callback instead of initcall

2014-12-17 Thread Laurent Pinchart
Hi Arnd, On Wednesday 17 December 2014 15:27:36 Arnd Bergmann wrote: > On Wednesday 17 December 2014 01:24:42 Laurent Pinchart wrote: > > If we forbid the IOMMU driver from being compiled as a module can't we > > just rely on deferred probing ? The bus master driver will just be > > reprobed after

Re: [PATCH RFC v3 1/2] PM / Domains: Extend API pm_genpd_dev_need_restore to use restore types

2014-12-17 Thread amit daniel kachhap
On Wed, Dec 17, 2014 at 3:40 AM, Kevin Hilman wrote: > Marek Szyprowski writes: > >> Hello, >> >> On 2014-12-13 17:51, Amit Daniel Kachhap wrote: >>> Instead of using bool to restore suspended devices initially, use flags >>> like GPD_DEV_SUSPEND_INIT, GPD_DEV_RESTORE_INIT and GPD_DEV_RESTORE_FOR

Re: [Linaro-mm-sig] [PATCH v3 18/19] iommu: exynos: init from dt-specific callback instead of initcall

2014-12-17 Thread Arnd Bergmann
On Wednesday 17 December 2014 01:24:42 Laurent Pinchart wrote: > > If we forbid the IOMMU driver from being compiled as a module can't we just > rely on deferred probing ? The bus master driver will just be reprobed after > the IOMMU gets probed, like for other devices. > > This could fail in c

Re: [PATCH] [media] s5p-jpeg: Adding Exynos7 Jpeg variant support

2014-12-17 Thread Jacek Anaszewski
Hi Tony, Thanks for the patches. Please process them with scripts/checkpatch.pl as you will be submitting the next version - they contain many coding style related issues. My remaining comments below. On 12/17/2014 08:27 AM, Tony K Nadackal wrote: Fimp_jpeg used in Exynos7 is a revised versio

[PATCH] usb: dwc2: add support for initial state for dual-role mode

2014-12-17 Thread Marek Szyprowski
DWC2 module on Exynos SoCs is used only as peripheral controller (UDC), so add support for selecting default initial state for dual-role mode. The default init mode can be overridden by device tree 'dr_mode' property. This patch enables to use usb gadget on Exynos SoCs, when DWC2 driver has been co

Re: [PATCH RFC v3 1/2] PM / Domains: Extend API pm_genpd_dev_need_restore to use restore types

2014-12-17 Thread Marek Szyprowski
Hello, On 2014-12-17 03:43, amit daniel kachhap wrote: On Tue, Dec 16, 2014 at 4:40 PM, Marek Szyprowski wrote: Hello, On 2014-12-13 17:51, Amit Daniel Kachhap wrote: Instead of using bool to restore suspended devices initially, use flags like GPD_DEV_SUSPEND_INIT, GPD_DEV_RESTORE_INIT and G

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

2014-12-17 Thread Laurent Pinchart
Hi Javier, On Wednesday 17 December 2014 10:31:41 Javier Martinez Canillas wrote: > On 12/16/2014 12:37 AM, Laurent Pinchart wrote: > > Hi Javier, > > > >> Tomi and Laurent, > >> > >> You asked Ajay to change his series to use the video port and enpoints DT > >> bindings instead of phandles, cou

Re: [PATCH 0/2] Input: atmel_mxt_ts - Add support for T100 multi-touch

2014-12-17 Thread Nick Dyer
On 16/12/14 17:46, Javier Martinez Canillas wrote: > On 12/16/2014 06:07 PM, Nick Dyer wrote: >> I had been keeping them separate on the basis that we don't want changes to >> support new T100 features to cause regressions in the old T9 handling. But >> there is a fair amount of duplication as you

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

2014-12-17 Thread Javier Martinez Canillas
Hello Laurent and Tomi, On 12/16/2014 12:37 AM, Laurent Pinchart wrote: > Hi Javier, >> Tomi and Laurent, >> >> You asked Ajay to change his series to use the video port and enpoints DT >> bindings instead of phandles, could you please review his latest version? >> >> I guess is now too late for