[PATCH 02/15] drm/dsi: Constify mipi_dsi_msg

2014-10-13 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com struct mipi_dsi_msg is a read-only structure, drivers should never need to modify it. Make this explicit by making all references to the struct const. Signed-off-by: Thierry Reding tred...@nvidia.com --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 2 +-

Re: [PATCH 5/5] ARM: dts: Add initial regulator mode on exynos Peach boards

2014-10-13 Thread Mark Brown
On Thu, Oct 09, 2014 at 11:40:17PM +0200, Javier Martinez Canillas wrote: On 10/09/2014 07:48 PM, Mark Brown wrote: On Thu, Oct 09, 2014 at 04:27:37PM +0200, Javier Martinez Canillas wrote: only two modes: ON and OFF (and some of them have a third Low Power mode). ...but let's be clear,

Re: [PATCH 02/15] drm/dsi: Constify mipi_dsi_msg

2014-10-13 Thread Andrzej Hajda
On 10/13/2014 12:16 PM, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com struct mipi_dsi_msg is a read-only structure, drivers should never need to modify it. Make this explicit by making all references to the struct const. Signed-off-by: Thierry Reding tred...@nvidia.com

[PATCH v3 0/9] PM / Domains: Fix race conditions during boot

2014-10-13 Thread Ulf Hansson
Changes in v3: -Rework the entire intermediate step which was suggested in v2. That means solving the race condition, but also cope with PM domains that are initialized in powered off state. Changes in v2: -Added some acks. -Updated commit messages.

[PATCH v3 1/9] PM / Domains: Add dev_pm_domain_get|put() APIs

2014-10-13 Thread Ulf Hansson
There may be more than one device in a PM domain which then will be probed at different points in time. Depending on timing and runtime PM support, in for the device related driver/subsystem, a PM domain may be advised to power off after a successful probe sequence. A general requirement for a

[PATCH v3 2/9] PM / Domains: Enable genpd to support -get|put() callbacks

2014-10-13 Thread Ulf Hansson
To provide users control over whether the power should be maintained, implement the -get|put() callbacks for genpd's PM domain. A usage count variable keeps track of the number of users. A positive value tells genpd to keep supplying power and also to power up if it's the first user. Do note,

[PATCH v3 6/9] spi: core: Keep PM domain powered during -probe()

2014-10-13 Thread Ulf Hansson
To sucessfully probe some devices their corresponding PM domains may need to be powered. Use the dev_pm_domain_get|put() APIs, to control the behavior of the PM domain. Signed-off-by: Ulf Hansson ulf.hans...@linaro.org --- drivers/spi/spi.c | 7 +++ 1 file changed, 7 insertions(+) diff

[PATCH v3 9/9] PM / Domains: Remove pm_genpd_dev_need_restore() API

2014-10-13 Thread Ulf Hansson
There are currently no users of this API, let's remove it. Additionally, if such feature would be needed future wise, a better option is likely use pm_runtime_set_active|suspended() in some form. Signed-off-by: Ulf Hansson ulf.hans...@linaro.org Acked-by: Geert Uytterhoeven

[PATCH v3 5/9] i2c: core: Keep PM domain powered during -probe()

2014-10-13 Thread Ulf Hansson
To sucessfully probe some devices their corresponding PM domains may need to be powered. Use the dev_pm_domain_get|put() APIs, to control the behavior of the PM domain. Signed-off-by: Ulf Hansson ulf.hans...@linaro.org --- drivers/i2c/i2c-core.c | 7 +++ 1 file changed, 7 insertions(+)

[PATCH v3 3/9] amba: Keep PM domain powered during -probe()

2014-10-13 Thread Ulf Hansson
To sucessfully probe some devices their corresponding PM domains may need to be powered. Use the dev_pm_domain_get|put() APIs, to control the behavior of the PM domain. Signed-off-by: Ulf Hansson ulf.hans...@linaro.org --- drivers/amba/bus.c | 8 1 file changed, 8 insertions(+) diff

[PATCH v3 8/9] mmmc: core: Keep PM domain powered during -probe() of SDIO func driver

2014-10-13 Thread Ulf Hansson
To sucessfully probe some devices their corresponding PM domains may need to be powered. Use the dev_pm_domain_get|put() APIs, to control the behavior of the PM domain. Signed-off-by: Ulf Hansson ulf.hans...@linaro.org --- drivers/mmc/core/sdio_bus.c | 7 +++ 1 file changed, 7 insertions(+)

[PATCH v3 4/9] drivercore / platform: Keep PM domain powered during -probe()

2014-10-13 Thread Ulf Hansson
To sucessfully probe some devices their corresponding PM domains may need to be powered. Use the dev_pm_domain_get|put() APIs, to control the behavior of the PM domain. Signed-off-by: Ulf Hansson ulf.hans...@linaro.org --- drivers/base/platform.c | 7 +++ 1 file changed, 7 insertions(+)

[PATCH v3 7/9] mmc: core: Attach PM domain prior probing of SDIO func driver

2014-10-13 Thread Ulf Hansson
Align the behvaior to how other buses are handling attachment of PM domains. Additionally, let's add error handling. Signed-off-by: Ulf Hansson ulf.hans...@linaro.org --- drivers/mmc/core/sdio_bus.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git

Re: [PATCH v2 1/4] dwc3: exynos: Add support for SCLK present on Exynos7

2014-10-13 Thread Felipe Balbi
Hi, On Mon, Oct 13, 2014 at 01:54:59PM +0900, Anton Tikhomirov wrote: Hi Vivek, Exynos7 also has a separate special gate clock going to the IP apart from the usual AHB clock. So add support for the same. As we discussed before, Exynos7 SoCs have 7 clocks to be controlled by the driver.

Re: [PATCH v2 1/4] dwc3: exynos: Add support for SCLK present on Exynos7

2014-10-13 Thread Tomasz Figa
Hi Anton, On 13.10.2014 06:54, Anton Tikhomirov wrote: Hi Vivek, Exynos7 also has a separate special gate clock going to the IP apart from the usual AHB clock. So add support for the same. As we discussed before, Exynos7 SoCs have 7 clocks to be controlled by the driver. Adding only sclk

RE: [PATCH v2 1/4] dwc3: exynos: Add support for SCLK present on Exynos7

2014-10-13 Thread Anton Tikhomirov
Hello, Hi Anton, On 13.10.2014 06:54, Anton Tikhomirov wrote: Hi Vivek, Exynos7 also has a separate special gate clock going to the IP apart from the usual AHB clock. So add support for the same. As we discussed before, Exynos7 SoCs have 7 clocks to be controlled by the driver.

Re: [PATCH v2 1/4] dwc3: exynos: Add support for SCLK present on Exynos7

2014-10-13 Thread Vivek Gautam
Hi Tomasz, On Tue, Oct 14, 2014 at 6:56 AM, Anton Tikhomirov av.tikhomi...@samsung.com wrote: Hello, Hi Anton, On 13.10.2014 06:54, Anton Tikhomirov wrote: Hi Vivek, Exynos7 also has a separate special gate clock going to the IP apart from the usual AHB clock. So add support for the

Re: [PATCH v2 1/4] dwc3: exynos: Add support for SCLK present on Exynos7

2014-10-13 Thread Vivek Gautam
Hi Felipe, On Tue, Oct 14, 2014 at 4:14 AM, Felipe Balbi ba...@ti.com wrote: Hi, On Mon, Oct 13, 2014 at 01:54:59PM +0900, Anton Tikhomirov wrote: Hi Vivek, Exynos7 also has a separate special gate clock going to the IP apart from the usual AHB clock. So add support for the same. As