Re: [PATCH V7 11/12] Documentation: bridge: Add documentation for ps8622 DT properties

2014-10-07 Thread Tomi Valkeinen
On 06/10/14 17:40, Laurent Pinchart wrote: But seriously speaking, I was thinking about this. I'd really like to have a generic video-mux node, that would still somehow allow us to have device specific configurations for the video sources and sinks (which the endpoints provide us), without

Re: [PATCH V7 11/12] Documentation: bridge: Add documentation for ps8622 DT properties

2014-10-07 Thread Laurent Pinchart
Hi Tomi, On Tuesday 07 October 2014 10:06:10 Tomi Valkeinen wrote: On 06/10/14 17:40, Laurent Pinchart wrote: But seriously speaking, I was thinking about this. I'd really like to have a generic video-mux node, that would still somehow allow us to have device specific configurations for

[PATCH v3 0/2] Handle reboot for Exynos SoC via restart_handler

2014-10-07 Thread Pankaj Dubey
This patch removes restart hook from machine_desc of Exynos, and moves respective code into reboot_notifiers. Exynos5440 handles reboot via clock register so let's register a restart_handler in Exynos5440 clock driver. For rest Exynos SoC, reboot is handled via PMU SWRESET register so let's

[PATCH v3 2/2] ARM: EXYNOS: PMU: move restart code into pmu driver

2014-10-07 Thread Pankaj Dubey
Let's register restart handler from PMU driver for reboot functionality. So that we can remove restart hooks from machine specific file, and thus moving ahead when PMU moved to driver folder, this functionality can be reused for ARM64 based Exynos SoC's. Signed-off-by: Pankaj Dubey

[PATCH v3 1/2] clk: samsung: exynos5440: move restart code into clock driver

2014-10-07 Thread Pankaj Dubey
Let's register restart handler for Exynos5440 from it's clock driver for reboot functionality. So that we can cleanup restart hooks from machine specific file. CC: Sylwester Nawrocki s.nawro...@samsung.com CC: Mike Turquette mturque...@linaro.org Signed-off-by: Pankaj Dubey

Re: [PATCH V7 11/12] Documentation: bridge: Add documentation for ps8622 DT properties

2014-10-07 Thread Tomi Valkeinen
On 07/10/14 10:23, Laurent Pinchart wrote: You mean the bridge driver would somehow take a peek into panel1 and panel2 nodes, looking for bridge specific properties? Sounds somewhat fragile to me... How would the bridge driver know a property is for the bridge? No, I mean the bridge driver

Re: [PATCH v7] mfd: syscon: Decouple syscon interface from platform devices

2014-10-07 Thread Lee Jones
On Tue, 30 Sep 2014, Pankaj Dubey wrote: Currently a syscon entity can be only registered directly through a platform device that binds to a dedicated syscon driver. However in certain use cases it is desirable to make a device used with another driver a syscon interface provider. For

Re: [PATCH v2] [media] Remove references to non-existent PLAT_S5P symbol

2014-10-07 Thread Sylwester Nawrocki
On 06/10/14 18:36, Paul Bolle wrote: On Mon, 2014-10-06 at 18:10 +0200, Sylwester Nawrocki wrote: The PLAT_S5P Kconfig symbol was removed in commit d78c16ccde96 (ARM: SAMSUNG: Remove remaining legacy code). However, there are still some references to that symbol left, fix that by

[PATCH v3] usb: Remove references to non-existent PLAT_S5P symbol

2014-10-07 Thread Sylwester Nawrocki
The PLAT_S5P Kconfig symbol was removed in commit d78c16ccde96 (ARM: SAMSUNG: Remove remaining legacy code). There are still some references left, fix that by replacing them with ARCH_S5PV210. Fixes: d78c16ccde96 (ARM: SAMSUNG: Remove remaining legacy code) Reported-by: Paul Bolle

[PATCH v9 2/2] ARM: exynos5: Add Suspend-to-RAM support for 5420

2014-10-07 Thread Vikas Sajjan
Adds Suspend-to-RAM support for EXYNOS5420 Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com --- arch/arm/mach-exynos/suspend.c | 151 +++- 1 file changed, 149 insertions(+), 2 deletions(-) diff --git

