Re: [PATCH] ARM: OMAP4+: omap2plus_defconfig: Enable audio via TWL6040 as module

2013-04-12 Thread Jyri Sarha
On Wed, 10 Apr 2013 11:08:00 +0200, Peter Ujfalusi peter.ujfal...@ti.com wrote: Boards supported upstream all use TWL6040 as audio codec, enable the common ASoC machine driver by default for them. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Tested-by: Jyri Sarha jsa...@ti.com Brings

[PATCH v3 04/11] ASoC: davinci-mcasp: Extract DMA channels directly from DT

2013-09-19 Thread Jyri Sarha
Extract DMA channels directly from DT as they can not be found from platform resources anymore. This is a work-around until davinci audio driver is updated to use dmaengine. Signed-off-by: Jyri Sarha jsa...@ti.com --- .../bindings/sound/davinci-mcasp-audio.txt |5 +++ include/linux

[PATCH v3 02/11] ASoC: davinci-evm: Add device tree binding

2013-09-19 Thread Jyri Sarha
Signed-off-by: Jyri Sarha jsa...@ti.com --- .../bindings/sound/davinci-evm-audio.txt | 58 ++ sound/soc/davinci/davinci-evm.c| 120 +++- 2 files changed, 176 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings

[PATCH v3 05/11] ASoC: davinci-mcasp: Interrupts property to optional and add interrupt-names

2013-09-19 Thread Jyri Sarha
Makes interrupts property optional as the interrupts are not currently used by the driver and adds interrupt-names property to name listed interrupts. Currently know interrupt names are tx and rx. Signed-off-by: Jyri Sarha jsa...@ti.com --- .../bindings/sound/davinci-mcasp-audio.txt

[PATCH v3 01/11] ASoC: davinci-evm: Move sysclk logic away from evm_hw_params

2013-09-19 Thread Jyri Sarha
The sysclk rate does not change runtime so it should be initialized at init time. Signed-off-by: Jyri Sarha jsa...@ti.com --- sound/soc/davinci/davinci-evm.c | 64 +++ 1 file changed, 44 insertions(+), 20 deletions(-) diff --git a/sound/soc/davinci/davinci

[PATCH v3 00/11] Fix AM335x-evm analog audio support

2013-09-19 Thread Jyri Sarha
Etheridge (1): ARM/dts: am335x-evm: Add audio support for am335x-evm.dts Hebbar, Gururaja (2): ASoC: davinci-evm: Add device tree binding ASoC: davinci: Add support for AM33xx SoC Audio Jyri Sarha (7): ASoC: davinci-evm: Move sysclk logic away from evm_hw_params ASoC: davinci-mcasp: Add

[PATCH v3 03/11] ASoC: davinci-mcasp: Add DMA register locations to DT

2013-09-19 Thread Jyri Sarha
Signed-off-by: Darren Etheridge detheri...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- .../bindings/sound/davinci-mcasp-audio.txt |8 ++- sound/soc/davinci/davinci-mcasp.c | 59 +--- 2 files changed, 46 insertions(+), 21 deletions(-) diff --git

[PATCH v3 09/11] ARM/dts: am33xx: Add mcasp0 and mcasp1 device tree entries

2013-09-19 Thread Jyri Sarha
From: Pantelis Antoniou pa...@antoniou-consulting.com Add missing mcasp entries in the am33xx.dtsi include file. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com Signed-off-by: Darren Etheridge detheri...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts

[PATCH v3 08/11] ASoC: tlv320aic3x: Add codec pins to DT bindings document

2013-09-19 Thread Jyri Sarha
Add list of codec pins to tlv320aic3x DT bindings document. Signed-off-by: Jyri Sarha jsa...@ti.com --- .../devicetree/bindings/sound/tlv320aic3x.txt | 19 +++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/tlv320aic3x.txt b

[PATCH v3 07/11] ASoC: tlv320aic3x: Add regulators to DT bindings document

2013-09-19 Thread Jyri Sarha
Add regulator properties to tlv320aic3x DT bindings document. Signed-off-by: Jyri Sarha jsa...@ti.com --- .../devicetree/bindings/sound/tlv320aic3x.txt |7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/tlv320aic3x.txt b/Documentation

[PATCH v3 06/11] ASoC: davinci: Add support for AM33xx SoC Audio

2013-09-19 Thread Jyri Sarha
-off-by: Jyri Sarha jsa...@ti.com --- sound/soc/davinci/Kconfig | 18 +++--- sound/soc/davinci/Makefile |1 + 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/sound/soc/davinci/Kconfig b/sound/soc/davinci/Kconfig index c82f89c..95970f5 100644 --- a/sound/soc/davinci

[PATCH v3 11/11] ARM/dts: am335x-evm: Add audio support for am335x-evm.dts

2013-09-19 Thread Jyri Sarha
From: Darren Etheridge detheri...@ti.com Adds sound, tlv320aic3x, mcasp1, and am335x_evm_audio_pin nodes. Signed-off-by: Darren Etheridge detheri...@ti.com Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 56

[PATCH v3 10/11] ARM/dts: am33xx: mcasp: Add new dma register location to reg-property

