Re: [RESEND PATCH v4 2/2] ARM: EXYNOS: Refactor the pm code to use DT based lookup

2014-08-21 Thread Vikas Sajjan
Hi, On Tue, Aug 19, 2014 at 3:05 PM, Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com wrote: Hi, On Tuesday, August 19, 2014 01:26:49 PM Vikas Sajjan wrote: Hi Kukjin, On Tue, Aug 19, 2014 at 12:22 PM, Vikas Sajjan vikas.saj...@samsung.com wrote: Refactoring the pm.c to avoid using

Re: [PATCH V2 4/9] drm/exynos: add exynos_dp_panel driver registration to drm driver

2014-08-21 Thread Thierry Reding
On Tue, Aug 19, 2014 at 09:02:39PM -0700, Stéphane Marchesin wrote: On Tue, Apr 22, 2014 at 8:26 AM, Thierry Reding thierry.red...@gmail.com wrote: On Tue, Apr 22, 2014 at 08:33:23PM +0530, Ajay kumar wrote: Hi Thierry, On Tue, Apr 22, 2014 at 2:03 PM, Thierry Reding

Re: [PATCH v7 11/11] clk: rockchip: add restart handler

2014-08-21 Thread Heiko Stübner
Am Mittwoch, 20. August 2014, 21:15:10 schrieb Doug Anderson: Guenter / Heiko, On Tue, Aug 19, 2014 at 5:45 PM, Guenter Roeck li...@roeck-us.net wrote: From: Heiko Stübner he...@sntech.de Add infrastructure to write the correct value to the restart register and register the restart

Re: [PATCH V2 4/9] drm/exynos: add exynos_dp_panel driver registration to drm driver

2014-08-21 Thread Stéphane Marchesin
On Thu, Aug 21, 2014 at 12:36 AM, Thierry Reding thierry.red...@gmail.com wrote: On Tue, Aug 19, 2014 at 09:02:39PM -0700, Stéphane Marchesin wrote: On Tue, Apr 22, 2014 at 8:26 AM, Thierry Reding thierry.red...@gmail.com wrote: On Tue, Apr 22, 2014 at 08:33:23PM +0530, Ajay kumar wrote: Hi

Re: [PATCH V2 4/9] drm/exynos: add exynos_dp_panel driver registration to drm driver

2014-08-21 Thread Ajay kumar
On Thu, Aug 21, 2014 at 1:55 PM, Stéphane Marchesin stephane.marche...@gmail.com wrote: On Thu, Aug 21, 2014 at 12:36 AM, Thierry Reding thierry.red...@gmail.com wrote: On Tue, Aug 19, 2014 at 09:02:39PM -0700, Stéphane Marchesin wrote: On Tue, Apr 22, 2014 at 8:26 AM, Thierry Reding

Re: [PATCH V2 4/9] drm/exynos: add exynos_dp_panel driver registration to drm driver

2014-08-21 Thread Thierry Reding
Adding Boris and Ludovic since this topic came up in a different thread as well. On Thu, Aug 21, 2014 at 01:25:07AM -0700, Stéphane Marchesin wrote: On Thu, Aug 21, 2014 at 12:36 AM, Thierry Reding thierry.red...@gmail.com wrote: On Tue, Aug 19, 2014 at 09:02:39PM -0700, Stéphane Marchesin

Re: [PATCH V2 4/9] drm/exynos: add exynos_dp_panel driver registration to drm driver

2014-08-21 Thread Thierry Reding
On Thu, Aug 21, 2014 at 02:57:21PM +0530, Ajay kumar wrote: On Thu, Aug 21, 2014 at 1:55 PM, Stéphane Marchesin stephane.marche...@gmail.com wrote: On Thu, Aug 21, 2014 at 12:36 AM, Thierry Reding thierry.red...@gmail.com wrote: On Tue, Aug 19, 2014 at 09:02:39PM -0700, Stéphane Marchesin

Re: [RESEND PATCH 4/7] mfd: cros_ec: move locking into cros_ec_cmd_xfer

2014-08-21 Thread Javier Martinez Canillas
Hello Doug, On 08/21/2014 12:36 AM, Doug Anderson wrote: Javier, On Wed, Aug 20, 2014 at 5:13 AM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: From: Andrew Bresticker abres...@chromium.org Now that there's a central cros_ec_cmd_xfer(), move the locking out of the SPI

Re: [PATCHv3] thermal: exynos: Add support for TRIM_RELOAD feature at Exynos3250

