[PATCH v2 1/2] ARM: at91: dts: add isi & ov2640 dt nodes for at91sam9m10g45ek board

2015-06-16 Thread Josh Wu
First we group the isi data pins, and for now we only use 0~7 data pins with HSYNC and VSYNC. Also add the link for atmel-isi and ov2640 sensor node. Signed-off-by: Josh Wu --- Changes in v2: - group the isi data pin. - remove the isi_mck pin from pinctrl-isi as it will used by camera sensor

[PATCH v2 2/2] ARM: at91: at91_dt_defconfig: enable ISI and ov2640 support

2015-06-16 Thread Josh Wu
Add Atmel-isi and ov2640 driver in defconfig Signed-off-by: Josh Wu --- Changes in v2: None arch/arm/configs/at91_dt_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs/at91_dt_defconfig index bcef49a..d089ec9 100644

[PATCH v2 1/2] ARM: at91: dts: add isi ov2640 dt nodes for at91sam9m10g45ek board

2015-06-16 Thread Josh Wu
First we group the isi data pins, and for now we only use 0~7 data pins with HSYNC and VSYNC. Also add the link for atmel-isi and ov2640 sensor node. Signed-off-by: Josh Wu josh...@atmel.com --- Changes in v2: - group the isi data pin. - remove the isi_mck pin from pinctrl-isi as it will used

[PATCH v2 2/2] ARM: at91: at91_dt_defconfig: enable ISI and ov2640 support

2015-06-16 Thread Josh Wu
Add Atmel-isi and ov2640 driver in defconfig Signed-off-by: Josh Wu josh...@atmel.com --- Changes in v2: None arch/arm/configs/at91_dt_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs/at91_dt_defconfig index bcef49a

[PATCH 2/2] ARM: at91: at91_dt_defconfig: enable ISI and ov2640 support

2015-06-15 Thread Josh Wu
Add Atmel-isi and ov2640 driver in defconfig Signed-off-by: Josh Wu --- arch/arm/configs/at91_dt_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs/at91_dt_defconfig index bcef49a..d089ec9 100644 --- a/arch/arm/configs

[PATCH 1/2] ARM: at91: dts: add isi & ov2640 dt nodes for at91sam9m10g45ek board

2015-06-15 Thread Josh Wu
Add the link for atmel-isi and ov2640 sensor node. Signed-off-by: Josh Wu --- arch/arm/boot/dts/at91sam9g45.dtsi | 4 +++ arch/arm/boot/dts/at91sam9m10g45ek.dts | 45 ++ 2 files changed, 49 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b

[PATCH 2/2] ARM: at91: at91_dt_defconfig: enable ISI and ov2640 support

2015-06-15 Thread Josh Wu
Add Atmel-isi and ov2640 driver in defconfig Signed-off-by: Josh Wu josh...@atmel.com --- arch/arm/configs/at91_dt_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs/at91_dt_defconfig index bcef49a..d089ec9 100644

[PATCH 1/2] ARM: at91: dts: add isi ov2640 dt nodes for at91sam9m10g45ek board

2015-06-15 Thread Josh Wu
Add the link for atmel-isi and ov2640 sensor node. Signed-off-by: Josh Wu josh...@atmel.com --- arch/arm/boot/dts/at91sam9g45.dtsi | 4 +++ arch/arm/boot/dts/at91sam9m10g45ek.dts | 45 ++ 2 files changed, 49 insertions(+) diff --git a/arch/arm/boot/dts