2013-09-19 Thread Jyri Sarha
detheri...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index fe53ce0..4dc388a 100644 --- a/arch/arm/boot/dts/am33xx.dtsi

Re: [RESEND PATCH v3 04/11] ASoC: davinci-mcasp: Extract DMA channels directly from DT

2013-10-08 Thread Jyri Sarha
On 10/08/2013 12:53 AM, Mark Rutland wrote: On Thu, Sep 26, 2013 at 08:18:29PM +0100, Jyri Sarha wrote: Extract DMA channels directly from DT as they can not be found from platform resources anymore. This is a work-around until davinci audio driver is updated to use dmaengine. How long

Re: [RESEND PATCH v3 03/11] ASoC: davinci-mcasp: Add DMA register locations to DT

2013-10-08 Thread Jyri Sarha
On 10/08/2013 12:47 AM, Mark Rutland wrote: Hello, Hi! I am not the author of this driver so my knowledge may have gaps, when it comes to details I have not touched yet. Anyway, I do my best to address your comments. ... -- reg : Should contain McASP registers offset and length +- reg :

Re: [RESEND PATCH v3 05/11] ASoC: davinci-mcasp: Interrupts property to optional and add interrupt-names

2013-10-08 Thread Jyri Sarha
On 10/08/2013 12:56 AM, Mark Rutland wrote: On Thu, Sep 26, 2013 at 08:18:30PM +0100, Jyri Sarha wrote: +- interrupts : Interrupt numbers for McASP, currently not used by the driver +- interrupt-names : Known interrupt names are tx and rx Are these_all_ the interrupts the McASP may generate

Re: [RESEND PATCH v3 10/11] ARM/dts: am33xx: mcasp: Add new dma register location to reg-property

2013-10-08 Thread Jyri Sarha
On 10/08/2013 01:00 AM, Mark Rutland wrote: For consistency with reg and other composite value properties, I'd prefer that each entry in the list were individually bracketed: dmas = edma 8, edma 9; Makes sense. I'll do that. Thanks! It

Re: [RESEND PATCH v3 11/11] ARM/dts: am335x-evm: Add audio support for am335x-evm.dts

2013-10-08 Thread Jyri Sarha
On 10/08/2013 01:02 AM, Mark Rutland wrote: +mcasp1 { + pinctrl-names = default; + pinctrl-0 = am335x_evm_audio_pins; I didn't see mention of pinctrl added to the binding. It should be. I'll add that. Thanks! Cheers, Jyri -- To unsubscribe from this list: send the line

[PATCH v4 07/10] ARM/dts: am33xx: Add mcasp0 and mcasp1 device tree entries

2013-10-08 Thread Jyri Sarha
From: Pantelis Antoniou pa...@antoniou-consulting.com Add missing mcasp entries in the am33xx.dtsi include file. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com Signed-off-by: Darren Etheridge detheri...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts

[PATCH v4 05/10] ASoC: davinci-mcasp: Improve DT bindings document

2013-10-08 Thread Jyri Sarha
and pinctrl-0 properties - Remove #address-cells and #size-cells as they are not needed. - Bracket named interrupts property tuples for uniformity. - Add missing for to serial-dir prop in DT bindings doc. Signed-off-by: Jyri Sarha jsa...@ti.com --- .../bindings/sound/davinci-mcasp-audio.txt

[PATCH v4 01/10] ASoC: davinci: Fix AM33xx SoC Audio support

2013-10-08 Thread Jyri Sarha
SND_DAVINCI_SOC is a platform driver for Davinci and AM33XX SoCs, not a machine driver. Make SND_AM33XX_SOC_EVM dependent of SND_DAVINCI_SOC instead of selecting it and add dependecy to SOC_AM33XX. Signed-off-by: Jyri Sarha jsa...@ti.com --- sound/soc/davinci/Kconfig |4 ++-- 1 file changed

[PATCH v4 08/10] ARM/dts: am33xx: mcasp: Add location for data port registers to reg-property

2013-10-08 Thread Jyri Sarha
-by: Darren Etheridge detheri...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts/am33xx.dtsi |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 22659e7..c8ba19e 100644 --- a/arch/arm

[PATCH v4 04/10] ASoC: davinci-mcasp: Extract DMA channels directly from DT

2013-10-08 Thread Jyri Sarha
Extract DMA channels directly from DT as they can not be found from platform resources anymore. This is a work-around until davinci audio driver is updated to use dmaengine. Signed-off-by: Jyri Sarha jsa...@ti.com --- .../bindings/sound/davinci-mcasp-audio.txt |5 +++ include/linux

[PATCH v4 02/10] ASoC: davinci-evm: Add device tree binding

2013-10-08 Thread Jyri Sarha
Signed-off-by: Jyri Sarha jsa...@ti.com --- .../bindings/sound/davinci-evm-audio.txt | 58 ++ sound/soc/davinci/davinci-evm.c| 120 +++- 2 files changed, 176 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings

[PATCH v4 00/10] Fix AM335x-evm analog audio support

2013-10-08 Thread Jyri Sarha
): ARM/dts: am335x-evm: Add audio support for am335x-evm.dts Hebbar, Gururaja (1): ASoC: davinci-evm: Add device tree binding Jyri Sarha (5): ASoC: davinci: Fix AM33xx SoC Audio support ASoC: davinci-mcasp: Add location for data port registers to DT ASoC: davinci-mcasp: Extract DMA channels

