Re: [PATCH 1/3] clk: exynos-audss: Keep the parent of mout_audss always enabled

2014-07-29 Thread Mike Turquette
Quoting Tushar Behera (2014-07-10 23:18:54) On 06/13/2014 02:39 AM, Mike Turquette wrote: Quoting Tushar Behera (2014-06-12 00:29:23) On Wed, Jun 11, 2014 at 10:20 PM, Mike Turquette mturque...@linaro.org wrote: Quoting Tushar Behera (2014-06-10 22:32:17) When the output clock of AUDSS

Re: [PATCH 0/3] drm/exynos: Allow module to be autoloaded

2014-07-29 Thread Sjoerd Simons
On Tue, 2014-07-29 at 14:38 +0900, Inki Dae wrote: On 2014년 07월 28일 23:45, Sjoerd Simons wrote: Hey Inki, On Mon, 2014-07-28 at 23:17 +0900, Inki Dae wrote: On 2014년 07월 28일 17:30, Sjoerd Simons wrote: Sorry for late, I don't see why Exynos drm driver should be auto-loaded module.

Re: [PATCH v7 1/6] clk: samsung: add infrastructure to register cpu clocks

2014-07-29 Thread Tomasz Figa
On 29.07.2014 07:35, Thomas Abraham wrote: Hi Tomasz, Thanks for your review comments. I have made most of the changes you have suggested. The suggested modifications which I did not include is marked below. On Sat, Jul 19, 2014 at 6:25 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Hi

Re: [PATCH v8 1/6] clk: samsung: add infrastructure to register cpu clocks

2014-07-29 Thread Tomasz Figa
Hi Thomas, On 29.07.2014 07:28, Thomas Abraham wrote: The CPU clock provider supplies the clock to the CPU clock domain. The composition and organization of the CPU clock provider could vary among Exynos SoCs. A CPU clock provider can be composed of clock mux, dividers and gates. This patch

Re: [PATCH v8 2/6] clk: samsung: add cpu clock configuration data and instantiate cpu clock

2014-07-29 Thread Tomasz Figa
Hi Thomas, Just few minor comments for things I probably missed before. On 29.07.2014 07:28, Thomas Abraham wrote: [snip] @@ -1356,6 +1357,16 @@ static struct samsung_pll_clock exynos4x12_plls[nr_plls] __initdata = { VPLL_LOCK, VPLL_CON0, NULL), }; +static const

Re: [PATCH v2 1/2] drm/mipi-dsi: add (LPM) Low Power Mode transfer support

2014-07-29 Thread Andrzej Hajda
On 07/29/2014 02:57 AM, YoungJun Cho wrote: Hi Andrzej, On 07/29/2014 01:09 AM, Andrzej Hajda wrote: On 07/28/2014 04:00 AM, Inki Dae wrote: This patch adds below two flags for LPM transfer, and it attaches LPM flags to a msg in accordance with master's mode_flags set by LCD Panel driver.

Re: [PATCH v8 3/6] ARM: dts: Exynos: add CPU OPP and regulator supply property

2014-07-29 Thread Tomasz Figa
Hi Thomas, Other than the same question about 400 MHz OPP for Exynos4210, I have also few more inline. On 29.07.2014 07:28, Thomas Abraham wrote: For Exynos 4210/5250/5420 based platforms, add CPU operating points and CPU regulator supply properties for migrating from Exynos specific cpufreq

Re: [PATCH v8 4/6] ARM: Exynos: switch to using generic cpufreq driver for Exynos4210/5250/5420

2014-07-29 Thread Tomasz Figa
On 29.07.2014 07:28, Thomas Abraham wrote: The new CPU clock type allows the use of generic CPUfreq drivers. So for Exynos4210/5250, switch to using generic cpufreq driver. For Exynos5420, which did not have CPUfreq driver support, enable the use of generic CPUfreq driver. Suggested-by:

Re: [PATCH v8 5/6] cpufreq: exynos: remove exynos4210/5250 specific cpufreq driver support

