[PATCH v2 0/6] ARM: DT/davinci: Audio for da850-evm in DT boot

2014-08-01 Thread Peter Ujfalusi
Hi, Changes since v1: - fixed the address missmatch for tlv320aic3106 codec (@1b - 18) - The edma patches has been taken by Vinod, they should be in linux-next soon. The following series will enable audio via simple card on the board when booted with DT. For edma one patch is needed to have

[PATCH v2 2/6] ARM: DTS: da850: Add node for edma0

2014-08-01 Thread Peter Ujfalusi
Add DT node for edma0. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/da850.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index b695548dbb4e..41ce4e8bf227 100644 ---

[PATCH v2 1/6] ARM: davinci: da8xx-dt: add OF_DEV_AUXDATA entry for mcasp0

2014-08-01 Thread Peter Ujfalusi
Add OF_DEV_AUXDATA for mcasp to be able to use clocks. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-davinci/da8xx-dt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm/mach-davinci/da8xx-dt.c index ed1928740b5f..f703d82f08a8

[PATCH v2 5/6] ARM: DTS: da850-evm: Add node for tlv320aic3106 codec

2014-08-01 Thread Peter Ujfalusi
The board uses aic3106 for audio. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/da850-evm.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index 1422c311af4c..41715b495861 100644

[PATCH v2 4/6] ARM: DTS: da850-evm: Enable McASP via DT boot

2014-08-01 Thread Peter Ujfalusi
Add pinctrl nodes for the McASP0 pins and configure McASP to the desired mode for the board. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/da850-evm.dts | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/da850-evm.dts

[PATCH v2 6/6] ARM: DTS: da850-evm: Enable audio via simple-card

2014-08-01 Thread Peter Ujfalusi
The audio on the board is using McASP - tlv320aic3106 codec and we have LineIn and LineOut jacks. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/da850-evm.dts | 29 + 1 file changed, 29 insertions(+) diff --git

[PATCH v2 3/6] ARM: DTS: da850: Add node for McASP

2014-08-01 Thread Peter Ujfalusi
Node for mcasp0 Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/da850.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 41ce4e8bf227..0bd98cd00816 100644 ---

Re: [PATCH 2/6] ARM: DTS: da850: Add node for edma0

2014-08-01 Thread Sekhar Nori
On Friday 01 August 2014 10:39 AM, Peter Ujfalusi wrote: On 07/31/2014 05:26 PM, Sergei Shtylyov wrote: On 07/31/2014 02:18 PM, Peter Ujfalusi wrote: Add DT node for edma0. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/da850.dtsi | 6 ++ 1 file changed,

Re: [PATCH 5/6] ARM: DTS: da850-evm: Add node for tlv320aic3106 codec

2014-08-01 Thread Sergei Shtylyov
Hello. On 01-08-2014 9:22, Peter Ujfalusi wrote: The board uses aic3106 for audio. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/da850-evm.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/da850-evm.dts

Re: [PATCH 5/6] ARM: DTS: da850-evm: Add node for tlv320aic3106 codec

2014-08-01 Thread Peter Ujfalusi
On 08/01/2014 03:49 PM, Sergei Shtylyov wrote: I do. We should follow the standard consistently. Why not call the node sound-codec? Well, there is _zero_ cases when the audio codec node is named as sound-codec in linux-next but we have wm, tlv, twl, max etc. Yeah, there are

Re: [PATCH 5/6] ARM: DTS: da850-evm: Add node for tlv320aic3106 codec

2014-08-01 Thread Sergei Shtylyov
Hello. On 08/01/2014 05:02 PM, Peter Ujfalusi wrote: I do. We should follow the standard consistently. Why not call the node sound-codec? Well, there is _zero_ cases when the audio codec node is named as sound-codec in linux-next but we have wm, tlv, twl, max etc.

Re: [PATCH 5/6] ARM: DTS: da850-evm: Add node for tlv320aic3106 codec

2014-08-01 Thread Peter Ujfalusi
Hi, On 08/01/2014 04:13 PM, Sergei Shtylyov wrote: Hello. On 08/01/2014 05:02 PM, Peter Ujfalusi wrote: I do. We should follow the standard consistently. Why not call the node sound-codec? Well, there is _zero_ cases when the audio codec node is named as sound-codec in linux-next

[PATCH v2 1/2] spi: davinci: add support to configure gpio cs through dt

2014-08-01 Thread Grygorii Strashko
From: Murali Karicheri m-kariche...@ti.com Currently driver supports only configuration of GPIO CS through platform data. This patch enhances the driver to configure GPIO CS through DT. Also update the DT binding documentation to reflect the availability of cs-gpios. Signed-off-by: Murali

[PATCH v2 0/2] spi: davinci: add support for gpio cs through dt

2014-08-01 Thread Grygorii Strashko
This small series enables GPIO chip select feature for Davinci SPI when DT-boot mode is used. This is actual for Keystone 2 which supports DT-boot mode only. Changes in v2: - gpio_request_one() is used - as suggested by Mark Brown, new patch has been added which updates Davinci SPI driver to

[PATCH v2 2/2] spi: davinci: use spi_device.cs_gpio to store gpio cs per spi device

2014-08-01 Thread Grygorii Strashko
Rework Davinci SPI driver to store GPIO CS number in cs_gpio field of SPI device structure (spi_device) for both DT and non-DT cases. This will make Davinci SPI driver code simpler and allows to reuse more SPI core functionality. Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com ---

Re: [PATCH v2 1/2] spi: davinci: add support to configure gpio cs through dt

2014-08-01 Thread Mark Brown
On Fri, Aug 01, 2014 at 07:40:32PM +0300, Grygorii Strashko wrote: From: Murali Karicheri m-kariche...@ti.com Currently driver supports only configuration of GPIO CS through platform data. This patch enhances the driver to configure GPIO CS through DT. Also update the DT binding

Re: [PATCH v2 1/2] spi: davinci: add support to configure gpio cs through dt

2014-08-01 Thread Mark Brown
On Fri, Aug 01, 2014 at 07:40:32PM +0300, Grygorii Strashko wrote: From: Murali Karicheri m-kariche...@ti.com Currently driver supports only configuration of GPIO CS through platform data. This patch enhances the driver to configure GPIO CS through DT. Also update the DT binding

Re: [PATCH v2 1/2] spi: davinci: add support to configure gpio cs through dt

2014-08-01 Thread Grygorii Strashko
On 08/01/2014 08:26 PM, Mark Brown wrote: On Fri, Aug 01, 2014 at 07:40:32PM +0300, Grygorii Strashko wrote: From: Murali Karicheri m-kariche...@ti.com Currently driver supports only configuration of GPIO CS through platform data. This patch enhances the driver to configure GPIO CS through DT.

Re: [PATCH v2 1/2] spi: davinci: add support to configure gpio cs through dt

2014-08-01 Thread Grygorii Strashko
On 08/01/2014 08:35 PM, Mark Brown wrote: On Fri, Aug 01, 2014 at 07:40:32PM +0300, Grygorii Strashko wrote: From: Murali Karicheri m-kariche...@ti.com Currently driver supports only configuration of GPIO CS through platform data. This patch enhances the driver to configure GPIO CS through

Re: [PATCH v2 1/2] spi: davinci: add support to configure gpio cs through dt

2014-08-01 Thread Mark Brown
On Fri, Aug 01, 2014 at 07:40:32PM +0300, Grygorii Strashko wrote: From: Murali Karicheri m-kariche...@ti.com Currently driver supports only configuration of GPIO CS through platform data. This patch enhances the driver to configure GPIO CS through DT. Also update the DT binding