2014-08-21 Thread Andreas Färber
Hello, Am 21.08.2014 03:38, schrieb Chanwoo Choi: On 08/20/2014 10:38 PM, edubez...@gmail.com wrote: On Tue, Aug 19, 2014 at 7:52 PM, Chanwoo Choi cw00.c...@samsung.com wrote: diff --git a/drivers/thermal/samsung/exynos_tmu_data.c b/drivers/thermal/samsung/exynos_tmu_data.c index

[PATCH v2 1/2] usb: host: ehci-exynos: Remove unnecessary usb-phy support

2014-08-21 Thread Vivek Gautam
Now that we have completely moved from older USB-PHY drivers to newer GENERIC-PHY drivers for PHYs available with USB controllers on Exynos series of SoCs, we can remove the support for the same in our host drivers too. This should fix the issue on ehci-exynos, wherein in the absence of

[PATCH v2 2/2] usb: host: ohci-exynos: Remove unnecessary usb-phy support

2014-08-21 Thread Vivek Gautam
Now that we have completely moved from older USB-PHY drivers to newer GENERIC-PHY drivers for PHYs available with USB controllers on Exynos series of SoCs, we can remove the support for the same in our host drivers too. This should fix the issue on ohci-exynos, wherein in the absence of

Re: [PATCH 1/1] pinctrl: exynos: Lock GPIOs as interrupts when used as EINTs

2014-08-21 Thread Linus Walleij
On Fri, Aug 8, 2014 at 6:48 PM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: From: Tomasz Figa t.f...@samsung.com Currently after configuring a GPIO pin as an interrupt related pinmux registers are changed, but there is no protection from calling gpio_direction_*() in a

[PATCH] drm: exynos: Make of_device_id array const

2014-08-21 Thread Kiran Padwal
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/gpu/drm/exynos/exynos_drm_dsi.c |2 +- drivers/gpu/drm/exynos/exynos_hdmi.c|2 +- drivers/gpu/drm/exynos/exynos_mixer.c |2 +- 3

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

2014-08-21 Thread Vikas Sajjan
Rebased on 1] Kukjin Kim's tree, master branch http://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git/log/ 2] Pankaj Dubey's v7 PMU patchset https://lkml.org/lkml/2014/7/9/2 http://lists.infradead.org/pipermail/linux-arm-kernel/2014-July/270655.html 3] My pm.c refactoring patchset

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

2014-08-21 Thread Vikas Sajjan
From: Abhilash Kesavan a.kesa...@samsung.com 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/pm.c | 149 - 1 file changed,

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

2014-08-21 Thread Vikas Sajjan
From: Abhilash Kesavan a.kesa...@samsung.com Add 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 v2 0/3] Adds PMU and S2R support for exynos5800

2014-08-21 Thread Vikas Sajjan
Rebased on 1] Kukjin Kim's tree, master branch http://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git/log/ 2] My 5420 PMU Series : http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg35699.html Tested on Exynos5800 based chromebook (peach-pi board) with help of

[PATCH v2 1/3] ARM: dts: Add pmu node for exynos5800 SoC

2014-08-21 Thread Vikas Sajjan
Adds pmu node for exynos5800 SoC. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- .../devicetree/bindings/arm/samsung/pmu.txt|1 + arch/arm/boot/dts/exynos5800.dtsi |4 2 files changed, 5 insertions(+) diff --git

[PATCH v2 3/3] ARM: exynos: Add PMU and S2R support for exynos5800 SoC

2014-08-21 Thread Vikas Sajjan
Adds PMU and S2R support for exynos5800 SoC. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- arch/arm/mach-exynos/pm.c |3 +++ arch/arm/mach-exynos/pmu.c | 22 ++ arch/arm/mach-exynos/regs-pmu.h |3 ++- 3 files changed, 27 insertions(+), 1

[PATCH v2 2/3] ARM: exynos: Add exynos5800-pmu compatible entry

2014-08-21 Thread Vikas Sajjan
Adds exynos5800-pmu compatible string entry in the pmu table. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- arch/arm/mach-exynos/exynos.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index 6a24e11..90377c9 100644

Re: [RESEND PATCH 1/7] mfd: cros_ec: Delay for 50ms when we see EC_CMD_REBOOT_EC

2014-08-21 Thread Lee Jones
On Wed, 20 Aug 2014, Javier Martinez Canillas wrote: From: Doug Anderson diand...@chromium.org If someone sends a EC_CMD_REBOOT_EC to the EC, the EC will likely be unresponsive for quite a while. Add a delay to the end of the command to prevent random failures of future commands. NOTES:

Re: [RESEND PATCH 1/7] mfd: cros_ec: Delay for 50ms when we see EC_CMD_REBOOT_EC

