[PATCH v2 0/3] ASoC: atmel_ssc_dai: add option to choose clock

2014-01-26 Thread Bo Shen
When SSC work in slave mode, the clock can come from TK pin and also can come from RK pin, this is hardware design decided. So, make it available to choose where the clock from. Changes in v2: - using "-" replace "_" in binding document Bo Shen (3): ASoC: atmel_ssc_dai: m

[PATCH v2 1/3] ASoC: atmel_ssc_dai: make option to choose clock

2014-01-26 Thread Bo Shen
When SSC works in slave mode, according to the hardware design, the clock can get from TK pin, also can get from RK pin. So, add one parameter to choose where the clock from. Signed-off-by: Bo Shen --- Changes in v2: None sound/soc/atmel/atmel_ssc_dai.c | 16 sound/soc/atmel

[PATCH v2 2/3] ASoC: atmel_wm8904: make it available to choose clock

2014-01-26 Thread Bo Shen
Make it available to choose the clock from TK pin or RK pin. This is hardware design decided. Signed-off-by: Bo Shen --- Changes in v2: None sound/soc/atmel/atmel_wm8904.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/sound/soc/atmel/atmel_wm8904.c b/sound/soc/atmel

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

2014-01-13 Thread Bo Shen
Add the option to choose clock output on which pin connect to SSC. Default is on TK pin to SSC, add clk_from_rk_pin option, the clock is on RK pin to SSC. Signed-off-by: Bo Shen --- Documentation/devicetree/bindings/sound/atmel-wm8904.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a

[PATCH 2/3] ASoC: atmel_wm8904: make it available to choose clock

2014-01-13 Thread Bo Shen
Make it available to choose the clock from TK pin or RK pin. This is hardware design decided. Signed-off-by: Bo Shen --- sound/soc/atmel/atmel_wm8904.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/sound/soc/atmel/atmel_wm8904.c b/sound/soc/atmel/atmel_wm8904.c index b4e3690

[PATCH 1/3] ASoC: atmel_ssc_dai: make option to choose clock

2014-01-13 Thread Bo Shen
When SSC works in slave mode, according to the hardware design, the clock can get from TK pin, also can get from RK pin. So, add one parameter to choose where the clock from. Signed-off-by: Bo Shen --- sound/soc/atmel/atmel_ssc_dai.c | 16 sound/soc/atmel/atmel_ssc_dai.h | 1

[PATCH 0/3] ASoC: atmel_ssc_dai: add option to choose clock

2014-01-13 Thread Bo Shen
When SSC work in slave mode, the clock can come from TK pin and also can come from RK pin, this is hardware design decided. So, make it available to choose where the clock from. Bo Shen (3): ASoC: atmel_ssc_dai: make option to choose clock ASoC: atmel_wm8904: make it available to choose

Re: [PATCH 4/4] sound/soc/atmel: don't use devm_pinctrl_get_select_default() in probe

2013-10-13 Thread Bo Shen
/atmel_wm8904.c | 8 1 file changed, 8 deletions(-) Tested OK on at91sam9n12ek and sama5d3xek board. Thanks. 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.kerne

[PATCH 1/5] ARM: at91: add at91sam9n12 ssc clock in look up table

2013-10-13 Thread Bo Shen
Add at91sam9n12 ssc clock in look up table Signed-off-by: Bo Shen --- arch/arm/mach-at91/at91sam9n12.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-at91/at91sam9n12.c b/arch/arm/mach-at91/at91sam9n12.c index c7d670d..2d895a2 100644 --- a/arch/arm/mach-at91/at91sam9n12.c

[PATCH 5/5] ARM: at91: add sound support on at91sam9n12ek board

2013-10-13 Thread Bo Shen
Add sound support on at91sam9n12ek board with wm8904 as codec. Signed-off-by: Bo Shen --- arch/arm/boot/dts/at91sam9n12ek.dts | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts index

[PATCH 0/5] ARM:at91:enable sound on at91sam9n12ek board

2013-10-13 Thread Bo Shen
This patch series enable sound on at91sam9n12ek board with wm8904 codec Bo Shen (5): ARM: at91: add at91sam9n12 ssc clock in look up table ARM: at91: add ssc dma parameter for at91sam9n12 ARM: at91: enable wm8904 on at91sam9n12ek board ARM: at91: enable ssc on at91sam9n12ek board ARM