[PATCH v9 1/2] ARM: exynos5: Add PMU support for 5420

2014-10-07 Thread Vikas Sajjan
From: Abhilash Kesavan a.kesa...@samsung.com Adds intial PMU settings for exynos5420. This is required for future S2R and Switching support. Signed-off-by: Thomas Abraham thomas...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Vikas Sajjan

[PATCH v9 0/2] Adds PMU and S2R support for exynos5420

2014-10-07 Thread Vikas Sajjan
Rebased on 1] Kukjin Kim's tree, for-next branch https://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git/log/?h=for-next 2] Pankaj Dubey's v9 PMU patchset http://www.spinics.net/lists/arm-kernel/msg367939.html changes since v8: - addressed abhilash's comments to remove the

[PATCH v2 4/4] phy: exynos7-usbdrd: Update dependency for ARCH_EXYNOS

2014-10-07 Thread Vivek Gautam
This PHY controller is also present on Exynos7 platform in arch-exynos family. So PHY_EXYNOS5_USBDRD should now depend on ARCH_EXYNOS. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- drivers/phy/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 0/4] usb: dwc3/phy-exynos5-usbdrd: Extend support to Exynos7

2014-10-07 Thread Vivek Gautam
Adding required support for clocks and additional VBUS regulators to enable USB 3.0 support on Exynos7 SoC. This series depends for ACRH_EXYNOS7 support on following series: [PATCH v5 0/8] arch: arm64: Enable support for Samsung Exynos7 SoC

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

2014-10-07 Thread Vivek Gautam
Exynos7 also has a separate special gate clock going to the IP apart from the usual AHB clock. So add support for the same. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- drivers/usb/dwc3/dwc3-exynos.c | 16 1 file changed, 16 insertions(+) diff --git

[PATCH v2 3/4] phy: exynos5-usbdrd: Add facility for VBUS-BOOST-5V supply

2014-10-07 Thread Vivek Gautam
Some Exynos SoCs have a separate regulator controlling a Boost 5V supply which goes as input for VBUS regulator. So adding a control for the same in driver, to enable vbus supply on the port. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- drivers/phy/phy-exynos5-usbdrd.c | 30

[PATCH v2 2/4] phy: exynos5-usbdrd: Add pipe-clk and utmi-clk support

2014-10-07 Thread Vivek Gautam
Exynos7 SoC has now separate gate control for 125MHz pipe3 phy clock, as well as 60MHz utmi phy clock. So get the same and control in the phy-exynos5-usbdrd driver. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- .../devicetree/bindings/phy/samsung-phy.txt|4

Re: [PATCH V7 11/12] Documentation: bridge: Add documentation for ps8622 DT properties

2014-10-07 Thread Tomi Valkeinen
On 20/09/14 14:22, Ajay kumar wrote: Well, I am okay with using video ports to describe the relationship between the encoder, bridge and the panel. But, its just that I need to make use of 2 functions when phandle does it using just one function ;) -panel_node =

Re: [PATCH V7 11/12] Documentation: bridge: Add documentation for ps8622 DT properties

2014-10-07 Thread Ajay kumar
On Tue, Oct 7, 2014 at 4:00 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On 20/09/14 14:22, Ajay kumar wrote: Well, I am okay with using video ports to describe the relationship between the encoder, bridge and the panel. But, its just that I need to make use of 2 functions when phandle

[PATCH 2/4] drm/exynos/dsi: simplify device pointer evaluation

2014-10-07 Thread Andrzej Hajda
The patch replaces multiple evaluation of device address with local variable. Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 40 - 1 file changed, 20 insertions(+), 20 deletions(-) diff --git

[PATCH 0/4] drm/exynos/dsi: remove global display variable

2014-10-07 Thread Andrzej Hajda
Hi Inki, Many Exynos DRM drivers uses global variables to represent associated devices in Exynos DRM internal framework. It is quite confusing, it adds data duplication and finally it does not allow to handle more than one device in system. It seems better to embed such structures in private

[PATCH 1/4] drm/exynos/dsi: remove global variable exynos_dsi_display