2014-08-21 Thread Javier Martinez Canillas
Hello Lee, On 08/21/2014 03:37 PM, Lee Jones wrote: On Wed, 20 Aug 2014, Javier Martinez Canillas wrote: From: Doug Anderson diand...@chromium.org If someone sends a EC_CMD_REBOOT_EC to the EC, the EC will likely be unresponsive for quite a while. Add a delay to the end of the command to

RE: [PATCH v7 3/4] ARM: EXYNOS: Add platform driver support for Exynos PMU

2014-08-21 Thread Pankaj Dubey
+Arnd, Lee Jones Hi Tomasz, On Tuesday, August 19, 2014 Tomasz Figa wrote: Hi Bart, On 18.08.2014 19:42, Bartlomiej Zolnierkiewicz wrote: Hi, On Monday, July 28, 2014 08:40:52 AM Pankaj Dubey wrote: Hi Tomasz, On Friday, July 25, 2014 Tomasz Figa wrote: To: Pankaj Dubey;

Re: [RESEND PATCH 3/7] mfd: cros_ec: stop calling -cmd_xfer() directly

2014-08-21 Thread Lee Jones
On Wed, 20 Aug 2014, Javier Martinez Canillas wrote: From: Andrew Bresticker abres...@chromium.org Instead of having users of the ChromeOS EC call the interface-specific cmd_xfer() callback directly, introduce a central cros_ec_cmd_xfer() to use instead. This will allow us to put all the

Re: [RESEND PATCH 4/7] mfd: cros_ec: move locking into cros_ec_cmd_xfer

2014-08-21 Thread Lee Jones
On Wed, 20 Aug 2014, Javier Martinez Canillas wrote: From: Andrew Bresticker abres...@chromium.org Now that there's a central cros_ec_cmd_xfer(), move the locking out of the SPI and LPC drivers. Signed-off-by: Andrew Bresticker abres...@chromium.org Reviewed-by: Simon Glass

Re: [RESEND PATCH 6/7] mfd: cros_ec: Instantiate sub-devices from device tree

2014-08-21 Thread Lee Jones
On Wed, 20 Aug 2014, Javier Martinez Canillas wrote: From: Todd Broch tbr...@chromium.org If the EC device tree node has sub-nodes, try to instantiate them as MFD sub-devices. We can configure the EC features provided by the board. Signed-off-by: Todd Broch tbr...@chromium.org

Re: [RESEND PATCH 5/7] mfd: cros_ec: wait for completion of commands that return IN_PROGRESS

2014-08-21 Thread Lee Jones
On Wed, 20 Aug 2014, Javier Martinez Canillas wrote: From: Andrew Bresticker abres...@chromium.org When an EC command returns EC_RES_IN_PROGRESS, we need to query the state of the EC until it indicates that it is no longer busy. Do this in cros_ec_cmd_xfer() under the EC's mutex so that

[PATCH v5 4/4] phy: exynos5-usbdrd: Calibrate LOS levels for exynos5420/5800

2014-08-21 Thread Vivek Gautam
Adding phy calibrate callback, which facilitates setting certain PHY settings post initialization of the PHY controller. Exynos5420 and Exynos5800 have 28nm USB 3.0 DRD PHY for which the Loss-of-Signal (LOS) Detector Threshold Level as well as Tx-Vboost-Level should be controlled for Super-Speed

[PATCH v5 3/4] usb: hcd: Caibrate PHY post hcd reset

2014-08-21 Thread Vivek Gautam
Some quirky PHYs may require to be calibrated post the hcd initialization. The USB 3.0 DRD PHY on Exynos5420/5800 systems, coming along with Synopsys's DWC3 controller, is one such PHY which needs to be calibrated post xhci's reset at initialization time and at resume time, to get the controller

[PATCH v5 2/4] usb: host: xhci-plat: Get PHYs for xhci's hcds

2014-08-21 Thread Vivek Gautam
The host controller by itself may sometimes need to handle PHY and/or calibrate some of the PHY settings to get full support out of the PHY controller. The PHY core provides a calibration funtionality now to do so. Therefore, facilitate getting the two possible PHYs, viz. USB 2.0 type (UTMI+) and

[PATCH v5 1/4] phy: Add provision for calibrating phy.

2014-08-21 Thread Vivek Gautam
Some PHY controllers may need to calibrate certain PHY settings after initialization of the controller and sometimes even after initializing the PHY-consumer too. Add support for the same in order to let consumers do so in need. Signed-off-by: vivek Gautam gautam.vi...@samsung.com ---

[PATCH v5 0/4] Fine tune USB 3.0 PHY on exynos5420

