Re: [PATCHv2 1/2] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-04-16 Thread Jonathan Cameron
On April 16, 2014 2:13:39 AM GMT+01:00, Chanwoo Choi cw00.c...@samsung.com wrote: Hi Jonathan, Any comment of this patchset? Best Regards, Chanwoo Choi Hi Chanwoo Not got to it yet I'm afraid. May be sometime next week before I do. Jonathan On 04/14/2014 06:07 PM, Chanwoo Choi wrote: This

Re: [PATCH v8 1/3] ARM: EXYNOS: initial board support for exynos5260 SoC

2014-04-16 Thread Tomasz Figa
Hi Rahul, On 16.04.2014 05:58, Rahul Sharma wrote: From: Pankaj Dubey pankaj.du...@samsung.com This patch add basic arch side support for exynos5260 SoC. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Rahul Sharma rahul.sha...@samsung.com Reviewed-by: Tomasz Figa

Re: [PATCHv2 1/2] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-04-16 Thread Jonathan Cameron
On April 16, 2014 5:55:17 AM GMT+01:00, Chanwoo Choi cw00.c...@samsung.com wrote: Hi Sachin, On 04/16/2014 01:44 PM, Chanwoo Choi wrote: Hi Sachin, On 04/16/2014 12:48 PM, Sachin Kamat wrote: Hi Chanwoo, On 14 April 2014 14:37, Chanwoo Choi cw00.c...@samsung.com wrote: This patch

Re: [PATCH v8 1/3] ARM: EXYNOS: initial board support for exynos5260 SoC

2014-04-16 Thread Sachin Kamat
Hi Tomasz, On 16 April 2014 13:27, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Rahul, On 16.04.2014 05:58, Rahul Sharma wrote: From: Pankaj Dubey pankaj.du...@samsung.com This patch add basic arch side support for exynos5260 SoC. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com

Re: [PATCH v8 1/3] ARM: EXYNOS: initial board support for exynos5260 SoC

2014-04-16 Thread Tomasz Figa
On 16.04.2014 10:08, Sachin Kamat wrote: Hi Tomasz, On 16 April 2014 13:27, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Rahul, On 16.04.2014 05:58, Rahul Sharma wrote: From: Pankaj Dubey pankaj.du...@samsung.com This patch add basic arch side support for exynos5260 SoC. Signed-off-by:

Re: [PATCHv2 1/2] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-04-16 Thread Chanwoo Choi
Hi Jonathan, On 04/16/2014 04:05 PM, Jonathan Cameron wrote: On April 16, 2014 5:55:17 AM GMT+01:00, Chanwoo Choi cw00.c...@samsung.com wrote: Hi Sachin, On 04/16/2014 01:44 PM, Chanwoo Choi wrote: Hi Sachin, On 04/16/2014 12:48 PM, Sachin Kamat wrote: Hi Chanwoo, On 14 April 2014

Re: [PATCH v2 2/6] PCI: tegra: use new OF interrupt mapping when possible

2014-04-16 Thread Lucas Stach
Am Dienstag, den 15.04.2014, 12:30 -0600 schrieb Bjorn Helgaas: On Tue, Apr 15, 2014 at 12:07:34PM +0200, Lucas Stach wrote: Hi Bjorn, Am Freitag, den 04.04.2014, 10:55 -0600 schrieb Bjorn Helgaas: On Wed, Mar 05, 2014 at 02:25:47PM +0100, Lucas Stach wrote: This is the recommended

Re: [PATCH 1/3] clocksource: exynos_mct: Fix stall after CPU hotplugging

2014-04-16 Thread Krzysztof Kozlowski
On wto, 2014-04-15 at 18:20 +0200, Thomas Gleixner wrote: B1;3202;0cOn Tue, 15 Apr 2014, Krzysztof Kozlowski wrote: On wto, 2014-04-15 at 17:20 +0200, Thomas Gleixner wrote: On Tue, 15 Apr 2014, Krzysztof Kozlowski wrote: On wto, 2014-04-15 at 14:28 +0200, Daniel Lezcano wrote:

Re: [PATCH 1/3] clocksource: exynos_mct: Fix stall after CPU hotplugging

2014-04-16 Thread Thomas Gleixner
On Wed, 16 Apr 2014, Krzysztof Kozlowski wrote: On wto, 2014-04-15 at 18:20 +0200, Thomas Gleixner wrote: Here is a complete solution to the problem. We really want the drivers to be fast and clean and not work around such issues. I'm quite happy that I kept the 'force' argument of

Re: [PATCH 1/3] mfd: tps65090: Allow charger module to be used when no irq

2014-04-16 Thread Lee Jones
On the ARM Chromebook tps65090 has two masters: the AP (the main processor running linux) and the EC (the embedded controller). The AP is allowed to mess with FETs but the EC is in charge of charge control. The tps65090 interupt line is routed to both the AP and the EC, which can cause

Re: [PATCH 2/3] mfd: tps65090: Stop caching registers

2014-04-16 Thread Lee Jones
Nearly all of the registers in tps65090 combine control bits and status bits. Turn off caching of registers so that we can read status bits reliably. NOTE: the IRQnMASK and CG_CTRLn registers are the exception and could be cached. If we find that we spend a lot of time reading those we

[PATCHv3 1/2] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-04-16 Thread Chanwoo Choi
This patch control special clock for ADC in Exynos series's FSYS block. If special clock of ADC is registerd on clock list of common clk framework, Exynos ADC drvier have to control this clock. Exynos3250/Exynos4/Exynos5 has 'adc' clock as following: - 'adc' clock: bus clock for ADC Exynos3250

