[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 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 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 voice.s...@atmel.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com Acked-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Acked-by: Kumar Gala ga...@codeaurora.org --- Changes in v8: None

[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 voice.s...@atmel.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com Acked-by: Jean

[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

[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 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 voice.s...@atmel.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com Acked-by: Kumar Gala ga...@codeaurora.org --- Changes in v7: None Changes in v6: - New, split binding document as a separate patch

[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 voice.s...@atmel.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- Changes in v7

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

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

[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 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 voice.s...@atmel.com --- Changes in v6: - using relaxed version for writel and readl - add none

[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 voice.s...@atmel.com --- 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

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

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

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 2/2] misc: atmel_pwm: set initcall level to subsys

2013-10-30 Thread Bo Shen
-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 from this list

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

2013-10-30 Thread Bo Shen
-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 from this list: send

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

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

[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

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

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

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

2013-10-13 Thread Bo Shen
...@the-dreams.de --- sound/soc/atmel/atmel_wm8904.c | 8 1 file changed, 8 deletions(-) Tested OK on at91sam9n12ek and sama5d3xek board. Thanks. Acked-by: Bo Shen voice.s...@atmel.com Best Regards, Bo Shen -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[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 voice.s...@atmel.com --- 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

[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 voice.s...@atmel.com --- 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

[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 voice.s...@atmel.com --- 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

[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 voice.s...@atmel.com --- arch/arm/boot/dts/at91sam9n12ek.dts |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts

[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 voice.s...@atmel.com --- 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

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

[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 voice.s...@atmel.com --- Changes in v5: - call clk_disable directly, if so, it won't cause more than

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

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

2013-09-29 Thread Bo Shen
egardless 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, Bo Shen --

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

2013-09-29 Thread Bo Shen
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, Bo Shen -- To unsubscribe from this list: send the line unsubscribe

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

2013-09-29 Thread Bo Shen
= atmel_pwm_free, This will cause pwmadd_chip failure. Code from drivers/pwm/core.c, 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 Regards, Bo

[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

[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 voice.s...@atmel.com --- Changes in v4: - check the return value of clk_prepare() - change channel

[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 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 voice.s...@atmel.com --- Changes in v3: - change compatible string from atmel,sama5-pwm to atmel

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

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 voice.s...@atmel.com instead. Can you fixup and respin, please? I

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

2013-08-27 Thread Bo Shen
, and 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 "unsubscribe

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

2013-08-27 Thread Bo Shen
, and 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 unsubscribe linux-kernel

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

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

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

2013-08-26 Thread Bo Shen
, 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: [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

[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

[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 voice.s...@atmel.com --- This patch is based on the for-next branch on Linux pwm tree Test

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 voice.s...@atmel.com

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

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

[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

[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 voice.s...@atmel.com --- This patch is based on Linux v3.11 rc6 Tested on sama5d31ek and at91sam9m10g45ek board

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 fractional

[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

[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 voice.s...@atmel.com --- 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

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 fractional

[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

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

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

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

[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

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

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

2013-07-10 Thread Bo Shen
_dai.dai_fmt = 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,

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

2013-07-10 Thread Bo Shen
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 -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[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 voice.s...@atmel.com --- arch/arm/boot/dts/at91sam9n12ek.dts |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts

[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 voice.s...@atmel.com --- 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

[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 voice.s...@atmel.com --- 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

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 voice.s...@atmel.com --- arch/arm/boot/dts/at91sam9n12.dtsi | 20 1 file changed, 20 insertions

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 voice.s...@atmel.com --- arch/arm/boot/dts/at91sam9n12ek.dts | 16 1 file changed, 16 insertions

[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 voice.s...@atmel.com --- Changes in v2: None arch/arm/boot/dts/at91sam9n12ek.dts |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm

[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 voice.s...@atmel.com --- 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

[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 voice.s...@atmel.com --- 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

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

2013-07-09 Thread Bo Shen
atic 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 message to majord...@vger.kernel.or

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

2013-07-09 Thread Bo Shen
with a driver'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 message to majord

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

2013-07-07 Thread Bo Shen
me = xxx, .stream_name = xxx, ... }; struct snd_soc_card card_name = { .name = xxxx .ower = THIS_MODULE, .dai_link = _link_name, ... }; In this way, I think it will be more clear than put them in code. Best Regards, Bo Shen -- To unsubscribe from this

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

2013-07-07 Thread Bo Shen
it will be more clear than put them in code. 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

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 see

[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

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

[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 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 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 voice.s...@atmel.com --- arch/arm/mach-at91/include/mach/uncompress.h |1 + 1 file changed, 1

[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 voice.s...@atmel.com --- 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

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

[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 voice.s...@atmel.com --- arch/arm/mach-at91/include/mach/uncompress.h | 12 1 file changed, 12 insertions(+) diff --git

<    1   2   3   4   5   >