2014-08-21 Thread Vivek Gautam
This series is based on Heikki's patches for simpliefied phy lookup table: [PATCHv3 0/6] phy: simplified phy lookup [1], applied against 'usb-next' branch alongwith Sergei's patch for adding generic phy support to usb hcd [2]. Changes since v4: - Rebased on latest patches by Heikki. - Took care

Re: [PATCH v7 3/4] ARM: EXYNOS: Add platform driver support for Exynos PMU

2014-08-21 Thread Tomasz Figa
On 21.08.2014 16:07, Pankaj Dubey wrote: +Arnd, Lee Jones Hi Tomasz, On Tuesday, August 19, 2014 Tomasz Figa wrote: Hi Bart, On 18.08.2014 19:42, Bartlomiej Zolnierkiewicz wrote: Hi, On Monday, July 28, 2014 08:40:52 AM Pankaj Dubey wrote: Hi Tomasz, On Friday, July 25, 2014

Re: [PATCHv3] thermal: exynos: Add support for TRIM_RELOAD feature at Exynos3250

2014-08-21 Thread Chanwoo Choi
Dear Andreas, On Thu, Aug 21, 2014 at 7:32 PM, Andreas Färber afaer...@suse.de wrote: Hello, Am 21.08.2014 03:38, schrieb Chanwoo Choi: On 08/20/2014 10:38 PM, edubez...@gmail.com wrote: On Tue, Aug 19, 2014 at 7:52 PM, Chanwoo Choi cw00.c...@samsung.com wrote: diff --git

Re: [PATCH v7 02/11] power/restart: Call machine_restart instead of arm_pm_restart

2014-08-21 Thread Doug Anderson
Guenter, On Wed, Aug 20, 2014 at 9:42 PM, Guenter Roeck li...@roeck-us.net wrote: On Wed, Aug 20, 2014 at 09:10:31PM -0700, Doug Anderson wrote: Guenter, On Tue, Aug 19, 2014 at 5:45 PM, Guenter Roeck li...@roeck-us.net wrote: machine_restart is supported on non-ARM platforms, and and

Re: [PATCH 04/29] drivers: base: add notifier for failed driver bind

2014-08-21 Thread Laurent Pinchart
Hi Marek, Thank you for the patch. On Tuesday 05 August 2014 12:47:32 Marek Szyprowski wrote: This patch adds support for getting a notify for failed device driver bind, so all the items done in BUS_NOTIFY_BIND_DRIVER event can be cleaned if the driver fails to bind. Signed-off-by: Marek

Re: [PATCH v7 02/11] power/restart: Call machine_restart instead of arm_pm_restart

2014-08-21 Thread Guenter Roeck
On Thu, Aug 21, 2014 at 12:30:44PM -0700, Doug Anderson wrote: Guenter, On Wed, Aug 20, 2014 at 9:42 PM, Guenter Roeck li...@roeck-us.net wrote: On Wed, Aug 20, 2014 at 09:10:31PM -0700, Doug Anderson wrote: Guenter, On Tue, Aug 19, 2014 at 5:45 PM, Guenter Roeck li...@roeck-us.net

Re: [PATCH v7 02/11] power/restart: Call machine_restart instead of arm_pm_restart

2014-08-21 Thread Sebastian Reichel
Hi, On Tue, Aug 19, 2014 at 05:45:29PM -0700, Guenter Roeck wrote: machine_restart is supported on non-ARM platforms, and and ultimately calls arm_pm_restart, so dont call arm_pm_restart directly but use the more generic function. Cc: Russell King li...@arm.linux.org.uk Signed-off-by:

Re: [PATCH v7 04/11] arm: Support restart through restart handler call chain

2014-08-21 Thread Andreas Färber
Hi, Am 20.08.2014 02:45, schrieb Guenter Roeck: The kernel core now supports a restart handler call chain for system restart functions. With this change, the arm_pm_restart callback is now optional, so drop its initialization and check if it is set before calling it. Only call the kernel

Re: [PATCH v7 04/11] arm: Support restart through restart handler call chain

2014-08-21 Thread Guenter Roeck
On Fri, Aug 22, 2014 at 03:32:42AM +0200, Andreas Färber wrote: Hi, Am 20.08.2014 02:45, schrieb Guenter Roeck: The kernel core now supports a restart handler call chain for system restart functions. With this change, the arm_pm_restart callback is now optional, so drop its

[PATCH V2] vb2: fix plane index sanity check in vb2_plane_cookie()

2014-08-21 Thread Zhaowei Yuan
It's also invalid that plane_no equals to vb-num_planes Signed-off-by: Zhaowei Yuan zhaowei.y...@samsung.com --- drivers/media/v4l2-core/videobuf2-core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core/videobuf2-core.c