2014-10-07 Thread Andrzej Hajda
exynos_dsi_display is used by internal Exynos DRM framework for representing pair encoder-connecter. As it should be mapped 1:1 to dsi private context it seems more reasonable to embed it directly in that context. As a result further code simplification will be possible. Moreover it will be

Re: [PATCH] drm/exynos: init vblank with real number of crtcs

2014-10-07 Thread Andrzej Hajda
Hi Inki, Gently ping. Andrzej On 09/19/2014 02:57 PM, Andrzej Hajda wrote: Initialization of vblank with MAX_CRTC caused attempts to disabling vblanks for non-existing crtcs in case drm used fewer crtcs. The patch fixes it. Signed-off-by: Andrzej Hajda a.ha...@samsung.com ---

Re: [PATCH v9 1/2] ARM: EXYNOS: Add platform driver support for Exynos PMU

2014-10-07 Thread Javier Martinez Canillas
Hello Pankaj, On Mon, Oct 6, 2014 at 11:26 AM, Pankaj Dubey pankaj.du...@samsung.com wrote: This patch modifies Exynos Power Management Unit (PMU) initialization implementation in following way: - Added platform driver support for Exynos PMU IP. - Added platform struct exynos_pmu_data to

Re: [PATCH v9 2/2] ARM: EXYNOS: Move PMU specific definitions from common.h

2014-10-07 Thread Javier Martinez Canillas
Hello Pankaj, On Mon, Oct 6, 2014 at 11:26 AM, Pankaj Dubey pankaj.du...@samsung.com wrote: This patch moves PMU specific definitions into a new file as exynos-pmu.h. This will help in reducing dependency of common.h in pmu.c. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com

Re: [PATCH v9 1/2] ARM: exynos5: Add PMU support for 5420

2014-10-07 Thread Javier Martinez Canillas
Hellos Vikas, On Tue, Oct 7, 2014 at 11:22 AM, Vikas Sajjan vikas.saj...@samsung.com wrote: From: Abhilash Kesavan a.kesa...@samsung.com Adds intial PMU settings for exynos5420. This is required for future S2R and Switching support. Signed-off-by: Thomas Abraham thomas...@samsung.com

Re: [PATCH v9 2/2] ARM: exynos5: Add Suspend-to-RAM support for 5420

2014-10-07 Thread Javier Martinez Canillas
Hello Vikas, On Tue, Oct 7, 2014 at 11:22 AM, Vikas Sajjan vikas.saj...@samsung.com wrote: Adds Suspend-to-RAM support for EXYNOS5420 Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com --- arch/arm/mach-exynos/suspend.c | 151

[PATCH v3] ARM: EXYNOS: add Exynos3250 PMU support

2014-10-07 Thread Bartlomiej Zolnierkiewicz
This is needed for suspend/resume and cpuidle AFTR mode support. Cc: Pankaj Dubey pankaj.du...@samsung.com Cc: Vikas Sajjan vikas.saj...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Bartlomiej Zolnierkiewicz

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

2014-10-07 Thread Felipe Balbi
On Tue, Oct 07, 2014 at 03:49:33PM +0530, Vivek Gautam wrote: Exynos7 also has a separate special gate clock going to the IP apart from the usual AHB clock. So add support for the same. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com I'll take this one once -rc1 is tagged. The others

Re: [PATCH] drm/exynos: remove explicit encoder/connector de-initialization

2014-10-07 Thread Andrzej Hajda
Hi Inki, Another gently ping :) Andrzej On 09/22/2014 11:30 AM, Andrzej Hajda wrote: All KMS objects are destroyed by drm_mode_config_cleanup in proper order so component drivers should not care about it. Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- Hi Inki, This is another

Re: [PATCH V7 11/12] Documentation: bridge: Add documentation for ps8622 DT properties

2014-10-07 Thread Laurent Pinchart
Hi Ajay, On Tuesday 07 October 2014 16:06:55 Ajay kumar wrote: On Tue, Oct 7, 2014 at 4:00 PM, Tomi Valkeinen wrote: On 20/09/14 14:22, Ajay kumar wrote: Well, I am okay with using video ports to describe the relationship between the encoder, bridge and the panel. But, its just that I

