As atmel-ssc can be used with DMA, the documentation should be updated.
Also, a configuration DMA example is given.
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
.../devicetree/bindings/misc/atmel-ssc.txt | 23 +++-
1 file changed, 22 insertions(+), 1
Enable the SSC needed for the WM8731 codec
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
arch/arm/boot/dts/at91sam9x5ek.dtsi |4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi
b/arch/arm/boot/dts/at91sam9x5ek.dtsi
index e6fb309..f3e83f7
2013/7/9 Mark Brown :
> On Tue, Jul 09, 2013 at 04:25:29PM +0200, Richard Genoud wrote:
>
>> - reg: Should contain SSC registers location and length
>> - interrupts: Should contain SSC interrupt
>> +For dma transfer:
>> +- dmas: DMA specifier, consisting of a
2013/7/9 Mark Brown :
> On Tue, Jul 09, 2013 at 04:25:28PM +0200, Richard Genoud wrote:
>> This add the sound DT binding for sam9x5ek-wm8731 machine driver
>>
>> Signed-off-by: Richard Genoud
>> ---
>> .../bindings/sound/atmel-sam9x5-wm8731-audio.txt | 30
&g
2013/7/10 Bo Shen :
> Hi Richard,
Hi !
> On 7/9/2013 22:25, Richard Genoud wrote:
> [snip]
>
>
>> +#include
>> +#include
>> +#include
>> +#include
>> +#include
>> +#include
>> +#include
>> +#include
>> +
>
2013/7/9 Mark Brown :
> On Tue, Jul 09, 2013 at 04:25:27PM +0200, Richard Genoud wrote:
>
>> +/*
>> + * Authorized rates are:
>> + * Rate = MCLK_RATE / (n * 2)
>> + * Where n is in [1..4095]
>> + * (cf register SSC_CMR)
>> + */
>> +static unsign
2013/7/9 Mark Brown broo...@kernel.org:
On Tue, Jul 09, 2013 at 04:25:27PM +0200, Richard Genoud wrote:
+/*
+ * Authorized rates are:
+ * Rate = MCLK_RATE / (n * 2)
+ * Where n is in [1..4095]
+ * (cf register SSC_CMR)
+ */
+static unsigned int rates[] = {
+ 8000,
+ 16000
2013/7/10 Bo Shen voice.s...@atmel.com:
Hi Richard,
Hi !
On 7/9/2013 22:25, Richard Genoud wrote:
[snip]
+#include linux/module.h
+#include linux/moduleparam.h
+#include linux/kernel.h
+#include linux/clk.h
+#include linux/timer.h
+#include linux/interrupt.h
+#include linux
2013/7/9 Mark Brown broo...@kernel.org:
On Tue, Jul 09, 2013 at 04:25:28PM +0200, Richard Genoud wrote:
This add the sound DT binding for sam9x5ek-wm8731 machine driver
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
.../bindings/sound/atmel-sam9x5-wm8731-audio.txt | 30
2013/7/9 Mark Brown broo...@kernel.org:
On Tue, Jul 09, 2013 at 04:25:29PM +0200, Richard Genoud wrote:
- reg: Should contain SSC registers location and length
- interrupts: Should contain SSC interrupt
+For dma transfer:
+- dmas: DMA specifier, consisting of a phandle to DMA controller
2013/7/9 Mark Brown :
> On Tue, Jul 09, 2013 at 04:25:26PM +0200, Richard Genoud wrote:
>> [I've just seen that I forgot to cc Uwe to the cover letter, sorry for that.]
>
> This is the second or third copy of this patch set I've been sent
> *today*. Worse, everything seem
Signed-off-by: Richard Genoud
---
arch/arm/boot/dts/at91sam9x5.dtsi |3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi
b/arch/arm/boot/dts/at91sam9x5.dtsi
index 57d45f5..cf78ac0 100644
--- a/arch/arm/boot/dts/at91sam9x5.dtsi
+++ b/arch/arm/boot/dts
As atmel-ssc can be used with DMA, the documentation should be updated.
Also, a configuration DMA example is given.
Signed-off-by: Richard Genoud
---
.../devicetree/bindings/misc/atmel-ssc.txt | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git
This add the sound DT binding for sam9x5ek-wm8731 machine driver
Signed-off-by: Richard Genoud
---
.../bindings/sound/atmel-sam9x5-wm8731-audio.txt | 30
1 file changed, 30 insertions(+)
create mode 100644
Documentation/devicetree/bindings/sound/atmel-sam9x5-wm8731
from Nicolas that I forward
ported and reworked to use only device tree]
Signed-off-by: Nicolas Ferre
Signed-off-by: Uwe Kleine-König
Signed-off-by: Richard Genoud
---
sound/soc/atmel/Kconfig | 10 ++
sound/soc/atmel/Makefile|2 +
sound/soc/atmel/sam9x5_wm8731.c | 238
The WM8731 codec on sam9x5ek board is on i2c, address 1A
Signed-off-by: Richard Genoud
Acked-by: Mark Brown
---
arch/arm/boot/dts/at91sam9x5ek.dtsi |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi
b/arch/arm/boot/dts/at91sam9x5ek.dtsi
index
Enable the SSC needed for the WM8731 codec
Signed-off-by: Richard Genoud
---
arch/arm/boot/dts/at91sam9x5ek.dtsi |4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi
b/arch/arm/boot/dts/at91sam9x5ek.dtsi
index 2bf51cc..0534c58 100644
--- a/arch/arm
The sam9x5ek board has 2 jacks:
headphone wired on RHPOUT/LHPOUT of the wm8731
line in wired on LLINEIN/RLINEIN of the wm8731
Signed-off-by: Richard Genoud
---
arch/arm/boot/dts/at91sam9x5ek.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts
8731: machine driver for at91sam9x5 wm8731 boards
Richard Genoud (6):
Documentation: DT: add sam9x5ek-wm8731 machine driver
Documentation: DT: update atmel SSC with DMA binding
ARM: AT91: DTS: sam9x5: add SSC DMA parameters
ARM: AT91: DTS: sam9x5ek: add WM8731 codec
ARM: AT91: DTS: sam9x5ek: add
2013/7/9 Nicolas Ferre :
> On 09/07/2013 15:19, Richard Genoud :
>
>> 2013/7/9 Richard Genoud :
>>>
>>> As atmel-ssc can be used with DMA, the documentation should be updated.
>>> Also, a configuration DMA example is given.
>>>
>>> Si
2013/7/9 Richard Genoud :
> As atmel-ssc can be used with DMA, the documentation should be updated.
> Also, a configuration DMA example is given.
>
> Signed-off-by: Richard Genoud
> ---
> .../devicetree/bindings/misc/atmel-ssc.txt | 24
> ++--
fig selection
* use static snd_soc_card and snd_soc_dai_link structures.
Best regards,
Richard.
Nicolas Ferre (1):
sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards
Richard Genoud (6):
Documentation: DT: add sam9x5ek-wm8731 machine driver
Documentation: DT: update atmel
Enable the SSC needed for the WM8731 codec
Signed-off-by: Richard Genoud
---
arch/arm/boot/dts/at91sam9x5ek.dtsi |4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi
b/arch/arm/boot/dts/at91sam9x5ek.dtsi
index 2bf51cc..0534c58 100644
--- a/arch/arm
This add the sound DT binding for sam9x5ek-wm8731 machine driver
Signed-off-by: Richard Genoud
---
.../bindings/sound/atmel-sam9x5-wm8731-audio.txt | 30
1 file changed, 30 insertions(+)
create mode 100644
Documentation/devicetree/bindings/sound/atmel-sam9x5-wm8731
Signed-off-by: Richard Genoud
---
arch/arm/boot/dts/at91sam9x5.dtsi |3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi
b/arch/arm/boot/dts/at91sam9x5.dtsi
index 57d45f5..cf78ac0 100644
--- a/arch/arm/boot/dts/at91sam9x5.dtsi
+++ b/arch/arm/boot/dts
As atmel-ssc can be used with DMA, the documentation should be updated.
Also, a configuration DMA example is given.
Signed-off-by: Richard Genoud
---
.../devicetree/bindings/misc/atmel-ssc.txt | 24 ++--
1 file changed, 22 insertions(+), 2 deletions(-)
diff --git
The WM8731 codec on sam9x5ek board is on i2c, address 1A
Signed-off-by: Richard Genoud
Acked-by: Mark Brown
---
arch/arm/boot/dts/at91sam9x5ek.dtsi |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi
b/arch/arm/boot/dts/at91sam9x5ek.dtsi
index
from Nicolas that I forward
ported and reworked to use only device tree]
Signed-off-by: Nicolas Ferre
Signed-off-by: Uwe Kleine-König
Signed-off-by: Richard Genoud
---
sound/soc/atmel/Kconfig | 10 ++
sound/soc/atmel/Makefile|2 +
sound/soc/atmel/sam9x5_wm8731.c | 238
The sam9x5ek board has 2 jacks:
headphone wired on RHPOUT/LHPOUT of the wm8731
line in wired on LLINEIN/RLINEIN of the wm8731
Signed-off-by: Richard Genoud
---
arch/arm/boot/dts/at91sam9x5ek.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts
2013/7/9 Mark Brown :
> On Tue, Jul 09, 2013 at 10:19:45AM +0200, Richard Genoud wrote:
>> 2013/7/8 Mark Brown :
>
>> > The obvious question here is of course if we can use the same driver for
>> > both of them.
>
>> I haven't got a g20 to test that, but that
2013/7/9 Mark Brown :
> On Tue, Jul 09, 2013 at 10:27:53AM +0200, Richard Genoud wrote:
>
>> The dma binding is documented here
>> Documentation/devicetree/bindings/dma/atmel-dma.txt
>> But you're right, I shoud update
>> Documentation/devicetree/bindings/misc/a
2013/7/8 Mark Brown :
> On Mon, Jul 08, 2013 at 03:29:50PM +0200, Richard Genoud wrote:
>> Signed-off-by: Richard Genoud
>> ---
>> arch/arm/boot/dts/at91sam9x5.dtsi |3 +++
>
> There was no binding document in your first patch - there should be one
> for any ne
2013/7/8 Mark Brown :
> On Mon, Jul 08, 2013 at 03:29:49PM +0200, Richard Genoud wrote:
>
>> + * Nicolas Ferre
>> + *
>> + * Based on sam9g20_wm8731.c by:
>> + * Sedji Gaouaou
>
> The obvious question here is of course if we can use the same driv
2013/7/8 Lars-Peter Clausen :
> On 07/08/2013 03:29 PM, Richard Genoud wrote:
> [...]
>> +/*
>> + * Logic for a wm8731 as connected on a at91sam9x5 based board.
>> + */
>> +static int at91sam9x5ek_wm8731_init(struct snd_soc_pcm_runtime *rtd)
>> +{
> [...]
>
2013/7/8 Lars-Peter Clausen l...@metafoo.de:
On 07/08/2013 03:29 PM, Richard Genoud wrote:
[...]
+/*
+ * Logic for a wm8731 as connected on a at91sam9x5 based board.
+ */
+static int at91sam9x5ek_wm8731_init(struct snd_soc_pcm_runtime *rtd)
+{
[...]
+ codec_dai-driver-playback.rates
2013/7/8 Mark Brown broo...@kernel.org:
On Mon, Jul 08, 2013 at 03:29:49PM +0200, Richard Genoud wrote:
+ * Nicolas Ferre nicolas.fe...@atmel.com
+ *
+ * Based on sam9g20_wm8731.c by:
+ * Sedji Gaouaou sedji.gaou...@atmel.com
The obvious question here is of course if we can use
2013/7/8 Mark Brown broo...@kernel.org:
On Mon, Jul 08, 2013 at 03:29:50PM +0200, Richard Genoud wrote:
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
arch/arm/boot/dts/at91sam9x5.dtsi |3 +++
There was no binding document in your first patch - there should be one
for any
2013/7/9 Mark Brown broo...@kernel.org:
On Tue, Jul 09, 2013 at 10:27:53AM +0200, Richard Genoud wrote:
The dma binding is documented here
Documentation/devicetree/bindings/dma/atmel-dma.txt
But you're right, I shoud update
Documentation/devicetree/bindings/misc/atmel-ssc.txt.
No, you need
2013/7/9 Mark Brown broo...@kernel.org:
On Tue, Jul 09, 2013 at 10:19:45AM +0200, Richard Genoud wrote:
2013/7/8 Mark Brown broo...@kernel.org:
The obvious question here is of course if we can use the same driver for
both of them.
I haven't got a g20 to test that, but that's the goal.
I
: this is based on an old patch from Nicolas that I forward
ported and reworked to use only device tree]
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
sound/soc/atmel/Kconfig
The sam9x5ek board has 2 jacks:
headphone wired on RHPOUT/LHPOUT of the wm8731
line in wired on LLINEIN/RLINEIN of the wm8731
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
arch/arm/boot/dts/at91sam9x5ek.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --git
As atmel-ssc can be used with DMA, the documentation should be updated.
Also, a configuration DMA example is given.
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
.../devicetree/bindings/misc/atmel-ssc.txt | 24 ++--
1 file changed, 22 insertions(+), 2
The WM8731 codec on sam9x5ek board is on i2c, address 1A
Signed-off-by: Richard Genoud richard.gen...@gmail.com
Acked-by: Mark Brown broo...@linaro.org
---
arch/arm/boot/dts/at91sam9x5ek.dtsi |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi
b/arch
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
arch/arm/boot/dts/at91sam9x5.dtsi |3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi
b/arch/arm/boot/dts/at91sam9x5.dtsi
index 57d45f5..cf78ac0 100644
--- a/arch/arm/boot/dts/at91sam9x5.dtsi
+++ b
Enable the SSC needed for the WM8731 codec
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
arch/arm/boot/dts/at91sam9x5ek.dtsi |4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi
b/arch/arm/boot/dts/at91sam9x5ek.dtsi
index 2bf51cc..0534c58
This add the sound DT binding for sam9x5ek-wm8731 machine driver
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
.../bindings/sound/atmel-sam9x5-wm8731-audio.txt | 30
1 file changed, 30 insertions(+)
create mode 100644
Documentation/devicetree/bindings
static snd_soc_card and snd_soc_dai_link structures.
Best regards,
Richard.
Nicolas Ferre (1):
sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards
Richard Genoud (6):
Documentation: DT: add sam9x5ek-wm8731 machine driver
Documentation: DT: update atmel SSC with DMA binding
ARM
2013/7/9 Richard Genoud richard.gen...@gmail.com:
As atmel-ssc can be used with DMA, the documentation should be updated.
Also, a configuration DMA example is given.
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
.../devicetree/bindings/misc/atmel-ssc.txt | 24
2013/7/9 Nicolas Ferre nicolas.fe...@atmel.com:
On 09/07/2013 15:19, Richard Genoud :
2013/7/9 Richard Genoud richard.gen...@gmail.com:
As atmel-ssc can be used with DMA, the documentation should be updated.
Also, a configuration DMA example is given.
Signed-off-by: Richard Genoud
for at91sam9x5 wm8731 boards
Richard Genoud (6):
Documentation: DT: add sam9x5ek-wm8731 machine driver
Documentation: DT: update atmel SSC with DMA binding
ARM: AT91: DTS: sam9x5: add SSC DMA parameters
ARM: AT91: DTS: sam9x5ek: add WM8731 codec
ARM: AT91: DTS: sam9x5ek: add sound configuration
ARM
The sam9x5ek board has 2 jacks:
headphone wired on RHPOUT/LHPOUT of the wm8731
line in wired on LLINEIN/RLINEIN of the wm8731
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
arch/arm/boot/dts/at91sam9x5ek.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --git
: this is based on an old patch from Nicolas that I forward
ported and reworked to use only device tree]
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
sound/soc/atmel/Kconfig
The WM8731 codec on sam9x5ek board is on i2c, address 1A
Signed-off-by: Richard Genoud richard.gen...@gmail.com
Acked-by: Mark Brown broo...@linaro.org
---
arch/arm/boot/dts/at91sam9x5ek.dtsi |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi
b/arch
Enable the SSC needed for the WM8731 codec
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
arch/arm/boot/dts/at91sam9x5ek.dtsi |4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi
b/arch/arm/boot/dts/at91sam9x5ek.dtsi
index 2bf51cc..0534c58
This add the sound DT binding for sam9x5ek-wm8731 machine driver
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
.../bindings/sound/atmel-sam9x5-wm8731-audio.txt | 30
1 file changed, 30 insertions(+)
create mode 100644
Documentation/devicetree/bindings
As atmel-ssc can be used with DMA, the documentation should be updated.
Also, a configuration DMA example is given.
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
.../devicetree/bindings/misc/atmel-ssc.txt | 20 +++-
1 file changed, 19 insertions(+), 1
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
arch/arm/boot/dts/at91sam9x5.dtsi |3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi
b/arch/arm/boot/dts/at91sam9x5.dtsi
index 57d45f5..cf78ac0 100644
--- a/arch/arm/boot/dts/at91sam9x5.dtsi
+++ b
2013/7/9 Mark Brown broo...@kernel.org:
On Tue, Jul 09, 2013 at 04:25:26PM +0200, Richard Genoud wrote:
[I've just seen that I forgot to cc Uwe to the cover letter, sorry for that.]
This is the second or third copy of this patch set I've been sent
*today*. Worse, everything seems to be being
from Nicolas that I forward
ported and reworked to use only device tree]
Signed-off-by: Nicolas Ferre
Signed-off-by: Uwe Kleine-König
Signed-off-by: Richard Genoud
---
sound/soc/atmel/Kconfig | 10 ++
sound/soc/atmel/Makefile|2 +
sound/soc/atmel/sam9x5_wm8731.c | 206
EL_SOC_PDC config selection
* use static snd_soc_card and snd_soc_dai_link structures.
Best regards,
Richard.
Nicolas Ferre (1):
sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards
Richard Genoud (4):
ARM: AT91: DTS: sam9x5: add SSC DMA parameters
ARM: AT91: DTS: sam9x5ek:
The sam9x5ek board has 2 jacks:
headphone wired on RHPOUT/LHPOUT of the wm8731
line in wired on LLINEIN/RLINEIN of the wm8731
Signed-off-by: Richard Genoud
---
arch/arm/boot/dts/at91sam9x5ek.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts
The WM8731 codec on sam9x5ek board is on i2c, address 1A
Signed-off-by: Richard Genoud
---
arch/arm/boot/dts/at91sam9x5ek.dtsi |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi
b/arch/arm/boot/dts/at91sam9x5ek.dtsi
index d107241..e6fb309 100644
Enable the SSC needed for the WM8731 codec
Signed-off-by: Richard Genoud
---
arch/arm/boot/dts/at91sam9x5ek.dtsi |4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi
b/arch/arm/boot/dts/at91sam9x5ek.dtsi
index bd0f7b8..6684d4b 100644
--- a/arch/arm
Signed-off-by: Richard Genoud
---
arch/arm/boot/dts/at91sam9x5.dtsi |3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi
b/arch/arm/boot/dts/at91sam9x5.dtsi
index 57d45f5..cf78ac0 100644
--- a/arch/arm/boot/dts/at91sam9x5.dtsi
+++ b/arch/arm/boot/dts
2013/7/8 Bo Shen :
> Hi Richard,
>
>
> On 7/5/2013 23:15, Richard Genoud wrote:
>>>>
>>>> + card->dev = >dev;
>>>> >>+ card->owner = THIS_MODULE;
>>>> >>+ card->dai_link = dai;
>>
2013/7/8 Bo Shen voice.s...@atmel.com:
Hi Richard,
On 7/5/2013 23:15, Richard Genoud wrote:
+ card-dev = pdev-dev;
+ card-owner = THIS_MODULE;
+ card-dai_link = dai;
+ card-num_links = 1;
+ dai-name = WM8731;
+ dai-stream_name = WM8731 PCM
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
arch/arm/boot/dts/at91sam9x5.dtsi |3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi
b/arch/arm/boot/dts/at91sam9x5.dtsi
index 57d45f5..cf78ac0 100644
--- a/arch/arm/boot/dts/at91sam9x5.dtsi
+++ b
Enable the SSC needed for the WM8731 codec
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
arch/arm/boot/dts/at91sam9x5ek.dtsi |4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi
b/arch/arm/boot/dts/at91sam9x5ek.dtsi
index bd0f7b8..6684d4b
The WM8731 codec on sam9x5ek board is on i2c, address 1A
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
arch/arm/boot/dts/at91sam9x5ek.dtsi |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi
b/arch/arm/boot/dts/at91sam9x5ek.dtsi
index
config selection
* use static snd_soc_card and snd_soc_dai_link structures.
Best regards,
Richard.
Nicolas Ferre (1):
sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards
Richard Genoud (4):
ARM: AT91: DTS: sam9x5: add SSC DMA parameters
ARM: AT91: DTS: sam9x5ek: add WM8731
The sam9x5ek board has 2 jacks:
headphone wired on RHPOUT/LHPOUT of the wm8731
line in wired on LLINEIN/RLINEIN of the wm8731
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
arch/arm/boot/dts/at91sam9x5ek.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --git
: this is based on an old patch from Nicolas that I forward
ported and reworked to use only device tree]
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
sound/soc/atmel/Kconfig
2013/7/5 Mark Brown :
> On Fri, Jul 05, 2013 at 05:15:05PM +0200, Richard Genoud wrote:
>> 2013/7/2 Bo Shen :
>
>> >> From: Nicolas Ferre
>> >>
>> >> Description of the Asoc machine driver for an at91sam9x5 based board
>> >> with
2013/7/2 Bo Shen :
> Hi Richard,
>
>
> On 7/1/2013 16:39, Richard Genoud wrote:
>>
>> Signed-off-by: Richard Genoud
>> ---
>> arch/arm/mach-at91/at91sam9x5.c |1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm/mach-
2013/7/2 Bo Shen :
> Hi Richard,
>
>
> On 7/1/2013 16:39, Richard Genoud wrote:
>>
>> With device tree, pdev->id is always -1, so we introduce a local
>> counter.
>>
>> Signed-off-by: Richard Genoud
>> ---
>> drivers/misc/atm
2013/7/2 Bo Shen :
> Hi Richard,
>
> Will move this patch before 5, 6, 7?
yes, you're right.
>
>
> On 7/1/2013 16:39, Richard Genoud wrote:
>>
>> From: Nicolas Ferre
>>
>> Description of the Asoc machine driver for an at91sam9x5 based board
>
2013/7/5 Bo Shen :
> Yes, I aware this issue.
> Actually the system not hang, the resource all are occupied by the
> interrupt. This because, we enable the interrupt, when once interrupt occur,
> I try many methods to clear it, however we can not clear it. So, it
> generates the interrupt all the
2013/7/5 Bo Shen voice.s...@atmel.com:
Yes, I aware this issue.
Actually the system not hang, the resource all are occupied by the
interrupt. This because, we enable the interrupt, when once interrupt occur,
I try many methods to clear it, however we can not clear it. So, it
generates the
2013/7/2 Bo Shen voice.s...@atmel.com:
Hi Richard,
Will move this patch before 5, 6, 7?
yes, you're right.
On 7/1/2013 16:39, Richard Genoud wrote:
From: Nicolas Ferre nicolas.fe...@atmel.com
Description of the Asoc machine driver for an at91sam9x5 based board
with a wm8731 audio DAC
2013/7/2 Bo Shen voice.s...@atmel.com:
Hi Richard,
On 7/1/2013 16:39, Richard Genoud wrote:
With device tree, pdev-id is always -1, so we introduce a local
counter.
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
drivers/misc/atmel-ssc.c |7 +++
1 file changed, 7
2013/7/2 Bo Shen voice.s...@atmel.com:
Hi Richard,
On 7/1/2013 16:39, Richard Genoud wrote:
Signed-off-by: Richard Genoud richard.gen...@gmail.com
---
arch/arm/mach-at91/at91sam9x5.c |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-at91/at91sam9x5.c
b/arch/arm
2013/7/5 Mark Brown broo...@kernel.org:
On Fri, Jul 05, 2013 at 05:15:05PM +0200, Richard Genoud wrote:
2013/7/2 Bo Shen voice.s...@atmel.com:
From: Nicolas Ferre nicolas.fe...@atmel.com
Description of the Asoc machine driver for an at91sam9x5 based board
with a wm8731 audio DAC. Wm8731
2013/7/4 Bo Shen :
> Hi Richard,
>
>
> On 7/3/2013 23:51, Richard Genoud wrote:
>>>
>>> >but there's a violent hang (kernel stops, no trace) when I try the
>>> > record :
>>> >arecord -v -V stereo -Dplug:default -f cd -t wav -c 2 /t
2013/7/4 Bo Shen voice.s...@atmel.com:
Hi Richard,
On 7/3/2013 23:51, Richard Genoud wrote:
but there's a violent hang (kernel stops, no trace) when I try the
record :
arecord -v -V stereo -Dplug:default -f cd -t wav -c 2 /tmp/toto.wav
last thing I see is :
dma dma0chan3: atc_control (3
2013/7/3 Richard Genoud :
> 2013/7/2 Bo Shen :
>> Hi Richard,
>>
>>
>> On 7/2/2013 16:13, Richard Genoud wrote:
>>>>
>>>> Please hold on of this, as to the ASoC dmaengine will deal with this. So,
>>>> we
>>>> >no
2013/7/2 Bo Shen :
> Hi Richard,
>
>
> On 7/2/2013 16:13, Richard Genoud wrote:
>>>
>>> Please hold on of this, as to the ASoC dmaengine will deal with this. So,
>>> we
>>> >not need do it manually.
>>> >
>>> >Now,
2013/7/2 Bo Shen voice.s...@atmel.com:
Hi Richard,
On 7/2/2013 16:13, Richard Genoud wrote:
Please hold on of this, as to the ASoC dmaengine will deal with this. So,
we
not need do it manually.
Now, I am working on it. And will send out the patch soon after testing
OK.
Ok, I stay
2013/7/3 Richard Genoud richard.gen...@gmail.com:
2013/7/2 Bo Shen voice.s...@atmel.com:
Hi Richard,
On 7/2/2013 16:13, Richard Genoud wrote:
Please hold on of this, as to the ASoC dmaengine will deal with this. So,
we
not need do it manually.
Now, I am working on it. And will send out
2013/7/2 Bo Shen :
> Hi Richard,
>
>
> On 7/1/2013 16:39, Richard Genoud wrote:
>>
>> The ssc device has to fill the at_dma_slave structure with the
>> device tree informations.
>> Doing a of_dma_request_slave_channel()+dma_release_channel() for that
>&g
2013/7/2 Bo Shen voice.s...@atmel.com:
Hi Richard,
On 7/1/2013 16:39, Richard Genoud wrote:
The ssc device has to fill the at_dma_slave structure with the
device tree informations.
Doing a of_dma_request_slave_channel()+dma_release_channel() for that
seems wrong (or at least not very
ce the code has been changed.]
Best regards,
Richard.
Nicolas Ferre (3):
sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards
sound: atmel_ssc_dai: PM: actually stopping clock on suspend/resume
sound: wm8731: rework power management
Richard Genoud (10):
misc: atmel_ssc:
The ssc device has to fill the at_dma_slave structure with the
device tree informations.
Doing a of_dma_request_slave_channel()+dma_release_channel() for that
seems wrong (or at least not very clean).
Signed-off-by: Richard Genoud
---
drivers/misc/atmel-ssc.c| 56
With device tree, pdev->id is always -1, so we introduce a local
counter.
Signed-off-by: Richard Genoud
---
drivers/misc/atmel-ssc.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/misc/atmel-ssc.c b/drivers/misc/atmel-ssc.c
index 3afbd82..d1ec5ab 100644
--- a/drivers/m
Signed-off-by: Richard Genoud
---
arch/arm/boot/dts/at91sam9x5.dtsi |3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi
b/arch/arm/boot/dts/at91sam9x5.dtsi
index 57d45f5..cf78ac0 100644
--- a/arch/arm/boot/dts/at91sam9x5.dtsi
+++ b/arch/arm/boot/dts
Enable the SSC needed for the WM8731 codec
Signed-off-by: Richard Genoud
---
arch/arm/boot/dts/at91sam9x5ek.dtsi |4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi
b/arch/arm/boot/dts/at91sam9x5ek.dtsi
index 77e4073..4f3584c 100644
--- a/arch/arm
The sam9x5ek board has 2 jacks:
headphone wired on RHPOUT/LHPOUT of the wm8731
line in wired on LLINEIN/RLINEIN of the wm8731
Signed-off-by: Richard Genoud
---
arch/arm/boot/dts/at91sam9x5ek.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts
From: Nicolas Ferre
- preserve crystal oscillator across suspend/resume sequence:
enabled by default,it should be kept enabled on resume.
- if codec is in active state: set the active bit at resume time.
Signed-off-by: Nicolas Ferre
Signed-off-by: Uwe Kleine-König
---
If DMA is not selected, atmel_pcm_dma_platform_register() should fail.
Like that, the driver knows it can't use it.
Signed-off-by: Richard Genoud
---
sound/soc/atmel/atmel-pcm.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/atmel/atmel-pcm.h b/sound/soc/atmel
The WM8731 codec on sam9x5ek board is on i2c, address 1A
Signed-off-by: Richard Genoud
---
arch/arm/boot/dts/at91sam9x5ek.dtsi |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi
b/arch/arm/boot/dts/at91sam9x5ek.dtsi
index b753855..a81a1a6 100644
from Nicolas that I forward
ported and reworked to use only device tree]
Signed-off-by: Nicolas Ferre
Signed-off-by: Uwe Kleine-König
Signed-off-by: Richard Genoud
---
sound/soc/atmel/Kconfig | 12 ++
sound/soc/atmel/Makefile|2 +
sound/soc/atmel/sam9x5_wm8731.c | 232
501 - 600 of 830 matches
Mail list logo