[PATCH v4 03/10] ASoC: davinci-mcasp: Add location for data port registers to DT

2013-10-08 Thread Jyri Sarha
...@ti.com Signed-off-by: Darren Etheridge detheri...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- .../bindings/sound/davinci-mcasp-audio.txt |8 ++- sound/soc/davinci/davinci-mcasp.c | 61 +--- 2 files changed, 47 insertions(+), 22 deletions(-) diff

[PATCH v4 06/10] ASoC: davinci-mcasp: Remove redundant num-serializer DT parameter

2013-10-08 Thread Jyri Sarha
time for davinci-mcasp Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- .../bindings/sound/davinci-mcasp-audio.txt |1 - sound/soc/davinci/davinci-mcasp.c | 22 +--- 2 files changed, 5 insertions(+), 18

[PATCH v4 09/10] ARM/dts: am335x-evm: Add audio support for am335x-evm.dts

2013-10-08 Thread Jyri Sarha
From: Darren Etheridge detheri...@ti.com Adds sound, tlv320aic3106, mcasp1, and am335x_evm_audio_pin nodes. Signed-off-by: Darren Etheridge detheri...@ti.com Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 54

[PATCH v4 10/10] ARM/dts: am335x-evmsk: Audio support

2013-10-08 Thread Jyri Sarha
-off-by: Peter Ujfalusi peter.ujfal...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 51 1 file changed, 51 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index

[PATCH v4.1 09/10] ARM/dts: am335x-evm: Add audio support for am335x-evm.dts

2013-10-09 Thread Jyri Sarha
From: Darren Etheridge detheri...@ti.com Adds sound, tlv320aic3106, mcasp1, and am335x_evm_audio_pin nodes. Signed-off-by: Darren Etheridge detheri...@ti.com Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 51

[PATCH v4.2 09/10] ARM/dts: am335x-evm: Add audio support for am335x-evm.dts

2013-10-09 Thread Jyri Sarha
From: Darren Etheridge detheri...@ti.com Adds sound, tlv320aic3106, mcasp1, and am335x_evm_audio_pin nodes. Signed-off-by: Darren Etheridge detheri...@ti.com Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 51

[PATCH v4.2 10/10] ARM/dts: am335x-evmsk: Audio support

2013-10-09 Thread Jyri Sarha
-off-by: Peter Ujfalusi peter.ujfal...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 48 1 file changed, 48 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index

Re: [RESEND PATCH v3 03/11] ASoC: davinci-mcasp: Add DMA register locations to DT

2013-10-16 Thread Jyri Sarha
On 10/16/2013 06:04 PM, Mark Rutland wrote: On Thu, Oct 10, 2013 at 06:29:59PM +0100, Peter Ujfalusi wrote: On 10/10/2013 07:59 PM, Mark Rutland wrote: No, they're not actually of much practical use to us at the minute but it was generally felt better to include the information and not use it

[PATCH v5 04/12] ASoC: davinci-mcasp: Extract DMA channels directly from DT

2013-10-18 Thread Jyri Sarha
Extract DMA channels directly from DT as they can not be found from platform resources anymore. This is a work-around until davinci audio driver is updated to use dmaengine. Signed-off-by: Jyri Sarha jsa...@ti.com --- .../bindings/sound/davinci-mcasp-audio.txt |5 +++ include/linux

[PATCH v5 07/12] ASoC: davinci-mcasp: Remove redundant num-serializer DT parameter

2013-10-18 Thread Jyri Sarha
time for davinci-mcasp Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- .../bindings/sound/davinci-mcasp-audio.txt |1 - sound/soc/davinci/davinci-mcasp.c | 22 +--- 2 files changed, 5 insertions(+), 18

[PATCH v5 01/12] ASoC: davinci: Fix AM33xx SoC Audio support

2013-10-18 Thread Jyri Sarha
SND_DAVINCI_SOC is a platform driver for Davinci and AM33XX SoCs, not a machine driver. Make SND_AM33XX_SOC_EVM dependent of SND_DAVINCI_SOC instead of selecting it and add dependecy to SOC_AM33XX. Signed-off-by: Jyri Sarha jsa...@ti.com --- sound/soc/davinci/Kconfig |4 ++-- 1 file changed

[PATCH v5 03/12] ASoC: davinci-mcasp: Add location for data port registers to DT

2013-10-18 Thread Jyri Sarha
...@ti.com Signed-off-by: Darren Etheridge detheri...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- .../bindings/sound/davinci-mcasp-audio.txt |8 ++- sound/soc/davinci/davinci-mcasp.c | 61 +--- 2 files changed, 47 insertions(+), 22 deletions(-) diff

[PATCH v5 05/12] ASoC: davinci-mcasp: Change compatible property model to more accurate

2013-10-18 Thread Jyri Sarha
Change the model omap2-mcasp-audio in compatible property to am33xx-mcasp-audio as omap2 does not have mcasp. Signed-off-by: Jyri Sarha jsa...@ti.com --- .../bindings/sound/davinci-mcasp-audio.txt |2 +- sound/soc/davinci/davinci-mcasp.c |2 +- 2 files changed, 2

