Re: [PATCH v5 1/2] Input: touchscreen-iproc: Add Broadcom iProc touchscreen driver

2015-03-23 Thread Bo Shen
= IPROC_TS_NAME, + .of_match_table = of_match_ptr(iproc_ts_of_match), + }, +}; + +module_platform_driver(iproc_ts_driver); + +MODULE_DESCRIPTION("IPROC Touchscreen driver"); +MODULE_AUTHOR("Broadcom"); +MODULE_LICENSE("GPL v2"); Best Regards,

Re: [PATCH v5 1/2] Input: touchscreen-iproc: Add Broadcom iProc touchscreen driver

2015-03-23 Thread Bo Shen
= IPROC_TS_NAME, + .of_match_table = of_match_ptr(iproc_ts_of_match), + }, +}; + +module_platform_driver(iproc_ts_driver); + +MODULE_DESCRIPTION(IPROC Touchscreen driver); +MODULE_AUTHOR(Broadcom); +MODULE_LICENSE(GPL v2); Best Regards, Bo Shen -- To unsubscribe from this list

Re: [PATCH 2/2] MAINTAINERS: change Atmel ssc driver entry

2015-03-19 Thread Bo Shen
Hi Nicolas, Thanks. On 03/19/2015 05:49 PM, Nicolas Ferre wrote: I take over the maintainship from Voice. Signed-off-by: Nicolas Ferre Cc: Bo Shen Cc: Mark Brown Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Acked-by: Bo Shen --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH 1/2] MAINTAINERS: change the Atmel audio alsa driver entry

2015-03-19 Thread Bo Shen
Hi Nicolas, Thanks. On 03/19/2015 05:48 PM, Nicolas Ferre wrote: I take over the the maintainship of Atmel alsa drivers from Voice. Thanks for your work! Signed-off-by: Nicolas Ferre Cc: Bo Shen Cc: Mark Brown Acked-by: Bo Shen --- MAINTAINERS | 2 +- 1 file changed, 1 insertion

Re: [PATCH 1/2] MAINTAINERS: change the Atmel audio alsa driver entry

2015-03-19 Thread Bo Shen
Hi Nicolas, Thanks. On 03/19/2015 05:48 PM, Nicolas Ferre wrote: I take over the the maintainship of Atmel alsa drivers from Voice. Thanks for your work! Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Cc: Bo Shen voice.s...@atmel.com Cc: Mark Brown broo...@linaro.org Acked-by: Bo

Re: [PATCH 2/2] MAINTAINERS: change Atmel ssc driver entry

2015-03-19 Thread Bo Shen
Hi Nicolas, Thanks. On 03/19/2015 05:49 PM, Nicolas Ferre wrote: I take over the maintainship from Voice. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Cc: Bo Shen voice.s...@atmel.com Cc: Mark Brown broo...@linaro.org Cc: Arnd Bergmann a...@arndb.de Cc: Greg Kroah-Hartman gre

Re: [PATCH v2 0/2] ARM: at91: dt: at91sam9n12ek: enable udp device

2015-03-02 Thread Bo Shen
Hi Nicolas, On 02/10/2015 09:55 AM, Bo Shen wrote: This patch series enable usb device support on at91sam9n12ek board. Changes in v2: - Base on next-20150209 (so, remove the modification of udc driver). - Add pinctrl for usb1 vbus sense. Bo Shen (2): ARM: at91: dt: at91sam9n12: add

Re: [PATCH v2 0/2] ARM: at91: dt: at91sam9n12ek: enable udp device

2015-03-02 Thread Bo Shen
Hi Nicolas, On 02/10/2015 09:55 AM, Bo Shen wrote: This patch series enable usb device support on at91sam9n12ek board. Changes in v2: - Base on next-20150209 (so, remove the modification of udc driver). - Add pinctrl for usb1 vbus sense. Bo Shen (2): ARM: at91: dt: at91sam9n12: add

Re: [alsa-devel] [PATCH] ASoC: wm8731: let codec to manage clock by itself

2015-03-01 Thread Bo Shen
On 02/16/2015 08:58 PM, Manuel Lauss wrote: On Mon, Feb 16, 2015 at 11:31 AM, Charles Keepax wrote: On Thu, Feb 12, 2015 at 04:23:06PM +0800, Bo Shen wrote: Hi All, On 02/05/2015 03:35 PM, Bo Shen wrote: Let the wm8731 codec to manage clock by itself. Signed-off-by: Bo Shen --- sound

Re: [alsa-devel] [PATCH] ASoC: wm8731: let codec to manage clock by itself

2015-03-01 Thread Bo Shen
On 02/16/2015 08:58 PM, Manuel Lauss wrote: On Mon, Feb 16, 2015 at 11:31 AM, Charles Keepax ckee...@opensource.wolfsonmicro.com wrote: On Thu, Feb 12, 2015 at 04:23:06PM +0800, Bo Shen wrote: Hi All, On 02/05/2015 03:35 PM, Bo Shen wrote: Let the wm8731 codec to manage clock by itself

Re: [PATCH] ASoC: wm8731: let codec to manage clock by itself

2015-02-12 Thread Bo Shen
Hi All, On 02/05/2015 03:35 PM, Bo Shen wrote: Let the wm8731 codec to manage clock by itself. Signed-off-by: Bo Shen --- sound/soc/codecs/wm8731.c | 28 1 file changed, 28 insertions(+) Any comments for this patch (aka ping?) diff --git a/sound/soc/codecs

