Re: [PATCH 05/10] USB: EHCI: make ehci-atmel a separate driver

2013-02-07 Thread Bo Shen
l_cleanup); + +MODULE_DESCRIPTION(DRIVER_DESC); + +MODULE_ALIAS("platform:ehci-atmel"); +MODULE_AUTHOR("Nicolas Ferre"); +MODULE_LICENSE("GPL"); + Remove the blank line here. As to it is the EOF. Best Regards, Bo Shen -- To unsubscribe from this list: send the line "unsu

Re: [PATCH] net/cadence/macb: fix kernel Oops if no PHY were discovered during probe

2013-08-26 Thread Bo Shen
tached PHY driver [%s] (mii_bus:phy_addr=%s, irq=%d)\n", + phydev->drv->name, dev_name(&phydev->dev), + phydev->irq); Actually no need this check, if PHY is attached failed, the macb driver probe will fail, then it won&#

Re: mmotm 2013-08-27-16-51 uploaded

2013-08-27 Thread Bo Shen
NACKed by Russell, so we can drop it. unless there's been more discussion. Or maybe reworked into a comment in the code that doesn't lead to the same change again. [1] https://lkml.org/lkml/2013/8/7/95 Best Regards, Bo Shen -- To unsubscribe from this list: send the line "un

Re: [GIT PULL] at91: soc update for 3.12 #1

2013-08-28 Thread Bo Shen
ARM: at91: include sama5d3.h into hardware.h ARM: at91: sama5: enable kernel uncompress info output ARM: at91: sam9n12: enable kernel uncompress info output That doesn't look right. Author should probably be "Bo Shen " instead. Can you fixup and respin, please? I do

Re: [PATCH v2 1/5] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-09 Thread Bo Shen
's constant static data. You want to be using snd_pcm_hw_constraint() APIs to set additional constraints intead. Ok, I'll change that. Thanks ! Best Regards, Bo Shen -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messa

Re: [PATCH v4 1/7] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-09 Thread Bo Shen
mt = snd_soc_of_parse_daifmt(np, "atmel,"); We can put this into at91sam9x5ek_dai directly, not need to parse it then. example as following: ---8>--- .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBM_CFM, ---<8--- Best Regards, Bo Shen

[PATCH 0/3] arm: atmel: at91sam9n12: add i2c pinctrl and qt1070 support

2013-07-10 Thread Bo Shen
this patch is based on linux master branch, implementation as following: - add the i2c pinctrl which needed for using at91sam9n12 TWI - enable qt1070 - trivial fix for the gpio-key pin number Bo Shen (3): arm: atmel: at91sam9n12: add pinctrl of TWI arm: atmel: at91sam9n12: add qt1070

[PATCH 3/3] arm: atmel: at91sam9n12: correct pin number of gpio-key

2013-07-10 Thread Bo Shen
correct pin number of gpio-key for at91sam9n12ek board the pioB4 is connect to LED, the pioB3 use as gpio-key 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

[PATCH 2/3] arm: atmel: at91sam9n12: add qt1070 support

2013-07-10 Thread Bo Shen
add qt1070 support on at91sam9n12ek board Signed-off-by: Bo Shen --- arch/arm/boot/dts/at91sam9n12ek.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts index d59b70c..3acac62 100644 --- a/arch

[PATCH 1/3] arm: atmel: at91sam9n12: add pinctrl of TWI

2013-07-10 Thread Bo Shen
add pinctrl of TWI for at91sam9n12 SoC Signed-off-by: Bo Shen --- arch/arm/boot/dts/at91sam9n12.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi index bb7f564..3db62f6 100644 --- a/arch/arm

Re: [PATCH 1/3] arm: atmel: at91sam9n12: add pinctrl of TWI

2013-07-10 Thread Bo Shen
Hi J, On 7/10/2013 22:39, Jean-Christophe PLAGNIOL-VILLARD wrote: On 17:51 Wed 10 Jul , Bo Shen wrote: add pinctrl of TWI for at91sam9n12 SoC Signed-off-by: Bo Shen --- arch/arm/boot/dts/at91sam9n12.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch

Re: [PATCH 2/3] arm: atmel: at91sam9n12: add qt1070 support