[PATCH v5 12/12] arm: omap2plus_defconfig: enable AM33xx SOC EVM audio

2013-10-18 Thread Jyri Sarha
Modifying the omap2plus_defconfig to enable the audio support for AM335x EVM and other AM33xx based devices with TLV320AIC3X connected to McASP. Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/configs/omap2plus_defconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm

[PATCH v5 09/12] ARM/dts: am33xx: mcasp: Add location for data port registers to reg-property

2013-10-18 Thread Jyri Sarha
-by: Darren Etheridge detheri...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts/am33xx.dtsi |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 72c416d..b1d2d3f 100644 --- a/arch/arm

[PATCH v5 06/12] ASoC: davinci-mcasp: Improve DT bindings document

2013-10-18 Thread Jyri Sarha
and pinctrl-0 properties - Remove #address-cells and #size-cells as they are not needed. - Bracket named interrupts property tuples for uniformity. - Add missing for to serial-dir prop in DT bindings doc. Signed-off-by: Jyri Sarha jsa...@ti.com --- .../bindings/sound/davinci-mcasp-audio.txt

[PATCH v5 10/12] ARM/dts: am335x-evm: Add audio support for am335x-evm.dts

2013-10-18 Thread Jyri Sarha
From: Darren Etheridge detheri...@ti.com Adds sound, tlv320aic3106, mcasp1, and am335x_evm_audio_pin nodes. Signed-off-by: Darren Etheridge detheri...@ti.com Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 51

[PATCH v5 08/12] ARM/dts: am33xx: Add mcasp0 and mcasp1 device tree entries

2013-10-18 Thread Jyri Sarha
From: Pantelis Antoniou pa...@antoniou-consulting.com Add missing mcasp entries in the am33xx.dtsi include file. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com Signed-off-by: Darren Etheridge detheri...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts

[PATCH v5 02/12] ASoC: davinci-evm: Add device tree binding

2013-10-18 Thread Jyri Sarha
Signed-off-by: Jyri Sarha jsa...@ti.com --- .../bindings/sound/davinci-evm-audio.txt | 58 ++ sound/soc/davinci/davinci-evm.c| 120 +++- 2 files changed, 176 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings

[PATCH v5 00/12] Fix AM335x-evm analog audio support

2013-10-18 Thread Jyri Sarha
Etheridge (1): ARM/dts: am335x-evm: Add audio support for am335x-evm.dts Hebbar, Gururaja (1): ASoC: davinci-evm: Add device tree binding Jyri Sarha (7): ASoC: davinci: Fix AM33xx SoC Audio support ASoC: davinci-mcasp: Add location for data port registers to DT ASoC: davinci-mcasp: Extract DMA

[PATCH v5 11/12] ARM/dts: am335x-evmsk: Audio support

2013-10-18 Thread Jyri Sarha
-off-by: Peter Ujfalusi peter.ujfal...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 48 1 file changed, 48 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index

[PATCH v5 DTS 0/4] Fix AM335x-evm analog audio support

2013-10-20 Thread Jyri Sarha
series can be found here: http://mailman.alsa-project.org/pipermail/alsa-devel/2013-October/067443.html Best regards, Jyri Darren Etheridge (1): ARM/dts: am335x-evm: Add audio support for am335x-evm.dts Jyri Sarha (1): ARM/dts: am33xx: mcasp: Add location for data port registers to reg

[PATCH v5 DTS 2/4] ARM/dts: am33xx: mcasp: Add location for data port registers to reg-property

2013-10-20 Thread Jyri Sarha
-by: Darren Etheridge detheri...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts/am33xx.dtsi |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 861382f..3465d4b 100644 --- a/arch/arm

[PATCH v5 DTS 4/4] ARM/dts: am335x-evmsk: Audio support

2013-10-20 Thread Jyri Sarha
-off-by: Peter Ujfalusi peter.ujfal...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 48 1 file changed, 48 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index

[PATCH v5 DTS 1/4] ARM/dts: am33xx: Add mcasp0 and mcasp1 device tree entries

2013-10-20 Thread Jyri Sarha
From: Pantelis Antoniou pa...@antoniou-consulting.com Add missing mcasp entries in the am33xx.dtsi include file. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com Signed-off-by: Darren Etheridge detheri...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts

[PATCH v5 DTS 3/4] ARM/dts: am335x-evm: Add audio support for am335x-evm.dts

2013-10-20 Thread Jyri Sarha
From: Darren Etheridge detheri...@ti.com Adds sound, tlv320aic3106, mcasp1, and am335x_evm_audio_pin nodes. Signed-off-by: Darren Etheridge detheri...@ti.com Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 50

Re: [PATCH v5 02/12] ASoC: davinci-evm: Add device tree binding

2013-10-22 Thread Jyri Sarha
On 10/22/2013 02:01 PM, Mark Brown wrote: On Fri, Oct 18, 2013 at 06:37:41PM +0300, Jyri Sarha wrote: + TLV320AIC3X pins: ... These should be documented in the CODEC binding and not in the card driver, that way this doesn't need to be replicated in every machine and any future software

Re: [PATCH v5 01/12] ASoC: davinci: Fix AM33xx SoC Audio support

