Re: [alsa-devel] [PATCH 1/2] ASoC: tlv320aic3x: Convert mic bias to a supply widget

2013-01-31 Thread Peter Ujfalusi
On 01/30/2013 02:22 PM, Hebbar Gururaja wrote: @@ -1493,6 +1544,28 @@ static int aic3x_i2c_probe(struct i2c_client *i2c, aic3x-setup = ai3x_setup; } + if (!of_property_read_u32(np, ai3x-micbias-vg, value)) { + switch

[PATCH] mmc: davinci: allow driver to work without DMA resource

2013-01-31 Thread Manjunathappa, Prakash
Do not return probe failure with missing DMA resources, allow driver to work in PIO mode. Tested on da850-evm. Signed-off-by: Manjunathappa, Prakash prakash...@ti.com --- drivers/mmc/host/davinci_mmc.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git

RE: [alsa-devel] [PATCH 1/2] ASoC: tlv320aic3x: Convert mic bias to a supply widget

2013-01-31 Thread Hebbar, Gururaja
On Thu, Jan 31, 2013 at 13:32:22, Ujfalusi, Peter wrote: On 01/30/2013 02:22 PM, Hebbar Gururaja wrote: @@ -1493,6 +1544,28 @@ static int aic3x_i2c_probe(struct i2c_client *i2c, aic3x-setup = ai3x_setup; } + if (!of_property_read_u32(np,

[PATCH RFC] davinci: poll for sleep completion in resume routine.

2013-01-31 Thread Vishwanathrao Badarkhe, Manish
As per OMAP-L138 TRM, Software must poll for SLEEPCOMPLETE bit until it is set to 1 before clearing SLEEPENABLE bit in DEEPSLEEP register in resume routine. Modifications are as per datasheet: http://www.ti.com/lit/ug/spruh77a/spruh77a.pdf See sections 10.10.2.2 and 11.5.21 for more detailed

[PATCH RFC] davinci: poll for sleep completion in resume routine.

2013-01-31 Thread Vishwanathrao Badarkhe, Manish
As per OMAP-L138 TRM, Software must poll for SLEEPCOMPLETE bit until it is set to 1 before clearing SLEEPENABLE bit in DEEPSLEEP register in resume routine. Modifications are as per datasheet: http://www.ti.com/lit/ug/spruh77a/spruh77a.pdf See sections 10.10.2.2 and 11.5.21 for more detailed

Re: [PATCH RFC] davinci: poll for sleep completion in resume routine.

2013-01-31 Thread Sekhar Nori
On 1/31/2013 2:56 PM, Vishwanathrao Badarkhe, Manish wrote: As per OMAP-L138 TRM, Software must poll for SLEEPCOMPLETE bit until it is set to 1 before clearing SLEEPENABLE bit in DEEPSLEEP register in resume routine. Modifications are as per datasheet:

RE: [PATCH RFC] davinci: poll for sleep completion in resume routine.

2013-01-31 Thread Vishwanathrao Badarkhe, Manish
Hi Sekhar On Thu, Jan 31, 2013 at 15:21:42, Nori, Sekhar wrote: On 1/31/2013 2:56 PM, Vishwanathrao Badarkhe, Manish wrote: As per OMAP-L138 TRM, Software must poll for SLEEPCOMPLETE bit until it is set to 1 before clearing SLEEPENABLE bit in DEEPSLEEP register in resume routine.

[PATCH 2/3] mmc: davinci_mmc: add DT support

2013-01-31 Thread Manjunathappa, Prakash
Adds device tree support for davinci_mmc. Also add binding documentation. Tested with non-dma PIO mode and without GPIO card_detect/write_protect option because of dependencies on EDMA and GPIO modules DT support. Signed-off-by: Manjunathappa, Prakash prakash...@ti.com Cc:

[PATCH 3/3] ARM: davinci: da850: add mmc DT entries

2013-01-31 Thread Manjunathappa, Prakash
Add DT entry for MMC. Also add entry for pinmux information. Tested on da850-evm without card detect and EDMA support as DT support for GPIO and EDMA are yet come. Signed-off-by: Manjunathappa, Prakash prakash...@ti.com Cc: linux-...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc:

[PATCH 0/3] Add DT support for davinci_mmc driver

2013-01-31 Thread Manjunathappa, Prakash
Patch set adds DT support for davinci_mmc driver and is verified on da850-evm without card_detect/write_protect and EDMA support. This patch depends on below patches under review: 1) Patch pinctrl: pinctrl-single: use arch_initcall and module_exit

[PATCH 1/3] ARM: davinci: da850: override mmc DT node device name

2013-01-31 Thread Manjunathappa, Prakash
Populate OF_DEV_AUXDATA with desired device name expected by davinci_mmc driver. Without this clk_get of davinci_mmc DT driver fails. Signed-off-by: Manjunathappa, Prakash prakash...@ti.com Cc: linux-...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Cc:

[PATCH v3 4/4] ASoC: davinci: remove __dev* attributes

2013-01-31 Thread Hebbar Gururaja
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devexit_p and __devexit. Signed-off-by: Hebbar Gururaja gururaja.heb...@ti.com --- Changes in v3 - New patch :100644 100644 e6009a4... 37b8e78... M

[PATCH v3 2/4] ASoC: davinci: update machine driver dapm routes

2013-01-31 Thread Hebbar Gururaja
Now since micbias is converted to supply widget, updated machine driver as well. Signed-off-by: Hebbar Gururaja gururaja.heb...@ti.com --- Changes in v3 - New patch :100644 100644 d55e647... 484b22c... M sound/soc/davinci/davinci-evm.c sound/soc/davinci/davinci-evm.c |6 +++--- 1

[PATCH v3 1/4] ASoC: tlv320aic3x: Convert mic bias to a supply widget

2013-01-31 Thread Hebbar Gururaja
Convert MicBias widgets to supply widget. On tlv320aic3x, Mic bias power on/off shares the same register bits with output mic bias voltage. So, when power on mic bias, we need reclaim it to voltage value. Provide a new platform data so that the micbias voltage can be sent according to board

[PATCH v3 0/4] ASoC davinci/tlv320aic3x updates, fixes DT support

2013-01-31 Thread Hebbar Gururaja
1. Convert tlv320aic3x mic bias to a supply widget and related machine driver 2. Add DT support for Davinci machine platform 3. remove __dev* attributes This patch-set is tested on Davinci platform (DA850 EVM). This series applies on top of tag next-20130128 git tree

[PATCH v3 3/4] ASoC: davinci: machine: Add device tree binding

2013-01-31 Thread Hebbar Gururaja
From: Hebbar, Gururaja gururaja.heb...@ti.com Device tree support for Davinci Machine driver When the board boots with device tree, the driver will receive card, codec, dai interface details (like the card name, DAPM routing map, phandle for the audio components described in the dts file, codec

Re: [PATCH v3 1/4] ASoC: tlv320aic3x: Convert mic bias to a supply widget

2013-01-31 Thread Mark Brown
On Thu, Jan 31, 2013 at 04:53:10PM +0530, Hebbar Gururaja wrote: :100644 100644 e7b98f4... f47c3f5... M Documentation/devicetree/bindings/sound/tlv320aic3x.txt :100644 100644 ffd9bc7... 9407fd0... Minclude/sound/tlv320aic3x.h :100644 100644 4989143... 65d09d6... M

RE: [PATCH v3 1/4] ASoC: tlv320aic3x: Convert mic bias to a supply widget

2013-01-31 Thread Hebbar, Gururaja
On Thu, Jan 31, 2013 at 16:54:16, Mark Brown wrote: On Thu, Jan 31, 2013 at 04:53:10PM +0530, Hebbar Gururaja wrote: :100644 100644 e7b98f4... f47c3f5... M Documentation/devicetree/bindings/sound/tlv320aic3x.txt :100644 100644 ffd9bc7... 9407fd0... M include/sound/tlv320aic3x.h

Re: [PATCH 2/3] mmc: davinci_mmc: add DT support

2013-01-31 Thread Mark Rutland
Hello, I have a few comments on the devicetree binding and the way it's parsed. On Thu, Jan 31, 2013 at 10:33:06AM +, Manjunathappa, Prakash wrote: Adds device tree support for davinci_mmc. Also add binding documentation. Tested with non-dma PIO mode and without GPIO

Re: [PATCH v3 1/4] ASoC: tlv320aic3x: Convert mic bias to a supply widget

2013-01-31 Thread Mark Brown
On Thu, Jan 31, 2013 at 11:27:07AM +, Hebbar, Gururaja wrote: On Thu, Jan 31, 2013 at 16:54:16, Mark Brown wrote: As mentioned when you posted this before this patch needs to update the machine drivers using the device too. The patch-set 2/4 does the same thing. Since I have da850-evm

RE: [PATCH v3 1/4] ASoC: tlv320aic3x: Convert mic bias to a supply widget

2013-01-31 Thread Hebbar, Gururaja
On Thu, Jan 31, 2013 at 17:00:38, Mark Brown wrote: On Thu, Jan 31, 2013 at 11:27:07AM +, Hebbar, Gururaja wrote: On Thu, Jan 31, 2013 at 16:54:16, Mark Brown wrote: As mentioned when you posted this before this patch needs to update the machine drivers using the device too. The

[PATCH v4 2/3] ASoC: davinci: machine: Add device tree binding

2013-01-31 Thread Hebbar Gururaja
From: Hebbar, Gururaja gururaja.heb...@ti.com Device tree support for Davinci Machine driver When the board boots with device tree, the driver will receive card, codec, dai interface details (like the card name, DAPM routing map, phandle for the audio components described in the dts file, codec

[PATCH v4 0/3] ASoC davinci/tlv320aic3x updates, fixes DT support

2013-01-31 Thread Hebbar Gururaja
1. Convert tlv320aic3x mic bias to a supply widget and related machine driver 2. Add DT support for Davinci machine platform 3. Remove __dev* attributes This patch-set is tested on Davinci platform (DA850 EVM). This series applies on top of tag next-20130128 git tree

[PATCH v4 3/3] ASoC: davinci: remove __dev* attributes

2013-01-31 Thread Hebbar Gururaja
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devexit_p and __devexit. Signed-off-by: Hebbar Gururaja gururaja.heb...@ti.com --- Changes in v4 - No change Changes in v3 - New patch :100644 100644 e6009a4...

[PATCH v4 1/3] ASoC: tlv320aic3x: Convert mic bias to a supply widget

2013-01-31 Thread Hebbar Gururaja
Convert MicBias widgets to supply widget. On tlv320aic3x, Mic bias power on/off shares the same register bits with output mic bias voltage. So, when power on mic bias, we need reclaim it to voltage value. Provide a new platform data so that the micbias voltage can be sent according to board

Re: [PATCH v6 03/10] ARM: edma: add AM33XX support to the private EDMA API

2013-01-31 Thread Matt Porter
On Wed, Jan 30, 2013 at 09:32:58AM +, Arnd Bergmann wrote: On Wednesday 30 January 2013, Matt Porter wrote: + dma_cap_set(DMA_SLAVE, edma_filter_info.dma_cap); + of_dma_controller_register(dev-of_node, +

Re: [PATCH v6 03/10] ARM: edma: add AM33XX support to the private EDMA API

2013-01-31 Thread Arnd Bergmann
On Thursday 31 January 2013, Matt Porter wrote: On Wed, Jan 30, 2013 at 09:32:58AM +, Arnd Bergmann wrote: On Wednesday 30 January 2013, Matt Porter wrote: + dma_cap_set(DMA_SLAVE, edma_filter_info.dma_cap); + of_dma_controller_register(dev-of_node, +

Re: [PATCH v6 03/10] ARM: edma: add AM33XX support to the private EDMA API

2013-01-31 Thread Matt Porter
On Thu, Jan 31, 2013 at 08:58:39PM +, Arnd Bergmann wrote: On Thursday 31 January 2013, Matt Porter wrote: On Wed, Jan 30, 2013 at 09:32:58AM +, Arnd Bergmann wrote: On Wednesday 30 January 2013, Matt Porter wrote: + dma_cap_set(DMA_SLAVE, edma_filter_info.dma_cap);

[PATCH v7 0/2] ARM: davinci: remoteproc support

2013-01-31 Thread Robert Tivy
This patch series adds remoteproc support for OMAP-L138, along with needed supporting mach-davinci infrastructure. These patches are based on Sekhar's commit id 601ac613155476701ff2155aa11853cad70d7ce5 at git://gitorious.org/linux-davinci/linux-davinci.git Some notes for reviewers...

[PATCH v7 1/2] ARM: davinci: Remoteproc driver support for OMAP-L138 DSP

2013-01-31 Thread Robert Tivy
Adding a remoteproc driver implementation for OMAP-L138 DSP Adding support for a default firmware name Signed-off-by: Robert Tivy rt...@ti.com --- drivers/remoteproc/Kconfig| 29 ++- drivers/remoteproc/Makefile |1 + drivers/remoteproc/da8xx_remoteproc.c | 346

[PATCH v7 2/2] ARM: davinci: Remoteproc platform device creation data/code

2013-01-31 Thread Robert Tivy
Added a new remoteproc platform device for DA8XX. Contains CMA-based reservation of physical memory block. A new kernel command-line parameter has been added to allow boot-time specification of the physical memory block. Signed-off-by: Robert Tivy rt...@ti.com ---

Re: [PATCH v6 03/10] ARM: edma: add AM33XX support to the private EDMA API

2013-01-31 Thread Luciano Coelho
On Thu, 2013-01-31 at 16:42 -0500, Matt Porter wrote: On Thu, Jan 31, 2013 at 08:58:39PM +, Arnd Bergmann wrote: On Thursday 31 January 2013, Matt Porter wrote: On Wed, Jan 30, 2013 at 09:32:58AM +, Arnd Bergmann wrote: On Wednesday 30 January 2013, Matt Porter wrote: +

Re: [PATCH V2 1/6] pinctrl: pinctrl-single: use arch_initcall and module_exit

2013-01-31 Thread Sekhar Nori
On 1/29/2013 4:29 PM, Linus Walleij wrote: On Tue, Jan 29, 2013 at 8:38 AM, Vishwanathrao Badarkhe, Manish manish...@ti.com wrote: Currently, I2C driver gets probed before pinctrl driver. To achieve I2C pin muxing via pinctrl driver before I2C probe get called, register pinctrl driver in