Re: [PATCH v6 2/3] mmc: omap_hsmmc: Pin remux workaround to support SDIO interrupt on AM335x.

2013-12-20 Thread Tony Lindgren
* Andreas Fenkart [131216 03:29]: > --- a/drivers/mmc/host/omap_hsmmc.c > +++ b/drivers/mmc/host/omap_hsmmc.c > @@ -2098,8 +2186,28 @@ static int omap_hsmmc_probe(struct platform_device > *pdev) > if (pdev->dev.of_node) { > mmc->caps |= MMC_CAP_SDIO_IRQ; > if (pd

Re: [PATCH v6 1/3] mmc: omap_hsmmc: Enable SDIO IRQ.

2013-12-20 Thread Tony Lindgren
* Andreas Fenkart [131216 03:29]: > For now, only support SDIO interrupt if we are booted with > DT. This is because some platforms need special quirks. And > we don't want to add new legacy mux platform init code > callbacks any longer as we are moving to DT based booting > anyways. > > Signed-o

Re: [PATCH v7 6/7] ARM: OMAP: enable SYSCON and REGULATOR_PBIAS in omap2plus_defconfig

2013-12-20 Thread Tony Lindgren
* Balaji T K [131220 09:37]: > Enable REGULATOR_PBIAS needed for SD card on most OMAPs. > > Signed-off-by: Balaji T K I can queue this one once the pieces are merged. Tony > arch/arm/configs/omap2plus_defconfig |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/a

Re: [PATCH v7 7/7] mmc: omap_hsmmc: remove pbias workaround

2013-12-20 Thread Tony Lindgren
* Balaji T K [131220 09:37]: > remove pbias workaround > > Signed-off-by: Balaji T K Acked-by: Tony Lindgren -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-in

Re: [PATCH v7 5/7] ARM: dts: add pbias dt node

2013-12-20 Thread Tony Lindgren
* Balaji T K [131220 09:37]: > Add pbias regulator node as a child of system control > module - syscon. > > Signed-off-by: Balaji T K Benoit should queue this: Acked-by: Tony Lindgren -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majord...

Re: [PATCH v7 3/7] regulator: add pbias regulator support

2013-12-20 Thread Tony Lindgren
* Balaji T K [131220 09:37]: > +static const struct pbias_reg_info pbias_mmc_omap2430 = { > + .enable = BIT(1), > + .enable_mask = BIT(1), > + .vmode = BIT(0), > + .enable_time = 100, > + .name = "pbias_mmc_omap2430" > +}; > + > +static const struct pbias_reg_info pbias_sim_oma

Re: [PATCH v7 2/7] mmc: omap_hsmmc: handle vcc and vcc_aux independently

2013-12-20 Thread Tony Lindgren
* Balaji T K [131220 09:37]: > handle vcc and vcc_aux independently to reduce indent. > > Signed-off-by: Balaji T K Acked-by: Tony Lindgren -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH v7 1/7] mmc: omap_hsmmc: use devm_regulator API

2013-12-20 Thread Tony Lindgren
* Balaji T K [131220 09:37]: > Use devm_regulator API, while at it use > devm_regulator_get_optional for optional vmmc_aux supply > > Signed-off-by: Balaji T K Acked-by: Tony Lindgren > --- > drivers/mmc/host/omap_hsmmc.c |6 ++ > 1 files changed, 2 insertions(+), 4 deletions(-) > >

Re: [PATCH v7 4/7] mmc: omap_hsmmc: adapt hsmmc to use pbias regulator

2013-12-20 Thread Michael Trimarchi
Hi On Fri, Dec 20, 2013 at 6:35 PM, Balaji T K wrote: > In DT case, PBAIS registers are programmed via regulator, > use regulator APIs to control PBIAS. > > Signed-off-by: Balaji T K > --- > drivers/mmc/host/omap_hsmmc.c | 39 +++ > 1 files changed, 39 inse

[PATCH v7 4/7] mmc: omap_hsmmc: adapt hsmmc to use pbias regulator

2013-12-20 Thread Balaji T K
In DT case, PBAIS registers are programmed via regulator, use regulator APIs to control PBIAS. Signed-off-by: Balaji T K --- drivers/mmc/host/omap_hsmmc.c | 39 +++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c

[PATCH v7 5/7] ARM: dts: add pbias dt node

2013-12-20 Thread Balaji T K
Add pbias regulator node as a child of system control module - syscon. Signed-off-by: Balaji T K --- arch/arm/boot/dts/dra7.dtsi | 18 ++ arch/arm/boot/dts/omap2430.dtsi | 18 ++ arch/arm/boot/dts/omap3.dtsi| 18 ++ arch/arm/boot/dts/

[PATCH v7 3/7] regulator: add pbias regulator support

2013-12-20 Thread Balaji T K
pbias register controls internal power supply to sd card i/o pads in most OMAPs (OMAP2-5, DRA7). Control bits for selecting voltage level and enabling/disabling are in the same PBIAS register. Signed-off-by: Balaji T K --- .../bindings/regulator/pbias-regulator.txt | 16 ++ drivers/reg

[PATCH v7 2/7] mmc: omap_hsmmc: handle vcc and vcc_aux independently

2013-12-20 Thread Balaji T K
handle vcc and vcc_aux independently to reduce indent. Signed-off-by: Balaji T K --- drivers/mmc/host/omap_hsmmc.c | 54 +++-- 1 files changed, 25 insertions(+), 29 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c inde

[PATCH v7 7/7] mmc: omap_hsmmc: remove pbias workaround

2013-12-20 Thread Balaji T K
remove pbias workaround Signed-off-by: Balaji T K --- drivers/mmc/host/omap_hsmmc.c | 20 +--- 1 files changed, 1 insertions(+), 19 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 0a390f8..0f0aa5d 100644 --- a/drivers/mmc/host/omap

[PATCH v7 0/7] mmc: omap_hsmmc: pbias dt and cleanup

2013-12-20 Thread Balaji T K
Balaji T K (7): mmc: omap_hsmmc: use devm_regulator API mmc: omap_hsmmc: handle vcc and vcc_aux independently regulator: add pbias regulator support mmc: omap_hsmmc: adapt hsmmc to use pbias regulator ARM: dts: add pbias dt node ARM: OMAP: enable SYSCON and REGULATOR_PBIAS in omap2plus_

[PATCH v7 1/7] mmc: omap_hsmmc: use devm_regulator API

2013-12-20 Thread Balaji T K
Use devm_regulator API, while at it use devm_regulator_get_optional for optional vmmc_aux supply Signed-off-by: Balaji T K --- drivers/mmc/host/omap_hsmmc.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c

[PATCH v7 6/7] ARM: OMAP: enable SYSCON and REGULATOR_PBIAS in omap2plus_defconfig

2013-12-20 Thread Balaji T K
Enable REGULATOR_PBIAS needed for SD card on most OMAPs. Signed-off-by: Balaji T K --- arch/arm/configs/omap2plus_defconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index bfa80a1..f67baa

Re: [PATCH v6 3/7] regulator: add pbias regulator support

2013-12-20 Thread Balaji T K
On Friday 20 December 2013 09:43 PM, Tony Lindgren wrote: * Mark Brown [131220 08:10]: On Fri, Dec 20, 2013 at 07:57:21AM -0800, Tony Lindgren wrote: * Balaji T K [131220 01:49]: But interrupt was never used/tested AFAIK, there is some settling time before the generated interrupt status is

Re: [PATCH v6 3/7] regulator: add pbias regulator support

2013-12-20 Thread Tony Lindgren
* Mark Brown [131220 08:10]: > On Fri, Dec 20, 2013 at 07:57:21AM -0800, Tony Lindgren wrote: > > * Balaji T K [131220 01:49]: > > > > But interrupt was never used/tested AFAIK, there is some settling time > > > before the generated interrupt status is truely valid, so pbias interrupt > > > is

Re: [PATCH v6 3/7] regulator: add pbias regulator support

2013-12-20 Thread Mark Brown
On Fri, Dec 20, 2013 at 07:57:21AM -0800, Tony Lindgren wrote: > * Balaji T K [131220 01:49]: > > But interrupt was never used/tested AFAIK, there is some settling time > > before the generated interrupt status is truely valid, so pbias interrupt > > is not > > reliable. > OK. Do we need the st

Re: [PATCH v6 5/7] ARM: dts: add pbias dt node

2013-12-20 Thread Balaji T K
On Friday 20 December 2013 09:28 PM, Tony Lindgren wrote: * Balaji T K [131220 03:41]: On Thursday 19 December 2013 10:03 PM, Tony Lindgren wrote: * Balaji T K [131219 04:40]: @@ -485,6 +503,7 @@ dmas = <&sdma 61>, <&sdma 62>; dma-names = "tx",

Re: [PATCH v6 3/7] regulator: add pbias regulator support

2013-12-20 Thread Tony Lindgren
* Balaji T K [131220 01:49]: > On Thursday 19 December 2013 10:03 PM, Tony Lindgren wrote: > >>+static int pbias_regulator_enable(struct regulator_dev *rdev) > >>+{ > >>+ struct pbias_regulator_data *data = rdev_get_drvdata(rdev); > >>+ const struct pbias_reg_info *info = data->info; > >>+ i

Re: [PATCH v6 5/7] ARM: dts: add pbias dt node

2013-12-20 Thread Tony Lindgren
* Balaji T K [131220 03:41]: > On Thursday 19 December 2013 10:03 PM, Tony Lindgren wrote: > >* Balaji T K [131219 04:40]: > >>@@ -485,6 +503,7 @@ > >>dmas = <&sdma 61>, <&sdma 62>; > >>dma-names = "tx", "rx"; > >>status = "disabled"; >

Re: [PATCH v6 5/7] ARM: dts: add pbias dt node

2013-12-20 Thread Balaji T K
On Thursday 19 December 2013 10:03 PM, Tony Lindgren wrote: * Balaji T K [131219 04:40]: @@ -485,6 +503,7 @@ dmas = <&sdma 61>, <&sdma 62>; dma-names = "tx", "rx"; status = "disabled"; + pbias-supply =

Re: [PATCH v6 3/7] regulator: add pbias regulator support

2013-12-20 Thread Balaji T K
On Thursday 19 December 2013 10:03 PM, Tony Lindgren wrote: Looks good to me, just few minor comments below. * Balaji T K [131219 04:40]: --- /dev/null +++ b/drivers/regulator/pbias-regulator.c @@ -0,0 +1,255 @@ +/* + * pbias-regulator.c + * + * Copyright (C) 2011 Texas Instruments Incorporate

[GIT PULL] MMC updates for mmc-next for 3.14, take 1

2013-12-20 Thread Ulf Hansson
Hi Chris, Here is a collection of patches you might want to pull in for your mmc-next branch for 3.14. Kind regards Ulf Hansson The following changes since commit 82793a517714c53e874dd54c94c3965cc118f689: mmc: sh_mmcif: Fix compilation warning on 64-bit platforms (2013-12-11 21:20:59 -0500)

Re: possible regression on 3.13 when calling flush_dcache_page

2013-12-20 Thread Ludovic Desroches
Hello, On Wed, Dec 18, 2013 at 04:21:17PM +0900, Joonsoo Kim wrote: > On Mon, Dec 16, 2013 at 03:43:43PM +0100, Ludovic Desroches wrote: > > Hello, > > > > On Fri, Dec 13, 2013 at 10:59:09AM +0900, Joonsoo Kim wrote: > > > On Thu, Dec 12, 2013 at 03:36:19PM +0100, Ludovic Desroches wrote: > > > >