2013-10-22 Thread Jyri Sarha
On 10/22/2013 03:24 PM, Mark Brown wrote: On Fri, Oct 18, 2013 at 06:37:40PM +0300, Jyri Sarha wrote: SND_DAVINCI_SOC is a platform driver for Davinci and AM33XX SoCs, not a machine driver. Make SND_AM33XX_SOC_EVM dependent of SND_DAVINCI_SOC instead of selecting it and add dependecy

Re: [PATCH v5 02/12] ASoC: davinci-evm: Add device tree binding

2013-10-22 Thread Jyri Sarha
On 10/22/2013 03:39 PM, Mark Brown wrote: It would look a good deal less odd which is useful in itself; the best thing would be if they could both use the same driver which uses both platform and DT data. I see. To be honest the whole non DT part looks pretty hairy to me too, but I can not

[PATCH v6 0/4] Fix AM335x-evm analog audio support

2013-10-23 Thread Jyri Sarha
of for-next branch. The patches do not compile on topic/davinci because of devm_snd_soc_register_card() usage. Best regards, Jyri Hebbar, Gururaja (2): ASoC: davinci: Add support for AM33xx SoC Audio ASoC: davinci-evm: Add device tree binding Jyri Sarha (2): ASoC: davinci-mcasp: Remove last

[PATCH v6 2/4] ASoC: davinci-evm: Add device tree binding

2013-10-23 Thread Jyri Sarha
Signed-off-by: Jyri Sarha jsa...@ti.com --- .../bindings/sound/davinci-evm-audio.txt | 42 +++ sound/soc/davinci/davinci-evm.c| 124 +++- 2 files changed, 164 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/sound

[PATCH v6 3/4] ASoC: davinci-mcasp: Remove last reference to num-serializer in DT doc

2013-10-23 Thread Jyri Sarha
Remove last reference to num-serializer in davinci-mcasp devicetree binding document. Signed-off-by: Jyri Sarha jsa...@ti.com --- .../bindings/sound/davinci-mcasp-audio.txt |1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/davinci-mcasp

[PATCH v6 1/4] ASoC: davinci: Add support for AM33xx SoC Audio

2013-10-23 Thread Jyri Sarha
-off-by: Jyri Sarha jsa...@ti.com --- sound/soc/davinci/Kconfig | 18 +++--- sound/soc/davinci/Makefile |1 + 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/sound/soc/davinci/Kconfig b/sound/soc/davinci/Kconfig index c82f89c..95970f5 100644 --- a/sound/soc/davinci

[PATCH v6 4/4] arm: omap2plus_defconfig: enable AM33xx SOC EVM audio

2013-10-23 Thread Jyri Sarha
Modifying the omap2plus_defconfig to enable the audio support for AM335x EVM and other AM33xx based devices with TLV320AIC3X connected to McASP. Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/configs/omap2plus_defconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm

[PATCH RFC] gpio controlled clock

2013-11-01 Thread Jyri Sarha
, Jyri Jyri Sarha (1): clk: add gpio controlled clock .../devicetree/bindings/clock/gpio-clock.txt | 21 +++ drivers/clk/Makefile |1 + drivers/clk/clk-gpio.c | 154 include/linux/clk-provider.h

[PATCH RFC] clk: add gpio controlled clock

2013-11-01 Thread Jyri Sarha
The added clk-gpio is a basic clock that can be enabled and disabled trough a gpio output. The DT binding document for the clock is also added. Signed-off-by: Jyri Sarha jsa...@ti.com --- .../devicetree/bindings/clock/gpio-clock.txt | 21 +++ drivers/clk/Makefile

[PATCH v2 RFC] clk: add gpio controlled clock

2013-11-05 Thread Jyri Sarha
The added clk-gpio is a basic clock that can be enabled and disabled trough a gpio output. The DT binding document for the clock is also added. Signed-off-by: Jyri Sarha jsa...@ti.com --- .../devicetree/bindings/clock/gpio-clock.txt | 21 +++ drivers/clk/Makefile

[PATCH RESEND] arm: omap2plus_defconfig: enable AM33xx SOC EVM audio

2013-11-05 Thread Jyri Sarha
Modifying the omap2plus_defconfig to enable the audio support for AM335x EVM and other AM33xx based devices with TLV320AIC3X connected to McASP. Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/configs/omap2plus_defconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm

[PATCH RESEND] arm: omap2plus_defconfig: enable AM33xx SOC EVM audio

2013-11-05 Thread Jyri Sarha
Hi Tony, The audio support for am335x-emv and am335x-evmsk has been merged: http://www.spinics.net/lists/linux-omap/msg99282.html http://www.spinics.net/lists/linux-omap/msg99135.html Best regards, Jyri Jyri Sarha (1): arm: omap2plus_defconfig: enable AM33xx SOC EVM audio arch/arm/configs

[PATCH v3 RFC] clk: add gpio controlled clock

2013-11-08 Thread Jyri Sarha
The added clk-gpio is a basic clock that can be enabled and disabled trough a gpio output. The DT binding document for the clock is also added. For EPROBE_DEFER handling the registering of the clock has to be delayed until of_clk_get() call time. Signed-off-by: Jyri Sarha jsa...@ti.com CC: t-kri