2013-07-10 Thread Bo Shen
Hi J, On 7/10/2013 22:38, Jean-Christophe PLAGNIOL-VILLARD wrote: On 17:51 Wed 10 Jul , Bo Shen wrote: add qt1070 support on at91sam9n12ek board Signed-off-by: Bo Shen --- arch/arm/boot/dts/at91sam9n12ek.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch

[PATCH v2 3/3] arm: atmel: at91sam9n12: correct pin number of gpio-key

2013-07-10 Thread Bo Shen
correct pin number of gpio-key for at91sam9n12ek board the pioB4 is connect to LED, the pioB3 use as gpio-key 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

[PATCH v2 0/3] arm: atmel: at91sam9n12: add i2c pinctrl and qt1070 support

2013-07-10 Thread Bo Shen
this patch is based on linux master branch, implementation as following: - add the i2c pinctrl which needed for using at91sam9n12 TWI - enable qt1070 - trival fix for the gpio-key pin number Changes in v2: - remove comments as use micro - using micro for interrupt trigger mode Bo Shen

[PATCH v2 1/3] arm: atmel: at91sam9n12: add pinctrl of TWI

2013-07-10 Thread Bo Shen
add pinctrl of TWI for at91sam9n12 SoC Signed-off-by: Bo Shen --- Changes in v2: - remove comments as use micro arch/arm/boot/dts/at91sam9n12.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12

[PATCH v2 2/3] arm: atmel: at91sam9n12: add qt1070 support

2013-07-10 Thread Bo Shen
add qt1070 support on at91sam9n12ek board Signed-off-by: Bo Shen --- Changes in v2: - using micro for interrupt trigger mode arch/arm/boot/dts/at91sam9n12ek.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts

Re: [PATCH v4] PWM: atmel-pwm: add PWM controller driver

2013-09-29 Thread Bo Shen
le, regardless of the state of the other channels. Thank for point out this. I see you have sent out a patch to fix it (however the other contents of your patch doesn't work). So, do you prefer I send out v5 patch to fix this? or you fix your patch at same time fix this issue? Best Regards, B

Re: [PATCH] PWM: atmel-pwm: use request/free instead of enable/disable

2013-09-29 Thread Bo Shen
, This will cause pwmadd_chip failure. Code from , in function: pwmadd_chip() ---8>--- if (!chip || !chip->dev || !chip->ops || !chip->ops->config || !chip->ops->enable || !chip->ops->disable) return -EINVAL; ---<8--- .owner = THIS_MODULE, }; Best R

[PATCH v5] PWM: atmel-pwm: add PWM controller driver

2013-09-30 Thread Bo Shen
Add Atmel PWM controller driver based on PWM framework. This is the basic function implementation of Atmel PWM controller. It can work with PWM based led and backlight. Signed-off-by: Bo Shen --- Changes in v5: - call clk_disable directly, if so, it won't cause more than one ch

[PATCH v3] PWM: at91: add Atmel PWM controller driver

2013-09-22 Thread Bo Shen
Add Atmel PWM controller driver based on PWM framework. This is the basic function implementation of Atmel PWM controller. It can work with PWM based led and backlight. Signed-off-by: Bo Shen --- Changes in v3: - change compatible string from "atmel,sama5-pwm" to "atmel,sama5

[PATCH v4] PWM: atmel-pwm: add PWM controller driver

2013-09-24 Thread Bo Shen
Add Atmel PWM controller driver based on PWM framework. This is the basic function implementation of Atmel PWM controller. It can work with PWM based led and backlight. Signed-off-by: Bo Shen --- Changes in v4: - check the return value of clk_prepare() - change channel register size as

Re: [PATCH 3/3] ARM: at91/PMC: at91sam9n12 family has USB HS feature

2013-06-24 Thread Bo Shen
() \ + || cpu_is_at91sam9n12() \ || cpu_is_sama5d3())) The at91sam9n12 don't have USB HS device port feature. It only has USB FS device port feature. #define cpu_has_plladiv2()(cpu_is_at91sam9g45() \ Best Regards, Bo Shen -- To unsubscribe from this list: sen

Re: [PATCH 2/3] ARM: at91/PMC: at91sam9n12 family have a PLLB