Re: [PATCH v4 2/2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board

2015-03-04 Thread Josh Wu
On 3/4/2015 7:07 PM, Nicolas Ferre wrote: Le 04/03/2015 03:51, Josh Wu a écrit : Add at91 sama5d4 xplained board support. Signed-off-by: Josh Wu --- Changes in v4: - Thanks to Bo Shen to find following leds issues: 1. the leds' label is changed in new xplained board. 2. as piod

Re: [PATCH v4 2/2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board

2015-03-04 Thread Josh Wu
On 3/4/2015 7:07 PM, Nicolas Ferre wrote: Le 04/03/2015 03:51, Josh Wu a écrit : Add at91 sama5d4 xplained board support. Signed-off-by: Josh Wu josh...@atmel.com --- Changes in v4: - Thanks to Bo Shen to find following leds issues: 1. the leds' label is changed in new xplained board

[PATCH v4 2/2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board

2015-03-03 Thread Josh Wu
Add at91 sama5d4 xplained board support. Signed-off-by: Josh Wu --- Changes in v4: - Thanks to Bo Shen to find following leds issues: 1. the leds' label is changed in new xplained board. 2. as piod bank is disabled in sama5d4, that will whole led driver not work. So just disable the led

[PATCH v4 1/2] ARM: at91: sama5d4/dts: add #{address, size}_cells properties for macb0

2015-03-03 Thread Josh Wu
macb0 DT node can have phy child nodes, so add the #{address, size}_cells for macb0 node. Signed-off-by: Josh Wu --- Changes in v4: - fix typo in commit message: cell -> cells Changes in v3: - new added Changes in v2: None arch/arm/boot/dts/sama5d4.dtsi | 2 ++ 1 file changed, 2 inserti

[PATCH v4 1/2] ARM: at91: sama5d4/dts: add #{address, size}_cells properties for macb0

2015-03-03 Thread Josh Wu
macb0 DT node can have phy child nodes, so add the #{address, size}_cells for macb0 node. Signed-off-by: Josh Wu josh...@atmel.com --- Changes in v4: - fix typo in commit message: cell - cells Changes in v3: - new added Changes in v2: None arch/arm/boot/dts/sama5d4.dtsi | 2 ++ 1 file

[PATCH v4 2/2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board

2015-03-03 Thread Josh Wu
Add at91 sama5d4 xplained board support. Signed-off-by: Josh Wu josh...@atmel.com --- Changes in v4: - Thanks to Bo Shen to find following leds issues: 1. the leds' label is changed in new xplained board. 2. as piod bank is disabled in sama5d4, that will whole led driver not work. So

Re: [PATCH] mtd: atmel_nand: fix typo in dev_err error message

2015-03-01 Thread Josh Wu
Hi, Colin On 3/1/2015 4:27 AM, Colin King wrote: From: Colin Ian King Fix typo, "Unkown" -> "Unknown" Signed-off-by: Colin Ian King Thanks for the patch. Acked-by: Josh Wu --- drivers/mtd/nand/atmel_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

Re: [PATCH] mtd: atmel_nand: fix typo in dev_err error message

2015-03-01 Thread Josh Wu
Hi, Colin On 3/1/2015 4:27 AM, Colin King wrote: From: Colin Ian King colin.k...@canonical.com Fix typo, Unkown - Unknown Signed-off-by: Colin Ian King colin.k...@canonical.com Thanks for the patch. Acked-by: Josh Wu josh...@atmel.com --- drivers/mtd/nand/atmel_nand.c | 2 +- 1 file

[PATCH v3 1/2] ARM: at91: sama5d4/dts: add #{address, size}_cell properties for macb0

2015-02-09 Thread Josh Wu
macb0 DT node can have phy child nodes, so add the #{address, size}_cell for macb0 node. Signed-off-by: Josh Wu --- Changes in v3: - new added Changes in v2: None arch/arm/boot/dts/sama5d4.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm

[PATCH v3 2/2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board

2015-02-09 Thread Josh Wu
Add at91 sama5d4 xplained board support. Signed-off-by: Josh Wu --- Changes in v3: - add phy0 child node under macb0 - rebase on top of linux next, re-formated the arch/arm/boot/dts/Makefile Changes in v2: - to be sorted by memory address, put the adc dt node after usart4. arch/arm/boot/dts

Re: [PATCH v2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board

2015-02-09 Thread Josh Wu
Hi, Alexandre On 2/10/2015 2:10 AM, Alexandre Belloni wrote: Hi Josh, On 09/02/2015 at 17:17:03 +0800, Josh Wu wrote : Add at91 sama5d4 xplained board support. Signed-off-by: Josh Wu --- Changes in v2: - to be sorted by memory address, put the adc dt node after usart4. arch/arm/boot/dts

Re: [PATCH v2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board

2015-02-09 Thread Josh Wu
Hi, Boris On 2/9/2015 5:24 PM, Boris Brezillon wrote: Hi Josh, On Mon, 9 Feb 2015 17:17:03 +0800 Josh Wu wrote: Add at91 sama5d4 xplained board support. Signed-off-by: Josh Wu --- Changes in v2: - to be sorted by memory address, put the adc dt node after usart4. arch/arm/boot/dts

[PATCH] ARM: at91: dts: sama5d4ek: add leds in DT node

2015-02-09 Thread Josh Wu
Add the leds DT node in the dts file. In the leds, d10 is set as heartbeat led. Signed-off-by: Josh Wu --- arch/arm/boot/dts/at91-sama5d4ek.dts | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts/at91

[PATCH v2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board

2015-02-09 Thread Josh Wu
Add at91 sama5d4 xplained board support. Signed-off-by: Josh Wu --- Changes in v2: - to be sorted by memory address, put the adc dt node after usart4. arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/at91-sama5d4_xplained.dts | 232 2 files

[PATCH v2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board

2015-02-09 Thread Josh Wu
Add at91 sama5d4 xplained board support. Signed-off-by: Josh Wu josh...@atmel.com --- Changes in v2: - to be sorted by memory address, put the adc dt node after usart4. arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/at91-sama5d4_xplained.dts | 232

[PATCH] ARM: at91: dts: sama5d4ek: add leds in DT node

2015-02-09 Thread Josh Wu
Add the leds DT node in the dts file. In the leds, d10 is set as heartbeat led. Signed-off-by: Josh Wu josh...@atmel.com --- arch/arm/boot/dts/at91-sama5d4ek.dts | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts

Re: [PATCH v2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board

2015-02-09 Thread Josh Wu
Hi, Boris On 2/9/2015 5:24 PM, Boris Brezillon wrote: Hi Josh, On Mon, 9 Feb 2015 17:17:03 +0800 Josh Wu josh...@atmel.com wrote: Add at91 sama5d4 xplained board support. Signed-off-by: Josh Wu josh...@atmel.com --- Changes in v2: - to be sorted by memory address, put the adc dt node after

[PATCH v3 1/2] ARM: at91: sama5d4/dts: add #{address, size}_cell properties for macb0

2015-02-09 Thread Josh Wu
macb0 DT node can have phy child nodes, so add the #{address, size}_cell for macb0 node. Signed-off-by: Josh Wu josh...@atmel.com --- Changes in v3: - new added Changes in v2: None arch/arm/boot/dts/sama5d4.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/sama5d4

[PATCH v3 2/2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board

2015-02-09 Thread Josh Wu
Add at91 sama5d4 xplained board support. Signed-off-by: Josh Wu josh...@atmel.com --- Changes in v3: - add phy0 child node under macb0 - rebase on top of linux next, re-formated the arch/arm/boot/dts/Makefile Changes in v2: - to be sorted by memory address, put the adc dt node after usart4

Re: [PATCH v2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board

2015-02-09 Thread Josh Wu
Hi, Alexandre On 2/10/2015 2:10 AM, Alexandre Belloni wrote: Hi Josh, On 09/02/2015 at 17:17:03 +0800, Josh Wu wrote : Add at91 sama5d4 xplained board support. Signed-off-by: Josh Wu josh...@atmel.com --- Changes in v2: - to be sorted by memory address, put the adc dt node after usart4

[PATCH] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board

2015-02-06 Thread Josh Wu
add at91 sama5d4 xplained board support. Signed-off-by: Josh Wu --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/at91-sama5d4_xplained.dts | 234 2 files changed, 235 insertions(+) create mode 100644 arch/arm/boot/dts/at91

[PATCH] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board

2015-02-06 Thread Josh Wu
add at91 sama5d4 xplained board support. Signed-off-by: Josh Wu josh...@atmel.com --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/at91-sama5d4_xplained.dts | 234 2 files changed, 235 insertions(+) create mode 100644 arch/arm/boot/dts

Re: [PATCH 2/4] mtd: nand: atmel: Update DT documentation after splitting NFC and NAND

2015-02-04 Thread Josh Wu
Hi, Boris Thanks a lot for your explanation, check my reply for more description for my suggestion. On 2/3/2015 5:37 PM, Boris Brezillon wrote: On Tue, 3 Feb 2015 16:46:15 +0800 Josh Wu wrote: Hi, Boris, Brian On 2/2/2015 5:42 PM, Boris Brezillon wrote: Hi Brian, On Sun, 1 Feb 2015 23

Re: [PATCH 2/4] mtd: nand: atmel: Update DT documentation after splitting NFC and NAND

2015-02-04 Thread Josh Wu
Hi, Boris Thanks a lot for your explanation, check my reply for more description for my suggestion. On 2/3/2015 5:37 PM, Boris Brezillon wrote: On Tue, 3 Feb 2015 16:46:15 +0800 Josh Wu josh...@atmel.com wrote: Hi, Boris, Brian On 2/2/2015 5:42 PM, Boris Brezillon wrote: Hi Brian

Re: [PATCH 2/4] mtd: nand: atmel: Update DT documentation after splitting NFC and NAND

2015-02-03 Thread Josh Wu
ust many NFC properties. chip0 chip1 } This is still looks nice to me. Josh, Brian, any idea to solve this EBI/nand-chip/nand-controller dependency problem is welcome. Best Regards, Boris Best Regards, Josh Wu -- To unsubscribe from this list: send the line "unsubscribe linux-ke

Re: [PATCH 2/4] mtd: nand: atmel: Update DT documentation after splitting NFC and NAND

2015-02-03 Thread Josh Wu
, just many NFC properties. nand chip0 nand chip1 } This is still looks nice to me. Josh, Brian, any idea to solve this EBI/nand-chip/nand-controller dependency problem is welcome. Best Regards, Boris Best Regards, Josh Wu -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 1/2] media: v4l2-image-sizes.h: add SVGA, XGA and UXGA size definitions

2015-01-27 Thread Josh Wu
Hi, Guennadi On 11/28/2014 4:13 AM, Guennadi Liakhovetski wrote: Hi Josh, On Thu, 27 Nov 2014, Josh Wu wrote: Hi, Guennadi On 11/26/2014 6:23 AM, Guennadi Liakhovetski wrote: Hi Josh, On Tue, 25 Nov 2014, Josh Wu wrote: Add SVGA, UXGA and XGA size definitions to v4l2-image-sizes.h

Re: [PATCH 1/2] media: v4l2-image-sizes.h: add SVGA, XGA and UXGA size definitions

2015-01-27 Thread Josh Wu
Hi, Guennadi On 11/28/2014 4:13 AM, Guennadi Liakhovetski wrote: Hi Josh, On Thu, 27 Nov 2014, Josh Wu wrote: Hi, Guennadi On 11/26/2014 6:23 AM, Guennadi Liakhovetski wrote: Hi Josh, On Tue, 25 Nov 2014, Josh Wu wrote: Add SVGA, UXGA and XGA size definitions to v4l2-image-sizes.h

Re: [PATCH 4/4] ARM: at91/dt: sama5: move NAND nodes into board dts/dtsi

2014-12-26 Thread Josh Wu
_LEVEL_HIGH 6>; - atmel,nand-addr-offset = <21>; - atmel,nand-cmd-offset = <22>; - atmel,nand-has-dma; - pinctrl-names = "default"; - pinctrl-0 = <_nand>; -

Re: [PATCH 2/4] mtd: nand: atmel: Update DT documentation after splitting NFC and NAND

2014-12-26 Thread Josh Wu
Hi, Boris Thanks for the patch. You need to rebase on the top of current mtd-l2 git tree. As I had some change on the binding document. Best Regards, Josh Wu On 12/5/2014 6:30 AM, Boris Brezillon wrote: The NAND and NFC (NAND Flash Controller) were linked together with a parent <->

Re: [PATCH 1/4] mtd: nand: atmel: Rework driver to separate nfc and nand nodes

2014-12-26 Thread Josh Wu
Acked-by: Josh Wu Best Regards, Josh Wu --- drivers/mtd/nand/atmel_nand.c | 76 ++- 1 file changed, 61 insertions(+), 15 deletions(-) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 19d1e9d..0239fe6 100644 --- a/drive

Re: [PATCH 1/4] mtd: nand: atmel: Rework driver to separate nfc and nand nodes

2014-12-26 Thread Josh Wu
I'm fine with this patch. Acked-by: Josh Wu josh...@atmel.com Best Regards, Josh Wu --- drivers/mtd/nand/atmel_nand.c | 76 ++- 1 file changed, 61 insertions(+), 15 deletions(-) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c

Re: [PATCH 2/4] mtd: nand: atmel: Update DT documentation after splitting NFC and NAND

2014-12-26 Thread Josh Wu
Hi, Boris Thanks for the patch. You need to rebase on the top of current mtd-l2 git tree. As I had some change on the binding document. Best Regards, Josh Wu On 12/5/2014 6:30 AM, Boris Brezillon wrote: The NAND and NFC (NAND Flash Controller) were linked together with a parent - child

Re: [PATCH 4/4] ARM: at91/dt: sama5: move NAND nodes into board dts/dtsi

2014-12-26 Thread Josh Wu
, Josh Wu -- 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 1/2] media: v4l2-image-sizes.h: add SVGA, XGA and UXGA size definitions

2014-11-26 Thread Josh Wu
Hi, Guennadi On 11/26/2014 6:23 AM, Guennadi Liakhovetski wrote: Hi Josh, On Tue, 25 Nov 2014, Josh Wu wrote: Add SVGA, UXGA and XGA size definitions to v4l2-image-sizes.h. The definitions are sorted by alphabet order. Signed-off-by: Josh Wu Thanks for your patches. I'm ok with these two

Re: [PATCH 1/2] media: v4l2-image-sizes.h: add SVGA, XGA and UXGA size definitions

2014-11-26 Thread Josh Wu
Hi, Guennadi On 11/26/2014 6:23 AM, Guennadi Liakhovetski wrote: Hi Josh, On Tue, 25 Nov 2014, Josh Wu wrote: Add SVGA, UXGA and XGA size definitions to v4l2-image-sizes.h. The definitions are sorted by alphabet order. Signed-off-by: Josh Wu josh...@atmel.com Thanks for your patches. I'm

Re: [PATCH v2 3/3] ARM: at91: sama5d4: Add SFR

2014-11-25 Thread Josh Wu
Hi, Alexandre On 11/26/2014 12:40 AM, Alexandre Belloni wrote: The sama4d4 has Special Function Registers that allow to manage DDR, OHCI, EBI and AIC interrupt redirection. Just a nitpick, It should be sama5d4, not sama4d4. Best Regards, Josh Wu Signed-off-by: Alexandre Belloni Acked

Re: [PATCH 1/2] media: v4l2-image-sizes.h: add SVGA, XGA and UXGA size definitions

2014-11-25 Thread Josh Wu
Hi, Sylwester and Mauro On 11/25/2014 6:34 PM, Sylwester Nawrocki wrote: Hi Josh, On 25/11/14 09:54, Josh Wu wrote: Add SVGA, UXGA and XGA size definitions to v4l2-image-sizes.h. The definitions are sorted by alphabet order. Signed-off-by: Josh Wu --- include/media/v4l2-image-sizes.h | 9

[PATCH 2/2] media: ov2640: use the v4l2 size definitions

2014-11-25 Thread Josh Wu
Reuse the v4l2 size definitions from v4l2-image-sizes.h. So we can remove the rudundent definitions from ov2640.c. Signed-off-by: Josh Wu --- drivers/media/i2c/soc_camera/ov2640.c | 82 +-- 1 file changed, 30 insertions(+), 52 deletions(-) diff --git a/drivers

[PATCH 1/2] media: v4l2-image-sizes.h: add SVGA, XGA and UXGA size definitions

2014-11-25 Thread Josh Wu
Add SVGA, UXGA and XGA size definitions to v4l2-image-sizes.h. The definitions are sorted by alphabet order. Signed-off-by: Josh Wu --- include/media/v4l2-image-sizes.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/media/v4l2-image-sizes.h b/include/media/v4l2-image

[PATCH 1/2] media: v4l2-image-sizes.h: add SVGA, XGA and UXGA size definitions

2014-11-25 Thread Josh Wu
Add SVGA, UXGA and XGA size definitions to v4l2-image-sizes.h. The definitions are sorted by alphabet order. Signed-off-by: Josh Wu josh...@atmel.com --- include/media/v4l2-image-sizes.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/media/v4l2-image-sizes.h b/include/media

[PATCH 2/2] media: ov2640: use the v4l2 size definitions

2014-11-25 Thread Josh Wu
Reuse the v4l2 size definitions from v4l2-image-sizes.h. So we can remove the rudundent definitions from ov2640.c. Signed-off-by: Josh Wu josh...@atmel.com --- drivers/media/i2c/soc_camera/ov2640.c | 82 +-- 1 file changed, 30 insertions(+), 52 deletions(-) diff

Re: [PATCH 1/2] media: v4l2-image-sizes.h: add SVGA, XGA and UXGA size definitions

2014-11-25 Thread Josh Wu
Hi, Sylwester and Mauro On 11/25/2014 6:34 PM, Sylwester Nawrocki wrote: Hi Josh, On 25/11/14 09:54, Josh Wu wrote: Add SVGA, UXGA and XGA size definitions to v4l2-image-sizes.h. The definitions are sorted by alphabet order. Signed-off-by: Josh Wu josh...@atmel.com --- include/media/v4l2

Re: [PATCH v2 3/3] ARM: at91: sama5d4: Add SFR

2014-11-25 Thread Josh Wu
Hi, Alexandre On 11/26/2014 12:40 AM, Alexandre Belloni wrote: The sama4d4 has Special Function Registers that allow to manage DDR, OHCI, EBI and AIC interrupt redirection. Just a nitpick, It should be sama5d4, not sama4d4. Best Regards, Josh Wu Signed-off-by: Alexandre Belloni

Re: [PATCH 1/2] mtd: atmel_nand: use __iowrite32_copy for 32 bitcopy

2014-10-22 Thread Josh Wu
which do above replace. Best Regards, Josh Wu -- 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 1/2] mtd: atmel_nand: use __iowrite32_copy for 32 bitcopy

2014-10-22 Thread Josh Wu
which do above replace. Best Regards, Josh Wu -- 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 1/2] mtd: atmel_nand: use __iowrite32_copy for 32 bit copy

2014-10-21 Thread Josh Wu
Hi, Vinod On 10/21/2014 12:06 AM, Vinod Koul wrote: The driver was also using own method to do 32bit copy, turns out we have a kernel API so use that instead Signed-off-by: Vinod Koul Thanks for the patch. Acked-by: Josh Wu BTW, is there any similar kernel API that is for the read from io

Re: [PATCH 1/2] mtd: atmel_nand: use __iowrite32_copy for 32 bit copy

2014-10-21 Thread Josh Wu
Hi, Vinod On 10/21/2014 12:06 AM, Vinod Koul wrote: The driver was also using own method to do 32bit copy, turns out we have a kernel API so use that instead Signed-off-by: Vinod Koul vinod.k...@intel.com Thanks for the patch. Acked-by: Josh Wu josh...@atmel.com BTW, is there any similar

[PATCH] MAINTAINERS: add atmel nand driver maintainer entry

2014-09-29 Thread Josh Wu
This patch adds an entry in MAINTAINERS file for ATMEL nand driver. Signed-off-by: Josh Wu --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3705430..1bdf3bf 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1698,6 +1698,12 @@ M

[PATCH] MAINTAINERS: add atmel nand driver maintainer entry

2014-09-29 Thread Josh Wu
This patch adds an entry in MAINTAINERS file for ATMEL nand driver. Signed-off-by: Josh Wu josh...@atmel.com --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3705430..1bdf3bf 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1698,6 +1698,12

Re: [PATCHv4] mtd: nand: atmel_nand: retrieve NFC clock

2014-09-12 Thread Josh Wu
Hi, Alexandre On 9/12/2014 5:40 PM, Alexandre Belloni wrote: From: Boris BREZILLON Signed-off-by: Boris BREZILLON Signed-off-by: Alexandre Belloni --- Thanks for the patch. Acked-by: Josh Wu Best Regards, Josh Wu Changes in v4: - fix typo in the documentation .../devicetree

Re: [PATCHv3] mtd: nand: atmel_nand: retrieve NFC clock

2014-09-12 Thread Josh Wu
NFC write by sram. @@ -98,6 +99,7 @@ nand0: nand@4000 { compatible = "atmel,sama5d3-nfc"; #address-cells = <1>; #size-cells = <1>; + clocks = <&_clk> Is it a typo here? Do you mean clocks

Re: [PATCHv2] mtd: nand: atmel_nand: retrieve NFC clock

2014-09-12 Thread Josh Wu
Hi, Nicolas On 9/12/2014 3:52 PM, Nicolas Ferre wrote: On 11/09/2014 19:52, Alexandre Belloni : From: Boris BREZILLON Signed-off-by: Boris BREZILLON Signed-off-by: Alexandre Belloni You may need to add Josh Wu to the list because he is the "de-facto" Maintainer of this driver

Re: [PATCHv2] mtd: nand: atmel_nand: retrieve NFC clock

2014-09-12 Thread Josh Wu
alized should set to false. Otherwise, the nand driver will try to use the NFC without enabled the clock. Is it better to move the code block nfc->is_initialized = true; dev_info(>dev, "NFC is probed.\n"); to just before the: return 0; Best Regards, Josh Wu + } else {

Re: [PATCHv2] mtd: nand: atmel_nand: retrieve NFC clock

2014-09-12 Thread Josh Wu
; dev_info(pdev-dev, NFC is probed.\n); to just before the: return 0; Best Regards, Josh Wu + } else { + dev_warn(pdev-dev, NFC clock is missing); + } + + return 0; +} + +static int atmel_nand_nfc_remove(struct platform_device *pdev) +{ + struct

Re: [PATCHv2] mtd: nand: atmel_nand: retrieve NFC clock

2014-09-12 Thread Josh Wu
may need to add Josh Wu to the list because he is the de-facto Maintainer of this driver. Thanks for the email. I almost miss it. Best Regards, Josh Wu Bye, --- Changes in v2: - reworked the error path to really make the clock optional - Documented the new optional property

Re: [PATCHv3] mtd: nand: atmel_nand: retrieve NFC clock

2014-09-12 Thread Josh Wu
; + clocks = hsmc_clk Is it a typo here? Do you mean clocks = hsmc_clk Best Regards, Josh Wu reg = 0x7000 0x1000 /* NFC Command Registers */ 0xc000 0x0070 /* NFC HSMC regs */ diff --git a/drivers/mtd/nand

Re: [PATCHv4] mtd: nand: atmel_nand: retrieve NFC clock

2014-09-12 Thread Josh Wu
-by: Josh Wu josh...@atmel.com Best Regards, Josh Wu Changes in v4: - fix typo in the documentation .../devicetree/bindings/mtd/atmel-nand.txt | 2 ++ drivers/mtd/nand/atmel_nand.c | 25 ++ 2 files changed, 27 insertions(+) diff --git

[PATCH] iio: adc: at91: make the function handle_adc_eoc_trigger() static

2014-08-27 Thread Josh Wu
The handle_adc_eoc_trigger() in only used in at91_adc.c. So make it static. Signed-off-by: Josh Wu --- drivers/iio/adc/at91_adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c index 772e869..7807e0e 100644

[PATCH] iio: adc: at91: make the function handle_adc_eoc_trigger() static

2014-08-27 Thread Josh Wu
The handle_adc_eoc_trigger() in only used in at91_adc.c. So make it static. Signed-off-by: Josh Wu josh...@atmel.com --- drivers/iio/adc/at91_adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c index 772e869..7807e0e

Re: [PATCH] mtd: atmel_nand: increase chip_delay

2014-07-30 Thread Josh Wu
ays ago which does almost the same thing to support 4k-page nand flash. personally I am fine with your patch. Brain, you only need to take care this patch. And drop my patch [1]. [1] http://patchwork.ozlabs.org/patch/372406/ Thanks. Best Regards, Josh Wu -- To unsubscribe from this list: send the

Re: [PATCH] mtd: atmel_nand: increase chip_delay

2014-07-30 Thread Josh Wu
which does almost the same thing to support 4k-page nand flash. personally I am fine with your patch. Brain, you only need to take care this patch. And drop my patch [1]. [1] http://patchwork.ozlabs.org/patch/372406/ Thanks. Best Regards, Josh Wu -- To unsubscribe from this list: send the line

Re: [PATCH v2] ARM: at91: #if 0 out ISI code for AT91SAM9263

2014-06-04 Thread Josh Wu
so far. When the devices file is finally removed. We will add the ISI resouces to DT file. So I am ok with this. Hi, J.C. What do you think of this patch? Best Regards, Josh Wu Josh verified that this definition of at91_add_device_isi() never will be called. Thanks! Still u

Re: [PATCH v2] ARM: at91: #if 0 out ISI code for AT91SAM9263

2014-06-04 Thread Josh Wu
the devices file is finally removed. We will add the ISI resouces to DT file. So I am ok with this. Hi, J.C. What do you think of this patch? Best Regards, Josh Wu Josh verified that this definition of at91_add_device_isi() never will be called. Thanks! Still untested! arch/arm/mach-at91

Re: [PATCH] ARM: at91: remove ISI code for AT91SAM9263

2014-05-15 Thread Josh Wu
will be called. Right. There is no implement to support for at91sam9263 ISI. So in at91sam9263ek it will not call at91_add_device_isi(). Current ISI driver only support at91sam9g45 and later chips. Acked-by: Josh Wu Best Regards, Josh Wu arch/arm/mach-at91/at91sam9263_devices.c | 57

Re: [PATCH] ARM: at91: remove ISI code for AT91SAM9263

2014-05-15 Thread Josh Wu
never will be called. Right. There is no implement to support for at91sam9263 ISI. So in at91sam9263ek it will not call at91_add_device_isi(). Current ISI driver only support at91sam9g45 and later chips. Acked-by: Josh Wu josh...@atmel.com Best Regards, Josh Wu arch/arm/mach-at91

Re: [PATCH v2] [media] ov2640: add support for async device registration

2014-03-26 Thread Josh Wu
Hi, all since v4l2_clk_get() WON'T return EPROBE_DEFER. So this version of patch is invalid. Please drop this version of the patch. Sorry for the noise. Best Regards, Josh Wu On 3/20/2014 5:01 PM, Josh Wu wrote: Since the the v4l2_clk_get() may return a EPROBE_DEFER during async probing. So

Re: [PATCH] [media] ov2640: add support for async device registration

2014-03-26 Thread Josh Wu
Hi, Sylwester On 3/20/2014 10:44 PM, Sylwester Nawrocki wrote: Hi Josh, On 19/03/14 10:17, Josh Wu wrote: On 3/15/2014 5:17 AM, Sylwester Nawrocki wrote: On 03/14/2014 11:12 AM, Josh Wu wrote: +clk = v4l2_clk_get(>dev, "mclk"); +if (IS_ERR(clk)) +return -EPROB

Re: [PATCH] [media] ov2640: add support for async device registration

2014-03-26 Thread Josh Wu
Hi, Sylwester On 3/20/2014 10:44 PM, Sylwester Nawrocki wrote: Hi Josh, On 19/03/14 10:17, Josh Wu wrote: On 3/15/2014 5:17 AM, Sylwester Nawrocki wrote: On 03/14/2014 11:12 AM, Josh Wu wrote: +clk = v4l2_clk_get(client-dev, mclk); +if (IS_ERR(clk)) +return -EPROBE_DEFER

Re: [PATCH v2] [media] ov2640: add support for async device registration

2014-03-26 Thread Josh Wu
Hi, all since v4l2_clk_get() WON'T return EPROBE_DEFER. So this version of patch is invalid. Please drop this version of the patch. Sorry for the noise. Best Regards, Josh Wu On 3/20/2014 5:01 PM, Josh Wu wrote: Since the the v4l2_clk_get() may return a EPROBE_DEFER during async probing. So

[PATCH v2] [media] ov2640: add support for async device registration

2014-03-20 Thread Josh Wu
Since the the v4l2_clk_get() may return a EPROBE_DEFER during async probing. So move the v4l2_clk_get() to the beginning of the probe(). Only when we get mclk successfully we continue the probe. Signed-off-by: Josh Wu --- v1 -> v2: just return PTR_ERR(clk) as it can be -EPROBE_DEFER. refi

[PATCH v2] [media] ov2640: add support for async device registration

2014-03-20 Thread Josh Wu
Since the the v4l2_clk_get() may return a EPROBE_DEFER during async probing. So move the v4l2_clk_get() to the beginning of the probe(). Only when we get mclk successfully we continue the probe. Signed-off-by: Josh Wu josh...@atmel.com --- v1 - v2: just return PTR_ERR(clk) as it can

Re: [PATCH] [media] ov2640: add support for async device registration

2014-03-19 Thread Josh Wu
Hi, Sylwester Thanks for your review. On 3/15/2014 5:17 AM, Sylwester Nawrocki wrote: Hi Josh, On 03/14/2014 11:12 AM, Josh Wu wrote: +clk = v4l2_clk_get(>dev, "mclk"); +if (IS_ERR(clk)) +return -EPROBE_DEFER; You should instead make it: retur

Re: [PATCH] [media] ov2640: add support for async device registration

2014-03-19 Thread Josh Wu
Hi, Sylwester Thanks for your review. On 3/15/2014 5:17 AM, Sylwester Nawrocki wrote: Hi Josh, On 03/14/2014 11:12 AM, Josh Wu wrote: +clk = v4l2_clk_get(client-dev, mclk); +if (IS_ERR(clk)) +return -EPROBE_DEFER; You should instead make it: return PTR_ERR(clk

[PATCH] [media] ov2640: add support for async device registration

2014-03-14 Thread Josh Wu
Move the clock detection code to the beginning of the probe(). If we meet any error in the clock detecting, then defer the probe. Signed-off-by: Josh Wu --- drivers/media/i2c/soc_camera/ov2640.c | 43 + 1 file changed, 28 insertions(+), 15 deletions(-) diff

[PATCH] [media] ov2640: add support for async device registration

2014-03-14 Thread Josh Wu
Move the clock detection code to the beginning of the probe(). If we meet any error in the clock detecting, then defer the probe. Signed-off-by: Josh Wu josh...@atmel.com --- drivers/media/i2c/soc_camera/ov2640.c | 43 + 1 file changed, 28 insertions(+), 15

Re: [PATCH 0/3] iio: adc: at91 fixes

2014-03-05 Thread Josh Wu
deletions(-) Thank you for the fixes. I tested the patch series in at91sam9m10g45ek and works fine. so here is my: Tested-by: Josh Wu Acked-by: Josh Wu Best Regards, Josh Wu -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: [PATCH] iio: adc: at91_adc: correct default shtim value

2014-03-05 Thread Josh Wu
value of 2/ADCCLK or 1/ADCCLK depending on the version. Signed-off-by: Alexandre Belloni Thanks for the fix and Acked-by: Josh Wu Best Regards, Josh Wu --- drivers/iio/adc/at91_adc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/iio/adc/at91_adc.c b

Re: [PATCH] iio: adc: at91_adc: correct default shtim value

2014-03-05 Thread Josh Wu
value of 2/ADCCLK or 1/ADCCLK depending on the version. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Thanks for the fix and Acked-by: Josh Wujosh...@atmel.com Best Regards, Josh Wu --- drivers/iio/adc/at91_adc.c | 7 +-- 1 file changed, 5 insertions(+), 2

Re: [PATCH 0/3] iio: adc: at91 fixes

2014-03-05 Thread Josh Wu
deletions(-) Thank you for the fixes. I tested the patch series in at91sam9m10g45ek and works fine. so here is my: Tested-by: Josh Wu josh...@atmel.com Acked-by: Josh Wu josh...@atmel.com Best Regards, Josh Wu -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[PATCH][resend] leds-gpio: of: led should not be created if its status is disabled

2013-09-26 Thread Josh Wu
ch_available_child_of_node() and of_get_available_child_count() to enumerate all child nodes. So the disabled node will be inavailable. Signed-off-by: Josh Wu --- resend this patch based on the patch: - http://www.spinics.net/lists/devicetree/msg05903.html drivers/leds/leds-gpio.c |6 +++--- 1 file changed, 3

[PATCH][resend] leds-gpio: of: led should not be created if its status is disabled

2013-09-26 Thread Josh Wu
() and of_get_available_child_count() to enumerate all child nodes. So the disabled node will be inavailable. Signed-off-by: Josh Wu josh...@atmel.com --- resend this patch based on the patch: - http://www.spinics.net/lists/devicetree/msg05903.html drivers/leds/leds-gpio.c |6 +++--- 1 file changed, 3 insertions

[PATCH] leds-gpio: of: led should not be created if its status is disabled

2013-09-24 Thread Josh Wu
of_node() to enumerate all child nodes. So the disabled node will be inavilable. Signed-off-by: Josh Wu --- drivers/leds/leds-gpio.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c index e8b01e5..9bb4e04 1006

[PATCH] leds-gpio: of: led should not be created if its status is disabled

2013-09-24 Thread Josh Wu
nodes. So the disabled node will be inavilable. Signed-off-by: Josh Wu josh...@atmel.com --- drivers/leds/leds-gpio.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c index e8b01e5..9bb4e04 100644 --- a/drivers

Re: [PATCH] MTD: atmel_nand: using a stronger ECC is not dangerous

2013-06-02 Thread Josh Wu
On 5/31/2013 10:34 PM, Richard Genoud wrote: We don't have to issue a warning when a stronger error correting capability is chosen. Signed-off-by: Richard Genoud Acked-by: Josh Wu Best Regards, Josh Wu --- drivers/mtd/nand/atmel_nand.c |2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] MTD: atmel_nand: using a stronger ECC is not dangerous

2013-06-02 Thread Josh Wu
On 5/31/2013 10:34 PM, Richard Genoud wrote: We don't have to issue a warning when a stronger error correting capability is chosen. Signed-off-by: Richard Genoud richard.gen...@gmail.com Acked-by: Josh Wu josh...@atmel.com Best Regards, Josh Wu --- drivers/mtd/nand/atmel_nand.c |2

Re: [PATCH v2] avr32: fix build error in atstk1006_defconfig

2013-04-08 Thread Josh Wu
Hi, Andrew Could you merge it for avr32? Thanks in advance. Best Regards, Josh Wu On 4/1/2013 2:26 PM, Josh Wu wrote: fixed the following compile error when use avr32 atstk1006_defconfig: drivers/mtd/nand/atmel_nand.c: In function 'pmecc_err_location': drivers/mtd/nand/atmel_nand.c:639

Re: [PATCH v2] avr32: fix build error in atstk1006_defconfig

2013-04-08 Thread Josh Wu
Hi, Andrew Could you merge it for avr32? Thanks in advance. Best Regards, Josh Wu On 4/1/2013 2:26 PM, Josh Wu wrote: fixed the following compile error when use avr32 atstk1006_defconfig: drivers/mtd/nand/atmel_nand.c: In function 'pmecc_err_location': drivers/mtd/nand/atmel_nand.c:639

[PATCH v2] avr32: fix build error in atstk1006_defconfig

2013-04-01 Thread Josh Wu
: 1c7b874d33b463f7150b1ab4617f000af9b327fd mtd: at91: atmel_nand: add Programmable Multibit ECC controller support The PMECC for nand flash code uses writel_relaxed(). But in avr32, there is no macro "writel_relaxed" defined. This patch add writex_relaxed macro definitions. Signed-off-by: Josh Wu Acked-by: Havard

Re: avr32: fix build error in atstk1006_defconfig

2013-04-01 Thread Josh Wu
Sorry, please drop this email. I will send out another one to include a...@linux-foundation.org Best Regards, Josh Wu On 4/1/2013 1:58 PM, Josh Wu wrote: fixed the following compile error when use avr32 atstk1006_defconfig: drivers/mtd/nand/atmel_nand.c: In function 'pmecc_err_location

avr32: fix build error in atstk1006_defconfig

2013-04-01 Thread Josh Wu
at91: atmel_nand: add Programmable Multibit ECC controller support"). The PMECC for nand flash code uses writel_relaxed(). But in avr32, there is no macro "writel_relaxed" defined. This patch add writex_relaxed macro definitions. Signed-off-by: Josh Wu Acked-by: Havard Skinnemoen Acke

avr32: fix build error in atstk1006_defconfig

2013-04-01 Thread Josh Wu
: atmel_nand: add Programmable Multibit ECC controller support). The PMECC for nand flash code uses writel_relaxed(). But in avr32, there is no macro writel_relaxed defined. This patch add writex_relaxed macro definitions. Signed-off-by: Josh Wu josh...@atmel.com Acked-by: Havard Skinnemoen hav

<    1   2   3   >