[PATCH RFC 0/9] Beaglebone-Black HDMI audio

2013-11-19 Thread Jyri Sarha
is the latest version. I'll send the associated dts changes shortly as a separate patch. Best regards, Jyri Jyri Sarha (9): clk: add gpio controlled clock ASoC: davinci-evm: Add named clock reference to DT bindings ASoC: davinci-evm: HDMI audio support for TDA998x trough McASP I2S bus

[PATCH RFC 6/9] ASoC: davinci: HDMI audio build for AM33XX and TDA998x

2013-11-19 Thread Jyri Sarha
Adds configuration option for HDMI audio support for AM33XX based boards with NXP TDA998x HDMI transmitter. The audio is connected to NXP TDA998x trough McASP running in i2s mode. Signed-off-by: Jyri Sarha jsa...@ti.com --- sound/soc/davinci/Kconfig | 12 sound/soc/davinci

[PATCH RFC 3/9] ASoC: davinci-evm: HDMI audio support for TDA998x trough McASP I2S bus

2013-11-19 Thread Jyri Sarha
sample format is SNDRV_PCM_FORMAT_S32_LE. The 8 least significant bits are ignored. Signed-off-by: Jyri Sarha jsa...@ti.com --- .../bindings/sound/davinci-evm-audio.txt |3 +- sound/soc/davinci/davinci-evm.c| 167 +++- 2 files changed, 167

[PATCH RFC 9/9] ARM: OMAP2+: omap2plus_defconfig: Enable BeagleBone Black HDMI audio support

2013-11-19 Thread Jyri Sarha
Select following: CONFIG_SND_DAVINCI_SOC=m CONFIG_SND_AM335X_SOC_NXPTDA_EVM=m Signed-off-by: Jyri Sarha jsa...@ti.com cc: t...@atomide.com --- arch/arm/configs/omap2plus_defconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs

[PATCH RFC 7/9] drm/tilcdc: Add I2C HDMI audio config for tda998x

2013-11-19 Thread Jyri Sarha
The configuration is needed for HDMI audio. The swap and mirr parameters have to be correctly set in the configuration in order to have proper colors in the HDMI picture. Signed-off-by: Jyri Sarha jsa...@ti.com cc: airl...@linux.ie --- drivers/gpu/drm/tilcdc/tilcdc_slave.c | 24

[PATCH RFC 2/9] ASoC: davinci-evm: Add named clock reference to DT bindings

2013-11-19 Thread Jyri Sarha
The referenced clock is used to get codec clock rate and the clock is disabled and enabled in startup and shutdown snd_soc_ops call backs. The change is also documented in DT bindigs document. Signed-off-by: Jyri Sarha jsa...@ti.com --- .../bindings/sound/davinci-evm-audio.txt |9

[PATCH RFC 1/9] clk: add gpio controlled clock

2013-11-19 Thread Jyri Sarha
The added clk-gpio is a basic clock that can be enabled and disabled trough a gpio output. The DT binding document for the clock is also added. For EPROBE_DEFER handling the registering of the clock has to be delayed until of_clk_get() call time. Signed-off-by: Jyri Sarha jsa...@ti.com cc

[PATCH RFC 4/9] ASoC: hdmi-codec: Add devicetree binding with documentation

2013-11-19 Thread Jyri Sarha
Signed-off-by: Jyri Sarha jsa...@ti.com --- Documentation/devicetree/bindings/sound/hdmi.txt | 17 + sound/soc/codecs/hdmi.c | 10 ++ 2 files changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/hdmi.txt diff

[PATCH RFC 5/9] ASoC: hdmi-codec: Add SNDRV_PCM_FMTBIT_32_LE playback format

2013-11-19 Thread Jyri Sarha
. Signed-off-by: Jyri Sarha jsa...@ti.com --- sound/soc/codecs/hdmi.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/hdmi.c b/sound/soc/codecs/hdmi.c index 6d2fcf1..9cb1c7d 100644 --- a/sound/soc/codecs/hdmi.c +++ b/sound/soc/codecs/hdmi.c @@ -45,7 +45,7

[PATCH RFC 8/9] ARM: OMAP2+: omap2plus_defconfig: Enable tilcdc and TDA998X HDMI support

2013-11-19 Thread Jyri Sarha
This enables HDMI video support on Beaglebone-Black. Signed-off-by: Jyri Sarha jsa...@ti.com cc: t...@atomide.com --- arch/arm/configs/omap2plus_defconfig |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index

[PATCH RFC] DTS Changes for Beaglebone-Black HDMI audio

2013-11-19 Thread Jyri Sarha
The associated code changes can be found here: http://mailman.alsa-project.org/pipermail/alsa-devel/2013-November/068920.html Jyri Sarha (1): ARM/dts: am335x-boneblack: Add HDMI audio support arch/arm/boot/dts/am335x-boneblack.dts | 52 1 file changed, 52

[PATCH RFC] ARM/dts: am335x-boneblack: Add HDMI audio support

2013-11-19 Thread Jyri Sarha
Adds mcasp0_pins, clk_mcasp0_fixed, clk_mcasp0, mcasp0, hdmi_audio, and sound nodes. Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts/am335x-boneblack.dts | 52 1 file changed, 52 insertions(+) diff --git a/arch/arm/boot/dts/am335x-boneblack.dts

