[GIT PULL] ARM: Exynos fixes for v4.4

2015-11-26 Thread Krzysztof Kozlowski
Hi Kukjin, Two fixes for v4.4 cycle. Rafael wanted the cpufreq fix to go through arm-soc tree. Please note that location of repository has changed to kernel.org. Best regards, Krzysztof The following changes since commit 8005c49d9aea74d382f474ce11afbbc7d7130bec: Linux 4.4-rc1 (2015-11-15

Re: [PATCH v2 08/13] exynos: fimg2d: add g2d_set_direction

2015-11-26 Thread Hyungwon Hwang
Dear all, Yes. I can pick it on behalf of Tobias, if there is no one who can do that. BRs, Hyungwon Hwang On Thu, 26 Nov 2015 16:48:10 + Emil Velikov wrote: > On 26 November 2015 at 16:41, Tobias Jakobi > wrote: > > Hello Emil, > > > > my

Re: [PATCH v2 00/13] drm/exynos: async G2D and g2d_move()

2015-11-26 Thread Hyungwon Hwang
Dear All, On Thu, 26 Nov 2015 16:35:29 + Emil Velikov wrote: > Hi Tobias, > > On 22 November 2015 at 18:48, Tobias Jakobi > wrote: > > Hello, > > > > this series mostly touches G2D code. It introduces the following: > > > > (1)

Re: [RFC PATCH 01/15] PM / devfreq: exynos: Add generic exynos bus frequency driver

2015-11-26 Thread Chanwoo Choi
Hi Anand, On 2015년 11월 27일 02:17, Anand Moon wrote: > Hi Chanwoo, > > On 26 November 2015 at 21:42, Chanwoo Choi wrote: >> On Thu, Nov 26, 2015 at 11:00 PM, MyungJoo Ham >> wrote: >>> On Thu, Nov 26, 2015 at 10:47 PM, Chanwoo Choi

Re: [PATCHv2] ARM: dts: use vmmc-supply of emmc/sd for exynos5422-odroidxu3

2015-11-26 Thread Anand Moon
hi Krzysztof, On 22 October 2015 at 18:34, Anand Moon wrote: > hi Krzysztof, > > On 22 October 2015 at 06:31, Krzysztof Kozlowski > wrote: >> On 20.10.2015 21:56, Anand Moon wrote: >>> Changes need for host controller to detect UHS-I highspeed

[PATCH] drm/exynos: atomic check only enabled crtc states

2015-11-26 Thread Andrzej Hajda
Since atomic check is called also for disabled crtcs it should skip mode checking as it can be uninitialized. The patch fixes it. Signed-off-by: Andrzej Hajda Suggested-by: Daniel Vetter --- Hi Javier, Could you check with this patch. Regards

Re: [PATCH 1/2] drivers: amba: properly handle devices with power domains

2015-11-26 Thread Marek Szyprowski
Hello, On 2015-11-25 19:09, Russell King - ARM Linux wrote: On Wed, Nov 25, 2015 at 02:56:10PM +0100, Ulf Hansson wrote: On 25 November 2015 at 14:34, Marek Szyprowski wrote: Is ignoring dev_pm_domain_attach() return value a solution for you? That's probably better

Re: [PATCH 1/2] drivers: amba: properly handle devices with power domains

2015-11-26 Thread Ulf Hansson
On 26 November 2015 at 09:39, Marek Szyprowski wrote: > Hello, > > On 2015-11-25 19:09, Russell King - ARM Linux wrote: >> >> On Wed, Nov 25, 2015 at 02:56:10PM +0100, Ulf Hansson wrote: >>> >>> On 25 November 2015 at 14:34, Marek Szyprowski

Re: [PATCH 1/2] drivers: amba: properly handle devices with power domains

2015-11-26 Thread Russell King - ARM Linux
On Thu, Nov 26, 2015 at 11:24:50AM +0100, Ulf Hansson wrote: > On 26 November 2015 at 09:39, Marek Szyprowski > wrote: > > Hello, > > > > On 2015-11-25 19:09, Russell King - ARM Linux wrote: > >> > >> On Wed, Nov 25, 2015 at 02:56:10PM +0100, Ulf Hansson wrote: > >>> >

Re: [PATCH] ARM: dts: exynos5422-odroid*: remove fimd node

2015-11-26 Thread Andrzej Hajda
Hi Javier, Krzysztof, On 11/26/2015 04:49 AM, Krzysztof Kozlowski wrote: ... > Do you have some test cases for MFC? I know that Gstreamer has support > for it but I don't know what Gst pipelines I can use to test if all is > working correctly. > Yes, I think we have. I think Jacek Anaszewski or

[PATCH v3] drm/exynos: add pm_runtime to Mixer

2015-11-26 Thread Inki Dae
From: Gustavo Padovan Let pm_runtime handle the enabling/disabling of the device with proper refcnt instead of rely on specific flags to track the enabled state. Changelog v3: - revive MXR_BIT_POWERED flag to keep current dpms mode. Changelog v2: - no change

[PATCH v3] drm/exynos: add pm_runtime to HDMI

2015-11-26 Thread Inki Dae
From: Gustavo Padovan Let pm_runtime handle the enabling/disabling of the device with proper refcnt instead of rely on specific flags to track the enabled state. Changelog v3: - revive powered flag to keep current dpms mode Changelog v2: - Mofidy

[PATCH v3] drm/exynos: add pm_runtime to DP

2015-11-26 Thread Inki Dae
From: Gustavo Padovan Let pm_runtime handle the enabling/disabling of the device with proper refcnt instead of rely on specific flags to track the enabled state. Chnagelog v3: - revive dpms_mode to keep current dpms mode. Changelog v2: - no change

[PATCH v3] drm/exynos: add pm_runtime to DECON 7

2015-11-26 Thread Inki Dae
From: Gustavo Padovan Let pm_runtime handle the enabling/disabling of the device with proper refcnt instead of rely on specific flags to track the enabled state. Changelog v3: - revive suspended to keep current dpms mode Changelog v2: - Modify CONFIG_PM_SLEEP

[PATCH v3] drm/exynos: add pm_runtime to FIMD

2015-11-26 Thread Inki Dae
From: Gustavo Padovan Let pm_runtime handle the enabling/disabling of the device with proper refcnt instead of rely on specific flags to track the enabled state. Chnagelog v3: - Revive suspended varable to check the suspend status. Changelog v2: - Remove

Re: [PATCH] ARM: dts: exynos5422-odroid*: remove fimd node

2015-11-26 Thread Javier Martinez Canillas
Hello Andrzej, On 11/26/2015 08:49 AM, Andrzej Hajda wrote: > Hi Javier, Krzysztof, > > On 11/26/2015 04:49 AM, Krzysztof Kozlowski wrote: > ... >> Do you have some test cases for MFC? I know that Gstreamer has support >> for it but I don't know what Gst pipelines I can use to test if all is >>

Re: [PATCH 1/2] drivers: amba: properly handle devices with power domains

2015-11-26 Thread Marek Szyprowski
Hello, On 2015-11-26 11:59, Russell King - ARM Linux wrote: On Thu, Nov 26, 2015 at 11:24:50AM +0100, Ulf Hansson wrote: On 26 November 2015 at 09:39, Marek Szyprowski wrote: Hello, On 2015-11-25 19:09, Russell King - ARM Linux wrote: On Wed, Nov 25, 2015 at

[PATCH 0/2] drm/exynos: dp: add of_graph dt binding for panel device

2015-11-26 Thread Inki Dae
This patch series adds of_graph dt binding for panel device and fixes wrong return type when the dt binding of bridge device failed. Inki Dae (2): drm/exynos: dp: add of_graph dt binding support for panel drm/exynos: dp: fix wrong return type drivers/gpu/drm/exynos/exynos_dp_core.c | 27

[PATCH 2/2] drm/exynos: dp: fix wrong return type

2015-11-26 Thread Inki Dae
This patch fixes wrong return type when dt binding of bridge device failed. If a board has a bridge device then of_graph_get_remote_port_parent function shouldn't be NULL. So this patch will return a proper error type so that the deferred probe isn't triggered. Signed-off-by: Inki Dae

[PATCH 1/2] drm/exynos: dp: add of_graph dt binding support for panel

2015-11-26 Thread Inki Dae
This patch adds of_graph dt binding support for panel device and also keeps the backward compatibility. i.e., The dts file for Exynos5800 based peach pi board has a panel property so we need to keep the backward compatibility. Signed-off-by: Inki Dae ---

[PATCH v2 0/4] Exynos4210: fix power domain for MDMA1 device

2015-11-26 Thread Marek Szyprowski
This patchset fixes mysterious boot hang on Exynos 4210 SoCs, when IOMMU is enabled. There is no direct dependency between IOMMU devices and MDMA1. However enabling IOMMU changes the device probe order, what results in LCD0 power domain being turned off for some time. During that time the

[PATCH v2 2/4] driver core: handle -EPROBE_DEFER from bus_type.match()

2015-11-26 Thread Marek Szyprowski
From: Tomeu Vizoso Lets implementations of the match() callback in struct bus_type to return errors and if it's -EPROBE_DEFER then queue the device for deferred probing. This is useful to buses such as AMBA in which devices are registered before their matching

[PATCH v2 3/4] ARM: amba: Move reading of periphid to amba_match()

2015-11-26 Thread Marek Szyprowski
From: Tomeu Vizoso Reading the periphid when the Primecell device is registered means that the apb pclk must be available by then or the device won't be registered at all. By reading the periphid in amba_match() we can return -EPROBE_DEFER if the apb pclk isn't there

[PATCH v2 4/4] ARM: amba: Properly handle devices with power domains

2015-11-26 Thread Marek Szyprowski
To read pid/cid registers, the probed device need to be properly turned on. When it is inside a power domain, the bus code should ensure that the given power domain is enabled before trying to access device's registers. Signed-off-by: Marek Szyprowski ---

[PATCH v2 1/4] ARM: dts: exynos4210: MDMA1 device belongs to LCD0 power domain

2015-11-26 Thread Marek Szyprowski
On Exynos 4210 MDMA1 device belongs to LCD0 power domain, so add proper power-domains property. On Exynos 4x12, it belongs to TOP power domain, which is always enabled, thus require no assignment in exynos4x12.dtsi. Signed-off-by: Marek Szyprowski ---

Re: [PATCH 1/2] drivers: amba: properly handle devices with power domains

2015-11-26 Thread Marek Szyprowski
Hello, On 2015-11-26 11:24, Ulf Hansson wrote: On 26 November 2015 at 09:39, Marek Szyprowski wrote: On 2015-11-25 19:09, Russell King - ARM Linux wrote: On Wed, Nov 25, 2015 at 02:56:10PM +0100, Ulf Hansson wrote: On 25 November 2015 at 14:34, Marek Szyprowski

Re: [PATCH 2/2] drm/exynos: dp: fix wrong return type

2015-11-26 Thread Javier Martinez Canillas
[adding Ajay Kumar who added the bridge support] Hello Inki, On 11/26/2015 09:47 AM, Inki Dae wrote: > This patch fixes wrong return type when dt binding of bridge device > failed. > > If a board has a bridge device then of_graph_get_remote_port_parent > function shouldn't be NULL. So this

[RFC PATCH 00/15] PM / devferq: Add generic exynos bus frequency driver and new passive governor

2015-11-26 Thread Chanwoo Choi
This patch-set includes the two features as following. The generic exynos bus frequency driver is able to support almost Exynos SoCs for bus frequency scaling. And the new passive governor is able to make the dependency on between devices for frequency/voltage scaling. I had posted the

[RFC PATCH 07/15] PM / devfreq: Show the related information according to governor type

2015-11-26 Thread Chanwoo Choi
This patch modifies the following sysfs entry of DEVFREQ framework because the devfreq device using passive governor don't need the same information of the devfreq device using rest governor. - polling_interval: passive gov don't use the sampling rate. - available_governors : passive gov don't

[RFC PATCH 15/15] ARM: dts: Add support of bus frequency for exynos4412-trats

2015-11-26 Thread Chanwoo Choi
THis patch adds the bus device tree nodes for both MIF (Memory) and INT (Internal) block to enable the bus frequency. The DMC bus is parent device in MIF block using VDD_MIF and the LEFTBUS bus is parent device in INT block using VDD_INT. Signed-off-by: Chanwoo Choi ---

[RFC PATCH 03/15] ARM: dts: Add DMC bus node for Exynos3250

2015-11-26 Thread Chanwoo Choi
This patch adds the DMC (DRAM memory controller) bus node for Exynos3250 SoC. The DMC is an AMBA AXI-compliant slave to interface external JEDEC standard SDRAM devices. The bus includes the OPP tables and the source clock for DMC block. Following list specifies the detailed relation between the

[RFC PATCH 14/15] ARM: dts: Add bus nodes using VDD_INT for Exynos4x12

2015-11-26 Thread Chanwoo Choi
This patch adds the bus noes using VDD_INT for Exynos4x12 SoC. Exynos4x12 has the following AXI buses to translate data between DRAM and sub-blocks. Following list specifies the detailed relation between DRAM and sub-blocks: - ACLK100 clock for PERIL/PERIR/MFC(PCLK) - ACLK160 clock for CAM/TV/LCD

[RFC PATCH 12/15] ARM: dts: Add support of bus frequency using VDD_INT for exynos3250-rinato

2015-11-26 Thread Chanwoo Choi
This patch adds the bus device-tree node of INT (internal) block to enable the bus frequency. The following sub-blocks share the VDD_INT power source: - LEFTBUS (parent device) - RIGHTBUS - PERIL - LCD0 - FSYS - MCUISP / ISP The LEFTBUS is parent device with devfreq ondemand governor and the rest

[RFC PATCH 13/15] ARM: dts: Add bus nodes using VDD_MIF for Exynos4x12

2015-11-26 Thread Chanwoo Choi
This patch adds the bus noes using VDD_MIF for Exynos4x12 SoC. Exynos4x12 has the following AXI buses to translate data between DRAM and DMC/ACP/C2C. Signed-off-by: Chanwoo Choi --- arch/arm/boot/dts/exynos4x12.dtsi | 73 +++ 1 file

[RFC PATCH 09/15] PM / devfreq: exynos: Update documentation for bus devices using passive governor

2015-11-26 Thread Chanwoo Choi
This patch updates the documentation for passive bus devices and adds the detailed example of Exynos3250. Signed-off-by: Chanwoo Choi --- .../devicetree/bindings/devfreq/exynos-bus.txt | 226 - 1 file changed, 223 insertions(+), 3 deletions(-)

[RFC PATCH 10/15] PM / devfreq: exynos: Remove unused exynos4/5 busfreq driver

2015-11-26 Thread Chanwoo Choi
This patch removes the unused exynos4/5 busfreq driver. Instead, generic exynos-bus frequency driver support the all Exynos SoCs. Signed-off-by: Chanwoo Choi --- drivers/devfreq/Kconfig | 22 - drivers/devfreq/exynos/Makefile |2 -

[RFC PATCH 11/15] ARM: dts: Add bus nodes using VDD_INT for Exynos3250

2015-11-26 Thread Chanwoo Choi
This patch adds the bus nodes using VDD_INT for Exynos3250 SoC. Exynos3250 has following AXI buses to translate data between DRAM and sub-blocks. Following list specifies the detailed relation between DRAM and sub-blocks: - ACLK400 clock for MCUISP - ACLK266 clock for ISP - ACLK200 clock for FSYS

[RFC PATCH 06/15] PM / devfreq: Add devfreq_get_devfreq_by_phandle()

2015-11-26 Thread Chanwoo Choi
This patch adds the new devfreq_get_devfreq_by_phandle() OF helper function which can find the instance of devfreq device by using phandle ("devfreq"). Signed-off-by: Chanwoo Choi --- drivers/devfreq/devfreq.c | 44

[RFC PATCH 02/15] PM / devfreq: exynos: Add documentation for generic exynos bus frequency driver

2015-11-26 Thread Chanwoo Choi
This patch adds the documentation for generic exynos bus frequency driver. Signed-off-by: Chanwoo Choi --- .../devicetree/bindings/devfreq/exynos-bus.txt | 92 ++ 1 file changed, 92 insertions(+) create mode 100644

[RFC PATCH 04/15] ARM: dts: Add DMC bus freqeuncy for exynos3250-rinato/monk

2015-11-26 Thread Chanwoo Choi
This patch adds the DMC (DRAM Memory Controller) bus frequency node which includes the devfreq-events and regulator properties. The bus frequency support the DVFS (Dynamic Voltage Frequency Scaling) feature with ondemand governor. The devfreq-events (ppmu_dmc0*) can monitor the utilization of DMC

[RFC PATCH 01/15] PM / devfreq: exynos: Add generic exynos bus frequency driver

2015-11-26 Thread Chanwoo Choi
This patch adds the generic exynos bus frequency driver for AMBA AXI bus of sub-blocks in exynos SoC with DEVFREQ framework. The Samsung Exynos SoC have the common architecture for bus between DRAM and sub-blocks in SoC. This driver can support the generic bus frequency driver for Exynos SoCs. In

[RFC PATCH 08/15] PM / devfreq: exynos: Add support of bus frequency of sub-blocks using passive governor

2015-11-26 Thread Chanwoo Choi
This patch adds the support of bus frequency feature for sub-blocks which share the one power line. If each bus depends on the power line, each bus is not able to change the voltage by oneself. To optimize the power-consumption on runtime, some buses using the same power line should change the

[RFC PATCH 05/15] PM / devfreq: Add new passive governor

2015-11-26 Thread Chanwoo Choi
This patch adds the new passive governor for DEVFREQ framework. The following governors are already present and used for DVFS (Dynamic Voltage and Frequency Scaling) drivers. The following governors are independently used for one device driver which don't give the influence to other device drviers

Re: [RFC PATCH 01/15] PM / devfreq: exynos: Add generic exynos bus frequency driver

2015-11-26 Thread MyungJoo Ham
On Thu, Nov 26, 2015 at 10:47 PM, Chanwoo Choi wrote: > This patch adds the generic exynos bus frequency driver for AMBA AXI bus > of sub-blocks in exynos SoC with DEVFREQ framework. The Samsung Exynos SoC > have the common architecture for bus between DRAM and sub-blocks

Re: [PATCH] ARM: dts: exynos5422-odroid*: remove fimd node

2015-11-26 Thread Marek Szyprowski
Hello, On 2015-11-24 05:32, Javier Martinez Canillas wrote: Hello Krzysztof, On 11/24/2015 12:50 AM, Krzysztof Kozlowski wrote: On 23.11.2015 22:56, Javier Martinez Canillas wrote: Hello Krzysztof, On 11/10/2015 09:43 PM, Krzysztof Kozlowski wrote: [snip] BTW, do you know why we don't

Re: [PATCH] ARM: dts: exynos5422-odroid*: remove fimd node

2015-11-26 Thread Javier Martinez Canillas
Hello Marek, On 11/26/2015 11:29 AM, Marek Szyprowski wrote: > Hello, > > On 2015-11-24 05:32, Javier Martinez Canillas wrote: >> Hello Krzysztof, >> >> On 11/24/2015 12:50 AM, Krzysztof Kozlowski wrote: >>> On 23.11.2015 22:56, Javier Martinez Canillas wrote: Hello Krzysztof, On

Re: [PATCH 1/2] drivers: amba: properly handle devices with power domains

2015-11-26 Thread Mathieu Poirier
On 26 November 2015 at 03:24, Ulf Hansson wrote: > On 26 November 2015 at 09:39, Marek Szyprowski > wrote: >> Hello, >> >> On 2015-11-25 19:09, Russell King - ARM Linux wrote: >>> >>> On Wed, Nov 25, 2015 at 02:56:10PM +0100, Ulf Hansson wrote:

Re: [RFC PATCH 01/15] PM / devfreq: exynos: Add generic exynos bus frequency driver

2015-11-26 Thread Chanwoo Choi
On Thu, Nov 26, 2015 at 11:00 PM, MyungJoo Ham wrote: > On Thu, Nov 26, 2015 at 10:47 PM, Chanwoo Choi wrote: >> This patch adds the generic exynos bus frequency driver for AMBA AXI bus >> of sub-blocks in exynos SoC with DEVFREQ framework. The

Re: [PATCH v2 08/13] exynos: fimg2d: add g2d_set_direction

2015-11-26 Thread Emil Velikov
On 22 November 2015 at 18:48, Tobias Jakobi wrote: > This allows setting the two direction registers, which specify how > the engine blits pixels. This can be used for overlapping blits, > which happen e.g. when 'moving' a rectangular region inside a > fixed buffer.

Re: [PATCH v2 00/13] drm/exynos: async G2D and g2d_move()

2015-11-26 Thread Emil Velikov
Hi Tobias, On 22 November 2015 at 18:48, Tobias Jakobi wrote: > Hello, > > this series mostly touches G2D code. It introduces the following: > > (1) drmHandleEvent2() is added to enable processing of vendor-specific > events. This will be used to expose

Re: [PATCH v2 08/13] exynos: fimg2d: add g2d_set_direction

2015-11-26 Thread Tobias Jakobi
Hello Emil, my main system which I also used for development was stolen on Tuesday, so I won't be working on this series anytime soon. If anyone wants to pick it up, please go ahead. - Tobias Emil Velikov wrote: > On 22 November 2015 at 18:48, Tobias Jakobi >

Re: [PATCH v2 4/5] drm/exynos: mixer: do blending setup in mixer_cfg_layer()

2015-11-26 Thread Tobias Jakobi
Hello Inki, my main system which I also used for development was stolen on Tuesday, so I won't be working on this series anytime soon. If anyone wants to pick it up, please go ahead. - Tobias Inki Dae wrote: > 2015-11-24 2:44 GMT+09:00 Tobias Jakobi : >> Hey

Re: [PATCH v2 08/13] exynos: fimg2d: add g2d_set_direction

2015-11-26 Thread Emil Velikov
On 26 November 2015 at 16:41, Tobias Jakobi wrote: > Hello Emil, > > my main system which I also used for development was stolen on Tuesday, > so I won't be working on this series anytime soon. If anyone wants to > pick it up, please go ahead. > Sad to hear that x2. You've

Re: [PATCH v8 02/17] drm: bridge: analogix/dp: split exynos dp driver to bridge directory

2015-11-26 Thread Heiko Stübner
Hi Yakir, Am Mittwoch, 28. Oktober 2015, 16:21:59 schrieb Yakir Yang: > Split the dp core driver from exynos directory to bridge directory, > and rename the core driver to analogix_dp_*, rename the platform > code to exynos_dp. > > Beside the new analogix_dp driver would export four hooks. >