Re: [PATCH] ASoC: wm8731: let codec to manage clock by itself

2015-02-12 Thread Bo Shen
Hi All, On 02/05/2015 03:35 PM, Bo Shen wrote: Let the wm8731 codec to manage clock by itself. Signed-off-by: Bo Shen voice.s...@atmel.com --- sound/soc/codecs/wm8731.c | 28 1 file changed, 28 insertions(+) Any comments for this patch (aka ping?) diff

Re: [PATCH v3] ASoC: atmel_ssc_dai: Allow more rates

2015-02-09 Thread Bo Shen
is output In addition, the maximum clock speed allowed on the TK pin is: - Peripheral clock divided by 6 if Transmit Frame Synchro is input - Peripheral clock divided by 2 if Transmit Frame Synchro is output Signed-off-by: Peter Rosin Thanks for your patch. Acked-by: Bo Shen

[PATCH v2 2/2] ARM: at91: dt: at91sam9n12ek: enable udp

2015-02-09 Thread Bo Shen
Enable usb device port on at91sam9n12ek board. Signed-off-by: Bo Shen --- Changes in v2: - Add pinctrl for usb1 vbus sense. arch/arm/boot/dts/at91sam9n12ek.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts

[PATCH v2 1/2] ARM: at91: dt: at91sam9n12: add udp device node

2015-02-09 Thread Bo Shen
Add usb device node for at91sam9n12. Signed-off-by: Bo Shen --- Changes in v2: None arch/arm/boot/dts/at91sam9n12.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi index c2666a7..e1b6f0b 100644 --- a/arch

[PATCH v2 0/2] ARM: at91: dt: at91sam9n12ek: enable udp device

2015-02-09 Thread Bo Shen
This patch series enable usb device support on at91sam9n12ek board. Changes in v2: - Base on next-20150209 (so, remove the modification of udc driver). - Add pinctrl for usb1 vbus sense. Bo Shen (2): ARM: at91: dt: at91sam9n12: add udp device node ARM: at91: dt: at91sam9n12ek: enable udp

Re: [PATCH 1/3] USB: gadget: at91_udc: add at91sam9n12 support

2015-02-09 Thread Bo Shen
Hi Alexandre, On 02/09/2015 07:14 PM, Alexandre Belloni wrote: Hi Bo, On 09/02/2015 at 17:02:50 +0800, Bo Shen wrote : Add at91sam9n12 SoC support. Signed-off-by: Bo Shen --- drivers/usb/gadget/udc/at91_udc.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git

Re: [PATCH v2] ASoC: atmel_ssc_dai: Allow more rates