Re: [PATCH RFC] ARM/dts: am335x-boneblack: Add HDMI audio support

2013-11-19 Thread Jyri Sarha
On 11/19/2013 03:02 PM, Benoit Cousson wrote: A side question related to audio cape support on BBB. In the official 3.8.13 CircuitCo version the HDMI audio support was breaking the audio-cape support due to some bad hacks in the mcasp driver. Is this still the case with you series? My patches

[RFC v2 8/8] ARM: OMAP2+: omap2plus_defconfig: Enable BeagleBone Black HDMI audio support

2013-12-08 Thread Jyri Sarha
Select following: CONFIG_SND_DAVINCI_SOC=m CONFIG_SND_AM335X_SOC_NXPTDA_EVM=m Signed-off-by: Jyri Sarha jsa...@ti.com cc: t...@atomide.com --- arch/arm/configs/omap2plus_defconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs

[RFC v2 1/8] clk: add gpio controlled clock

2013-12-08 Thread Jyri Sarha
The added clk-gpio is a basic clock that can be enabled and disabled trough a gpio output. The DT binding document for the clock is also added. For EPROBE_DEFER handling the registering of the clock has to be delayed until of_clk_get() call time. Signed-off-by: Jyri Sarha jsa...@ti.com cc

[RFC v2 2/8] ASoC: davinci-evm: Add named clock reference to DT bindings

2013-12-08 Thread Jyri Sarha
The referenced clock is used to get codec clock rate and the clock is disabled and enabled in startup and shutdown snd_soc_ops call backs. The change is also documented in DT bindigs document. Signed-off-by: Jyri Sarha jsa...@ti.com cc: bcous...@baylibre.com --- .../bindings/sound/davinci-evm

[RFC v2 5/8] ASoC: davinci: HDMI audio build for AM33XX and TDA998x

2013-12-08 Thread Jyri Sarha
Adds configuration option for HDMI audio support for AM33XX based boards with NXP TDA998x HDMI transmitter. The audio is connected to NXP TDA998x trough McASP running in i2s mode. Signed-off-by: Jyri Sarha jsa...@ti.com --- sound/soc/davinci/Kconfig | 12 sound/soc/davinci

[RFC v2 6/8] drm/tilcdc: Add I2C HDMI audio config for tda998x

2013-12-08 Thread Jyri Sarha
The configuration is needed for HDMI audio. The swap and mirr parameters have to be correctly set in the configuration in order to have proper colors in the HDMI picture. Signed-off-by: Jyri Sarha jsa...@ti.com cc: airl...@linux.ie --- drivers/gpu/drm/tilcdc/tilcdc_slave.c | 24

[RFC v2 7/8] ARM: OMAP2+: omap2plus_defconfig: Enable tilcdc and TDA998X HDMI support

2013-12-08 Thread Jyri Sarha
This enables HDMI video support on Beaglebone-Black. Signed-off-by: Jyri Sarha jsa...@ti.com cc: t...@atomide.com --- arch/arm/configs/omap2plus_defconfig |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index

[RFC v2 3/8] ASoC: davinci-evm: HDMI audio support for TDA998x trough McASP I2S bus

2013-12-08 Thread Jyri Sarha
sample format is SNDRV_PCM_FORMAT_S32_LE. The 8 least significant bits are ignored. Signed-off-by: Jyri Sarha jsa...@ti.com cc: bcous...@baylibre.com --- .../bindings/sound/davinci-evm-audio.txt |4 +- sound/soc/davinci/davinci-evm.c| 167 +++- 2

[RFC v2 4/8] ASoC: hdmi-codec: Add devicetree binding with documentation

2013-12-08 Thread Jyri Sarha
Signed-off-by: Jyri Sarha jsa...@ti.com cc: bcous...@baylibre.com --- Documentation/devicetree/bindings/sound/hdmi.txt | 17 + sound/soc/codecs/hdmi.c | 10 ++ 2 files changed, 27 insertions(+) create mode 100644 Documentation/devicetree

[RFC v2 0/8] Beaglebone-Black HDMI audio

2013-12-08 Thread Jyri Sarha
internal review The patches have been rebased on top of: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound topic/davinci The associated dts changes will be sent shortly as a separate patch. Best regards, Jyri Jyri Sarha (8): clk: add gpio controlled clock ASoC: davinci-evm: Add named

[RFC v2] ARM/dts: am335x-boneblack: Add HDMI audio support

2013-12-08 Thread Jyri Sarha
Adds mcasp0_pins, clk_mcasp0_fixed, clk_mcasp0, mcasp0, hdmi_audio, and sound nodes. Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts/am335x-boneblack.dts | 52 1 file changed, 52 insertions(+) diff --git a/arch/arm/boot/dts/am335x-boneblack.dts

[RFC v2] Beaglebone-Black HDMI audio

2013-12-08 Thread Jyri Sarha
The associated code changes can be found here: http://mailman.alsa-project.org/pipermail/alsa-devel/2013-December/069897.html Best regards, Jyri Jyri Sarha (1): ARM/dts: am335x-boneblack: Add HDMI audio support arch/arm/boot/dts/am335x-boneblack.dts | 52 1 file

