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

2015-03-23 Thread Bo Shen
.name = 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 Rega

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 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: [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 v3] ASoC: atmel_ssc_dai: Allow more rates

2015-02-09 Thread Bo Shen
ro 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

[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 a

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
x b1f08d511495..80b153857a88 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_ra

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-08 Thread Bo Shen
atmel_ssc_dai.h index b1f08d511495..80b153857a88 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_s

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

2015-02-08 Thread Bo Shen
d chime in? Maybe I'm totally Sorry for 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 r

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

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

2015-02-03 Thread Bo Shen
sed to check for an invalid clock but if 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 r

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

2015-02-02 Thread Bo Shen
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

[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: at9

[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 --- a

[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(

[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

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

[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

[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

[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] 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: Failed

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: Failed

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

2015-01-12 Thread Bo Shen
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/wm8904.c index 4d2d2b1..38582d7 100644 --- a/sound/soc/codecs/wm8904.c +++ b/sound/soc/codecs/wm8904.c @@ -1076,10

Re: [PATCH v3 0/5] usb: atmel_usba_udc: Rework errata handling

2015-01-12 Thread Bo Shen
ue to speedup INT_ENB read operations For the whole series, test OK on at91sam9m10g45ek board with mass storage gadget, test OK on sama5d36ek with serial gadget. Tested-by: Bo Shen Boris Brezillon (5): usb: atmel_usba_udc: Rework at91sam9rl errata handling usb: atmel_usba_udc: Add at91sa

Re: [PATCH 4/6] ARM: at91/dt: add SRAM nodes

2015-01-12 Thread Bo Shen
@@ -78,6 +78,11 @@ }; }; + sram: sram@0030 { + compatible = "mmio-sram"; + reg = <0x0030 0x2>; + }; + ahb { compatible = "simple-bus"; #address-cells = <1>; diff --git a/arch/

Re: [PATCH 6/7] ARM: at91: remove useless at91rm9200_dt_initialize()

2015-01-12 Thread Bo Shen
oid __init at91rm9200_dt_initialize(void) -{ - at91_dt_ramc(); - - at91_boot_soc.init(); -} - void __init at91_dt_initialize(void) { at91_dt_ramc(); Best Regards, Bo Shen -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

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

2015-01-11 Thread Bo Shen
Hi Charles, On 01/09/2015 07:16 PM, Charles Keepax wrote: On Fri, Jan 09, 2015 at 04:53:40PM +0800, Bo Shen wrote: As the commit 5fe5b76 (ASoC: dapm: Do not pretend to support controls for non mixer/mux widgets) remove the fake control. Then, the wm8904 throw out the following warning at

[PATCH] ARM: at91: sama5d3: dt: correct the sound route

2015-01-09 Thread Bo Shen
The MICBIAS is a supply, should route to MIC while not IN1L. Signed-off-by: Bo Shen --- arch/arm/boot/dts/sama5d3xmb.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi b/arch/arm/boot/dts/sama5d3xmb.dtsi index 0399be6..83d0598 100644

[PATCH] ASoC: wm8904: fix runtime warning

2015-01-09 Thread Bo Shen
-> [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<--- This patch is used to remove these warning. Signed-off-by: Bo Shen --- sound/soc/codecs/wm8904.c | 16 1

Re: [PATCH] sound: soc: atmel sam9g20_wm8731: remove useless include

2015-01-06 Thread Bo Shen
Hi Alexandre Belloni, On 01/06/2015 05:21 PM, Alexandre Belloni wrote: A mach/ header is included but never used. Simply remove it. Signed-off-by: Alexandre Belloni Thanks for your patch. Acked-by: Bo Shen --- sound/soc/atmel/sam9g20_wm8731.c | 1 - 1 file changed, 1 deletion

[PATCH 1/2] USB: gadget: udc: atmel: change setting for DMA

2014-12-17 Thread Bo Shen
According to the datasheet, when transfer using DMA, the control setting for IN packet only need END_BUF_EN, END_BUF_IE, CH_EN, while for OUT packet, need more two bits END_TR_EN and END_TR_IE to be configured. Signed-off-by: Bo Shen --- drivers/usb/gadget/udc/atmel_usba_udc.c | 6 +++--- 1

[PATCH 2/2] USB: gadget: udc: atmel: fix possible IN hang issue

2014-12-17 Thread Bo Shen
receive_data() function return, this bit should not be cleared again, or else it may cause the accessing FIFO corrupt, which will make the data loss. Signed-off-by: Bo Shen --- drivers/usb/gadget/udc/atmel_usba_udc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/gadget/udc

[PATCH v2 3/3] ARM: at91: at91sam9n12ek/dt: use dt ids for wm8904

2014-12-14 Thread Bo Shen
Using the device tree ids for wm8904 codec. Signed-off-by: Bo Shen --- Changes in v2: None arch/arm/boot/dts/at91sam9n12ek.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts index 13bb24e..9575c0d

[PATCH v2 2/3] ARM: at91: sama5d3xek/dt: use dt ids for wm8904

2014-12-14 Thread Bo Shen
From: Alexander Morozov Using the wm8904 device tree compatible string. Signed-off-by: Alexander Morozov Signed-off-by: Bo Shen --- Changes in v2: None arch/arm/boot/dts/sama5d3xmb.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi b

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

2014-12-14 Thread Bo Shen
From: Alexander Morozov Signed-off-by: Alexander Morozov [Add driver data to distinguish device type] Signed-off-by: Bo Shen --- Changes in v2: - Add driver data for distinguish the device capability. sound/soc/codecs/wm8904.c | 22 ++ 1 file changed, 22 insertions

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

2014-12-14 Thread Bo Shen
Hi Mark, On 12/12/2014 09:23 PM, Mark Brown wrote: On Thu, Dec 11, 2014 at 11:14:39AM +0800, Bo Shen wrote: +static const struct of_device_id wm8904_of_match[] = { + { .compatible = "wlf,wm8904", }, + { .compatible = "wlf,wm8912", }, + { .comp

[PATCH 2/3] ARM: at91: sama5d3xek/dt: use dt ids for wm8904

2014-12-10 Thread Bo Shen
From: Alexander Morozov Using the wm8904 device tree compatible string. Signed-off-by: Alexander Morozov Signed-off-by: Bo Shen --- arch/arm/boot/dts/sama5d3xmb.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi b/arch/arm/boot/dts

[PATCH 3/3] ARM: at91: at91sam9n12ek/dt: use dt ids for wm8904

2014-12-10 Thread Bo Shen
Using the device tree ids for wm8904 codec. Signed-off-by: Bo Shen --- arch/arm/boot/dts/at91sam9n12ek.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts index 13bb24e..9575c0d 100644 --- a/arch/arm

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

2014-12-10 Thread Bo Shen
From: Alexander Morozov Signed-off-by: Alexander Morozov Signed-off-by: Bo Shen --- sound/soc/codecs/wm8904.c | 9 + 1 file changed, 9 insertions(+) diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs/wm8904.c index 4d2d2b1..23831a5 100644 --- a/sound/soc/codecs/wm8904.c +++ b

[PATCH] ARM: at91/dt: sama5d4: fix the timer reg length

2014-12-10 Thread Bo Shen
The second property of reg is the length, so correct it for timer. Signed-off-by: Bo Shen --- arch/arm/boot/dts/sama5d4.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi index 2cc3cfe..0901706 100644 --- a

[PATCH 1/2] usb: gadget: at91_udc: remove unused release function

2014-11-19 Thread Bo Shen
n driver. Signed-off-by: Bo Shen --- drivers/usb/gadget/udc/at91_udc.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/usb/gadget/udc/at91_udc.c b/drivers/usb/gadget/udc/at91_udc.c index 9968f53..b179ab1 100644 --- a/drivers/usb/gadget/udc/at91_udc.c +++ b/drivers/usb/ga

[PATCH 2/2] usb: gadget: atmel_usba_udc: remove release function

2014-11-19 Thread Bo Shen
n driver. Signed-off-by: Bo Shen --- drivers/usb/gadget/udc/atmel_usba_udc.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c b/drivers/usb/gadget/udc/atmel_usba_udc.c index 1529926..8c29d09 100644 --- a/drivers/usb/gadget/udc/atmel_usba_udc

Re: [PATCH] ASoC: atmel_ssc_dai: Match the CMR divider only in full duplex.

2014-11-02 Thread Bo Shen
Acked-by: Bo Shen 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 majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v2] ASoC: atmel_ssc_dai: Match the CMR divider only in full duplex.

2014-10-24 Thread Bo Shen
n also prevents changing the register content in half-duplex scenarios, which is needed when using the OSS API. ---8<--- Cheers, Peter 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.

Re: [PATCH v2] ASoC: atmel_ssc_dai: Match the CMR divider only in full duplex.

2014-10-24 Thread Bo Shen
d when using the OSS API. ---8<--- Cheers, Peter 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 majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v2] ASoC: atmel_ssc_dai: Match the CMR divider only in full duplex.

2014-10-23 Thread Bo Shen
n 1; } speed = 22025; if (ioctl(fd, SNDCTL_DSP_SPEED, &speed) == -1) { perror("SNDCTL_DSP_SPEED"); return 1; } return 0; } Signed-off-by: Peter Rosin Acked-by: Bo Shen --- sound/soc/atmel/atmel_ssc_dai.c |5 ++

Re: [alsa-devel] [PATCH] ASoC: atmel_ssc_dai: Track playback and capture CMR dividers separately.

2014-10-22 Thread Bo Shen
hange, otherwise, return -EBUSY. Cheers, Peter 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 majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [alsa-devel] [PATCH] ASoC: atmel_ssc_dai: Track playback and capture CMR dividers separately.

2014-10-22 Thread Bo Shen
related with atmel_ssc_set_dai_sysclk. So, am I missing something or something else? (I admin to having edited the above code slightly in this mail, so I s/admin/admit/ might have introduced some silly bug, but you get what I mean, just open the device and request some parameters, and bo

Re: [alsa-devel] [PATCH] ASoC: atmel_ssc_dai: Track playback and capture CMR dividers separately.

2014-10-21 Thread Bo Shen
m atmel_ssc_dai? (I admin to having edited the above code slightly in this mail, so I might have introduced some silly bug, but you get what I mean, just open the device and request some parameters, and boom: -EBUSY) Cheers, Peter Best Regards, Bo Shen -- To unsubscribe from this list: send th

Re: [alsa-devel] [PATCH] ASoC: atmel_ssc_dai: Track playback and capture CMR dividers separately.

2014-10-21 Thread Bo Shen
ed short initialized; /* true if SSC has been initialized */ unsigned short daifmt; - unsigned short cmr_div; + unsigned short tcmr_div; + unsigned short rcmr_div; unsigned short tcmr_period; unsigned short rcmr_period; struct atmel_pcm_dma_params *dm

Re: [alsa-devel] [PATCH] ASoC: atmel_ssc_dai: Track playback and capture CMR dividers separately.

2014-10-20 Thread Bo Shen
unsigned short rcmr_div; unsigned short tcmr_period; unsigned short rcmr_period; struct atmel_pcm_dma_params *dma_params[2]; Best Regards, Bo Shen -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vge

[PATCH 1/2] MAINTAINERS: add atmel ssc driver maintainer entry

2014-09-27 Thread Bo Shen
Signed-off-by: Bo Shen --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3705430..c004e6f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1703,6 +1703,13 @@ M: Nicolas Ferre S: Supported F: drivers/spi/spi-atmel.* +ATMEL

[PATCH 2/2] MAINTAINERS: add atmel audio alsa driver maintainer entry

2014-09-27 Thread Bo Shen
Signed-off-by: Bo Shen --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c004e6f..30f92cf 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1665,6 +1665,12 @@ M: Nicolas Ferre S: Supported F: drivers/tty/serial/atmel_serial.c

Re: [PATCH] pwm: atmel-pwm: fix calculation of prescale value

2014-09-24 Thread Bo Shen
Hi, Correct the PWM maintainer Thierry Reding's e-mail address. and Add linux-arm-kernel ML. On 09/25/2014 09:50 AM, Bo Shen wrote: Hi Nikolaus Voss, On 09/23/2014 09:30 PM, Nikolaus Voss wrote: The prescale value used for calculating the period was incremented afterwards, thu

Re: [PATCH] pwm: atmel-pwm: fix calculation of prescale value

2014-09-24 Thread Bo Shen
division out of the prescale loop to correct the above issue and make the calculation more efficient. Thanks for your patch. Signed-off-by: Nikolaus Voss Tested-by: Bo Shen Acked-by: Bo Shen --- drivers/pwm/pwm-atmel.c | 24 +++- 1 file changed, 11 insertions(+), 13

Re: [PATCH] misc: atmel-ssc: prepare clock only when request

2014-09-24 Thread Bo Shen
Hi Mark, On 09/24/2014 05:07 PM, Mark Brown wrote: On Wed, Sep 24, 2014 at 04:56:59PM +0800, Bo Shen wrote: Prepare SSC clock only when request SSC channel, the clock will be enabled when initialize the SSC. You should send this to the drivers/misc maintainer. Thanks, it has been done

[RESEND PATCH] misc: atmel-ssc: prepare clock only when request

2014-09-24 Thread Bo Shen
Prepare SSC clock only when request SSC channel, the clock will be enabled when initialize the SSC. Signed-off-by: Bo Shen --- Send this patch to driver/misc maintainer as Mark Brown suggested. drivers/misc/atmel-ssc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

[PATCH] misc: atmel-ssc: prepare clock only when request

2014-09-24 Thread Bo Shen
Prepare SSC clock only when request SSC channel, the clock will be enabled when initialize the SSC. Signed-off-by: Bo Shen --- drivers/misc/atmel-ssc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/atmel-ssc.c b/drivers/misc/atmel-ssc.c index 60843a2

[PATCH] dtb: at91: sam9n12ek: ohci: add port and vbus property

2014-08-27 Thread Bo Shen
Add the port number and vbus property for ohci port, or else if bootloader won't configure the vbus pin, the 5v supply is not power on, so can not work with usb devices. Signed-off-by: Bo Shen --- arch/arm/boot/dts/at91sam9n12ek.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a

[PATCH] USB: atmel_usba_udc: fix it to deal with final DMA channel

2014-08-06 Thread Bo Shen
As, the interrupt for DMA is counted from 1, so need to checked the USBA_NR_DMAS, in old way, it only check (USBA_NR_DMAS - 1), so fix it. Reported-by: Max Liao Signed-off-by: Bo Shen --- drivers/usb/gadget/udc/atmel_usba_udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] ARM: at91: at91sam9x5: correct typo error for ohci clock

2014-07-13 Thread Bo Shen
Correct the typo error for the second "uhphs_clk". Signed-off-by: Bo Shen --- arch/arm/boot/dts/at91sam9x5.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index 2ebc421..727d3a4 100644

[PATCH] ARM: at91: at91sam9x5: add clocks for usb device

2014-07-11 Thread Bo Shen
Add clocks for usb device, or else switch to CCF, the gadget won't work. Reported-by: Jiří Prchal Signed-off-by: Bo Shen --- arch/arm/boot/dts/at91sam9x5.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi

Re: [PATCH v3 1/2] ARM: at91/dt: describe rgmii ethernet phy connected to sama5d3xek boards

2014-07-10 Thread Bo Shen
e one actually available on the MDIO bus. Signed-off-by: Boris BREZILLON For this patch series, test OK on both Embest (sama5d34ek) and Ronetix (sama5d33ek). Tested-by: Bo Shen --- Florian, I dropped your Reviewed-by tag because this patch has slightly changed. arch/arm/boot/dts/sama5d3xcm

Re: [PATCH v2 0/2] ARM: at91: remove phy fixup for sama5d3xek boards

2014-07-09 Thread Bo Shen
p for sama5d3xek boards arch/arm/boot/dts/sama5d3xcm.dtsi | 15 +++ arch/arm/mach-at91/board-dt-sama5.c | 22 -- 2 files changed, 15 insertions(+), 22 deletions(-) For this series, test OK on sama5d33ek (Ronetix) and sama5d34ek (Embest). Tested-by: Bo Shen

Re: [RFC PATCH] phy: micrel: make phy_has_fixups attribute read correctly

2014-06-26 Thread Bo Shen
Hi Florian, On 06/27/2014 02:00 AM, Florian Fainelli wrote: Hello, 2014-06-25 0:24 GMT-07:00 Bo Shen : If the fixups parameters get from dtb, it won't set has_fixups parameters, so when read phy_has_fixups attribute, it always present as 0. Add this patch to make phy_has_fixups attribute

Re: [PATCH 1/2] ARM: at91/dt: describe rgmii ethernet phy connected to sama5d3xek boards

2014-06-25 Thread Bo Shen
Hi Boris, On 06/25/2014 03:45 PM, Boris BREZILLON wrote: On 25/06/2014 09:35, Bo Shen wrote: Hi Boris, On 06/25/2014 03:30 PM, Boris BREZILLON wrote: Hello Bo, On 25/06/2014 08:59, Bo Shen wrote: Hi Boris, On 06/25/2014 06:44 AM, Boris BREZILLON wrote: Add ethernet-phy node to specify

Re: [PATCH 1/2] ARM: at91/dt: describe rgmii ethernet phy connected to sama5d3xek boards

2014-06-25 Thread Bo Shen
Hi Boris, On 06/25/2014 03:30 PM, Boris BREZILLON wrote: Hello Bo, On 25/06/2014 08:59, Bo Shen wrote: Hi Boris, On 06/25/2014 06:44 AM, Boris BREZILLON wrote: Add ethernet-phy node to specify phy address (on the MDIO bus) and phy interrupt (connected to pin PB25). Define board specific

[RFC PATCH] phy: micrel: make phy_has_fixups attribute read correctly

2014-06-25 Thread Bo Shen
If the fixups parameters get from dtb, it won't set has_fixups parameters, so when read phy_has_fixups attribute, it always present as 0. Add this patch to make phy_has_fixups attribute read correctly. Signed-off-by: Bo Shen --- drivers/net/phy/micrel.c | 4 1 file changed, 4 inser

Re: [PATCH 1/2] ARM: at91/dt: describe rgmii ethernet phy connected to sama5d3xek boards

2014-06-25 Thread Bo Shen
rxd0-skew-ps = <400>; + rxd1-skew-ps = <400>; + rxd2-skew-ps = <400>; + rxd3-skew-ps = <400>; + };

Re: [PATCH v2 7/7] ARM: at91/dt: enable the LCD panel on sama5d3xek boards

2014-06-19 Thread Bo Shen
frame buffer use 16 bits/pixel, while output 24 bits/pixel. + }; + }; }; }; Best Regards, Bo Shen -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord..

Re: [PATCH v2 4/7] ARM: at91/dt: split sama5d3 lcd pin definitions to match RGB mode configs

2014-06-19 Thread Bo Shen
only one pinctrl configuration. Best Regards, Bo Shen diff --git a/arch/arm/boot/dts/sama5d3_lcd.dtsi b/arch/arm/boot/dts/sama5d3_lcd.dtsi index 85d3027..2186b89 100644 --- a/arch/arm/boot/dts/sama5d3_lcd.dtsi +++ b/arch/arm/boot/dts/sama5d3_lcd.dtsi @@ -15,38 +15,103 @@ apb

[PATCH 1/2] ARM: at91/at91_dt_defconfig: enable sound support

2014-06-06 Thread Bo Shen
As sound support depends on ssc, i2c and dma, so also enable them. Signed-off-by: Bo Shen --- arch/arm/configs/at91_dt_defconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs/at91_dt_defconfig index 300ded9..bd0a307 100644

  1   2   3   >