[PATCHv3 0/2] iio: adc: exynos_adc: Support Exynos3250 ADC

2014-04-16 Thread Chanwoo Choi
This patchset support Exynos3250 ADC (Analog Digital Converter) because Exynos3250 has additional special clock for ADC IP. Changes from v2: - Check return value of clock function to deal with error exception - Fix minor coding style to improve readability Changes from v1: - Add new

[PATCHv3 2/2] iio: devicetree: Add DT binding documentation for Exynos3250 ADC

2014-04-16 Thread Chanwoo Choi
This patch add DT binding documentation for Exynos3250 ADC IP. Exynos3250 has special clock ('sclk_tsadc') for ADC which provide clock to internal ADC. Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Ian Campbell

Re: [PATCH 2/3] mfd: tps65090: Stop caching registers

2014-04-16 Thread Mark Brown
On Wed, Apr 16, 2014 at 10:59:22AM +0100, Lee Jones wrote: NOTE: the IRQnMASK and CG_CTRLn registers are the exception and could be cached. If we find that we spend a lot of time reading those we can turn on cache for just those registers. -static bool is_volatile_reg(struct device

Re: [PATCHv2] pinctrl: exynos: Add driver data for Exynos3250

2014-04-16 Thread Chanwoo Choi
Hi Linus Walleij, I sent this patch with minor modification. Any comment of this patch? Best Regards, Chanwoo Choi On 04/14/2014 10:45 AM, Chanwoo Choi wrote: From: Tomasz Figa t.f...@samsung.com This patch adds driver data (bank list and EINT layout) for Exynos3250 to pinctrl-exynos

Re: [PATCHv3 1/2] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-04-16 Thread Tomasz Figa
Hi Chanwoo, On 16.04.2014 12:11, Chanwoo Choi wrote: This patch control special clock for ADC in Exynos series's FSYS block. If special clock of ADC is registerd on clock list of common clk framework, Exynos ADC drvier have to control this clock. Exynos3250/Exynos4/Exynos5 has 'adc' clock as

Re: [PATCH Resend 3/3] ARM: EXYNOS: Map SYSRAM address through DT

2014-04-16 Thread Chanwoo Choi
Hi Sachin, I want to use this patch to remove static SYSRAM memory mapping for Exynos3250. But this patch has conflict on 3.15-rc1 base. Do you have a plan to resend this patch? Thanks, Chanwoo Choi On 03/19/2014 07:25 PM, Sachin Kamat wrote: Instead of hardcoding the SYSRAM details for each

Re: [PATCHv3 2/2] iio: devicetree: Add DT binding documentation for Exynos3250 ADC

2014-04-16 Thread Tomasz Figa
Hi Chanwoo, On 16.04.2014 12:11, Chanwoo Choi wrote: This patch add DT binding documentation for Exynos3250 ADC IP. Exynos3250 has special clock ('sclk_tsadc') for ADC which provide clock to internal ADC. Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland

[PATCH Resend] ARM: EXYNOS: Map SYSRAM address through DT

2014-04-16 Thread Sachin Kamat
Instead of hardcoding the SYSRAM details for each SoC, pass this information through device tree (DT) and make the code SoC agnostic. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- Rebased on latest linux-next. --- .../devicetree/bindings/arm/samsung-boards.txt | 11 +++

Re: [PATCH Resend 3/3] ARM: EXYNOS: Map SYSRAM address through DT

2014-04-16 Thread Sachin Kamat
Hi Chanwoo, On 16 April 2014 16:36, Chanwoo Choi cw00.c...@samsung.com wrote: Hi Sachin, I want to use this patch to remove static SYSRAM memory mapping for Exynos3250. But this patch has conflict on 3.15-rc1 base. Do you have a plan to resend this patch? Rebased and resent (CC'd you).

Re: [PATCH v2 2/3] ARM: EXYNOS: Add initial support of PMU for Exynos5260

2014-04-16 Thread Tomasz Figa
Hi Vikas, On 16.04.2014 07:34, Vikas Sajjan wrote: Hi Tomasz, On Wed, Apr 16, 2014 at 12:04 AM, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Vikas, On 17.03.2014 14:09, Vikas Sajjan wrote: Adds PMU support of PMU for Exynos5260. Suspend-to-RAM can be built on top this. Signed-off-by:

Re: [PATCH Resend] ARM: EXYNOS: Map SYSRAM address through DT

2014-04-16 Thread Chanwoo Choi
Hi, On 04/16/2014 08:50 PM, Sachin Kamat wrote: Instead of hardcoding the SYSRAM details for each SoC, pass this information through device tree (DT) and make the code SoC agnostic. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- Rebased on latest linux-next. ---

[PATCH] arm: dts: exynos4: add missing pinctrls for I2C controllers

2014-04-16 Thread Tomasz Stanislawski
This patch adds missing pinctrls for I2C controllers 2-7. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com --- arch/arm/boot/dts/exynos4.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index

[PATCH 2/2] [media] s5p-mfc: Add support for resolution change event

2014-04-16 Thread Arun Kumar K
From: Pawel Osciak posc...@chromium.org When a resolution change point is reached, queue an event to signal the userspace that a new set of buffers is required before decoding can continue. Signed-off-by: Pawel Osciak posc...@chromium.org Signed-off-by: Arun Kumar K arun...@samsung.com ---

[PATCH 1/2] v4l: Add resolution change event.

2014-04-16 Thread Arun Kumar K
From: Pawel Osciak posc...@chromium.org This event indicates that the decoder has reached a point in the stream, at which the resolution changes. The userspace is expected to provide a new set of CAPTURE buffers for the new format before decoding can continue. Signed-off-by: Pawel Osciak

Re: [PATCH] arm: dts: exynos4: add missing pinctrls for I2C controllers

2014-04-16 Thread Tomasz Figa
Hi Tomasz, On 16.04.2014 14:40, Tomasz Stanislawski wrote: This patch adds missing pinctrls for I2C controllers 2-7. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com --- arch/arm/boot/dts/exynos4.dtsi | 12 1 file changed, 12 insertions(+) diff --git

Re: [PATCH V4 5/5] usb-phy: samsung-usb3: Remove older phy-samsung-usb3 driver

2014-04-16 Thread Richard Genoud
Hi Vivek, 2014-04-09 13:34 GMT+02:00 Vivek Gautam gautam.vi...@samsung.com: Hi Tomasz, ' On Wed, Apr 9, 2014 at 4:43 PM, Tomasz Figa t.f...@samsung.com wrote: Hi Vivek, Thanks for reviewing the patch series. On 08.04.2014 16:36, Vivek Gautam wrote: Removing this older USB 3.0 DRD

Re: [PATCH V4 1/5] phy: Add new Exynos5 USB 3.0 PHY driver

2014-04-16 Thread Tomasz Figa
Hi Vivek, On 15.04.2014 08:09, Vivek Gautam wrote: Hi Tomasz, On Thu, Apr 10, 2014 at 5:09 PM, Vivek Gautam gautamvivek1...@gmail.com wrote: On Wed, Apr 9, 2014 at 7:03 PM, Tomasz Figa t.f...@samsung.com wrote: On 09.04.2014 13:49, Vivek Gautam wrote: Hi, On Wed, Apr 9, 2014 at 4:36 PM,

Re: [PATCH 5/6] ARM: EXYNOS: Enable multi-platform build support

2014-04-16 Thread Tomasz Figa
Hi Sachin, On 15.04.2014 11:28, Sachin Kamat wrote: From: Arnd Bergmann a...@arndb.de This makes it possible to enable the exynos platform as part of a multiplatform kernel, in addition to keeping the single-platform Exynos support. sparsemem is currently not supported in multiplatform. Is

Re: [PATCH v2 0/6] Further cleanup and enable multiplat build

2014-04-16 Thread Tomasz Figa
Hi Sachin, On 15.04.2014 11:28, Sachin Kamat wrote: This series is based on latest linux-next and depends on the following patch: ARM: EXYNOS: Consolidate Kconfig entries http://article.gmane.org/gmane.linux.kernel.samsung-soc/28642 Changes since v2: Replaced patch 2, ARM: EXYNOS: Staticize

Re: [PATCH 1/2] v4l: Add resolution change event.

2014-04-16 Thread Laurent Pinchart
Hi Arun, Thank you for the patch. On Wednesday 16 April 2014 18:29:21 Arun Kumar K wrote: From: Pawel Osciak posc...@chromium.org This event indicates that the decoder has reached a point in the stream, at which the resolution changes. The userspace is expected to provide a new set of

Re: [PATCH RFC 3/4] xhci: Tune PHY for the DWC3-Exynos host controller

2014-04-16 Thread Heikki Krogerus
Hi, On Tue, Apr 15, 2014 at 06:24:11PM +0530, Vivek Gautam wrote: I had seen your patches in the mailing list, but i don't see any updated version of these patches. Are you planning to work on this above mentioned patch-series any time soon ? I'm sorry, I forgot this completely. I have not

Re: [PATCH 1/2] v4l: Add resolution change event.

2014-04-16 Thread Hans Verkuil
On 04/16/2014 04:09 PM, Laurent Pinchart wrote: Hi Arun, Thank you for the patch. On Wednesday 16 April 2014 18:29:21 Arun Kumar K wrote: From: Pawel Osciak posc...@chromium.org This event indicates that the decoder has reached a point in the stream, at which the resolution changes. The

Re: [PATCHv2 5/8] ARM: EXYNOS: Support secondary CPU boot of Exynos3250

2014-04-16 Thread Tomasz Figa
Hi Chanwoo, On 15.04.2014 03:59, Chanwoo Choi wrote: This patch fix the offset of CPU boot address and don't operate smc call of SMC_CMD_CPU1BOOT command for Exynos3250. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com ---

Re: [PATCH 5/6] ARM: EXYNOS: Enable multi-platform build support

2014-04-16 Thread Arnd Bergmann
On Wednesday 16 April 2014 15:51:29 Tomasz Figa wrote: On 15.04.2014 11:28, Sachin Kamat wrote: From: Arnd Bergmann a...@arndb.de This makes it possible to enable the exynos platform as part of a multiplatform kernel, in addition to keeping the single-platform Exynos support.

[PATCH 3/7] drm/panel: Add driver for exynos_dp based panels

2014-04-16 Thread Ajay Kumar
This patch adds a simple driver to handle all the LCD and LED powerup/down routines needed to support eDP/eDP-LVDS panels supported on exynos boards. Most of the eDP/LVDS panels need this sequence for powerup: -- LCD unit powerup/LCD_EN -- video data on -- LED unit

[PATCH 1/7] drm/exynos: dp: support hotplug detection via GPIO

2014-04-16 Thread Ajay Kumar
From: Andrew Bresticker abres...@chromium.org Certain bridge chips use a GPIO to indicate the cable status instead of the I_DP_HPD pin. This adds an optional device-tree property, samsung,hpd-gpio, to the exynos-dp controller which indicates that the specified GPIO should be used for hotplug

[PATCH 6/7] drm/bridge: ptn3460: enable polling based detection

2014-04-16 Thread Ajay Kumar
From: Rahul Sharma rahul.sha...@samsung.com Add DRM_CONNECTOR_POLL_HPD to the set of connector flags while registering drm_connector for ptn3460. Signed-off-by: Rahul Sharma rahul.sha...@samsung.com Signed-off-by: Ajay Kumar ajaykumar...@samsung.com --- drivers/gpu/drm/bridge/ptn3460.c | 1 + 1

[PATCH 2/7] drm/panel: add pre_enable routine to drm panel

2014-04-16 Thread Ajay Kumar
Most of the panels need an init sequence as mentioned below: -- poweron LCD unit/LCD_EN -- start video data -- poweron LED unit/BL_EN With existing callbacks for drm panel, we cannot accomodate such panels, since only one callback, i.e panel_enable is supported. This patch

[PATCH 5/7] drm/exynos: dp: modify driver to support drm_panel

2014-04-16 Thread Ajay Kumar
This patch attaches the dp connector to exynos_dp_panel, and adds calls to drm_panel functions to control panel power sequence. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com --- drivers/gpu/drm/exynos/Kconfig | 1 + drivers/gpu/drm/exynos/exynos_dp_core.c | 19 +++

[PATCH 4/7] drm/exynos: add exynos_dp_panel driver registration to drm driver

2014-04-16 Thread Ajay Kumar
Register exynos_dp_panel before the list of exynos crtcs and connectors are probed. This is needed because exynos_dp_panel should be registered to the drm_panel list via panel-exynos-dp probe, i.e much before exynos_dp_bind calls of_drm_find_panel(). Signed-off-by: Ajay Kumar

[PATCH 7/7] drm/bridge: ptn3460: add drm_panel controls

2014-04-16 Thread Ajay Kumar
attach ptn3460 connector to drm_panel and support drm_panel routines, if a valid drm_panel object is passed to ptn3460_init. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com --- drivers/gpu/drm/bridge/Kconfig | 1 + drivers/gpu/drm/bridge/ptn3460.c| 17 -

[PATCH 0/7] drm: exynos: few patches to enhance bridge chip support

2014-04-16 Thread Ajay Kumar
This series is based on exynos-drm-next-todo branch of Inki Dae's tree at: git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git This set of drm patches are needed to support bridge chips and eDP/LVDS panels with exynos_dp. For testing, I have used exynos5250-snow board along with

Re: [PATCHv2 6/8] ARM: EXYNOS: Enter a15 lowpower mode for Exynos3250 based on Cortex-a7

2014-04-16 Thread Chanwoo Choi
Hi Tomasz, On Wed, Apr 16, 2014 at 11:35 PM, Tomasz Figa t.f...@samsung.com wrote: Hi Chanwoo, On 15.04.2014 03:59, Chanwoo Choi wrote: This patch decide proper lowpower mode of either a15 or a9 according to own ID from Main ID register. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com

Re: [PATCH V4 5/5] usb-phy: samsung-usb3: Remove older phy-samsung-usb3 driver

2014-04-16 Thread Vivek Gautam
Hi Richard, On Wed, Apr 16, 2014 at 7:03 PM, Richard Genoud richard.gen...@gmail.com wrote: Hi Vivek, 2014-04-09 13:34 GMT+02:00 Vivek Gautam gautam.vi...@samsung.com: Hi Tomasz, ' On Wed, Apr 9, 2014 at 4:43 PM, Tomasz Figa t.f...@samsung.com wrote: Hi Vivek, Thanks for reviewing the

Re: [PATCH 5/6] ARM: EXYNOS: Enable multi-platform build support

2014-04-16 Thread Tomasz Figa
On 16.04.2014 16:31, Arnd Bergmann wrote: On Wednesday 16 April 2014 15:51:29 Tomasz Figa wrote: On 15.04.2014 11:28, Sachin Kamat wrote: From: Arnd Bergmann a...@arndb.de This makes it possible to enable the exynos platform as part of a multiplatform kernel, in addition to keeping the

Re: [PATCH V4 1/5] phy: Add new Exynos5 USB 3.0 PHY driver

2014-04-16 Thread Vivek Gautam
Hi, On Wed, Apr 16, 2014 at 7:14 PM, Tomasz Figa t.f...@samsung.com wrote: Hi Vivek, On 15.04.2014 08:09, Vivek Gautam wrote: Hi Tomasz, On Thu, Apr 10, 2014 at 5:09 PM, Vivek Gautam gautamvivek1...@gmail.com wrote: On Wed, Apr 9, 2014 at 7:03 PM, Tomasz Figa t.f...@samsung.com

Re: [PATCH 1/2] v4l: Add resolution change event.

2014-04-16 Thread Arun Kumar K
Hi Laurent and Hans, Thank you for the review. On Wed, Apr 16, 2014 at 7:46 PM, Hans Verkuil hverk...@xs4all.nl wrote: On 04/16/2014 04:09 PM, Laurent Pinchart wrote: Hi Arun, Thank you for the patch. On Wednesday 16 April 2014 18:29:21 Arun Kumar K wrote: From: Pawel Osciak

Re: [PATCHv2 6/8] ARM: EXYNOS: Enter a15 lowpower mode for Exynos3250 based on Cortex-a7

2014-04-16 Thread Tomasz Figa
Hi Chanwoo, On 15.04.2014 03:59, Chanwoo Choi wrote: This patch decide proper lowpower mode of either a15 or a9 according to own ID from Main ID register. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-exynos/hotplug.c |

Re: [PATCH 5/6] ARM: EXYNOS: Enable multi-platform build support

2014-04-16 Thread Thomas Abraham
On Wed, Apr 16, 2014 at 8:18 PM, Tomasz Figa t.f...@samsung.com wrote: On 16.04.2014 16:31, Arnd Bergmann wrote: On Wednesday 16 April 2014 15:51:29 Tomasz Figa wrote: On 15.04.2014 11:28, Sachin Kamat wrote: From: Arnd Bergmann a...@arndb.de This makes it possible to enable the exynos

Re: [PATCH Resend] ARM: EXYNOS: Map SYSRAM address through DT

2014-04-16 Thread Arnd Bergmann
On Wednesday 16 April 2014 17:20:51 Sachin Kamat wrote: Instead of hardcoding the SYSRAM details for each SoC, pass this information through device tree (DT) and make the code SoC agnostic. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- Rebased on latest linux-next. Thanks for

Re: [PATCH 5/6] ARM: EXYNOS: Enable multi-platform build support

2014-04-16 Thread Tomasz Figa
Hi Thomas, On 16.04.2014 16:55, Thomas Abraham wrote: On Wed, Apr 16, 2014 at 8:18 PM, Tomasz Figa t.f...@samsung.com wrote: On 16.04.2014 16:31, Arnd Bergmann wrote: On Wednesday 16 April 2014 15:51:29 Tomasz Figa wrote: On 15.04.2014 11:28, Sachin Kamat wrote: From: Arnd Bergmann

[PATCHv3 2/5] drm: exynos: hdmi: simplify extracting hpd-gpio from DT

2014-04-16 Thread Tomasz Stanislawski
This patch eliminates redundant checks while retrieving HPD gpio from DT during HDMI's probe(). Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com --- drivers/gpu/drm/exynos/exynos_hdmi.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git

[PATCHv3 0/5] drm: exynos: update/fixes to HDMI driver

2014-04-16 Thread Tomasz Stanislawski
Hi everyone, This patchset adds 5 fixes/updates to EXYNOS DRM driver for HDMI subsystem. All comments are welcome. Regards, Tomasz Stanislawski Changelog: v3: * remove usage of s5p_hdmi_platform_data * return MODE_CLOCK_HIGH instead of MODE_CLOCK_BAD v2: * fix check with gpio_is_valid() * use

[PATCHv3 3/5] drm: exynos: mixer: fix using usleep() in atomic context

2014-04-16 Thread Tomasz Stanislawski
This patch fixes calling usleep_range() after taking reg_slock using spin_lock_irqsave(). The mdelay() is used instead. Waiting in atomic context is not the best idea in general. Hopefully, waiting occurs only when Video Processor fails to reset correctly. Signed-off-by: Tomasz Stanislawski

[PATCHv3 1/5] drm: exynos: hdmi: remove usage of struct s5p_hdmi_platform_data

2014-04-16 Thread Tomasz Stanislawski
This patch continues shift of DRM EXYNOS to DT-only configuration. The usage of the old structure for HDMI's platform data is removed. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com --- drivers/gpu/drm/exynos/exynos_hdmi.c | 30 -- 1 file changed, 8

[PATCHv3 5/5] drm: exynos: hdmi: add support for pixel clock limitation

2014-04-16 Thread Tomasz Stanislawski
Adds support for limitation of maximal pixel clock of HDMI signal. This feature is needed on boards that contains lines or bridges with frequency limitations. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com --- .../devicetree/bindings/video/exynos_hdmi.txt |4

[PATCHv3 4/5] drm: exynos: add compatibles for HDMI and Mixer chips and exynos4210 SoC

2014-04-16 Thread Tomasz Stanislawski
This patch add proper compatibles for Mixer and HDMI chip available on exynos4210 SoCs. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com --- drivers/gpu/drm/exynos/exynos_hdmi.c |7 +++ drivers/gpu/drm/exynos/exynos_mixer.c |3 +++ 2 files changed, 10 insertions(+) diff

Re: [PATCH Resend] ARM: EXYNOS: Map SYSRAM address through DT

2014-04-16 Thread Rob Herring
On Wed, Apr 16, 2014 at 6:50 AM, Sachin Kamat sachin.ka...@linaro.org wrote: Instead of hardcoding the SYSRAM details for each SoC, pass this information through device tree (DT) and make the code SoC agnostic. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- Rebased on latest

Re: [PATCH 4/5] exynos4-is: Remove requirement for simple-bus compatible

2014-04-16 Thread Rob Herring
On Tue, Apr 15, 2014 at 12:34 PM, Sylwester Nawrocki s.nawro...@samsung.com wrote: This patch makes the driver instantiating its child devices itself, rather than relying on an OS to instantiate devices as children of simple-bus. This removes an incorrect usage of simple-bus compatible. Good,

Re: [PATCH 1/3] mfd: tps65090: Allow charger module to be used when no irq

2014-04-16 Thread Doug Anderson
Lee On Wed, Apr 16, 2014 at 2:52 AM, Lee Jones lee.jo...@linaro.org wrote: On the ARM Chromebook tps65090 has two masters: the AP (the main processor running linux) and the EC (the embedded controller). The AP is allowed to mess with FETs but the EC is in charge of charge control. The

Re: [PATCH 01/27] ARM: EXYNOS: Add Exynos3250 SoC ID

2014-04-16 Thread Tomasz Figa
Hi Chanwoo, On 14.04.2014 07:13, Chanwoo Choi wrote: On 04/11/2014 05:39 PM, Tomasz Figa wrote: On 11.04.2014 08:32, Chanwoo Choi wrote: On 04/11/2014 10:46 AM, Olof Johansson wrote: On Thu, Apr 10, 2014 at 06:37:12PM +0900, Chanwoo Choi wrote: diff --git

Re: [PATCH 1/3] mfd: tps65090: Allow charger module to be used when no irq

2014-04-16 Thread Lee Jones
On the ARM Chromebook tps65090 has two masters: the AP (the main processor running linux) and the EC (the embedded controller). The AP is allowed to mess with FETs but the EC is in charge of charge control. The tps65090 interupt line is routed to both the AP and the EC, which can

Re: [PATCH v2 2/6] PCI: tegra: use new OF interrupt mapping when possible

2014-04-16 Thread Bjorn Helgaas
On Wed, Apr 16, 2014 at 10:20:45AM +0200, Lucas Stach wrote: Am Dienstag, den 15.04.2014, 12:30 -0600 schrieb Bjorn Helgaas: On Tue, Apr 15, 2014 at 12:07:34PM +0200, Lucas Stach wrote: Hi Bjorn, Am Freitag, den 04.04.2014, 10:55 -0600 schrieb Bjorn Helgaas: On Wed, Mar 05, 2014

Re: [PATCH Resend] ARM: EXYNOS: Map SYSRAM address through DT

2014-04-16 Thread Heiko Stübner
Hi, Am Mittwoch, 16. April 2014, 16:35:36 schrieb Arnd Bergmann: On Wednesday 16 April 2014 17:20:51 Sachin Kamat wrote: Instead of hardcoding the SYSRAM details for each SoC, pass this information through device tree (DT) and make the code SoC agnostic. Signed-off-by: Sachin Kamat

Re: [PATCH 1/3] mfd: tps65090: Allow charger module to be used when no irq

2014-04-16 Thread Doug Anderson
Lee, On Wed, Apr 16, 2014 at 9:26 AM, Lee Jones lee.jo...@linaro.org wrote: On the ARM Chromebook tps65090 has two masters: the AP (the main processor running linux) and the EC (the embedded controller). The AP is allowed to mess with FETs but the EC is in charge of charge control. The

Re: [PATCH 5/6] ARM: EXYNOS: Enable multi-platform build support

2014-04-16 Thread Arnd Bergmann
On Wednesday 16 April 2014 16:58:43 Tomasz Figa wrote: On 16.04.2014 16:55, Thomas Abraham wrote: On Wed, Apr 16, 2014 at 8:18 PM, Tomasz Figa t.f...@samsung.com wrote: On 16.04.2014 16:31, Arnd Bergmann wrote: sparsemem is still not supported in multiplatform, but after I looked at it

[PATCH v2 2/5] charger: tps65090: Allow charger module to be used when no irq

2014-04-16 Thread Doug Anderson
On the ARM Chromebook tps65090 has two masters: the AP (the main processor running linux) and the EC (the embedded controller). The AP is allowed to mess with FETs but the EC is in charge of charge control. The tps65090 interupt line is routed to both the AP and the EC, which can cause quite a

[PATCH v2 0/5] Fixes for tps65090 for Samsung ARM Chromebook

2014-04-16 Thread Doug Anderson
These five patches bring tps65090 up to speed with what's currently in the Chromium OS kernel 3.8 tree and running on the Samsung ARM Chromebook. Changes were tested atop the current linux tree (v3.15-rc1). FET retries were tested on a machine with a known flaky tps65090. Since display isn't

[PATCH v2 3/5] mfd: tps65090: Stop caching most registers

2014-04-16 Thread Doug Anderson
Nearly all of the registers in tps65090 combine control bits and status bits. Turn off caching of all registers except the select few that can be cached. In order to avoid adding more duplicate #defines, we also move some register offset definitions to the mfd driver (and resolve inconsistent

Re: [PATCH 3/3] regulator: tps65090: Make FETs more reliable

2014-04-16 Thread Doug Anderson
Mark, On Tue, Apr 15, 2014 at 3:52 PM, Mark Brown broo...@kernel.org wrote: On Tue, Apr 15, 2014 at 01:14:36PM -0700, Doug Anderson wrote: Mitigate the problem by: * Allow setting the overcurrent wait time so devices with this problem can set it to the max. * Add retry logic on enables of

Re: [PATCH 2/3] mfd: tps65090: Stop caching registers

2014-04-16 Thread Doug Anderson
Mark, On Wed, Apr 16, 2014 at 3:13 AM, Mark Brown broo...@kernel.org wrote: On Wed, Apr 16, 2014 at 10:59:22AM +0100, Lee Jones wrote: NOTE: the IRQnMASK and CG_CTRLn registers are the exception and could be cached. If we find that we spend a lot of time reading those we can turn on

[PATCH v2 4/5] regulator: tps65090: Allow setting the overcurrent wait time

2014-04-16 Thread Doug Anderson
The tps65090 regulator allows you to specify how long you want it to wait before detecting an overcurrent condition. Allow specifying that through the device tree (or through platform data). Signed-off-by: Doug Anderson diand...@chromium.org Signed-off-by: Simon Glass s...@chromium.org

[PATCH v2 5/5] regulator: tps65090: Make FETs more reliable by adding retries

2014-04-16 Thread Doug Anderson
An issue was discovered with tps65090 where sometimes the FETs wouldn't actually turn on when requested (they would report overcurrent). The most problematic FET was the one used for the LCD backlight on the Samsung ARM Chromebook (FET1). Problems were especially prevalent when the device was

[PATCH v2 1/5] mfd: tps65090: Don't tell child devices we have an IRQ if we don't

2014-04-16 Thread Doug Anderson
If we weren't given an interrupt we shouldn't tell child devices (like the tps65090 charger) that they have an interrupt. This is needed so that we can support polling mode in the tps65090 charger driver. See also (charger: tps65090: Allow charger module to be used when no irq). Signed-off-by:

Re: [PATCH 1/3] mfd: tps65090: Allow charger module to be used when no irq

2014-04-16 Thread Lee Jones
On the ARM Chromebook tps65090 has two masters: the AP (the main processor running linux) and the EC (the embedded controller). The AP is allowed to mess with FETs but the EC is in charge of charge control. The tps65090 interupt line is routed to both the AP and the EC, which

Re: [PATCH v2 4/5] regulator: tps65090: Allow setting the overcurrent wait time

2014-04-16 Thread Randy Dunlap
On 04/16/2014 11:25 AM, Doug Anderson wrote: diff --git a/drivers/regulator/tps65090-regulator.c b/drivers/regulator/tps65090-regulator.c index 2e92ef6..ca13a1a 100644 --- a/drivers/regulator/tps65090-regulator.c +++ b/drivers/regulator/tps65090-regulator.c @@ -28,15 +28,57 @@ +/** + *

Re: [PATCH v2 5/5] regulator: tps65090: Make FETs more reliable by adding retries

2014-04-16 Thread Simon Glass
Hi Doug, (take 2) On 16 April 2014 12:25, Doug Anderson diand...@chromium.org wrote: An issue was discovered with tps65090 where sometimes the FETs wouldn't actually turn on when requested (they would report overcurrent). The most problematic FET was the one used for the LCD backlight on the

Re: [PATCH v2 5/5] regulator: tps65090: Make FETs more reliable by adding retries

2014-04-16 Thread Mark Brown
On Wed, Apr 16, 2014 at 11:25:24AM -0700, Doug Anderson wrote: An issue was discovered with tps65090 where sometimes the FETs wouldn't actually turn on when requested (they would report overcurrent). The most problematic FET was the one used for the LCD Please don't send new patches as

Re: [PATCH 5/6] ARM: EXYNOS: Enable multi-platform build support

2014-04-16 Thread Mark Brown
On Wed, Apr 16, 2014 at 08:14:27PM +0200, Arnd Bergmann wrote: This patch does a partial revert of 313367e7bfa by allowing these drivers on all samsung platforms except EXYNOS, so we can proceed with the multiplatform patches. If support for these drivers is actually needed on EXYNOS

Re: [PATCH 5/6] ARM: EXYNOS: Enable multi-platform build support

2014-04-16 Thread Arnd Bergmann
On Wednesday 16 April 2014 21:50:01 Mark Brown wrote: On Wed, Apr 16, 2014 at 08:14:27PM +0200, Arnd Bergmann wrote: This patch does a partial revert of 313367e7bfa by allowing these drivers on all samsung platforms except EXYNOS, so we can proceed with the multiplatform patches. If

Re: [PATCH v2 5/5] regulator: tps65090: Make FETs more reliable by adding retries

2014-04-16 Thread Doug Anderson
Simon, On Wed, Apr 16, 2014 at 1:50 PM, Simon Glass s...@chromium.org wrote: +#define MAX_CTRL_READ_TRIES5 +#define MAX_FET_ENABLE_TRIES 1000 Gosh that is a lot of tries - should we maybe give up sooner? That's actually a squash of a recent patch. See

Re: [RFC PATCH 05/14] ARM: dts: samsung-fimd: add I80 specific properties

2014-04-16 Thread Laurent Pinchart
Hi YoungJun, Thank you for the patch. On Tuesday 15 April 2014 14:47:33 YoungJun Cho wrote: In case of using CPU interface panel, the relevant registers should be set. So this patch adds relevant dt bindings. Signed-off-by: YoungJun Cho yj44@samsung.com Signed-off-by: Inki Dae

Re: [PATCH v2 5/5] regulator: tps65090: Make FETs more reliable by adding retries

2014-04-16 Thread Doug Anderson
Mark, On Wed, Apr 16, 2014 at 1:51 PM, Mark Brown broo...@kernel.org wrote: On Wed, Apr 16, 2014 at 11:25:24AM -0700, Doug Anderson wrote: An issue was discovered with tps65090 where sometimes the FETs wouldn't actually turn on when requested (they would report overcurrent). The most

Re: [RFC PATCH v2 09/14] ARM: dts: s6e3fa0: add DT bindings

2014-04-16 Thread Laurent Pinchart
Hi YoungJun, Thank you for the patch. On Wednesday 16 April 2014 13:38:57 YoungJun Cho wrote: This patch adds DT bindings for s6e3fa0 panel. The bindings describes panel resources, display timings, delays and physical size. Changelog v2: - Adds unit address (commented by Sachin Kamat)

Re: [PATCH v2 5/5] regulator: tps65090: Make FETs more reliable by adding retries

2014-04-16 Thread Mark Brown
On Wed, Apr 16, 2014 at 02:34:47PM -0700, Doug Anderson wrote: On Wed, Apr 16, 2014 at 1:51 PM, Mark Brown broo...@kernel.org wrote: Please don't send new patches as replies in the middle of threads, it makes it confusing trying to work out which versions of things should be applied. I'm

Re: [PATCH v2 5/5] regulator: tps65090: Make FETs more reliable by adding retries

2014-04-16 Thread Doug Anderson
Mark, On Wed, Apr 16, 2014 at 2:54 PM, Mark Brown broo...@kernel.org wrote: On Wed, Apr 16, 2014 at 02:34:47PM -0700, Doug Anderson wrote: On Wed, Apr 16, 2014 at 1:51 PM, Mark Brown broo...@kernel.org wrote: Please don't send new patches as replies in the middle of threads, it makes it

[PATCH v3 1/5] mfd: tps65090: Don't tell child devices we have an IRQ if we don't

2014-04-16 Thread Doug Anderson
If we weren't given an interrupt we shouldn't tell child devices (like the tps65090 charger) that they have an interrupt. This is needed so that we can support polling mode in the tps65090 charger driver. See also (charger: tps65090: Allow charger module to be used when no irq). Signed-off-by:

Re: [PATCH v2 4/5] regulator: tps65090: Allow setting the overcurrent wait time

2014-04-16 Thread Doug Anderson
Randy, On Wed, Apr 16, 2014 at 1:33 PM, Randy Dunlap rdun...@infradead.org wrote: On 04/16/2014 11:25 AM, Doug Anderson wrote: diff --git a/drivers/regulator/tps65090-regulator.c b/drivers/regulator/tps65090-regulator.c index 2e92ef6..ca13a1a 100644 ---

[PATCH v3 0/5] Fixes for tps65090 for Samsung ARM Chromebook

2014-04-16 Thread Doug Anderson
These five patches bring tps65090 up to speed with what's currently in the Chromium OS kernel 3.8 tree and running on the Samsung ARM Chromebook. Changes were tested atop the current linux tree (v3.15-rc1). FET retries were tested on a machine with a known flaky tps65090. Since display isn't

[PATCH v3 4/5] regulator: tps65090: Allow setting the overcurrent wait time

2014-04-16 Thread Doug Anderson
The tps65090 regulator allows you to specify how long you want it to wait before detecting an overcurrent condition. Allow specifying that through the device tree (or through platform data). Signed-off-by: Doug Anderson diand...@chromium.org Signed-off-by: Simon Glass s...@chromium.org

[PATCH v3 2/5] charger: tps65090: Allow charger module to be used when no irq

2014-04-16 Thread Doug Anderson
On the ARM Chromebook tps65090 has two masters: the AP (the main processor running linux) and the EC (the embedded controller). The AP is allowed to mess with FETs but the EC is in charge of charge control. The tps65090 interupt line is routed to both the AP and the EC, which can cause quite a

[PATCH v3 3/5] mfd: tps65090: Stop caching most registers

2014-04-16 Thread Doug Anderson
Nearly all of the registers in tps65090 combine control bits and status bits. Turn off caching of all registers except the select few that can be cached. In order to avoid adding more duplicate #defines, we also move some register offset definitions to the mfd driver (and resolve inconsistent

[PATCH v3 5/5] regulator: tps65090: Make FETs more reliable by adding retries

2014-04-16 Thread Doug Anderson
An issue was discovered with tps65090 where sometimes the FETs wouldn't actually turn on when requested (they would report overcurrent). The most problematic FET was the one used for the LCD backlight on the Samsung ARM Chromebook (FET1). Problems were especially prevalent when the device was

Re: [PATCH v2 5/5] regulator: tps65090: Make FETs more reliable by adding retries

2014-04-16 Thread Simon Glass
Hi Doug, On 16 April 2014 15:25, Doug Anderson diand...@chromium.org wrote: Simon, On Wed, Apr 16, 2014 at 1:50 PM, Simon Glass s...@chromium.org wrote: +#define MAX_CTRL_READ_TRIES5 +#define MAX_FET_ENABLE_TRIES 1000 Gosh that is a lot of tries - should we maybe give up sooner?

Re: [PATCH 01/27] ARM: EXYNOS: Add Exynos3250 SoC ID

2014-04-16 Thread Chanwoo Choi
Hi Tomasz, On 04/17/2014 12:53 AM, Tomasz Figa wrote: Hi Chanwoo, On 14.04.2014 07:13, Chanwoo Choi wrote: On 04/11/2014 05:39 PM, Tomasz Figa wrote: On 11.04.2014 08:32, Chanwoo Choi wrote: On 04/11/2014 10:46 AM, Olof Johansson wrote: On Thu, Apr 10, 2014 at 06:37:12PM +0900, Chanwoo

Re: [PATCHv3 1/5] drm: exynos: hdmi: remove usage of struct s5p_hdmi_platform_data

2014-04-16 Thread Joonyoung Shim
Hi Tomasz, On 04/17/2014 12:12 AM, Tomasz Stanislawski wrote: This patch continues shift of DRM EXYNOS to DT-only configuration. The usage of the old structure for HDMI's platform data is removed. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com ---

Re: [PATCH v2 1/3] ARM: EXYNOS: Map PMU address through DT

2014-04-16 Thread Chanwoo Choi
Hi Vikas, As you comment, I found the history of this patch in mailing list. It seems like that this patch stop the review. Besides, Pankaj posted same patch to support PMU as following: - https://lkml.org/lkml/2014/4/2/48 Do you have a plan to resend or not? because I need this patch to remove

Re: [RFC PATCH 05/14] ARM: dts: samsung-fimd: add I80 specific properties

2014-04-16 Thread YoungJun Cho
Hi Laurent Thank you for the comment. On 04/17/2014 06:26 AM, Laurent Pinchart wrote: Hi YoungJun, Thank you for the patch. On Tuesday 15 April 2014 14:47:33 YoungJun Cho wrote: In case of using CPU interface panel, the relevant registers should be set. So this patch adds relevant dt

  1   2   >