[PATCH RFC v2 REPOST 0/8] Beaglebone-Black HDMI audio

2013-12-20 Thread Jyri Sarha
internal review The patches have been rebased on top of: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound topic/davinci The associated dts change can be found here: http://www.spinics.net/lists/linux-omap/msg101072.html Best regards, Jyri Jyri Sarha (8): clk: add gpio controlled clock

[PATCH RFC v2 REPOST 1/8] clk: add gpio controlled clock

2013-12-20 Thread Jyri Sarha
The added clk-gpio is a basic clock that can be enabled and disabled trough a gpio output. The DT binding document for the clock is also added. For EPROBE_DEFER handling the registering of the clock has to be delayed until of_clk_get() call time. Signed-off-by: Jyri Sarha jsa...@ti.com cc

[PATCH RFC v2 REPOST 2/8] ASoC: davinci-evm: Add named clock reference to DT bindings

2013-12-20 Thread Jyri Sarha
The referenced clock is used to get codec clock rate and the clock is disabled and enabled in startup and shutdown snd_soc_ops call backs. The change is also documented in DT bindigs document. Signed-off-by: Jyri Sarha jsa...@ti.com cc: bcous...@baylibre.com --- .../bindings/sound/davinci-evm

[PATCH RFC v2 REPOST 3/8] ASoC: davinci-evm: HDMI audio support for TDA998x trough McASP I2S bus

2013-12-20 Thread Jyri Sarha
sample format is SNDRV_PCM_FORMAT_S32_LE. The 8 least significant bits are ignored. Signed-off-by: Jyri Sarha jsa...@ti.com cc: bcous...@baylibre.com --- .../bindings/sound/davinci-evm-audio.txt |4 +- sound/soc/davinci/davinci-evm.c| 167 +++- 2

[PATCH RFC v2 REPOST 4/8] ASoC: hdmi-codec: Add devicetree binding with documentation

2013-12-20 Thread Jyri Sarha
Signed-off-by: Jyri Sarha jsa...@ti.com cc: bcous...@baylibre.com --- Documentation/devicetree/bindings/sound/hdmi.txt | 17 + sound/soc/codecs/hdmi.c | 10 ++ 2 files changed, 27 insertions(+) create mode 100644 Documentation/devicetree

[PATCH RFC v2 REPOST 5/8] ASoC: davinci: HDMI audio build for AM33XX and TDA998x

2013-12-20 Thread Jyri Sarha
Adds configuration option for HDMI audio support for AM33XX based boards with NXP TDA998x HDMI transmitter. The audio is connected to NXP TDA998x trough McASP running in i2s mode. Signed-off-by: Jyri Sarha jsa...@ti.com --- sound/soc/davinci/Kconfig | 12 sound/soc/davinci

[PATCH RFC v2 REPOST 6/8] drm/tilcdc: Add I2C HDMI audio config for tda998x

2013-12-20 Thread Jyri Sarha
The configuration is needed for HDMI audio. The swap and mirr parameters have to be correctly set in the configuration in order to have proper colors in the HDMI picture. Signed-off-by: Jyri Sarha jsa...@ti.com cc: airl...@linux.ie --- drivers/gpu/drm/tilcdc/tilcdc_slave.c | 24

[PATCH RFC v2 REPOST 7/8] ARM: OMAP2+: omap2plus_defconfig: Enable tilcdc and TDA998X HDMI support

2013-12-20 Thread Jyri Sarha
This enables HDMI video support on Beaglebone-Black. Signed-off-by: Jyri Sarha jsa...@ti.com cc: t...@atomide.com --- arch/arm/configs/omap2plus_defconfig |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index

[PATCH RFC v2 REPOST 8/8] ARM: OMAP2+: omap2plus_defconfig: Enable BeagleBone Black HDMI audio support

2013-12-20 Thread Jyri Sarha
Select following: CONFIG_SND_DAVINCI_SOC=m CONFIG_SND_AM335X_SOC_NXPTDA_EVM=m Signed-off-by: Jyri Sarha jsa...@ti.com cc: t...@atomide.com --- arch/arm/configs/omap2plus_defconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs

Re: [alsa-devel] [PATCH RFC v2 REPOST 0/8] Beaglebone-Black HDMI audio

2013-12-20 Thread Jyri Sarha
On 12/20/2013 01:30 PM, Mark Brown wrote: On Fri, Dec 20, 2013 at 12:36:56PM +0200, Jyri Sarha wrote: Changes since the first RFC version of the patches: Please don't bury your e-mails in the middle of old threads, that's a good way of getting them missed. I have done it for my own

Re: [PATCH RFC v2 REPOST 2/8] ASoC: davinci-evm: Add named clock reference to DT bindings

2014-01-15 Thread Jyri Sarha
On 12/31/2013 03:16 PM, Mark Brown wrote: On Fri, Dec 20, 2013 at 12:38:27PM +0200, Jyri Sarha wrote: +static int evm_startup(struct snd_pcm_substream *substream) +{ + struct snd_soc_pcm_runtime *rtd = substream-private_data; + struct snd_soc_card *soc_card = rtd-codec-card

  1   2   3   4   5   6   >