[PATCH 4/5] ARM: at91: enable ssc on at91sam9n12ek board

2013-10-13 Thread Bo Shen
Enable ssc on at91sam9n12ek board Signed-off-by: Bo Shen --- arch/arm/boot/dts/at91sam9n12ek.dts |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts index 1ba8def..391c532 100644 --- a/arch/arm/boot/dts

[PATCH 3/5] ARM: at91: enable wm8904 on at91sam9n12ek board

2013-10-13 Thread Bo Shen
Enable wm8904 codec on at91sam9n12ek board, which is connect to i2c0 bus with 0x1a as address. 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

[PATCH 2/5] ARM: at91: add ssc dma parameter for at91sam9n12

2013-10-13 Thread Bo Shen
Add ssc dma parameter for at91sam9n12 Signed-off-by: Bo Shen --- arch/arm/boot/dts/at91sam9n12.dtsi |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi index 9fb7ffd..6224f9f 100644 --- a/arch/arm/boot/dts

Re: [PATCH 2/2] misc: atmel_pwm: set initcall level to subsys

2013-10-30 Thread Bo Shen
drop the atmel-pwm-bl driver in favor of the generic backlight. The atmel pwm driver is on the way to generic subsystem. more information at: --->8--- PWM: atmel-pwm: add PWM controller driver: https://patchwork.kernel.org/patch/2963081/ ---<8--- Best Regards, Bo Shen -- To unsubscribe

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

2013-10-30 Thread Bo Shen
Hi Nicolas, On 10/28/2013 10:49 PM, Nicolas Ferre wrote: On 22/10/2013 12:13, Bo Shen : Hi All, On 10/8/2013 21:17, Thierry Reding wrote: On Mon, Sep 30, 2013 at 05:10:40PM +0800, Bo Shen wrote: Add Atmel PWM controller driver based on PWM framework. This is the basic function

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

2013-10-31 Thread Bo Shen
Hi J, On 10/31/2013 13:42, Jean-Christophe PLAGNIOL-VILLARD wrote: On 17:10 Mon 30 Sep , Bo Shen wrote: 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

[PATCH v6 1/2] PWM: atmel-pwm: add PWM controller driver

2013-11-01 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 v6: - using relaxed version for writel and readl - add none device tree support

[PATCH v6 2/2] PWM: atmel-pwm: add device tree binding document

2013-11-01 Thread Bo Shen
Add atmel pwm driver device tree binding document Signed-off-by: Bo Shen --- Changes in v6: - New, split binding document as a separate patch Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None .../devicetree/bindings/pwm/atmel-pwm.txt | 41

Re: [PATCH v8 1/2] PWM: atmel-pwm: add PWM controller driver

2013-12-02 Thread Bo Shen
Hi Thierry, On 11/18/2013 05:13 PM, Bo Shen wrote: 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 Acked-by: Alexandre Belloni Acked-by: Jean

[PATCH] arm: at91: sama5d3: enable qt1070 as a wakeup source

2013-12-02 Thread Bo Shen
Enable qt1070 keyboard as a wakeup source on sama5d3xek board. Signed-off-by: Bo Shen --- arch/arm/boot/dts/sama5d3xdm.dtsi |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/sama5d3xdm.dtsi b/arch/arm/boot/dts/sama5d3xdm.dtsi index 1c296d6..f9bdde5 100644 --- a/arch/arm

Re: [PATCH v8 1/2] PWM: atmel-pwm: add PWM controller driver