2015-02-09 Thread Bo Shen
Hi Peter, On 02/09/2015 06:25 PM, Peter Rosin wrote: Bo Shen wrote: Hi Peter, Hi! On 02/09/2015 05:07 PM, Peter Rosin wrote: Bo Shen wrote: Hi Peter, On 02/09/2015 04:09 PM, Peter Rosin wrote: [Snip

Re: [PATCH 3/3] ARM: at91: dt: at91sam9n12ek: enable udp

2015-02-09 Thread Bo Shen
Hi Sylvain, On 02/09/2015 06:04 PM, Sylvain Rochet wrote: Hello Bo, On Mon, Feb 09, 2015 at 05:02:52PM +0800, Bo Shen wrote: Enable usb device port on at91sam9n12ek board. Signed-off-by: Bo Shen --- arch/arm/boot/dts/at91sam9n12ek.dts | 5 + 1 file changed, 5 insertions(+) diff

Re: [PATCH v2] ASoC: atmel_ssc_dai: Allow more rates

2015-02-09 Thread Bo Shen
Hi Peter, On 02/09/2015 05:07 PM, Peter Rosin wrote: Bo Shen wrote: Hi Peter, On 02/09/2015 04:09 PM, Peter Rosin wrote: [Snip] /*-*\ * DAI functions @@ -200,6 +290,7 @@ static int atmel_ssc_startup(struct

[PATCH 0/3] ARM: at91: at91sam9n12ek: enable usb gadget support

2015-02-09 Thread Bo Shen
This patch series enable the usb gadget support on at91sam9n12ek board. On at91sam9n12 SoC which integrate the full speed udc device. Bo Shen (3): USB: gadget: at91_udc: add at91sam9n12 support ARM: at91: dt: at91sam9n12: add udp device node ARM: at91: dt: at91sam9n12ek: enable udp arch

[PATCH 1/3] USB: gadget: at91_udc: add at91sam9n12 support

2015-02-09 Thread Bo Shen
Add at91sam9n12 SoC support. Signed-off-by: Bo Shen --- drivers/usb/gadget/udc/at91_udc.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget/udc/at91_udc.c b/drivers/usb/gadget/udc/at91_udc.c index c862656..f4c785f 100644 --- a/drivers/usb/gadget

[PATCH 3/3] ARM: at91: dt: at91sam9n12ek: enable udp

2015-02-09 Thread Bo Shen
Enable usb device port on at91sam9n12ek board. Signed-off-by: Bo Shen --- arch/arm/boot/dts/at91sam9n12ek.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts index 13bb24e..3e572e5 100644 --- a/arch/arm/boot

[PATCH 2/3] ARM: at91: dt: at91sam9n12: add udp device node

2015-02-09 Thread Bo Shen
Add usb device node for at91sam9n12. Signed-off-by: Bo Shen --- arch/arm/boot/dts/at91sam9n12.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi index 68eb9ad..6120e03 100644 --- a/arch/arm/boot/dts

Re: [PATCH v2] ASoC: atmel_ssc_dai: Allow more rates

2015-02-09 Thread Bo Shen
sound/soc/atmel/atmel_ssc_dai.h +++ b/sound/soc/atmel/atmel_ssc_dai.h @@ -115,6 +115,7 @@ struct atmel_ssc_info { unsigned short rcmr_period; struct atmel_pcm_dma_params *dma_params[2]; struct atmel_ssc_state ssc_state; + unsigned long mck_rate; }; int atmel_ssc_set_audi

Re: [PATCH v2] ASoC: atmel_ssc_dai: Allow more rates

2015-02-09 Thread Bo Shen
Hi Peter, On 02/09/2015 03:35 PM, Peter Rosin wrote: Bo Shen wrote: Hi Peter, Hi! On 02/07/2015 06:51 PM, Peter Rosin wrote: Mark Brown wrote: On Wed, Feb 04, 2015 at 12:52:25PM +0100, Peter Rosin wrote: One thing remains a bit unclear, and that is the 500ppm deduction. Is that really

[PATCH 3/3] ARM: at91: dt: at91sam9n12ek: enable udp

2015-02-09 Thread Bo Shen
Enable usb device port on at91sam9n12ek board. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boot/dts/at91sam9n12ek.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts index 13bb24e..3e572e5 100644

[PATCH 2/3] ARM: at91: dt: at91sam9n12: add udp device node

2015-02-09 Thread Bo Shen
Add usb device node for at91sam9n12. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boot/dts/at91sam9n12.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi index 68eb9ad..6120e03 100644 --- a/arch

[PATCH 0/3] ARM: at91: at91sam9n12ek: enable usb gadget support

2015-02-09 Thread Bo Shen
This patch series enable the usb gadget support on at91sam9n12ek board. On at91sam9n12 SoC which integrate the full speed udc device. Bo Shen (3): USB: gadget: at91_udc: add at91sam9n12 support ARM: at91: dt: at91sam9n12: add udp device node ARM: at91: dt: at91sam9n12ek: enable udp arch

[PATCH 1/3] USB: gadget: at91_udc: add at91sam9n12 support

2015-02-09 Thread Bo Shen
Add at91sam9n12 SoC support. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/usb/gadget/udc/at91_udc.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget/udc/at91_udc.c b/drivers/usb/gadget/udc/at91_udc.c index c862656..f4c785f 100644

Re: [PATCH v2] ASoC: atmel_ssc_dai: Allow more rates

2015-02-09 Thread Bo Shen
Hi Peter, On 02/09/2015 05:07 PM, Peter Rosin wrote: Bo Shen wrote: Hi Peter, On 02/09/2015 04:09 PM, Peter Rosin wrote: [Snip] /*-*\ * DAI functions @@ -200,6 +290,7 @@ static int atmel_ssc_startup(struct

Re: [PATCH 1/3] USB: gadget: at91_udc: add at91sam9n12 support

2015-02-09 Thread Bo Shen
Hi Alexandre, On 02/09/2015 07:14 PM, Alexandre Belloni wrote: Hi Bo, On 09/02/2015 at 17:02:50 +0800, Bo Shen wrote : Add at91sam9n12 SoC support. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/usb/gadget/udc/at91_udc.c | 9 ++--- 1 file changed, 6 insertions(+), 3

[PATCH v2 1/2] ARM: at91: dt: at91sam9n12: add udp device node

2015-02-09 Thread Bo Shen
Add usb device node for at91sam9n12. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: None arch/arm/boot/dts/at91sam9n12.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi index c2666a7

[PATCH v2 0/2] ARM: at91: dt: at91sam9n12ek: enable udp device

2015-02-09 Thread Bo Shen
This patch series enable usb device support on at91sam9n12ek board. Changes in v2: - Base on next-20150209 (so, remove the modification of udc driver). - Add pinctrl for usb1 vbus sense. Bo Shen (2): ARM: at91: dt: at91sam9n12: add udp device node ARM: at91: dt: at91sam9n12ek: enable udp

[PATCH v2 2/2] ARM: at91: dt: at91sam9n12ek: enable udp

2015-02-09 Thread Bo Shen
Enable usb device port on at91sam9n12ek board. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - Add pinctrl for usb1 vbus sense. arch/arm/boot/dts/at91sam9n12ek.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch

Re: [PATCH v2] ASoC: atmel_ssc_dai: Allow more rates

2015-02-09 Thread Bo Shen
Hi Peter, On 02/09/2015 03:35 PM, Peter Rosin wrote: Bo Shen wrote: Hi Peter, Hi! On 02/07/2015 06:51 PM, Peter Rosin wrote: Mark Brown wrote: On Wed, Feb 04, 2015 at 12:52:25PM +0100, Peter Rosin wrote: One thing remains a bit unclear, and that is the 500ppm deduction. Is that really

Re: [PATCH v2] ASoC: atmel_ssc_dai: Allow more rates

2015-02-09 Thread Bo Shen
rcmr_period; struct atmel_pcm_dma_params *dma_params[2]; struct atmel_ssc_state ssc_state; + unsigned long mck_rate; }; int atmel_ssc_set_audio(int ssc_id); Best Regards, Bo Shen Best Regards, Bo Shen -- To unsubscribe from this list: send the line unsubscribe linux

Re: [PATCH 3/3] ARM: at91: dt: at91sam9n12ek: enable udp

2015-02-09 Thread Bo Shen
Hi Sylvain, On 02/09/2015 06:04 PM, Sylvain Rochet wrote: Hello Bo, On Mon, Feb 09, 2015 at 05:02:52PM +0800, Bo Shen wrote: Enable usb device port on at91sam9n12ek board. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boot/dts/at91sam9n12ek.dts | 5 + 1 file changed, 5

Re: [PATCH v2] ASoC: atmel_ssc_dai: Allow more rates

2015-02-09 Thread Bo Shen
Hi Peter, On 02/09/2015 06:25 PM, Peter Rosin wrote: Bo Shen wrote: Hi Peter, Hi! On 02/09/2015 05:07 PM, Peter Rosin wrote: Bo Shen wrote: Hi Peter, On 02/09/2015 04:09 PM, Peter Rosin wrote: [Snip

Re: [PATCH v3] ASoC: atmel_ssc_dai: Allow more rates

2015-02-09 Thread Bo Shen
patch. Acked-by: Bo Shen voice.s...@atmel.com --- sound/soc/atmel/atmel_ssc_dai.c | 111 +-- sound/soc/atmel/atmel_ssc_dai.h |1 + 2 files changed, 108 insertions(+), 4 deletions(-) Changes since v2: - Killed the 500ppm reduction. Just trust the nominal

Re: [PATCH v2] ASoC: atmel_ssc_dai: Allow more rates

2015-02-08 Thread Bo Shen
100644 --- a/sound/soc/atmel/atmel_ssc_dai.h +++ b/sound/soc/atmel/atmel_ssc_dai.h @@ -115,6 +115,7 @@ struct atmel_ssc_info { unsigned short rcmr_period; struct atmel_pcm_dma_params *dma_params[2]; struct atmel_ssc_state ssc_state; + unsigned long mck_rate; }; int atmel_ssc

Re: [PATCH v2] ASoC: atmel_ssc_dai: Allow more rates

2015-02-08 Thread Bo Shen
or late response. off base, and the SSC is doing this completely differently? What you mean here? I am not sure I fully understand. In our application, we're not near the limit. Therefore, it really doesn't matter much to us. Should I resend w/o the 500ppm deduction? Cheers, Peter

Re: [PATCH 2/3] ASoC: atmel_ssc_dai: refactor the startup and shutdown

2015-02-08 Thread Bo Shen
Hi Mark, On 01/30/2015 09:20 PM, Mark Brown wrote: On Fri, Jan 30, 2015 at 05:38:43PM +0800, Bo Shen wrote: In startup function, enable ssc clock and in shutdown function, disable clock. And also remove disable ssc in shutdown function, as ssc is disabled in prepare function. Applied, thanks

Re: [PATCH v2] ASoC: atmel_ssc_dai: Allow more rates

2015-02-08 Thread Bo Shen
atmel_pcm_dma_params *dma_params[2]; struct atmel_ssc_state ssc_state; + unsigned long mck_rate; }; int atmel_ssc_set_audio(int ssc_id); Best Regards, Bo Shen -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH v2] ASoC: atmel_ssc_dai: Allow more rates

2015-02-08 Thread Bo Shen
, and the SSC is doing this completely differently? What you mean here? I am not sure I fully understand. In our application, we're not near the limit. Therefore, it really doesn't matter much to us. Should I resend w/o the 500ppm deduction? Cheers, Peter Best Regards, Bo Shen

Re: [PATCH 2/3] ASoC: atmel_ssc_dai: refactor the startup and shutdown

2015-02-08 Thread Bo Shen
Hi Mark, On 01/30/2015 09:20 PM, Mark Brown wrote: On Fri, Jan 30, 2015 at 05:38:43PM +0800, Bo Shen wrote: In startup function, enable ssc clock and in shutdown function, disable clock. And also remove disable ssc in shutdown function, as ssc is disabled in prepare function. Applied, thanks

[PATCH] ASoC: wm8731: let codec to manage clock by itself

2015-02-04 Thread Bo Shen
Let the wm8731 codec to manage clock by itself. Signed-off-by: Bo Shen --- sound/soc/codecs/wm8731.c | 28 1 file changed, 28 insertions(+) diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index b115ed8..ecd8424 100644 --- a/sound/soc/codecs

[PATCH] ASoC: wm8731: let codec to manage clock by itself

2015-02-04 Thread Bo Shen
Let the wm8731 codec to manage clock by itself. Signed-off-by: Bo Shen voice.s...@atmel.com --- sound/soc/codecs/wm8731.c | 28 1 file changed, 28 insertions(+) diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index b115ed8..ecd8424 100644

Re: [RFC PATCH] ASoC: wm8731: let codec to manage clock by itself

2015-02-03 Thread Bo Shen
you can define a clock that's even better (and should be pretty painless), we're going to want to do that transition at some point. Do you mean I send my RFC patch as the formal patch, and let other boards which use the wm8731 to add clk object, am I right? Best Regards, Bo Shen -- To unsubs

Re: [RFC PATCH] ASoC: wm8731: let codec to manage clock by itself

2015-02-03 Thread Bo Shen
a clock that's even better (and should be pretty painless), we're going to want to do that transition at some point. Do you mean I send my RFC patch as the formal patch, and let other boards which use the wm8731 to add clk object, am I right? Best Regards, Bo Shen -- To unsubscribe from this list

[RFC PATCH] ASoC: wm8731: let codec to manage clock by itself

2015-02-02 Thread Bo Shen
or suggestions? Signed-off-by: Bo Shen --- sound/soc/codecs/wm8731.c | 20 1 file changed, 20 insertions(+) diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index b9211b4..83f75d66 100644 --- a/sound/soc/codecs/wm8731.c +++ b/sound/soc/codecs/wm8731.c

[RFC PATCH] ASoC: wm8731: let codec to manage clock by itself

2015-02-02 Thread Bo Shen
or suggestions? Signed-off-by: Bo Shen voice.s...@atmel.com --- sound/soc/codecs/wm8731.c | 20 1 file changed, 20 insertions(+) diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index b9211b4..83f75d66 100644 --- a/sound/soc/codecs/wm8731.c +++ b/sound/soc

[PATCH 0/4] ARM: at91: sama5d4ek: enable audio support

2015-02-01 Thread Bo Shen
This patch set enable audio support on sama5d4ek. It depends the patch [1] (ASoC: atmel-pcm-dma: won't check direction when configure dma) [1] https://patchwork.kernel.org/patch/5759441/ Bo Shen (4): ARM: at91: dt: sama5d4: add ssc nodes ARM: at91: dt: sama5d4ek: enable ssc0 ARM: at91: dt

[PATCH 2/4] ARM: at91: dt: sama5d4ek: enable ssc0

2015-02-01 Thread Bo Shen
Enable SSC0 node, which will be used for audio. Signed-off-by: Bo Shen --- arch/arm/boot/dts/at91-sama5d4ek.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts/at91-sama5d4ek.dts index 9198b71..32e9a9a 100644 --- a/arch/arm/boot

[PATCH 1/4] ARM: at91: dt: sama5d4: add ssc nodes

2015-02-01 Thread Bo Shen
Add SSC 0 and 1 nodes. Signed-off-by: Bo Shen --- arch/arm/boot/dts/sama5d4.dtsi | 70 ++ 1 file changed, 70 insertions(+) diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi index b94995d..0b3e5f4 100644 --- a/arch/arm/boot/dts

[PATCH 4/4] ARM: at91: dt: sama5d4ek: enable audio

2015-02-01 Thread Bo Shen
Enable audio support for sama5d4ek board. Signed-off-by: Bo Shen --- arch/arm/boot/dts/at91-sama5d4ek.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts/at91-sama5d4ek.dts index 7f47d92..0df5f1b 100644

[PATCH 3/4] ARM: at91: dt: sama5d4ek: add and enable wm8904

2015-02-01 Thread Bo Shen
Add wm8904 codec node and enable it. Signed-off-by: Bo Shen --- arch/arm/boot/dts/at91-sama5d4ek.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts/at91-sama5d4ek.dts index 32e9a9a..7f47d92 100644 --- a/arch/arm/boot/dts

[PATCH] ASoC: atmel-pcm-dma: won't check direction when configure dma

2015-02-01 Thread Bo Shen
As DMA framework request DMA using direction only in prep_slave function, (The At91 xdma driver has adapted to this request). So won't check direction when do DMA configuration. Signed-off-by: Bo Shen --- sound/soc/atmel/atmel-pcm-dma.c | 12 +--- 1 file changed, 5 insertions(+), 7

[PATCH] ASoC: atmel-pcm-dma: won't check direction when configure dma

2015-02-01 Thread Bo Shen
As DMA framework request DMA using direction only in prep_slave function, (The At91 xdma driver has adapted to this request). So won't check direction when do DMA configuration. Signed-off-by: Bo Shen voice.s...@atmel.com --- sound/soc/atmel/atmel-pcm-dma.c | 12 +--- 1 file changed, 5

[PATCH 2/4] ARM: at91: dt: sama5d4ek: enable ssc0

2015-02-01 Thread Bo Shen
Enable SSC0 node, which will be used for audio. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boot/dts/at91-sama5d4ek.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts/at91-sama5d4ek.dts index 9198b71..32e9a9a 100644

[PATCH 1/4] ARM: at91: dt: sama5d4: add ssc nodes

2015-02-01 Thread Bo Shen
Add SSC 0 and 1 nodes. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boot/dts/sama5d4.dtsi | 70 ++ 1 file changed, 70 insertions(+) diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi index b94995d..0b3e5f4 100644

[PATCH 3/4] ARM: at91: dt: sama5d4ek: add and enable wm8904

2015-02-01 Thread Bo Shen
Add wm8904 codec node and enable it. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boot/dts/at91-sama5d4ek.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts/at91-sama5d4ek.dts index 32e9a9a..7f47d92 100644

[PATCH 4/4] ARM: at91: dt: sama5d4ek: enable audio

2015-02-01 Thread Bo Shen
Enable audio support for sama5d4ek board. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boot/dts/at91-sama5d4ek.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts/at91-sama5d4ek.dts index 7f47d92

[PATCH 0/4] ARM: at91: sama5d4ek: enable audio support

2015-02-01 Thread Bo Shen
This patch set enable audio support on sama5d4ek. It depends the patch [1] (ASoC: atmel-pcm-dma: won't check direction when configure dma) [1] https://patchwork.kernel.org/patch/5759441/ Bo Shen (4): ARM: at91: dt: sama5d4: add ssc nodes ARM: at91: dt: sama5d4ek: enable ssc0 ARM: at91: dt

[PATCH 1/3] ASoC: atmel_ssc_dai: fix the setting for DSP mode

2015-01-30 Thread Bo Shen
When SCC work in DSP A mode, the data outputs/inputs are shift out on falling edge, the frame sync are sample on the rising edge. Reported-by: Songjun Wu Signed-off-by: Bo Shen --- sound/soc/atmel/atmel_ssc_dai.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound

[PATCH 3/3] ASoC: atmel_ssc_dai: only clean PDC when using PDC

2015-01-30 Thread Bo Shen
Only using PDC, it needs to clean PDC registers. Signed-off-by: Bo Shen --- sound/soc/atmel/atmel_ssc_dai.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c index 0ed5ac3..80eb1f1 100644

[PATCH 2/3] ASoC: atmel_ssc_dai: refactor the startup and shutdown

2015-01-30 Thread Bo Shen
In startup function, enable ssc clock and in shutdown function, disable clock. And also remove disable ssc in shutdown function, as ssc is disabled in prepare function. Signed-off-by: Bo Shen --- sound/soc/atmel/atmel_ssc_dai.c | 28 +++- 1 file changed, 11 insertions

[PATCH 0/3] ASoC: atmel_ssc_dai: fix and refactor

2015-01-30 Thread Bo Shen
This patch set do following things: - Fix the DSP mode A setting. - Refactor the startup and shutdown function. - Only clean PDC when use PDC. Bo Shen (3): ASoC: atmel_ssc_dai: fix the setting for DSP mode ASoC: atmel_ssc_dai: refactor the startup and shutdown ASoC: atmel_ssc_dai

[PATCH 0/3] ASoC: atmel_ssc_dai: fix and refactor

2015-01-30 Thread Bo Shen
This patch set do following things: - Fix the DSP mode A setting. - Refactor the startup and shutdown function. - Only clean PDC when use PDC. Bo Shen (3): ASoC: atmel_ssc_dai: fix the setting for DSP mode ASoC: atmel_ssc_dai: refactor the startup and shutdown ASoC: atmel_ssc_dai

[PATCH 2/3] ASoC: atmel_ssc_dai: refactor the startup and shutdown

2015-01-30 Thread Bo Shen
In startup function, enable ssc clock and in shutdown function, disable clock. And also remove disable ssc in shutdown function, as ssc is disabled in prepare function. Signed-off-by: Bo Shen voice.s...@atmel.com --- sound/soc/atmel/atmel_ssc_dai.c | 28 +++- 1 file

[PATCH 3/3] ASoC: atmel_ssc_dai: only clean PDC when using PDC

2015-01-30 Thread Bo Shen
Only using PDC, it needs to clean PDC registers. Signed-off-by: Bo Shen voice.s...@atmel.com --- sound/soc/atmel/atmel_ssc_dai.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c index

[PATCH 1/3] ASoC: atmel_ssc_dai: fix the setting for DSP mode

2015-01-30 Thread Bo Shen
When SCC work in DSP A mode, the data outputs/inputs are shift out on falling edge, the frame sync are sample on the rising edge. Reported-by: Songjun Wu songjun...@atmel.com Signed-off-by: Bo Shen voice.s...@atmel.com --- sound/soc/atmel/atmel_ssc_dai.c | 6 +++--- 1 file changed, 3 insertions

Re: [PATCH] ASoC: atmel_ssc_dai: Support SND_SOC_DAIFMT_CBM_CFS on I2S

2015-01-29 Thread Bo Shen
Hi Peter, Thanks for you patch. On 01/29/2015 06:16 PM, Peter Rosin wrote: From: Peter Rosin Signed-off-by: Peter Rosin Acked-by: Bo Shen --- sound/soc/atmel/atmel_ssc_dai.c | 48 +++ 1 file changed, 48 insertions(+) diff --git a/sound/soc

Re: [PATCH] ASoC: atmel_ssc_dai: Support SND_SOC_DAIFMT_CBM_CFS on I2S

2015-01-29 Thread Bo Shen
Hi Peter, Thanks for you patch. On 01/29/2015 06:16 PM, Peter Rosin wrote: From: Peter Rosin p...@axentia.se Signed-off-by: Peter Rosin p...@axentia.se Acked-by: Bo Shen voice.s...@atmel.com --- sound/soc/atmel/atmel_ssc_dai.c | 48 +++ 1 file

[PATCH v3 1/2] ASoC: codecs: wm8904: add dt ids table

2015-01-26 Thread Bo Shen
From: Alexander Morozov The WM8904 and WM8918 has the same data type, while the WM8912 has different data type. So, use the data in dt ids table to distinguish them. Signed-off-by: Alexander Morozov [voice.s...@atmel.com: add code to distinguish device type] Signed-off-by: Bo Shen --- Changes

[PATCH v3 2/2] binding: wm8904: add new compatible string

2015-01-26 Thread Bo Shen
The "wlf,wm8912" compatible string is used for wm8912, which share driver with wm8904, however, the data type is different. Signed-off-by: Bo Shen --- Changes in v3: None Changes in v2: None Documentation/devicetree/bindings/sound/wm8904.txt | 2 +- 1 file changed, 1 insertion(+),

Re: [alsa-devel] [PATCH v2 1/3] ASoC: codecs: wm8904: add dt ids table

2015-01-26 Thread Bo Shen
Hi Mark, Lars-Perter, On 01/27/2015 12:49 AM, Lars-Peter Clausen wrote: On 01/26/2015 05:42 PM, Mark Brown wrote: On Mon, Jan 26, 2015 at 04:24:38PM +0100, Nicolas Ferre wrote: Le 16/01/2015 02:17, Bo Shen a écrit : Does this end up in the i2c_driver_id driver data or do we need some extra

Re: [alsa-devel] [PATCH v2 1/3] ASoC: codecs: wm8904: add dt ids table

2015-01-26 Thread Bo Shen
Hi Mark, Lars-Perter, On 01/27/2015 12:49 AM, Lars-Peter Clausen wrote: On 01/26/2015 05:42 PM, Mark Brown wrote: On Mon, Jan 26, 2015 at 04:24:38PM +0100, Nicolas Ferre wrote: Le 16/01/2015 02:17, Bo Shen a écrit : Does this end up in the i2c_driver_id driver data or do we need some extra

[PATCH v3 1/2] ASoC: codecs: wm8904: add dt ids table

2015-01-26 Thread Bo Shen
] Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v3: - Get the device type from match data in probe function. Changes in v2: - Add driver data for distinguish the device capability. sound/soc/codecs/wm8904.c | 31 ++- 1 file changed, 30 insertions(+), 1

[PATCH v3 2/2] binding: wm8904: add new compatible string

2015-01-26 Thread Bo Shen
The wlf,wm8912 compatible string is used for wm8912, which share driver with wm8904, however, the data type is different. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v3: None Changes in v2: None Documentation/devicetree/bindings/sound/wm8904.txt | 2 +- 1 file changed, 1

[PATCH v2 1/2] ASoC: atmel_ssc_dai: fix start event for I2S mode

2015-01-19 Thread Bo Shen
According to the I2S specification information as following: - WS = 0, channel 1 (left) - WS = 1, channel 2 (right) So, the start event should be TF/RF falling edge. Reported-by: Songjun Wu Signed-off-by: Bo Shen --- Changes in v2: None sound/soc/atmel/atmel_ssc_dai.c | 18

[PATCH v2 2/2] ASoC: atmel_ssc_dai: remove clock pin comments

2015-01-19 Thread Bo Shen
As the clock can be get from TK/RK pin, so remove the comments. Signed-off-by: Bo Shen --- Changes in v2: - remove the comments for DSP mode A, codec as master sound/soc/atmel/atmel_ssc_dai.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/sound/soc/atmel

Re: [PATCH 2/2] ASoC: atmel_ssc_dai: remove clock pin comments

2015-01-19 Thread Bo Shen
Hi Peter, On 01/19/2015 09:54 PM, Peter Rosin wrote: As the clock can be get from TK/RK pin, so remove the comments. Signed-off-by: Bo Shen --- sound/soc/atmel/atmel_ssc_dai.c | 4 1 file changed, 4 deletions(-) diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel

Re: [PATCH 2/2] ASoC: atmel_ssc_dai: remove clock pin comments

2015-01-19 Thread Bo Shen
Hi Peter, On 01/19/2015 09:54 PM, Peter Rosin wrote: As the clock can be get from TK/RK pin, so remove the comments. Signed-off-by: Bo Shen voice.s...@atmel.com --- sound/soc/atmel/atmel_ssc_dai.c | 4 1 file changed, 4 deletions(-) diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound

[PATCH v2 1/2] ASoC: atmel_ssc_dai: fix start event for I2S mode

2015-01-19 Thread Bo Shen
According to the I2S specification information as following: - WS = 0, channel 1 (left) - WS = 1, channel 2 (right) So, the start event should be TF/RF falling edge. Reported-by: Songjun Wu songjun...@atmel.com Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: None sound/soc

[PATCH v2 2/2] ASoC: atmel_ssc_dai: remove clock pin comments

2015-01-19 Thread Bo Shen
As the clock can be get from TK/RK pin, so remove the comments. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - remove the comments for DSP mode A, codec as master sound/soc/atmel/atmel_ssc_dai.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git

[PATCH 2/2] ASoC: atmel_ssc_dai: remove clock pin comments

2015-01-15 Thread Bo Shen
As the clock can be get from TK/RK pin, so remove the comments. Signed-off-by: Bo Shen --- sound/soc/atmel/atmel_ssc_dai.c | 4 1 file changed, 4 deletions(-) diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c index e691aab..198661b 100644 --- a/sound/soc

[PATCH 1/2] ASoC: atmel_ssc_dai: fix start event for I2S mode

2015-01-15 Thread Bo Shen
According to the I2S specification information as following: - WS = 0, channel 1 (left) - WS = 1, channel 2 (right) So, the start event should be TF/RF falling edge. Reported-by: Songjun Wu Signed-off-by: Bo Shen --- sound/soc/atmel/atmel_ssc_dai.c | 18 -- 1 file changed

Re: [PATCH v2 1/3] ASoC: codecs: wm8904: add dt ids table

2015-01-15 Thread Bo Shen
Hi Mark, On 01/15/2015 07:54 PM, Mark Brown wrote: On Mon, Dec 15, 2014 at 11:31:11AM +0800, Bo Shen wrote: +#ifdef CONFIG_OF +static enum wm8904_type wm8904_data = WM8904; +static enum wm8904_type wm8912_data = WM8912; + +static const struct of_device_id wm8904_of_match

Re: [PATCH v2 1/3] ASoC: codecs: wm8904: add dt ids table

2015-01-15 Thread Bo Shen
Hi Mark, On 01/15/2015 07:54 PM, Mark Brown wrote: On Mon, Dec 15, 2014 at 11:31:11AM +0800, Bo Shen wrote: +#ifdef CONFIG_OF +static enum wm8904_type wm8904_data = WM8904; +static enum wm8904_type wm8912_data = WM8912; + +static const struct of_device_id wm8904_of_match

[PATCH 1/2] ASoC: atmel_ssc_dai: fix start event for I2S mode

2015-01-15 Thread Bo Shen
According to the I2S specification information as following: - WS = 0, channel 1 (left) - WS = 1, channel 2 (right) So, the start event should be TF/RF falling edge. Reported-by: Songjun Wu songjun...@atmel.com Signed-off-by: Bo Shen voice.s...@atmel.com --- sound/soc/atmel/atmel_ssc_dai.c

[PATCH 2/2] ASoC: atmel_ssc_dai: remove clock pin comments

2015-01-15 Thread Bo Shen
As the clock can be get from TK/RK pin, so remove the comments. Signed-off-by: Bo Shen voice.s...@atmel.com --- sound/soc/atmel/atmel_ssc_dai.c | 4 1 file changed, 4 deletions(-) diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c index e691aab..198661b 100644

Re: [PATCH] Asoc: sam9x5_wm8731: depend on ARCH_AT91 instead of SOC_AT91SAM9X5

2015-01-13 Thread Bo Shen
Hi Alexandre Belloni, On 01/13/2015 08:27 PM, Alexandre Belloni wrote: The SOC_AT91SAM9X5 option is going to be removed, only depend on ARCH_AT91 like for the other drivers. Signed-off-by: Alexandre Belloni Acked-by: Bo Shen --- sound/soc/atmel/Kconfig | 2 +- 1 file changed, 1

[PATCH v3] ASoC: wm8904: fix runtime warning

2015-01-13 Thread Bo Shen
a: ASoC: no dapm match for AIFINR --> Right --> DACR wm8904 1-001a: ASoC: Failed to add route AIFINR -> Right -> DACR wm8904 1-001a: Control not supported for path AIFINL -> [Left] -> DACR wm8904 1-001a: ASoC: no dapm match for AIFINL --> Left --> DACR wm8904 1-001a: ASoC: Fai

Re: [alsa-devel] [PATCH] ASoC: wm8904: fix runtime warning

2015-01-13 Thread Bo Shen
Hi Lars-Peter Clausen, On 01/13/2015 04:56 PM, Lars-Peter Clausen wrote: On 01/13/2015 06:36 AM, Bo Shen wrote: Hi Lars-Perter Clausen, On 01/12/2015 05:30 PM, Lars-Peter Clausen wrote: On 01/12/2015 04:32 AM, Bo Shen wrote: [...] diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs

[PATCH v2] ASoC: wm8904: fix runtime warning

2015-01-13 Thread Bo Shen
a: ASoC: no dapm match for AIFINR --> Right --> DACR wm8904 1-001a: ASoC: Failed to add route AIFINR -> Right -> DACR wm8904 1-001a: Control not supported for path AIFINL -> [Left] -> DACR wm8904 1-001a: ASoC: no dapm match for AIFINL --> Left --> DACR wm8904 1-001a: ASoC:

Re: [PATCH] Asoc: sam9x5_wm8731: depend on ARCH_AT91 instead of SOC_AT91SAM9X5

2015-01-13 Thread Bo Shen
Hi Alexandre Belloni, On 01/13/2015 08:27 PM, Alexandre Belloni wrote: The SOC_AT91SAM9X5 option is going to be removed, only depend on ARCH_AT91 like for the other drivers. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Acked-by: Bo Shen voice.s...@atmel.com

Re: [alsa-devel] [PATCH] ASoC: wm8904: fix runtime warning

2015-01-13 Thread Bo Shen
Hi Lars-Peter Clausen, On 01/13/2015 04:56 PM, Lars-Peter Clausen wrote: On 01/13/2015 06:36 AM, Bo Shen wrote: Hi Lars-Perter Clausen, On 01/12/2015 05:30 PM, Lars-Peter Clausen wrote: On 01/12/2015 04:32 AM, Bo Shen wrote: [...] diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs

[PATCH v2] ASoC: wm8904: fix runtime warning

2015-01-13 Thread Bo Shen
AIFINL - [Left] - DACR wm8904 1-001a: ASoC: no dapm match for AIFINL -- Left -- DACR wm8904 1-001a: ASoC: Failed to add route AIFINL - Left - DACR ---8--- Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - Correct the mux path name. - Route the mux to the pins. sound/soc/codecs

[PATCH v3] ASoC: wm8904: fix runtime warning

2015-01-13 Thread Bo Shen
AIFINL - [Left] - DACR wm8904 1-001a: ASoC: no dapm match for AIFINL -- Left -- DACR wm8904 1-001a: ASoC: Failed to add route AIFINL - Left - DACR ---8--- Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v3: - Correct the DAC related route path Changes in v2: - Correct the mux path

  1   2   3   4   5   >