2014-07-29 Thread Tomasz Figa
[CC Bart] On 29.07.2014 07:28, Thomas Abraham wrote: Exynos4210 and Exynos5250 based platforms have switched over to use generic cpufreq drivers for cpufreq functionality. So the Exynos specific cpufreq drivers for these platforms can be removed. Cc: Viresh Kumar viresh.ku...@linaro.org

Re: [PATCH v8 6/6] clk: samsung: remove unused clock aliases and update clock flags

2014-07-29 Thread Tomasz Figa
Hi Thomas, You can find few comments inline. On 29.07.2014 07:28, Thomas Abraham wrote: [snip] @@ -714,15 +715,24 @@ static struct samsung_div_clock exynos4_div_clks[] __initdata = { ^^^ Keep in mind that following clocks are common

Re: [PATCH V6 0/8] drm/exynos: few patches to enhance bridge chip support

2014-07-29 Thread Andreas Färber
Hi Ajay, Am 28.07.2014 08:13, schrieb Ajay kumar: On 7/27/14, Andreas Färber afaer...@suse.de wrote: Am 25.07.2014 21:22, schrieb Ajay Kumar: This series is based on exynos-drm-next branch of Inki Dae's tree at: git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git I have

Re: [PATCH V6 8/8] drm/bridge: Add i2c based driver for ps8622/ps8625 bridge

2014-07-29 Thread Andreas Färber
Am 25.07.2014 21:22, schrieb Ajay Kumar: From: Vincent Palatin vpala...@chromium.org This patch adds drm_bridge driver for parade DisplayPort to LVDS bridge chip. Signed-off-by: Vincent Palatin vpala...@chromium.org Signed-off-by: Andrew Bresticker abres...@chromium.org Signed-off-by:

Re: [PATCH V6 0/8] drm/exynos: few patches to enhance bridge chip support

2014-07-29 Thread Thierry Reding
On Tue, Jul 29, 2014 at 01:21:48PM +0200, Andreas Färber wrote: Hi Ajay, Am 28.07.2014 08:13, schrieb Ajay kumar: On 7/27/14, Andreas Färber afaer...@suse.de wrote: Am 25.07.2014 21:22, schrieb Ajay Kumar: This series is based on exynos-drm-next branch of Inki Dae's tree at:

Re: [PATCH v2 2/2] drm/exynos: dsi: add LPM (Low Power Mode) transfer support

2014-07-29 Thread Andrzej Hajda
On 07/29/2014 05:42 AM, Inki Dae wrote: On 2014년 07월 29일 00:50, Andrzej Hajda wrote: On 07/28/2014 04:00 AM, Inki Dae wrote: This patch adds LPM transfer support for video or command data. With this patch, Exynos MIPI DSI controller can transfer command or video data with HS or LP mode in

Re: [PATCH V6 0/8] drm/exynos: few patches to enhance bridge chip support

2014-07-29 Thread Andreas Färber
Am 29.07.2014 13:36, schrieb Thierry Reding: On Tue, Jul 29, 2014 at 01:21:48PM +0200, Andreas Färber wrote: Hi Ajay, Am 28.07.2014 08:13, schrieb Ajay kumar: On 7/27/14, Andreas Färber afaer...@suse.de wrote: Am 25.07.2014 21:22, schrieb Ajay Kumar: This series is based on exynos-drm-next

Re: [PATCH V6 0/8] drm/exynos: few patches to enhance bridge chip support

2014-07-29 Thread Thierry Reding
On Tue, Jul 29, 2014 at 01:36:46PM +0200, Thierry Reding wrote: On Tue, Jul 29, 2014 at 01:21:48PM +0200, Andreas Färber wrote: Hi Ajay, Am 28.07.2014 08:13, schrieb Ajay kumar: On 7/27/14, Andreas Färber afaer...@suse.de wrote: Am 25.07.2014 21:22, schrieb Ajay Kumar: This series

Re: [PATCH v8 2/6] clk: samsung: add cpu clock configuration data and instantiate cpu clock

2014-07-29 Thread Thomas Abraham
Hi Tomasz, On Tue, Jul 29, 2014 at 3:43 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Thomas, Just few minor comments for things I probably missed before. On 29.07.2014 07:28, Thomas Abraham wrote: [snip] @@ -1356,6 +1357,16 @@ static struct samsung_pll_clock exynos4x12_plls[nr_plls]

Re: [PATCH V6 0/8] drm/exynos: few patches to enhance bridge chip support

2014-07-29 Thread Thierry Reding
On Tue, Jul 29, 2014 at 01:42:09PM +0200, Andreas Färber wrote: Am 29.07.2014 13:36, schrieb Thierry Reding: On Tue, Jul 29, 2014 at 01:21:48PM +0200, Andreas Färber wrote: Hi Ajay, Am 28.07.2014 08:13, schrieb Ajay kumar: On 7/27/14, Andreas Färber afaer...@suse.de wrote: Am

Re: [PATCH 0/3] drm/exynos: Allow module to be autoloaded

2014-07-29 Thread Andreas Färber
Am 29.07.2014 10:05, schrieb Sjoerd Simons: On Tue, 2014-07-29 at 14:38 +0900, Inki Dae wrote: On 2014년 07월 28일 23:45, Sjoerd Simons wrote: On Mon, 2014-07-28 at 23:17 +0900, Inki Dae wrote: On 2014년 07월 28일 17:30, Sjoerd Simons wrote: I don't see why Exynos drm driver should be auto-loaded

Re: [PATCH v8 3/6] ARM: dts: Exynos: add CPU OPP and regulator supply property

2014-07-29 Thread Thomas Abraham
Hi Tomasz, On Tue, Jul 29, 2014 at 4:01 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Thomas, Other than the same question about 400 MHz OPP for Exynos4210, I have also few more inline. On 29.07.2014 07:28, Thomas Abraham wrote: For Exynos 4210/5250/5420 based platforms, add CPU

Re: [PATCH v8 2/6] clk: samsung: add cpu clock configuration data and instantiate cpu clock

2014-07-29 Thread Tomasz Figa
On 29.07.2014 13:46, Thomas Abraham wrote: Hi Tomasz, On Tue, Jul 29, 2014 at 3:43 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Thomas, Just few minor comments for things I probably missed before. On 29.07.2014 07:28, Thomas Abraham wrote: [snip] @@ -1356,6 +1357,16 @@ static

Re: [PATCH v8 6/6] clk: samsung: remove unused clock aliases and update clock flags

2014-07-29 Thread Thomas Abraham
Hi Tomasz, On Tue, Jul 29, 2014 at 4:14 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Thomas, You can find few comments inline. On 29.07.2014 07:28, Thomas Abraham wrote: [snip] @@ -714,15 +715,24 @@ static struct samsung_div_clock exynos4_div_clks[] __initdata = {

Re: [PATCH v8 2/6] clk: samsung: add cpu clock configuration data and instantiate cpu clock

2014-07-29 Thread Thomas Abraham
On Tue, Jul 29, 2014 at 5:34 PM, Tomasz Figa tomasz.f...@gmail.com wrote: On 29.07.2014 13:46, Thomas Abraham wrote: Hi Tomasz, On Tue, Jul 29, 2014 at 3:43 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Thomas, Just few minor comments for things I probably missed before. On 29.07.2014

Re: [PATCH v2 2/2] drm/exynos: dsi: add LPM (Low Power Mode) transfer support

2014-07-29 Thread Inki Dae
On 2014년 07월 29일 20:39, Andrzej Hajda wrote: On 07/29/2014 05:42 AM, Inki Dae wrote: On 2014년 07월 29일 00:50, Andrzej Hajda wrote: On 07/28/2014 04:00 AM, Inki Dae wrote: This patch adds LPM transfer support for video or command data. With this patch, Exynos MIPI DSI controller can transfer

Re: [PATCH v8 3/6] ARM: dts: Exynos: add CPU OPP and regulator supply property

2014-07-29 Thread Andreas Färber
Hi Thomas, Am 29.07.2014 07:28, schrieb Thomas Abraham: diff --git a/arch/arm/boot/dts/exynos5250-cros-common.dtsi b/arch/arm/boot/dts/exynos5250-cros-common.dtsi index 89ac90f..34bb31c 100644 --- a/arch/arm/boot/dts/exynos5250-cros-common.dtsi +++

Re: [PATCH v8 3/6] ARM: dts: Exynos: add CPU OPP and regulator supply property

2014-07-29 Thread Tomasz Figa
On 29.07.2014 14:00, Thomas Abraham wrote: [snip] diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 492e1ef..876247a 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -63,6 +63,29 @@

Re: [PATCH v8 6/6] clk: samsung: remove unused clock aliases and update clock flags

2014-07-29 Thread Tomasz Figa
On 29.07.2014 14:04, Thomas Abraham wrote: Hi Tomasz, On Tue, Jul 29, 2014 at 4:14 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Thomas, You can find few comments inline. On 29.07.2014 07:28, Thomas Abraham wrote: [snip] @@ -714,15 +715,24 @@ static struct samsung_div_clock

Re: [PATCH 0/7] Second batch of cleanups for cros_ec

2014-07-29 Thread Andreas Färber
Hi Javier, Am 28.07.2014 14:19, schrieb Javier Martinez Canillas: The patches in this series are authored by different people (all on cc) and consist of the following: Andrew Bresticker (3): mfd: cros_ec: stop calling -cmd_xfer() directly mfd: cros_ec: move locking into

Re: [PATCH 0/3] drm/exynos: Allow module to be autoloaded

2014-07-29 Thread Inki Dae
On 2014년 07월 29일 20:59, Andreas Färber wrote: Am 29.07.2014 10:05, schrieb Sjoerd Simons: On Tue, 2014-07-29 at 14:38 +0900, Inki Dae wrote: On 2014년 07월 28일 23:45, Sjoerd Simons wrote: On Mon, 2014-07-28 at 23:17 +0900, Inki Dae wrote: On 2014년 07월 28일 17:30, Sjoerd Simons wrote: I don't

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

2014-07-29 Thread Andreas Färber
Hi Javier, Am 28.07.2014 14:19, schrieb Javier Martinez Canillas: 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

Re: [PATCH v8 3/6] ARM: dts: Exynos: add CPU OPP and regulator supply property

2014-07-29 Thread Thomas Abraham
Hi Andreas, On Tue, Jul 29, 2014 at 5:38 PM, Andreas Färber afaer...@suse.de wrote: Hi Thomas, Am 29.07.2014 07:28, schrieb Thomas Abraham: diff --git a/arch/arm/boot/dts/exynos5250-cros-common.dtsi b/arch/arm/boot/dts/exynos5250-cros-common.dtsi index 89ac90f..34bb31c 100644 ---

Re: [PATCH v8 3/6] ARM: dts: Exynos: add CPU OPP and regulator supply property

2014-07-29 Thread Andreas Färber
Hi Thomas, Am 29.07.2014 14:35, schrieb Thomas Abraham: On Tue, Jul 29, 2014 at 5:38 PM, Andreas Färber afaer...@suse.de wrote: Am 29.07.2014 07:28, schrieb Thomas Abraham: diff --git a/arch/arm/boot/dts/exynos5250-cros-common.dtsi b/arch/arm/boot/dts/exynos5250-cros-common.dtsi index

Re: [PATCH v2 3/4] ARM: dts: exynos5250: Fold common ChromeOS parts into Snow

2014-07-29 Thread Andreas Färber
Doug, Am 25.07.2014 18:02, schrieb Doug Anderson: On Fri, Jul 18, 2014 at 10:20 AM, Andreas Färber afaer...@suse.de wrote: +/* + * On Snow we've got SIP WiFi and so can keep drive strengths low to + * reduce EMI. + */ +mmc_3 { + status = okay; + num-slots = 1; +

Re: [PATCH v8 3/6] ARM: dts: Exynos: add CPU OPP and regulator supply property

2014-07-29 Thread Thomas Abraham
Hi Andreas, On Tue, Jul 29, 2014 at 6:12 PM, Andreas Färber afaer...@suse.de wrote: Hi Thomas, Am 29.07.2014 14:35, schrieb Thomas Abraham: On Tue, Jul 29, 2014 at 5:38 PM, Andreas Färber afaer...@suse.de wrote: Am 29.07.2014 07:28, schrieb Thomas Abraham: diff --git

Re: [PATCH 0/7] Second batch of cleanups for cros_ec

2014-07-29 Thread Javier Martinez Canillas
Hi Andreas, On 07/29/2014 02:27 PM, Andreas Färber wrote: Hi Javier, Am 28.07.2014 14:19, schrieb Javier Martinez Canillas: The patches in this series are authored by different people (all on cc) and consist of the following: Andrew Bresticker (3): mfd: cros_ec: stop calling

Re: [PATCH v2 0/9] thermal: exynos: various cleanups

2014-07-29 Thread Eduardo Valentin
On Mon, Jul 28, 2014 at 08:30:53PM +0530, amit daniel kachhap wrote: Hi Eduardo, Hello Amit, Please reject this entire series as this is not re-based recently. Actually two point trimming which this series seeks to remove is used by exynos3250 and is in Rui's tree

Re: [PATCH v2 3/4] ARM: dts: exynos5250: Fold common ChromeOS parts into Snow

2014-07-29 Thread Andreas Färber
Hi Javier and Doug, Am 25.07.2014 19:02, schrieb Javier Martinez Canillas: On Fri, Jul 25, 2014 at 6:43 PM, Doug Anderson diand...@chromium.org wrote: On Fri, Jul 25, 2014 at 9:35 AM, Javier Martinez Canillas jav...@dowhile0.org wrote: Hello Andreas, On Fri, Jul 18, 2014 at 7:20 PM, Andreas

Re: [PATCH 7/7] Input: cros_ec_keyb: Optimize ghosting algorithm.

2014-07-29 Thread Andreas Färber
Am 28.07.2014 14:19, schrieb Javier Martinez Canillas: From: Todd Broch tbr...@chromium.org Previous algorithm was a bit conservative and complicating with respect to identifying key ghosting. This CL uses the bitops hamming weight function (hweight8) to count the number of matching rows

Re: [PATCH v6 10/14] drm/panel: add S6E3FA0 driver

2014-07-29 Thread YoungJun Cho
Hi Thierry, Sorry for late reply. I implemented common DSI helper functions and tested in s6e3fa0 panel (I should test with other panels). The helper function prototypes are like below: int mipi_dsi_set_maximum_return_packet_size(struct mipi_dsi_device *dsi,

Re: [PATCH] media: s5p_mfc: remove unnecessary calling to function video_devdata()

2014-07-29 Thread Sylwester Nawrocki
On 23/07/14 06:06, Zhaowei Yuan wrote: Since we have get vdev by calling video_devdata() at the beginning of s5p_mfc_open(), we should just use vdev instead of calling video_devdata() again in the following code. Applied to my tree, thanks. -- To unsubscribe from this list: send the line

Re: [PATCH v2 2/2] drm/exynos: dsi: add LPM (Low Power Mode) transfer support

2014-07-29 Thread Andrzej Hajda
On 07/29/2014 02:08 PM, Inki Dae wrote: On 2014년 07월 29일 20:39, Andrzej Hajda wrote: On 07/29/2014 05:42 AM, Inki Dae wrote: On 2014년 07월 29일 00:50, Andrzej Hajda wrote: On 07/28/2014 04:00 AM, Inki Dae wrote: This patch adds LPM transfer support for video or command data. With this patch,

Re: [PATCH] media: s5p_mfc: Check the right pointer after allocation

2014-07-29 Thread Sylwester Nawrocki
On 23/07/14 06:05, Zhaowei Yuan wrote: It should be bank2_virt to be checked after dma allocation instead of dev-fw_virt_addr. This patch is not applicable to the media master branch [1]. Additionally, AFAICS dma_alloc_coherent return value should be tested for NULL, rather than for ERR_PTR()

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

2014-07-29 Thread Javier Martinez Canillas
Hello Andreas, On 07/29/2014 02:34 PM, Andreas Färber wrote: Hi Javier, Am 28.07.2014 14:19, schrieb Javier Martinez Canillas: 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

Re: [PATCH 1/3] ARM: dts: Add TMU dt node to monitor the temperature for Exynos3250

2014-07-29 Thread Eduardo Valentin
On Tue, Jul 29, 2014 at 11:17:10AM +0900, Chanwoo Choi wrote: This patch add TMU (Thermal Management Unit) dt node to monitor the high temperature for Exynos3250. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Eduardo Valentin

Re: [RESEND PATCH] thermal: samsung: Add TMU support for Exynos3250 SoC

2014-07-29 Thread Eduardo Valentin
On Tue, Jul 22, 2014 at 11:41:56AM +0530, amit daniel kachhap wrote: On Mon, Jul 21, 2014 at 11:34 AM, Zhang Rui rui.zh...@intel.com wrote: On Fri, 2014-07-18 at 09:00 +0900, Chanwoo Choi wrote: This patch adds the registers, bit fields and compatible strings required to support for the 1

Re: [PATCH v2 3/4] ARM: dts: exynos5250: Fold common ChromeOS parts into Snow

2014-07-29 Thread Javier Martinez Canillas
Hello Andreas, On Tue, Jul 29, 2014 at 3:00 PM, Andreas Färber afaer...@suse.de wrote: Hi Javier and Doug, Hm, in different context it was stated that device trees shouldn't rely on bootloader behavior (for a /memory node on Zynq we ended up specifying the size cell with the real value

Re: [PATCH v2 3/4] ARM: dts: exynos5250: Fold common ChromeOS parts into Snow

2014-07-29 Thread Doug Anderson
Andreas, On Tue, Jul 29, 2014 at 5:45 AM, Andreas Färber afaer...@suse.de wrote: Doug, Am 25.07.2014 18:02, schrieb Doug Anderson: On Fri, Jul 18, 2014 at 10:20 AM, Andreas Färber afaer...@suse.de wrote: +/* + * On Snow we've got SIP WiFi and so can keep drive strengths low to + * reduce

Re: [PATCH v2 3/4] ARM: dts: exynos5250: Fold common ChromeOS parts into Snow

2014-07-29 Thread Doug Anderson
Andreas, On Tue, Jul 29, 2014 at 6:00 AM, Andreas Färber afaer...@suse.de wrote: Hi Javier and Doug, Am 25.07.2014 19:02, schrieb Javier Martinez Canillas: On Fri, Jul 25, 2014 at 6:43 PM, Doug Anderson diand...@chromium.org wrote: On Fri, Jul 25, 2014 at 9:35 AM, Javier Martinez Canillas

Re: [PATCH v2 2/4] ARM: dts: exynos5250: cypress,cyapa trackpad is Snow only

2014-07-29 Thread Doug Anderson
Andreas, On Fri, Jul 18, 2014 at 10:20 AM, Andreas Färber afaer...@suse.de wrote: Move it from exynos5250-cros-common.dtsi to exynos5250-snow.dts. Spring does not need it, it uses an Atmel maXTouch instead. Signed-off-by: Andreas Färber afaer...@suse.de --- v2: New (Doug Anderson)

Re: [PATCH v2 1/4] ARM: dts: exynos5250: max77686 is Snow only

2014-07-29 Thread Doug Anderson
Andreas, On Fri, Jul 18, 2014 at 10:20 AM, Andreas Färber afaer...@suse.de wrote: Move it from exynos5250-cros-common.dtsi to exynos5250-snow.dts. Spring does not need it, it uses an s5m8767 instead. Signed-off-by: Andreas Färber afaer...@suse.de --- v2: New (Doug Anderson)

[RFC 0/5] Get voltage from parent if not available on child

2014-07-29 Thread Javier Martinez Canillas
Hello, The motivation for this series is that some regulators are really just switches that provide as output voltage what is supplied to them as input voltage. These components can be only switched on and off so the drivers usually implements a subset of the possible regulator operations. That

[RFC 5/5] ARM: dts: Improve Peach Pit and Pi power scheme model

2014-07-29 Thread Javier Martinez Canillas
The DeviceTree files for the Peach Pit and Pi machines have a simplistic model of the connections between the different regulators since not all the tps65090 regulators get their input supply voltage from the VDC. DCDC1-3, LD0-1 and fet7 parent supply is indded VDC but the fet1-6 get their input

[RFC 3/5] regulator: core: Only apply constraints if available on list voltage

2014-07-29 Thread Javier Martinez Canillas
If a selector can't be used on a platform due to voltage constraints, regulator_list_voltage() returns 0. Doing this unconditionally made sense since constraints were set in machine_constraints_voltage() at regulator registration time. But for load switches that don't define a voltage output, the

[RFC 4/5] regulator: tps65090: Set voltage for fixed regulators

2014-07-29 Thread Javier Martinez Canillas
According to the tps65090 data manual [0], the DCDC1 and DCDC2 step-down converters and the LDO's have a fixed output voltage. Add this information to the driver since these fixed regulators be used as input supply for load switches which don't provide an output voltage and their parent supply

Re: [RFC 5/5] ARM: dts: Improve Peach Pit and Pi power scheme model

2014-07-29 Thread Mark Brown
On Tue, Jul 29, 2014 at 06:28:59PM +0200, Javier Martinez Canillas wrote: The DeviceTree files for the Peach Pit and Pi machines have a simplistic model of the connections between the different regulators since not all the tps65090 regulators get their input supply voltage from the VDC.

Re: [RFC 4/5] regulator: tps65090: Set voltage for fixed regulators

2014-07-29 Thread Mark Brown
On Tue, Jul 29, 2014 at 06:28:58PM +0200, Javier Martinez Canillas wrote: +#define tps65090_REG_VAR(_id, _sname, en_reg, _en_bits, _ops) \ + tps65090_REG_DESC(_id, _sname, en_reg, _en_bits, 0, 0, _ops) I'd expect this to describe a variable regulator when in fact it seems it describes a

Re: [PATCHv7 5/5] mmc: dw_mmc: replace disable-wp from slot's quirk to host's quirk

2014-07-29 Thread Doug Anderson
Jaehoon, On Sun, Jul 27, 2014 at 7:29 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: Replaced the disable-wp into host's quirks. (Because the slot-node is removed at dt-file.) Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com Tested-by: Sachin Kamat sachin.ka...@samsung.com Acked-by:

Re: [RFC 1/5] regulator: core: Get voltage from parent if not available

2014-07-29 Thread Mark Brown
On Tue, Jul 29, 2014 at 06:28:55PM +0200, Javier Martinez Canillas wrote: Load switches are modeled as regulators but they just provide the voltage of their parent input supply. So the drivers for Applied, thanks. The term load switch is a bit unusual - they're usually just called switches (or

Re: [RFC 2/5] regulator: core: Allow to get voltage count and list from parent

2014-07-29 Thread Mark Brown
On Tue, Jul 29, 2014 at 06:28:56PM +0200, Javier Martinez Canillas wrote: Load switches are modeled as regulators but they just provide the voltage of their parent input supply. So, the drivers for these switches usually neither provide a .list_voltage handler not set a .n_voltages count. But

Re: [PATCH -next] ASoC: samsung: Fix return value check in s3c2412_iis_dev_probe()

2014-07-29 Thread Mark Brown
On Sun, Jul 20, 2014 at 11:43:07AM +0800, weiyj...@163.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Also

Re: [PATCH] ARM: dts: smdk5250: Specify MAX77686 pmic interrupt

2014-07-29 Thread Kukjin Kim
On 07/29/14 13:27, Thomas Abraham wrote: The IRQB interrupt pin of MAX77686 PMIC is connected to GPX3[2] pin of Exynos5250 on the Exynos5250 SMDK board. Specify this connection using interrupts property for the max77686 pmic node. Signed-off-by: Thomas Abrahamthomas...@samsung.com ---

Re: [PATCH 0/3] ARM: dts: Add TMU dt node and missing data for Exynos3250

2014-07-29 Thread Kukjin Kim
On 07/29/14 11:17, Chanwoo Choi wrote: This patchset add TMU (Thermal Management Unit) dt node and missing pinctrl property of uart0/1. Also, this patchset remove duplcate 'interrupt-parent' property for code clean. Chanwoo Choi (3): ARM: dts: Add TMU dt node to monitor the temperature for

Re: [PATCH v2 2/4] ARM: dts: exynos5250: cypress,cyapa trackpad is Snow only

2014-07-29 Thread Kukjin Kim
On 07/30/14 01:16, Doug Anderson wrote: Andreas, On Fri, Jul 18, 2014 at 10:20 AM, Andreas Färberafaer...@suse.de wrote: Move it from exynos5250-cros-common.dtsi to exynos5250-snow.dts. Spring does not need it, it uses an Atmel maXTouch instead. Signed-off-by: Andreas Färberafaer...@suse.de

Re: [PATCH v2 2/4] ARM: dts: exynos5250: cypress,cyapa trackpad is Snow only

2014-07-29 Thread Andreas Färber
Am 30.07.2014 01:06, schrieb Kukjin Kim: On 07/30/14 01:16, Doug Anderson wrote: On Fri, Jul 18, 2014 at 10:20 AM, Andreas Färberafaer...@suse.de wrote: Move it from exynos5250-cros-common.dtsi to exynos5250-snow.dts. Spring does not need it, it uses an Atmel maXTouch instead.

Re: [PATCHv7 5/5] mmc: dw_mmc: replace disable-wp from slot's quirk to host's quirk

2014-07-29 Thread Jaehoon Chung
Hi, Doug. Thanks for review. On 07/30/2014 03:01 AM, Doug Anderson wrote: Jaehoon, On Sun, Jul 27, 2014 at 7:29 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: Replaced the disable-wp into host's quirks. (Because the slot-node is removed at dt-file.) Signed-off-by: Jaehoon Chung

Re: [RESEND][PATCHv2 0/3] Fix for buggy u-boot memory banks

2014-07-29 Thread Grant Likely
On Mon, 28 Jul 2014 11:56:42 -0700, Laura Abbott lau...@codeaurora.org wrote: On 7/26/2014 2:20 PM, Rob Herring wrote: On Tue, Jul 15, 2014 at 12:03 PM, Laura Abbott lau...@codeaurora.org wrote: Hi, This is a resend of the series to fix the uboot bug exposed by the removal of

[PATCH] media: v4l2: make alloction alogthim more robust and flexible

2014-07-29 Thread Zhaowei Yuan
Current algothim relies on the fact that caller will align the size to PAGE_SIZE, otherwise order will be decreased to negative when remain size is less than PAGE_SIZE, it makes the function hard to be migrated. This patch sloves the hidden problem. Signed-off-by: Zhaowei Yuan

Re: [PATCHv7 5/5] mmc: dw_mmc: replace disable-wp from slot's quirk to host's quirk

2014-07-29 Thread Doug Anderson
Jaehoon, On Tue, Jul 29, 2014 at 7:47 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi, Doug. Thanks for review. On 07/30/2014 03:01 AM, Doug Anderson wrote: Jaehoon, On Sun, Jul 27, 2014 at 7:29 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: Replaced the disable-wp into host's