Re: Unable to boot mainline on snow chromebook since 3.15

2014-09-29 Thread Thierry Reding
On Mon, Sep 29, 2014 at 02:12:43PM +0100, Grant Likely wrote: > On Mon, Sep 29, 2014 at 1:57 PM, Thierry Reding > wrote: > > Though there are two cases: one is to use simplefb as a means to have > > early boot messages on a graphical display (and optionally hand off to a > > real driver). The oth

Re: [PATCH 1/2 v2] i2c: cros-ec-tunnel: Add of match table

2014-09-29 Thread Wolfram Sang
> Doug posted a patch [0] to fix the issue you are reporting but it was not > picked. I tested that the patch applies on top of linux-next + the latest > cros_ec cleanups (that includes a patch for this i2c driver and was taken > by Lee. So I think is safe for you take Doug's patch through your tr

Re: [PATCH V2 1/3] mmc: dw_mmc: use mmc_regulator_get_supply to handle regulators

2014-09-29 Thread Jaehoon Chung
Hi On 09/29/2014 09:31 PM, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Friday, August 29, 2014 01:34:44 PM Ulf Hansson wrote: >> On 22 August 2014 15:47, Yuvaraj Kumar C D wrote: >>> This patch makes use of mmc_regulator_get_supply() to handle >>> the vmmc and vqmmc regulators.Also it moves

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

2014-09-29 Thread Pankaj Dubey
Hi Javier and Vikas, > Hello Vikas, > > On Mon, Sep 29, 2014 at 2:59 PM, Vikas Sajjan > wrote: > > Hi Javier, > > > > > > On Thu, Sep 25, 2014 at 10:45 PM, Javier Martinez Canillas > >> > >> The mentioned patches from the PMU series depend on the patch to > >> decouple the syscon interface from

RE: [PATCH v6] mfd: syscon: Decouple syscon interface from platform devices

2014-09-29 Thread Pankaj Dubey
Hi, On Monday, September 29, 2014 9:38 PM, Heiko Stübner wrote, > Am Montag, 29. September 2014, 14:17:38 schrieb Pankaj Dubey: > > 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 i

Re: [PATCH 1/2 v2] i2c: cros-ec-tunnel: Add of match table

2014-09-29 Thread Javier Martinez Canillas
Hello Wolfram, On 09/29/2014 10:59 PM, Wolfram Sang wrote: > On Fri, Sep 19, 2014 at 10:08:12AM +0200, Sjoerd Simons wrote: >> To enable the cros-ec-tunnel driver to be auto-loaded when build as a >> module add an of match table (and export it) to match the modalias >> information passed on to use

Re: [PATCH v3 0/6] Add initial support for pinctrl on Exynos7

2014-09-29 Thread Tomasz Figa
On 29.09.2014 07:15, Abhilash Kesavan wrote: > Changes since v1: > - Marked the newly created irq_chip instances as __initdata > - Used kmemdup to keep a copy of the irq_chip > - Change the pinctrl name from sd0_rdqs to sd0_ds as per UM > - Moved the pinctrl enablement for e

Re: [PATCH v3 3/6] pinctrl: exynos: Add irq_chip instance for Exynos7 wakeup interrupts

2014-09-29 Thread Tomasz Figa
Hi Abhilash, Just two minor issues inline. I leave them up to Linus to decide. Linus, if you don't mind them, feel free to apply this patch with my Ack. On 29.09.2014 07:15, Abhilash Kesavan wrote: > Exynos7 uses different offsets for wakeup interrupt configuration registers. > So a new irq_chip

Re: [PATCH] serial: samsung: Fix serial config dependencies for exynos7

2014-09-29 Thread Tomasz Figa
Hi Abhilash, The patch itself seems fine, but I wonder if those config options aren't really just leftovers from the past and couldn't be completely removed. On 29.09.2014 07:16, Abhilash Kesavan wrote: > From: Pankaj Dubey > > Exynos7 has a similar serial controller to that present in older Sa

[PATCH] ARM: dts: Enable temperature sensor on exynos4412 & ODROID

2014-09-29 Thread Daniel Drake
The Exynos4412 has a Thermal Management Unit (TMU) which provides a temperature sensor and related functionality. This must be enabled on a per-board basis, as it requires a 100k resistance to ground on the XtsRES_EXT pin, as well as a 1.8V input on VDD18_TS pin. If that voltage is not supplied, t

Re: [PATCH 1/2 v2] i2c: cros-ec-tunnel: Add of match table

2014-09-29 Thread Wolfram Sang
On Fri, Sep 19, 2014 at 10:08:12AM +0200, Sjoerd Simons wrote: > To enable the cros-ec-tunnel driver to be auto-loaded when build as a > module add an of match table (and export it) to match the modalias > information passed on to userspace as the Cros EC MFD driver registers > the MFD subdevices w

Re: Unable to boot mainline on snow chromebook since 3.15

2014-09-29 Thread Maxime Ripard
On Mon, Sep 29, 2014 at 02:57:19PM +0200, Thierry Reding wrote: > On Wed, Sep 10, 2014 at 03:56:16PM +0100, Grant Likely wrote: > > On Wed, Sep 10, 2014 at 3:31 PM, Mark Brown wrote: > > > On Wed, Sep 10, 2014 at 06:06:46AM -0700, Olof Johansson wrote: > > >> On Mon, Sep 8, 2014 at 12:40 PM, Grant

[GIT PULL] Samsung clock changes for v3.18

2014-09-29 Thread Tomasz Figa
The following changes since commit a52ae5a755d980e9ff812c6f45a415ba27bfd33b: Merge branch 'clk-fixes' into clk-next (2014-09-17 11:47:56 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tfiga/samsung-clk.git tags/for_3.18/samsung-clk for you to f

Re: Unable to boot mainline on snow chromebook since 3.15

2014-09-29 Thread Mark Brown
On Mon, Sep 29, 2014 at 02:12:43PM +0100, Grant Likely wrote: > On Mon, Sep 29, 2014 at 1:57 PM, Thierry Reding > > Though there are two cases: one is to use simplefb as a means to have > > early boot messages on a graphical display (and optionally hand off to a > > real driver). The other is to u

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

2014-09-29 Thread Heiko Stübner
Am Montag, 29. September 2014, 14:17:38 schrieb Pankaj Dubey: > 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 interfac

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

2014-09-29 Thread Javier Martinez Canillas
Hello Vikas, On Mon, Sep 29, 2014 at 2:59 PM, Vikas Sajjan wrote: > Hi Javier, > > > On Thu, Sep 25, 2014 at 10:45 PM, Javier Martinez Canillas >> >> The mentioned patches from the PMU series depend on the patch to >> decouple the syscon interface from syscon drivers. The latest version >> of tha

Re: Unable to boot mainline on snow chromebook since 3.15

2014-09-29 Thread Grant Likely
On Mon, Sep 29, 2014 at 1:57 PM, Thierry Reding wrote: > On Wed, Sep 10, 2014 at 03:56:16PM +0100, Grant Likely wrote: >> On Wed, Sep 10, 2014 at 3:31 PM, Mark Brown wrote: >> > On Wed, Sep 10, 2014 at 06:06:46AM -0700, Olof Johansson wrote: >> >> On Mon, Sep 8, 2014 at 12:40 PM, Grant Likely >

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

2014-09-29 Thread Vikas Sajjan
Hi Javier, On Thu, Sep 25, 2014 at 10:45 PM, Javier Martinez Canillas wrote: > [adding Pankaj Dubey to cc list] > > Hello Vikas, > > On Sun, Sep 14, 2014 at 4:57 PM, Vikas Sajjan > wrote: >> Hi All, >> >> >> On Thu, Aug 21, 2014 at 6:29 PM, Vikas Sajjan >> wrote: >>> Rebased on >>> 1] Kukjin

Re: Unable to boot mainline on snow chromebook since 3.15

2014-09-29 Thread Thierry Reding
On Wed, Sep 10, 2014 at 03:56:16PM +0100, Grant Likely wrote: > On Wed, Sep 10, 2014 at 3:31 PM, Mark Brown wrote: > > On Wed, Sep 10, 2014 at 06:06:46AM -0700, Olof Johansson wrote: > >> On Mon, Sep 8, 2014 at 12:40 PM, Grant Likely > >> wrote: > > > >> > Well, lets see... We've got a real user

Re: [PATCH V2 2/3] mmc: dw_mmc: Support voltage changes

2014-09-29 Thread Bartlomiej Zolnierkiewicz
Hi, On Friday, August 29, 2014 01:43:16 PM Ulf Hansson wrote: > On 25 August 2014 22:59, Doug Anderson wrote: > > Ulf, > > > > On Mon, Aug 25, 2014 at 1:31 AM, Ulf Hansson wrote: > >> On 22 August 2014 22:38, Doug Anderson wrote: > >>> Ulf, > >>> > >>> On Fri, Aug 22, 2014 at 8:35 AM, Ulf Hans

Re: [PATCH V2 1/3] mmc: dw_mmc: use mmc_regulator_get_supply to handle regulators

2014-09-29 Thread Bartlomiej Zolnierkiewicz
Hi, On Friday, August 29, 2014 01:34:44 PM Ulf Hansson wrote: > On 22 August 2014 15:47, Yuvaraj Kumar C D wrote: > > This patch makes use of mmc_regulator_get_supply() to handle > > the vmmc and vqmmc regulators.Also it moves the code handling > > the these regulators to dw_mci_set_ios().It tur

Re: [PATCHv3 3/4] ARM: exynos: Add exynos3250 compatible to use generic cpufreq driver

2014-09-29 Thread Chanwoo Choi
On 09/29/2014 06:58 PM, Viresh Kumar wrote: > On 25 September 2014 00:05, Chanwoo Choi wrote: >> This patch add exynos3250 compatible string to exynos_cpufreq_matches >> for supporting generic cpufreq driver on Exynos3250. >> >> Signed-off-by: Chanwoo Choi >> Acked-by: Kyungmin Park >> Cc: Kukji

Re: [PATCHv3 3/4] ARM: exynos: Add exynos3250 compatible to use generic cpufreq driver

2014-09-29 Thread Viresh Kumar
On 25 September 2014 00:05, Chanwoo Choi wrote: > This patch add exynos3250 compatible string to exynos_cpufreq_matches > for supporting generic cpufreq driver on Exynos3250. > > Signed-off-by: Chanwoo Choi > Acked-by: Kyungmin Park > Cc: Kukjin Kim > Cc: Tomasz Figa > Cc: Thomas Abraham > --

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

2014-09-29 Thread Arnd Bergmann
On Monday 29 September 2014 14:17:38 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 pro

Re: [PATCH v4 2/5] i2c: i2c-cros-ec-tunnel: Set retries to 3

2014-09-29 Thread Wolfram Sang
On Mon, Sep 29, 2014 at 08:50:14AM +0100, Lee Jones wrote: > On Mon, 29 Sep 2014, Lee Jones wrote: > > > On Thu, 18 Sep 2014, Javier Martinez Canillas wrote: > > > > > From: Derek Basehore > > > > > > Since the i2c bus can get wedged on the EC sometimes, set the number of > > > retries > > > t

[PATCH v6] mfd: syscon: Decouple syscon interface from platform devices

2014-09-29 Thread Pankaj Dubey
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 example, certain SoCs (e.g. Exynos) contain system co

Re: [PATCH 1/2] clk: samsung: exynos3250: add uart2/3 related clocks

2014-09-29 Thread Kyungmin Park
On Mon, Sep 29, 2014 at 4:22 PM, Pankaj Dubey wrote: > Hi, > > On Monday, September 29, 2014 9:07 AM, Kyungmin Park wrote, >> To: Pankaj Dubey >> Cc: Chanwoo Choi; Kukjin Kim; Russell King - ARM Linux; > naus...@samsung.com; >> Tomasz Figa; linux-samsung-soc; robh...@kernel.org; Sylwester Nawrocki

[PATCH v2 3/3] clk: samsung: remove unnecessary inclusion of header files from clk.h

2014-09-29 Thread Pankaj Dubey
Let's remove unnecessary include of header files from clk.h and add required one in clk.c Signed-off-by: Pankaj Dubey --- drivers/clk/samsung/clk.c |3 ++- drivers/clk/samsung/clk.h |4 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/clk/samsung/clk.c b/driver

[PATCH v2 0/3] Some cleanup for samsung clock

2014-09-29 Thread Pankaj Dubey
This patch series does some cleanup of samsung clock files and fixes one typo in clk.h Changes since v1: - Added patch commit message description to patch 1/3 and 2/3. Pankaj Dubey (3): clk: samsung: Spelling s/bwtween/between/ clk: samsung: remove unnecessary CONFIG_OF from clk.c clk: sam

[PATCH v2 1/3] clk: samsung: Spelling s/bwtween/between/

2014-09-29 Thread Pankaj Dubey
Fix a typo in comment section of "struct samsung_clk_provider". Signed-off-by: Pankaj Dubey --- drivers/clk/samsung/clk.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk.h b/drivers/clk/samsung/clk.h index 66ab36b..a1ece4a 100644 --- a/drivers/clk/s

[PATCH v2 2/3] clk: samsung: remove unnecessary CONFIG_OF from clk.c

2014-09-29 Thread Pankaj Dubey
Remove unnecessary CONFIG_OF from samsung/clk.c. Signed-off-by: Pankaj Dubey --- drivers/clk/samsung/clk.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clk/samsung/clk.c b/drivers/clk/samsung/clk.c index deab84d..31bf391 100644 --- a/drivers/clk/samsung/clk.c +++ b/drivers/clk

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

2014-09-29 Thread Lee Jones
On Thu, 18 Sep 2014, Javier Martinez Canillas wrote: > From: Andrew Bresticker > > 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 other > commands (e.

Re: [PATCH v4 4/5] mfd: cros_ec: move locking into cros_ec_cmd_xfer

2014-09-29 Thread Lee Jones
On Thu, 18 Sep 2014, Javier Martinez Canillas wrote: > From: Andrew Bresticker > > Now that there's a central cros_ec_cmd_xfer(), move the locking > out of the SPI driver. > > Signed-off-by: Andrew Bresticker > Reviewed-by: Simon Glass > Signed-off-by: Javier Martinez Canillas > Reviewed-by:

Re: [PATCH v4 3/5] mfd: cros_ec: stop calling ->cmd_xfer() directly

2014-09-29 Thread Lee Jones
On Thu, 18 Sep 2014, Javier Martinez Canillas wrote: > From: Andrew Bresticker > > 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 locking and retry

Re: [PATCH v4 2/5] i2c: i2c-cros-ec-tunnel: Set retries to 3

2014-09-29 Thread Lee Jones
On Mon, 29 Sep 2014, Lee Jones wrote: > On Thu, 18 Sep 2014, Javier Martinez Canillas wrote: > > > From: Derek Basehore > > > > Since the i2c bus can get wedged on the EC sometimes, set the number of > > retries > > to 3. Since we un-wedge the bus immediately after the wedge happens, this > >

Re: [PATCH v4 2/5] i2c: i2c-cros-ec-tunnel: Set retries to 3

2014-09-29 Thread Lee Jones
On Thu, 18 Sep 2014, Javier Martinez Canillas wrote: > From: Derek Basehore > > Since the i2c bus can get wedged on the EC sometimes, set the number of > retries > to 3. Since we un-wedge the bus immediately after the wedge happens, this is > the > correct fix since only one transfer will fail

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

2014-09-29 Thread Lee Jones
On Thu, 18 Sep 2014, Javier Martinez Canillas wrote: > From: Doug Anderson > > 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: > * This could

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

2014-09-29 Thread Javier Martinez Canillas
Hello Lee, On 09/25/2014 04:48 PM, Lee Jones wrote: > On Thu, 25 Sep 2014, Javier Martinez Canillas wrote: >> >> Understood, that's why I dropped this since as explained earlier, it makes >> more >> sense to include this change once the cros_ec_dev driver is pushed to >> upstream. >> >> The la

RE: [PATCH 2/3] clk: samsung: remove unnecessary CONFIG_OF from clk.c

2014-09-29 Thread Pankaj Dubey
Hi Tomasz, On Saturday, September 27, 2014 6:51 PM, Tomasz Figa wrote, > Hi Pankaj, > > On 27.09.2014 07:41, Pankaj Dubey wrote: > > Signed-off-by: Pankaj Dubey > > Missing patch description. OK, will add it. > > > --- > > drivers/clk/samsung/clk.c |2 -- > > 1 file changed, 2 deletions

RE: [PATCH 1/2] clk: samsung: exynos3250: add uart2/3 related clocks

2014-09-29 Thread Pankaj Dubey
Hi, On Monday, September 29, 2014 9:07 AM, Kyungmin Park wrote, > To: Pankaj Dubey > Cc: Chanwoo Choi; Kukjin Kim; Russell King - ARM Linux; naus...@samsung.com; > Tomasz Figa; linux-samsung-soc; robh...@kernel.org; Sylwester Nawrocki; Mike > Turquette; arm-linux > Subject: Re: [PATCH 1/2] clk: sa