[PATCH] drm/exynos: vidi: fix build warning

2014-10-07 Thread Inki Dae
encoder object isn't used anymore so remove it. Signed-off-by: Inki Dae inki@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_vidi.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_vidi.c b/drivers/gpu/drm/exynos/exynos_drm_vidi.c index

Re: [PATCH] drm/exynos: init vblank with real number of crtcs

2014-10-07 Thread Inki Dae
Sorry for late. On 2014년 10월 07일 21:27, Andrzej Hajda wrote: Hi Inki, Gently ping. Andrzej On 09/19/2014 02:57 PM, Andrzej Hajda wrote: Initialization of vblank with MAX_CRTC caused attempts to disabling vblanks for non-existing crtcs in case drm used fewer crtcs. The patch fixes

Re: [PATCH V7 11/12] Documentation: bridge: Add documentation for ps8622 DT properties

2014-10-07 Thread Laurent Pinchart
Hi Tomi, On Tuesday 07 October 2014 11:25:56 Tomi Valkeinen wrote: On 07/10/14 10:23, Laurent Pinchart wrote: You mean the bridge driver would somehow take a peek into panel1 and panel2 nodes, looking for bridge specific properties? Sounds somewhat fragile to me... How would the bridge

Re: [PATCH v3 0/2] Handle reboot for Exynos SoC via restart_handler

2014-10-07 Thread Guenter Roeck
On Tue, Oct 07, 2014 at 01:23:19PM +0530, Pankaj Dubey wrote: This patch removes restart hook from machine_desc of Exynos, and moves respective code into reboot_notifiers. Nitpick: s/reboot_notifiers/restart_notifiers/ Guenter Exynos5440 handles reboot via clock register so let's register a

[PATCHv2 0/2] ARM: dts: Add new board dts file for Exynos3250-based Rinato board

2014-10-07 Thread Chanwoo Choi
This patchset adds new board dts file for Samsung Rinato board (Gear 2) which is based on Exynos3250 SoC and adds sleep mode pin configuration using pinctrl subsystem to reduce leakage power-consumption in sleep state. This patchset is based on linux-samsung.git (for-next branch). Changes from

[PATCHv2 2/2] ARM: dts: Add sleep mode pin configuration for exynos3250-rinato

2014-10-07 Thread Chanwoo Choi
This patch add sleep mode pin configuration using pinctrl subsystem to reduce leakage power-consumption of gpio pin in sleep state. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Kyungmin Park Kyungmin p...@samsung.com --- arch/arm/boot/dts/exynos3250-pinctrl.dtsi | 16

[PATCHv2 1/2] ARM: dts: Add board dts file for Exynos3250-based Rinato board

2014-10-07 Thread Chanwoo Choi
This patch add support for device tree sources for Samsung Rinato baord (Gear 2) based on Exynos3250 SoC. This dts file support following features: - eMMC - Main PMIC (Samsung S2MPS14) - Interface PMIC (Maxim MAX77836, MUIC, fuel-gauge, charger) - RTC of Exynos3250 - ADC of Exynos3250 with NTC

Re: [PATCH] ARM: dts: fix MMC2 regulators for Exynos5420 Arndale Octa board

2014-10-07 Thread Jaehoon Chung
Hi, On 10/07/2014 01:51 AM, Doug Anderson wrote: Bartlomiej, On Thu, Oct 2, 2014 at 10:24 AM, Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com wrote: Hi, On Thursday, October 02, 2014 09:45:41 AM Doug Anderson wrote: Bartiomiej On Thu, Oct 2, 2014 at 9:39 AM, Bartlomiej

Re: [PATCH] drm/exynos: init vblank with real number of crtcs

2014-10-07 Thread Inki Dae
On 2014년 10월 08일 00:28, Inki Dae wrote: Sorry for late. On 2014년 10월 07일 21:27, Andrzej Hajda wrote: Hi Inki, Gently ping. Andrzej On 09/19/2014 02:57 PM, Andrzej Hajda wrote: Initialization of vblank with MAX_CRTC caused attempts to disabling vblanks for non-existing crtcs in case