2013-12-02 Thread Bo Shen
Hi Thierry, On 12/02/2013 06:59 PM, Thierry Reding wrote: On Mon, Nov 18, 2013 at 05:13:21PM +0800, Bo Shen wrote: [...] diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c [...] +/* Max value for duty and period Block comments should be of this form: /* * Max

Re: [PATCH v8 1/2] PWM: atmel-pwm: add PWM controller driver

2013-12-03 Thread Bo Shen
Hi Thierry, On 12/03/2013 05:43 PM, Thierry Reding wrote: On Tue, Dec 03, 2013 at 11:09:12AM +0800, Bo Shen wrote: On 12/02/2013 06:59 PM, Thierry Reding wrote: On Mon, Nov 18, 2013 at 05:13:21PM +0800, Bo Shen wrote: [...] diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c

[PATCH v9 1/2] PWM: atmel-pwm: add PWM controller driver

2013-12-12 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 Acked-by: Alexandre Belloni Acked-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/pwm/Kconfig

[PATCH v9 2/2] PWM: atmel-pwm: add device tree binding document

2013-12-12 Thread Bo Shen
Add atmel pwm driver device tree binding document Signed-off-by: Bo Shen Acked-by: Alexandre Belloni Acked-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Kumar Gala --- .../devicetree/bindings/pwm/atmel-pwm.txt | 41 1 file changed, 41 insertions(+) create

[PATCH v9 0/2] PWM: pwm-atmel: add PWM controller driver

2013-12-12 Thread Bo Shen
Address the comments from Thierry Reding Bo Shen (2): PWM: atmel-pwm: add PWM controller driver PWM: atmel-pwm: add device tree binding document .../devicetree/bindings/pwm/atmel-pwm.txt | 41 ++ drivers/pwm/Kconfig|

Re: [PATCH 2/3] ASoC: atmel_wm8904: make it available to choose clock

2014-01-15 Thread Bo Shen
Hi Mark, On 01/15/2014 04:36 AM, Mark Brown wrote: On Tue, Jan 14, 2014 at 11:25:55AM +0800, Bo Shen wrote: Make it available to choose the clock from TK pin or RK pin. This is hardware design decided. --- a/sound/soc/atmel/atmel_wm8904.c +++ b/sound/soc/atmel/atmel_wm8904.c @@ -108,6

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

2014-01-15 Thread Bo Shen
Hi J, On 01/15/2014 07:54 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On 11:25 Tue 14 Jan , Bo Shen wrote: Add the option to choose clock output on which pin connect to SSC. Default is on TK pin to SSC, add clk_from_rk_pin option, the clock is on RK pin to SSC. Signed-off-by: Bo Shen

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

2014-01-15 Thread Bo Shen
Hi Nicolas, On 01/16/2014 01:17 AM, Nicolas Ferre wrote: On 14/01/2014 04:25, Bo Shen : Add the option to choose clock output on which pin connect to SSC. Default is on TK pin to SSC, add clk_from_rk_pin option, the clock Please do not use "_" in DT properties. It is a common patt

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

2014-01-16 Thread Bo Shen
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 USBA_NR_DMAs for DMA channels Signed-off-by: Bo Shen --- drivers/usb/gadget/atmel_usba_udc.c | 2 +- drivers/usb/gadget

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

2014-01-16 Thread Bo Shen
In sama5d3 SoC, there are 16 endpoints. As the USBA_NR_ENDPOINTS is only 7. So, fix it for sama5d3 SoC using the udc->num_ep. Signed-off-by: Bo Shen --- drivers/usb/gadget/atmel_usba_udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/atmel_usba_ud

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

2014-01-19 Thread Bo Shen
Hi J, On 01/18/2014 01:20 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On 10:59 Fri 17 Jan , Bo Shen wrote: In sama5d3 SoC, there are 16 endpoints. As the USBA_NR_ENDPOINTS is only 7. So, fix it for sama5d3 SoC using the udc->num_ep. Signed-off-by: Bo Shen --- drivers/usb/gad

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

2014-01-21 Thread Bo Shen
Hi J, On 01/21/2014 01:49 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On 11:39 Mon 20 Jan , Bo Shen wrote: Hi J, On 01/18/2014 01:20 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On 10:59 Fri 17 Jan , Bo Shen wrote: In sama5d3 SoC, there are 16 endpoints. As the USBA_NR_ENDPOINTS is

[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

[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

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

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

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

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

[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

[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

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

[PATCH 2/2] ARM: at91/sama5_defconfig: enable sound support

2014-06-06 Thread Bo Shen
Signed-off-by: Bo Shen --- arch/arm/configs/sama5_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig index dc3881e..c8613f0 100644 --- a/arch/arm/configs/sama5_defconfig +++ b/arch/arm/configs/sama5_defconfig

[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

[PATCH] ARM: at91: fix spi cs on sama5d3 Xplained board

2014-04-01 Thread Bo Shen
The PD16 is the CS3 for SPI0 while not SPI1. Signed-off-by: Bo Shen --- This patch is based on v3.14-rc8 arch/arm/boot/dts/at91-sama5d3_xplained.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91

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>; + };

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

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 v8 1/2] PWM: atmel-pwm: add PWM controller driver

2013-12-09 Thread Bo Shen
Hi Thierry, On 12/03/2013 11:09 AM, Bo Shen wrote: +atmel_pwm->chip.of_xlate = of_pwm_xlate_with_flags; +atmel_pwm->chip.of_pwm_n_cells = 3; +atmel_pwm->chip.base = -1; +} else { +atmel_pwm->chip.base = pdev->id; That's not correct. The

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

2013-10-22 Thread Bo Shen
Hi All, On 10/8/2013 21:17, Thierry Reding wrote: On Mon, Sep 30, 2013 at 05:10:40PM +0800, Bo Shen wrote: 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

Re: [PATCH v9 0/2] PWM: pwm-atmel: add PWM controller driver

2013-12-17 Thread Bo Shen
Hi Thierry, On 12/17/2013 06:30 PM, Thierry Reding wrote: On Fri, Dec 13, 2013 at 02:41:48PM +0800, Bo Shen wrote: This patch series add Atmel PWM controller driver support. Changes in v9: - Address the comments from Thierry Reding Hi, I've pushed a slightly modified version of

Re: [PATCH v6 1/2] PWM: atmel-pwm: add PWM controller driver

2013-11-13 Thread Bo Shen
Hi J, On 11/13/2013 05:56 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On 15:59 Fri 01 Nov , Bo Shen wrote: 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

[PATCH v7 2/2] PWM: atmel-pwm: add device tree binding document

2013-11-15 Thread Bo Shen
Add atmel pwm driver device tree binding document Signed-off-by: Bo Shen Acked-by: Alexandre Belloni Acked-by: Kumar Gala --- Changes in v7: None Changes in v6: - New, split binding document as a separate patch Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[PATCH v7 1/2] PWM: atmel-pwm: add PWM controller driver

2013-11-15 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 Acked-by: Alexandre Belloni --- Changes in v7: - fix issue for none device tree issues. Changes in

[PATCH v8 2/2] PWM: atmel-pwm: add device tree binding document

2013-11-18 Thread Bo Shen
Add atmel pwm driver device tree binding document Signed-off-by: Bo Shen Acked-by: Alexandre Belloni Acked-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Kumar Gala --- Changes in v8: None Changes in v7: None Changes in v6: - New, split binding document as a separate patch Changes in v5

[PATCH v8 1/2] PWM: atmel-pwm: add PWM controller driver

2013-11-18 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 Acked-by: Alexandre Belloni Acked-by: Jean-Christophe PLAGNIOL-VILLARD --- Changes in v8

[PATCH v3 2/2] Binding: atmel-ssc: add option to choose clock

2014-02-09 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 v3: - None Series-changes: 2 - using "-" replace &qu

[PATCH v3 0/2] ASoC: atmel_ssc_dai: add option to choose clock

2014-02-09 Thread Bo Shen
t;_" in binding document Bo Shen (2): ASoC: atmel_ssc_dai: make option to choose clock Binding: atmel-ssc: add option to choose clock Documentation/devicetree/bindings/misc/atmel-ssc.txt | 8 drivers/misc/atmel-ssc.c | 6 ++ inclu

[PATCH v3 1/2] ASoC: atmel_ssc_dai: make option to choose clock

2014-02-09 Thread Bo Shen
When SSC works in slave mode, according to the hardware design, the clock can get from TK pin, also can get from RK pin. So, add one parameter to choose where the clock from. Signed-off-by: Bo Shen --- Changes in v3: - New, move clk-from-rk-pin property from card to ssc device drivers/misc

Re: [PATCH v8 1/2] PWM: atmel-pwm: add PWM controller driver

2013-12-04 Thread Bo Shen
Hi Thierry, On 12/04/2013 06:03 PM, Thierry Reding wrote: On Wed, Dec 04, 2013 at 10:59:46AM +0800, Bo Shen wrote: Hi Thierry, On 12/03/2013 05:43 PM, Thierry Reding wrote: On Tue, Dec 03, 2013 at 11:09:12AM +0800, Bo Shen wrote: On 12/02/2013 06:59 PM, Thierry Reding wrote: On Mon, Nov 18

[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

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

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

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

[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

[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

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

[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

[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

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

<    1   2   3   >