2013-06-24 Thread Bo Shen
On 06/24/2013 05:08 PM, Nicolas Ferre wrote: Signed-off-by: Nicolas Ferre Acked-by: Bo Shen --- arch/arm/mach-at91/clock.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c index 085a79d..978de42 100644 --- a/arch/arm/mach-at91

Re: [PATCH 1/2] ARM: at91/PMC: fix at91sam9n12 USB FS init

2013-06-24 Thread Bo Shen
: Nicolas Ferre --- arch/arm/mach-at91/clock.c | 25 + arch/arm/mach-at91/include/mach/at91_pmc.h | 3 +++ 2 files changed, 24 insertions(+), 4 deletions(-) For this series, test on at91sam9n12ek board, all are OK. Tested-by: Bo Shen Best Regards, Bo

Re: [PATCH] ARM: at91/PMC: fix at91sam9n12 USB FS init

2013-06-24 Thread Bo Shen
= AT91SAM926x_PMC_UHP; udpck.pmc_mask = AT91SAM926x_PMC_UDP; } As you post the following patches: ARM: at91/PMC: fix at91sam9n12 USB FS init (https://patchwork.kernel.org/patch/2772301/) This patch no need anymore. Best Regards, Bo Shen -- To unsubscribe from this list

Re: [RFC PATCH 01/13] misc: atmel_ssc: add device tree DMA support

2013-07-01 Thread Bo Shen
|2 ++ include/linux/platform_data/dma-atmel.h |2 ++ 3 files changed, 60 insertions(+) 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.

Re: [RFC PATCH 03/13] ARM: at91: DTS: sam9x5: add clock for SSC DT entry

2013-07-01 Thread Bo Shen
N_DEV_ID("pclk", "f001.ssc", &ssc_clk), CLKDEV_CON_DEV_ID(NULL, "f801.i2c", &twi0_clk), CLKDEV_CON_DEV_ID(NULL, "f8014000.i2c", &twi1_clk), Best Regards, Bo Shen -- To unsubscribe from this list: send the line "unsubscribe linux

Re: [RFC PATCH 02/13] misc: atmel_ssc: keep the count of pdev->id

2013-07-01 Thread Bo Shen
n_lock(&user_lock); + pdev->id = ssc_device_id++; list_add_tail(&ssc->list, &ssc_list); spin_unlock(&user_lock); Best Regards, Bo Shen -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord.

Re: [RFC PATCH 08/13] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-01 Thread Bo Shen
x5_wm8731_of_match); + +static struct platform_driver sam9x5_wm8731_driver = { + .driver = { + .name = DRV_NAME, + .owner = THIS_MODULE, + .of_match_table = of_match_ptr(sam9x5_wm8731_of_match), + }, + .probe = sam9x5_wm8731_driver_probe, +

[PATCH 1/2] ASoC: atmel_ssc_dai: move set dma data to startup callback

2013-07-02 Thread Bo Shen
move set dma data to startup callback function, if the set dma data exist in hw_params callback, so the dma data only usable when call hw_params, if want use it before hw_params callback, it will cause NULL pointer access oops Signed-off-by: Bo Shen --- sound/soc/atmel/atmel_ssc_dai.c | 33

[PATCH 2/2] ASoC: atmel-pcm: use generic dmaengine framework

2013-07-02 Thread Bo Shen
Align atmel pcm to use ASoC generic dmaengine framework Signed-off-by: Bo Shen --- sound/soc/atmel/atmel-pcm-dma.c | 118 ++- 1 file changed, 16 insertions(+), 102 deletions(-) diff --git a/sound/soc/atmel/atmel-pcm-dma.c b/sound/soc/atmel/atmel-pcm-dma.c

[PATCH 0/2] ASoC: atmel-pcm: use generic dmaengine framework

2013-07-02 Thread Bo Shen
this patch series is based on next-20130701 Bo Shen (2): ASoC: atmel_ssc_dai: move set dma data to startup callback ASoC: atmel-pcm: use generic dmaengine framework sound/soc/atmel/atmel-pcm-dma.c | 118 ++- sound/soc/atmel/atmel_ssc_dai.c | 33

Re: [RFC PATCH 01/13] misc: atmel_ssc: add device tree DMA support

2013-07-02 Thread Bo Shen
s. Please note the name of asound.state under /etc in your rootfs should the same with atmel,model in patch 6. Thanks ! Best regards, Richard Best Regards, Bo Shen -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@v

Re: [alsa-devel] [PATCH 1/2] ASoC: atmel_ssc_dai: move set dma data to startup callback

2013-07-02 Thread Bo Shen
Hi Lars-Peter, On 7/2/2013 23:25, Lars-Peter Clausen wrote: On 07/02/2013 11:04 AM, Bo Shen wrote: [...] + dma_params->substream = substream; Unrelated to this patch, but having a substream field in the dma_params seems to be redundant, since you need to know the substream to get

Re: [alsa-devel] [PATCH 2/2] ASoC: atmel-pcm: use generic dmaengine framework

2013-07-02 Thread Bo Shen
Hi Lars-Peter, On 7/2/2013 23:34, Lars-Peter Clausen wrote: On 07/02/2013 11:04 AM, Bo Shen wrote: [...] -/*--*\ - * DMAENGINE operations

Re: [alsa-devel] [PATCH 1/2] ASoC: atmel_ssc_dai: move set dma data to startup callback

2013-07-02 Thread Bo Shen
Hi Lars, On 7/3/2013 09:20, Bo Shen wrote: Hi Lars-Peter, On 7/2/2013 23:25, Lars-Peter Clausen wrote: On 07/02/2013 11:04 AM, Bo Shen wrote: [...] +dma_params->substream = substream; Unrelated to this patch, but having a substream field in the dma_params seems to be redundant, si

Re: [alsa-devel] [PATCH 2/2] ASoC: atmel-pcm: use generic dmaengine framework

2013-07-03 Thread Bo Shen
c_device structure is resource_size_t which used to access the ssc device register. Here, we use ssc register as dma source address or destination address, so we convert it to dma_addr_t type. So, not need to change, am I right? Best Regards, Bo Shen -- To unsubscribe from this list: send the lin

Re: [alsa-devel] [PATCH 2/2] ASoC: atmel-pcm: use generic dmaengine framework

2013-07-03 Thread Bo Shen
Hi Lars, On 7/3/2013 16:08, Lars-Peter Clausen wrote: On 07/03/2013 09:57 AM, Bo Shen wrote: Hi Lars, On 7/3/2013 15:36, Lars-Peter Clausen wrote: +slave_config->dst_addr = (dma_addr_t)ssc->phybase + SSC_THR; [...] +slave_config->src_addr = (dma_addr_t)ssc

Re: [RFC PATCH 01/13] misc: atmel_ssc: add device tree DMA support

2013-07-03 Thread Bo Shen
LINE IN, ADC, OSC, on the WM8731 so, after that, data is comming from the codec to the SSC and then is handled by the DMA. there must be something nasty on the DMA bus to hang everything like that... Will you try i2c without DMA support to test this issue? Richard. Best Regards, Bo Shen --

[PATCH 4/4] arm: atmel: sam9n12: enable kernel uncompress info output

2013-07-04 Thread Bo Shen
the sam9n12 use the same array usart as sam9x5, add it which will enable output kernel uncompress info: ---8>--- Uncompressing Linux... done, booting the kernel. ---<8--- Signed-off-by: Bo Shen --- arch/arm/mach-at91/include/mach/uncompress.h |1 + 1 file changed, 1 insertion(+)

[PATCH 2/4] arm: atmel: include sama5d3.h into hardware.h

2013-07-04 Thread Bo Shen
include sama5d3.h into hardware.h Signed-off-by: Bo Shen --- arch/arm/mach-at91/include/mach/hardware.h |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-at91/include/mach/hardware.h b/arch/arm/mach-at91/include/mach/hardware.h index a832e07..f17aa31 100644 --- a/arch/arm

[PATCH 0/4] arm: atmel: enable kernel uncompress info output

2013-07-04 Thread Bo Shen
this patch set enable kernel uncompress info output - sama5d3 - at91sam9n12 without this patch set, it won't show following information ---8>--- Uncompressing Linux... done, booting the kernel. ---<8--- Bo Shen (4): arm: atmel: sama5: add definition for usart base address

[PATCH 3/4] arm: atmel: sama5: enable kernel uncompress info output

2013-07-04 Thread Bo Shen
enable kernel uncompress info output, which will show as following: ---8>--- Uncompressing Linux... done, booting the kernel. ---<8--- Signed-off-by: Bo Shen --- arch/arm/mach-at91/include/mach/uncompress.h | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/mac

[PATCH 1/4] arm: atmel: sama5: add definition for usart base address

2013-07-04 Thread Bo Shen
add definition for usart base address Signed-off-by: Bo Shen --- arch/arm/mach-at91/include/mach/sama5d3.h |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/mach-at91/include/mach/sama5d3.h b/arch/arm/mach-at91/include/mach/sama5d3.h index 6dc81ee..31096a8 100644 --- a

Re: [RFC PATCH 01/13] misc: atmel_ssc: add device tree DMA support

2013-07-04 Thread Bo Shen
Hi Richard, On 7/4/2013 21:44, Richard Genoud wrote: 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 /tmp/toto.wav last thing I s

Re: [RFC PATCH 08/13] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-07 Thread Bo Shen
k_name = { .name = xxx, .stream_name = xxx, ... }; struct snd_soc_card card_name = { .name = .ower = THIS_MODULE, .dai_link = &dai_link_name, ... }; In this way, I think it will be more clear than put them in code. Best Regards, Bo Shen -- T

[RFC PATCH] pwm: atmel-pwm: add pwm controller driver

2013-08-18 Thread Bo Shen
add atmel pwm controller driver based on PWM framework this is basic function implementation of pwm controller it can work with pwm based led and backlight Signed-off-by: Bo Shen --- This patch is based on Linux v3.11 rc6 Tested on sama5d31ek and at91sam9m10g45ek board --- .../devicetree

Re: [RFC PATCH] pwm: atmel-pwm: add pwm controller driver

2013-08-19 Thread Bo Shen
Hi Thierry, On 8/20/2013 05:20, Thierry Reding wrote: On Mon, Aug 19, 2013 at 11:11:06AM +0800, Bo Shen wrote: add atmel pwm controller driver based on PWM framework this is basic function implementation of pwm controller it can work with pwm based led and backlight Please use the proper

[v2 PATCH] PWM: atmel-pwm: add PWM controller driver

2013-08-20 Thread Bo Shen
Add Atmel PWM controller driver based on PWM framework. This is the basic function implementation of Atmel PWM controller. It can work with PWM based led and backlight. Signed-off-by: Bo Shen --- This patch is based on the for-next branch on Linux pwm tree Test on at91sam9m10g45ek board with

Re: [RFC PATCH] pwm: atmel-pwm: add pwm controller driver

2013-08-20 Thread Bo Shen
Hi Nicolas, On 8/20/2013 16:33, Nicolas Ferre wrote: On 19/08/2013 05:11, Bo Shen : add atmel pwm controller driver based on PWM framework this is basic function implementation of pwm controller it can work with pwm based led and backlight Signed-off-by: Bo Shen --- This patch is based on

[RFC PATCH] clock: correct the comparison parameter of MHz

2013-08-07 Thread Bo Shen
correct the comparison parameter of MHz from 4,000,000 to 1,000,000 Signed-off-by: Bo Shen --- kernel/time/sched_clock.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/sched_clock.c b/kernel/time/sched_clock.c index a326f27..62885f7 100644 --- a/kernel/time

Re: [RFC PATCH] clock: correct the comparison parameter of MHz

2013-08-07 Thread Bo Shen
Hi Russell King, On 8/7/2013 16:02, Russell King - ARM Linux wrote: On Wed, Aug 07, 2013 at 03:47:40PM +0800, Bo Shen wrote: correct the comparison parameter of MHz from 4,000,000 to 1,000,000 You're assuming this wasn't intentional. As the division by 100 ends up losing the

Re: [V2 2/8] USB: EHCI: make ehci-atmel a separate driver

2013-02-18 Thread Bo Shen
fixed with replace other places using "atmel-ehci" with , that means replace "atmel-ehci" with "ehci-atmel" at other places. 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/

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

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

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

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] 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

[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

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

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

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

[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

[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

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

[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

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

[PATCH 6/8] ASoC: atmel: support CCF based clks

2014-03-17 Thread Bo Shen
om: switch to devm manage function] Signed-off-by: Bo Shen Signed-off-by: Bo Shen --- sound/soc/atmel/atmel_wm8904.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/sound/soc/atmel/atmel_wm8904.c b/sound/soc/atmel/atmel_wm8904.c index b4e3690..a797

Re: [PATCH 7/8] ASoC: atmel: document clock properties of the wm8904 driver

2014-03-17 Thread Bo Shen
On 03/17/2014 05:45 PM, Bo Shen wrote: From: Boris BREZILLON Signed-off-by: Boris BREZILLON Signed-off-by: Bo Shen Oh, sorry for my SOB. Please remove it when apply. --- Documentation/devicetree/bindings/sound/atmel-wm8904.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a

Re: [PATCH 6/8] ASoC: atmel: support CCF based clks

2014-03-17 Thread Bo Shen
On 03/17/2014 05:45 PM, Bo Shen wrote: From: Boris BREZILLON Provide dev to clk_get function if we're using CCF based clks. CCF based prog clks support automatic parent selection when asking for a specific rate: remove the clk32k clk retrieval if we're using these clks. Signed-off

Re: [PATCH 8/8] ARM: at91/dt: add clock properties to the wm8904 codec node

2014-03-17 Thread Bo Shen
On 03/17/2014 05:45 PM, Bo Shen wrote: From: Boris BREZILLON Signed-off-by: Boris BREZILLON Signed-off-by: Bo Shen Oh, sorry for my SOB. Please remove it when apply. --- arch/arm/boot/dts/sama5d3xmb.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH 8/8] ARM: at91/dt: add clock properties to the wm8904 codec node

2014-03-17 Thread Bo Shen
From: Boris BREZILLON Signed-off-by: Boris BREZILLON Signed-off-by: Bo Shen --- arch/arm/boot/dts/sama5d3xmb.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi b/arch/arm/boot/dts/sama5d3xmb.dtsi index 306eef0..d9bb413 100644 --- a/arch/arm/boot/dts

[PATCH 4/8] ARM: at91: sama5d3: add the missing property

2014-03-17 Thread Bo Shen
If without the MICBIAS routing, the record don't work. Add the missing MICBIAS routing to let record from mic working. Signed-off-by: Bo Shen --- arch/arm/boot/dts/sama5d3xmb.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi b/arch/arm/boo

[PATCH 5/8] ARM: at91: sama5d3: clock for ssc from rk pin

2014-03-17 Thread Bo Shen
According to hardware design the clock for SSC device is from rk pin. Signed-off-by: Bo Shen --- arch/arm/boot/dts/sama5d3xmb.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi b/arch/arm/boot/dts/sama5d3xmb.dtsi index 0600153..306eef0 100644 --- a

[PATCH 2/8] ARM: at91: sama5d3: disable sound by default

2014-03-17 Thread Bo Shen
Make the sound device in disabled status by default Signed-off-by: Bo Shen --- arch/arm/boot/dts/sama5d3xmb.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi b/arch/arm/boot/dts/sama5d3xmb.dtsi index dba739b..2938605 100644 --- a/arch/arm/boot/dts

[PATCH 0/8] ARM: at91: sama5d3: enable sound support

2014-03-17 Thread Bo Shen
This patch add sound support on sama5d3xek board. This patch series based on the following patch set: clk: at91: better support for the PCKs http://comments.gmane.org/gmane.linux.kernel/1664477 Bo Shen (5): ARM: at91: sama5d3: add DMA property for SSC devices ARM: at91: sama5d3: disable

[PATCH 7/8] ASoC: atmel: document clock properties of the wm8904 driver

2014-03-17 Thread Bo Shen
From: Boris BREZILLON Signed-off-by: Boris BREZILLON Signed-off-by: Bo Shen --- Documentation/devicetree/bindings/sound/atmel-wm8904.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/atmel-wm8904.txt b/Documentation/devicetree/bindings/sound

[PATCH 1/8] ARM: at91: sama5d3: add DMA property for SSC devices

2014-03-17 Thread Bo Shen
Add DMA property for SSC devices on SAMA5D3 SoC. Signed-off-by: Bo Shen --- arch/arm/boot/dts/sama5d3.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi index 3d5faf8..3e753e1 100644 --- a/arch/arm/boot/dts/sama5d3

[PATCH 3/8] ARM: at91: sama5d3: correct the sound compatible string

2014-03-17 Thread Bo Shen
As the sama5d3 dtsi file in go into mainline before sound driver, and, the sound compatible string is changed when go into mainline. Add this patch to correct the sound compatible string. Signed-off-by: Bo Shen --- arch/arm/boot/dts/sama5d3xmb.dtsi | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH 7/8] ASoC: atmel: document clock properties of the wm8904 driver

2014-03-18 Thread Bo Shen
Hi Mark, On 03/17/2014 07:55 PM, Mark Brown wrote: On Mon, Mar 17, 2014 at 05:45:40PM +0800, Bo Shen wrote: - compatible: "atmel,asoc-wm8904" - atmel,model: The user-visible name of this sound complex. + - clocks: A list of clocks needed by the wm8904 chip. + - clock-ou

[PATCH] Video: atmel: avoid the id of fix screen info is overwritten

2014-03-19 Thread Bo Shen
Correct passing parameter sequence, which will avoid the id of fix screen info is overwritten. Signed-off-by: Bo Shen --- drivers/video/atmel_lcdfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c index cd96162

Re: [PATCH 7/8] ASoC: atmel: document clock properties of the wm8904 driver

2014-03-19 Thread Bo Shen
Hi Mark, On 03/19/2014 06:28 PM, Mark Brown wrote: On Wed, Mar 19, 2014 at 01:57:23PM +0800, Bo Shen wrote: On 03/17/2014 07:55 PM, Mark Brown wrote: If this is a clock for the CODEC it should be documented as part of the binding for the CODEC and connected to the CODEC in the device tree

Re: [PATCH 7/8] ASoC: atmel: document clock properties of the wm8904 driver

2014-03-20 Thread Bo Shen
Hi Mark Brown, On 03/20/2014 09:47 PM, Mark Brown wrote: On Thu, Mar 20, 2014 at 10:37:53AM +0800, Bo Shen wrote: For this, in my mind, I think we need add following parameters in DT. 1. sysclk_src_from_fll --> we need do nothing. No, how would this work? If nothing else the FLL ne

Re: [PATCH 2/2] USB: at91: using USBA_NR_DMAS for DMA channels

2014-02-18 Thread Bo Shen
Hi Felipe Balbi, On 02/19/2014 12:19 AM, Felipe Balbi wrote: On Fri, Jan 17, 2014 at 10:59:25AM +0800, Bo Shen wrote: When the SoC is earlier than sama5d3 SoC, which have the same number endpoints and DMAs. However for sama5d3 SoC, it has different number for endpoints and DMAs. So, define

Re: [PATCH 2/2] USB: at91: using USBA_NR_DMAS for DMA channels

2014-02-18 Thread Bo Shen
On 02/19/2014 09:22 AM, Felipe Balbi wrote: On Wed, Feb 19, 2014 at 09:14:58AM +0800, Bo Shen wrote: Hi Felipe Balbi, On 02/19/2014 12:19 AM, Felipe Balbi wrote: On Fri, Jan 17, 2014 at 10:59:25AM +0800, Bo Shen wrote: When the SoC is earlier than sama5d3 SoC, which have the same number

[PATCH v2 2/2] USB: at91: using USBA_NR_DMAS for DMA channels

2014-02-18 Thread Bo Shen
for DMA channels. And the USBA_NR_ENDPOINS is not used anymore, remove it at the same time. Signed-off-by: Bo Shen --- Changes in v2: - Make the commit message more clearer. drivers/usb/gadget/atmel_usba_udc.c | 2 +- drivers/usb/gadget/atmel_usba_udc.h | 2 +- 2 files changed, 2 insertions

[PATCH v2 1/2] USB: at91: fix the number of endpoint parameter

2014-02-18 Thread Bo Shen
-by: Bo Shen --- Changes in v2: - Make the commit message more clearer. drivers/usb/gadget/atmel_usba_udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c index 2cb52e0..7e67a81 100644 --- a/drivers/

[PATCH v2 3/3] Binding: atmel-wm8904: add option to choose clock

2014-01-26 Thread Bo Shen
Add the option to choose clock on which pin input to SSC (as slave). Default is on TK pin to SSC, add "atmel,clk-from-rk-pin" option to specify the clock is on RK pin to SSC. Signed-off-by: Bo Shen --- Changes in v2: - using "-" replace "_" in binding docum

  1   2   3   >