[PATCH v2] ARM: dts: add board dts file for Exynos3250-based Monk board

2014-10-07 Thread YoungJun Cho
From: Youngjun Cho yj44@samsung.com This patch adds new board dts file to support Samsung Monk board which is based on Exynos3250 SoC and has different H/W configuration from Rinato. This patch is based on linux-samsung.git for-next branch and depends on [PATCHv2 0/2] ARM: dts: Add new board

Re: [PATCH 2/3] drm/exynos: dp: Remove support for unused dptx-phy

2014-10-07 Thread Vivek Gautam
Hi, On Mon, Sep 15, 2014 at 6:43 PM, Vivek Gautam gautam.vi...@samsung.com wrote: Now that we have moved to generic phy based bindings, we don't need to have any code related to older dptx-phy. Nobody is using this dptx-phy anymore, so removing the same. Signed-off-by: Vivek Gautam

Re: [PATCH 3/3] arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy

2014-10-07 Thread Vivek Gautam
Hi, CC'ing Kukjin, my bad, missed him while sending the patch. :-( On Mon, Sep 15, 2014 at 6:43 PM, Vivek Gautam gautam.vi...@samsung.com wrote: DP PHY now require pmu-system-controller to handle PMU register to control PHY's power isolation. Adding the same to dp-phy node. Signed-off-by:

Re: [PATCH 2/3] drm/exynos: dp: Remove support for unused dptx-phy

2014-10-07 Thread Vivek Gautam
Hi, CC'ing Kukjin, my bad, missed him while sending the patch. :-( On Wed, Oct 8, 2014 at 8:27 AM, Vivek Gautam gautam.vi...@samsung.com wrote: Hi, On Mon, Sep 15, 2014 at 6:43 PM, Vivek Gautam gautam.vi...@samsung.com wrote: Now that we have moved to generic phy based bindings, we

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

2014-10-07 Thread Vivek Gautam
On Tue, Oct 7, 2014 at 7:41 PM, Felipe Balbi ba...@ti.com wrote: On Tue, Oct 07, 2014 at 03:49:33PM +0530, Vivek Gautam wrote: Exynos7 also has a separate special gate clock going to the IP apart from the usual AHB clock. So add support for the same. Signed-off-by: Vivek Gautam

Re: [PATCH 2/3] drm/exynos: dp: Remove support for unused dptx-phy

2014-10-07 Thread Inki Dae
On 2014년 10월 08일 11:57, Vivek Gautam wrote: Hi, On Mon, Sep 15, 2014 at 6:43 PM, Vivek Gautam gautam.vi...@samsung.com wrote: Now that we have moved to generic phy based bindings, we don't need to have any code related to older dptx-phy. Nobody is using this dptx-phy anymore, so

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

2014-10-07 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 Acked-by: Nicolas Pitre n...@linaro.org --- Changes in v2: - Made use of the MCPM suspend/powered_up call-backs

Re: [PATCH v5 0/8] arch: arm64: Enable support for Samsung Exynos7 SoC

2014-10-07 Thread Abhilash Kesavan
Hi Arnd and Olof, On Tue, Sep 30, 2014 at 9:20 PM, Catalin Marinas catalin.mari...@arm.com wrote: On Tue, Sep 30, 2014 at 04:15:21PM +0100, Abhilash Kesavan wrote: On Tue, Sep 23, 2014 at 2:18 PM, Abhilash Kesavan kesavan.abhil...@gmail.com wrote: This patchset supports the new Exynos7

Re: [PATCH v5 0/8] arch: arm64: Enable support for Samsung Exynos7 SoC

2014-10-07 Thread Abhilash Kesavan
Hi Tomasz, On Tue, Oct 7, 2014 at 9:46 AM, Kukjin Kim kg...@kernel.org wrote: Tomasz Figa wrote: On 30.09.2014 17:12, Abhilash Kesavan wrote: Hi Tomasz, On Mon, Sep 22, 2014 at 2:22 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Abhilash, On 22.09.2014 06:47, Abhilash Kesavan