Re: [PATCH 2/4] edac, altera: Refactor EDAC for Altera CycloneV SoC.

2015-05-14 Thread Dinh Nguyen
On 05/13/2015 04:49 PM, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > The Arria10 SOC uses a completely different SDRAM controller from the > earlier CycloneV and ArriaV SoCs. This patch abstracts the SDRAM bits > for the CycloneV/ArriaV SoCs in preparation for the Arria10

Re: [PATCH 3/4] edac, altera: Addition of Arria10 EDAC

2015-05-14 Thread Dinh Nguyen
On 05/13/2015 04:49 PM, ttha...@opensource.altera.com wrote: From: Thor Thayer ttha...@opensource.altera.com The Arria10 SDRAM and ECC system differs significantly from the Cyclone5 and Arria5 SoCs. This patch adds support for the Arria10 SoC. 1) IRQ handler needs to support SHARED IRQ 2)

Re: [PATCH 2/4] edac, altera: Refactor EDAC for Altera CycloneV SoC.

2015-05-14 Thread Dinh Nguyen
On 05/13/2015 04:49 PM, ttha...@opensource.altera.com wrote: From: Thor Thayer ttha...@opensource.altera.com The Arria10 SOC uses a completely different SDRAM controller from the earlier CycloneV and ArriaV SoCs. This patch abstracts the SDRAM bits for the CycloneV/ArriaV SoCs in preparation

Re: [PATCH 1/4] edac, altera: Generalize driver to use DT Memory size

2015-05-13 Thread Dinh Nguyen
On 5/13/15 4:49 PM, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > The Arria10 SOC uses a completely different SDRAM controller from the > earlier CycloneV and ArriaV SoCs. The memory size is calculated in > the bootloader and passed via the device tree. Using this device > tree

Re: [PATCH 1/4] edac, altera: Generalize driver to use DT Memory size

2015-05-13 Thread Dinh Nguyen
On 5/13/15 4:49 PM, ttha...@opensource.altera.com wrote: From: Thor Thayer ttha...@opensource.altera.com The Arria10 SOC uses a completely different SDRAM controller from the earlier CycloneV and ArriaV SoCs. The memory size is calculated in the bootloader and passed via the device tree.

Re: [PATCH] dmaengine: pl300: enable the clock to PL330 dma

2015-05-05 Thread Dinh Nguyen
On 05/05/2015 09:56 AM, Dinh Nguyen wrote: > On 05/04/2015 10:55 PM, Krzysztof Kozlowski wrote: >> 2015-05-05 4:52 GMT+09:00 Dinh Nguyen : >>> On 05/04/2015 09:06 AM, Dinh Nguyen wrote: >>>> +CC Olof >>>> >>>> On 5/4/15 8:50 AM, Krzysztof

Re: [PATCH] dmaengine: pl300: enable the clock to PL330 dma

2015-05-05 Thread Dinh Nguyen
On 05/04/2015 10:55 PM, Krzysztof Kozlowski wrote: > 2015-05-05 4:52 GMT+09:00 Dinh Nguyen : >> On 05/04/2015 09:06 AM, Dinh Nguyen wrote: >>> +CC Olof >>> >>> On 5/4/15 8:50 AM, Krzysztof Kozlowski wrote: >>>> 2015-05-04 22:28 GMT+09:00 Dinh Nguyen

Re: [PATCH] dmaengine: pl300: enable the clock to PL330 dma

2015-05-05 Thread Dinh Nguyen
On 05/04/2015 10:55 PM, Krzysztof Kozlowski wrote: 2015-05-05 4:52 GMT+09:00 Dinh Nguyen dingu...@opensource.altera.com: On 05/04/2015 09:06 AM, Dinh Nguyen wrote: +CC Olof On 5/4/15 8:50 AM, Krzysztof Kozlowski wrote: 2015-05-04 22:28 GMT+09:00 Dinh Nguyen dingu...@opensource.altera.com

Re: [PATCH] dmaengine: pl300: enable the clock to PL330 dma

2015-05-05 Thread Dinh Nguyen
On 05/05/2015 09:56 AM, Dinh Nguyen wrote: On 05/04/2015 10:55 PM, Krzysztof Kozlowski wrote: 2015-05-05 4:52 GMT+09:00 Dinh Nguyen dingu...@opensource.altera.com: On 05/04/2015 09:06 AM, Dinh Nguyen wrote: +CC Olof On 5/4/15 8:50 AM, Krzysztof Kozlowski wrote: 2015-05-04 22:28 GMT+09:00

Re: [PATCH] dmaengine: pl300: enable the clock to PL330 dma

2015-05-04 Thread Dinh Nguyen
On 05/04/2015 09:06 AM, Dinh Nguyen wrote: > +CC Olof > > On 5/4/15 8:50 AM, Krzysztof Kozlowski wrote: >> 2015-05-04 22:28 GMT+09:00 Dinh Nguyen : >>> Hi Krzystof, >>> >>> On 5/4/15 12:30 AM, Krzysztof Kozlowski wrote: >>>> 2015-05-04 13:28

Re: [PATCH] dmaengine: pl300: enable the clock to PL330 dma

2015-05-04 Thread Dinh Nguyen
+CC Olof On 5/4/15 8:50 AM, Krzysztof Kozlowski wrote: > 2015-05-04 22:28 GMT+09:00 Dinh Nguyen : >> Hi Krzystof, >> >> On 5/4/15 12:30 AM, Krzysztof Kozlowski wrote: >>> 2015-05-04 13:28 GMT+09:00 : >>>> From: Dinh Nguyen >>>> >>&g

Re: [PATCH] dmaengine: pl300: enable the clock to PL330 dma

2015-05-04 Thread Dinh Nguyen
Hi Krzystof, On 5/4/15 12:30 AM, Krzysztof Kozlowski wrote: > 2015-05-04 13:28 GMT+09:00 : >> From: Dinh Nguyen >> >> Turn on the clock to the PL330 DMA if there is a clock node provided. > > Why? There is no explanation in the patch for this important question -

Re: [PATCH] dmaengine: pl300: enable the clock to PL330 dma

2015-05-04 Thread Dinh Nguyen
Hi Krzystof, On 5/4/15 12:30 AM, Krzysztof Kozlowski wrote: 2015-05-04 13:28 GMT+09:00 dingu...@opensource.altera.com: From: Dinh Nguyen dingu...@opensource.altera.com Turn on the clock to the PL330 DMA if there is a clock node provided. Why? There is no explanation in the patch

Re: [PATCH] dmaengine: pl300: enable the clock to PL330 dma

2015-05-04 Thread Dinh Nguyen
+CC Olof On 5/4/15 8:50 AM, Krzysztof Kozlowski wrote: 2015-05-04 22:28 GMT+09:00 Dinh Nguyen dingu...@opensource.altera.com: Hi Krzystof, On 5/4/15 12:30 AM, Krzysztof Kozlowski wrote: 2015-05-04 13:28 GMT+09:00 dingu...@opensource.altera.com: From: Dinh Nguyen dingu

Re: [PATCH] dmaengine: pl300: enable the clock to PL330 dma

2015-05-04 Thread Dinh Nguyen
On 05/04/2015 09:06 AM, Dinh Nguyen wrote: +CC Olof On 5/4/15 8:50 AM, Krzysztof Kozlowski wrote: 2015-05-04 22:28 GMT+09:00 Dinh Nguyen dingu...@opensource.altera.com: Hi Krzystof, On 5/4/15 12:30 AM, Krzysztof Kozlowski wrote: 2015-05-04 13:28 GMT+09:00 dingu...@opensource.altera.com

Re: [PATCH 1/2] ARM: socfpga: dts: Add multicast bins and unicast filter entries

2015-04-21 Thread Dinh Nguyen
On 04/20/2015 11:24 AM, Vince Bridgers wrote: > Add multicast-filter-bins and perfect-filter-entries configuration properties > to the socfpga devicetree for the Arria 10 socfpga. > > Signed-off-by: Vince Bridgers > --- > This patch is based on patches >

Re: [PATCH 1/2] ARM: socfpga: dts: Add multicast bins and unicast filter entries

2015-04-21 Thread Dinh Nguyen
On 04/20/2015 11:24 AM, Vince Bridgers wrote: Add multicast-filter-bins and perfect-filter-entries configuration properties to the socfpga devicetree for the Arria 10 socfpga. Signed-off-by: Vince Bridgers vbrid...@opensource.altera.com --- This patch is based on patches

Re: [trivial PATCH] arm: dts: socfpga: Remove executable permission bits

2015-04-20 Thread Dinh Nguyen
On Mon, Apr 20, 2015 at 10:45 AM, Joe Perches wrote: > On Mon, 2015-04-20 at 10:37 -0500, Dinh Nguyen wrote: >> On Thu, Apr 16, 2015 at 5:54 PM, Rob Herring wrote: >> > +arm-soc >> > On Thu, Apr 16, 2015 at 5:49 PM, Joe Perches wrote: >> >> Change th

Re: [trivial PATCH] arm: dts: socfpga: Remove executable permission bits

2015-04-20 Thread Dinh Nguyen
Hi Joe, On Thu, Apr 16, 2015 at 5:54 PM, Rob Herring wrote: > +arm-soc > > On Thu, Apr 16, 2015 at 5:49 PM, Joe Perches wrote: >> Change the .dts file permissions from 755 to 644. >> >> Signed-off-by: Joe Perches > > ARM dts files go in thru arm-soc tree. > > Acked-by: Rob Herring > Thanks

Re: [trivial PATCH] arm: dts: socfpga: Remove executable permission bits

2015-04-20 Thread Dinh Nguyen
Hi Joe, On Thu, Apr 16, 2015 at 5:54 PM, Rob Herring robherri...@gmail.com wrote: +arm-soc On Thu, Apr 16, 2015 at 5:49 PM, Joe Perches j...@perches.com wrote: Change the .dts file permissions from 755 to 644. Signed-off-by: Joe Perches j...@perches.com ARM dts files go in thru arm-soc

Re: [trivial PATCH] arm: dts: socfpga: Remove executable permission bits

2015-04-20 Thread Dinh Nguyen
On Mon, Apr 20, 2015 at 10:45 AM, Joe Perches j...@perches.com wrote: On Mon, 2015-04-20 at 10:37 -0500, Dinh Nguyen wrote: On Thu, Apr 16, 2015 at 5:54 PM, Rob Herring robherri...@gmail.com wrote: +arm-soc On Thu, Apr 16, 2015 at 5:49 PM, Joe Perches j...@perches.com wrote: Change

Re: [PATCH 0/3] clk: socfpga: Add clock driver for Arria10

2015-04-14 Thread Dinh Nguyen
Hi Mike, Stephen, On 04/02/2015 11:40 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Hi, > > This patch series add the clock driver for the Arria10 platform. Although the > Arria10 SoC's clock framework has some similarities the Cyclone/Arria 5, the > d

Re: [PATCH 0/3] clk: socfpga: Add clock driver for Arria10

2015-04-14 Thread Dinh Nguyen
Hi Mike, Stephen, On 04/02/2015 11:40 PM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Hi, This patch series add the clock driver for the Arria10 platform. Although the Arria10 SoC's clock framework has some similarities the Cyclone/Arria 5

Re: [PATCH v2] ARM: socfpga: dts: Add adxl34x

2015-03-22 Thread Dinh Nguyen
Hi Walter, On 3/19/15 4:27 PM, Walter Lozano wrote: > Hi Dinh, > > On Mon, Mar 16, 2015 at 10:10 AM, Walter Lozano > wrote: >> On Mon, Jan 5, 2015 at 6:21 AM, Steffen Trumtrar >> wrote: >>> Hi! >>> >>> On Wed, Dec 24, 2014 at 08:11:52PM -0300, Walter Lozano wrote: This patch adds the DTS

Re: [PATCH v2] ARM: socfpga: dts: Add adxl34x

2015-03-22 Thread Dinh Nguyen
Hi Walter, On 3/19/15 4:27 PM, Walter Lozano wrote: Hi Dinh, On Mon, Mar 16, 2015 at 10:10 AM, Walter Lozano wal...@vanguardiasur.com.ar wrote: On Mon, Jan 5, 2015 at 6:21 AM, Steffen Trumtrar s.trumt...@pengutronix.de wrote: Hi! On Wed, Dec 24, 2014 at 08:11:52PM -0300, Walter Lozano

Re: [RESEND PATCH 2/2] arm: socfpga: Set share override bit of the l2 cache controller

2015-02-19 Thread Dinh Nguyen
Hi Rob, On 2/19/15 12:13 PM, Rob Herring wrote: > On Thu, Feb 19, 2015 at 11:06 AM, wrote: >> From: Dinh Nguyen >> >> By not having bit 22 set in the PL310 Auxiliary Control register (shared >> attribute override enable) has the side effect of transforming Normal &g

Re: [PATCH] arm: socfpga: Correct SCU virtual mapping in socfpga

2015-02-19 Thread Dinh Nguyen
On Wed, 11 Feb 2015, Vince Bridgers wrote: > Correct SCU virtual mapping that was causing this BUG message: > > "BUG: mapping for 0xfffec000 at 0xfffec000 out of vmalloc space" > > Signed-off-by: Vince Bridgers > --- > arch/arm/mach-socfpga/core.h | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [RESEND PATCH 2/2] arm: socfpga: Set share override bit of the l2 cache controller

2015-02-19 Thread Dinh Nguyen
Hi Rob, On 2/19/15 12:13 PM, Rob Herring wrote: On Thu, Feb 19, 2015 at 11:06 AM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com By not having bit 22 set in the PL310 Auxiliary Control register (shared attribute override enable) has the side effect

Re: [PATCH] arm: socfpga: Correct SCU virtual mapping in socfpga

2015-02-19 Thread Dinh Nguyen
On Wed, 11 Feb 2015, Vince Bridgers wrote: Correct SCU virtual mapping that was causing this BUG message: BUG: mapping for 0xfffec000 at 0xfffec000 out of vmalloc space Signed-off-by: Vince Bridgers vbrid...@opensource.altera.com --- arch/arm/mach-socfpga/core.h | 2 +- 1 file changed,

Re: [PATCH] mtd: denali: Disable sub-page writes in Denali NAND driver

2015-02-03 Thread Dinh Nguyen
Hi Brian, On Wed, Jan 14, 2015 at 9:38 AM, wrote: > From: Graham Moore > > The Denali Controller IP does not support sub-page writes. > > Signed-off-by: Graham Moore > Signed-off-by: Dinh Nguyen > --- > drivers/mtd/nand/denali.c | 3 +++ > 1 file changed, 3 i

Re: [PATCH] mtd: denali: Disable sub-page writes in Denali NAND driver

2015-02-03 Thread Dinh Nguyen
Hi Brian, On Wed, Jan 14, 2015 at 9:38 AM, dingu...@opensource.altera.com wrote: From: Graham Moore grmo...@opensource.altera.com The Denali Controller IP does not support sub-page writes. Signed-off-by: Graham Moore grmo...@opensource.altera.com Signed-off-by: Dinh Nguyen dingu

Re: [PATCH v3] usb: dwc2: add bus suspend/resume for dwc2

2015-01-07 Thread Dinh Nguyen
On 01/05/2015 09:02 PM, Paul Zimmerman wrote: >> From: Kever Yang [mailto:kever.y...@rock-chips.com] >> Sent: Monday, January 05, 2015 5:42 PM >> >> Hi Paul, >> >> I think you need this patch to fix the problem: >> >> usb: dwc2: resume root hub when device detect with suspend state >>

Re: [PATCH v3] usb: dwc2: add bus suspend/resume for dwc2

2015-01-07 Thread Dinh Nguyen
On 01/05/2015 09:02 PM, Paul Zimmerman wrote: From: Kever Yang [mailto:kever.y...@rock-chips.com] Sent: Monday, January 05, 2015 5:42 PM Hi Paul, I think you need this patch to fix the problem: usb: dwc2: resume root hub when device detect with suspend state

Re: [PATCH 2/2] arm: socfpga: Set share override bit of the l2 cache controller

2014-12-17 Thread Dinh Nguyen
Hi Arnd, On 11/21/14, 5:04 AM, Arnd Bergmann wrote: > On Thursday 20 November 2014 23:04:40 dingu...@opensource.altera.com wrote: >> >> --- >> arch/arm/mach-socfpga/socfpga.c | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/arch/arm/mach-socfpga/socfpga.c >>

Re: [PATCH (resend)] mailbox: Add Altera mailbox driver

2014-12-17 Thread Dinh Nguyen
On 12/16/14, 12:33 AM, Ley Foon Tan wrote: > On Tue, Dec 16, 2014 at 4:54 AM, Suman Anna wrote: >> Hi Ley Foon, >> >> On 12/12/2014 08:38 AM, Dinh Nguyen wrote: >>> >>> >>> On 12/12/14, 4:04 AM, Ley Foon Tan wrote: >>>> The Altera

Re: [PATCH (resend)] mailbox: Add Altera mailbox driver

2014-12-17 Thread Dinh Nguyen
On 12/16/14, 12:33 AM, Ley Foon Tan wrote: On Tue, Dec 16, 2014 at 4:54 AM, Suman Anna s-a...@ti.com wrote: Hi Ley Foon, On 12/12/2014 08:38 AM, Dinh Nguyen wrote: On 12/12/14, 4:04 AM, Ley Foon Tan wrote: The Altera mailbox allows for interprocessor communication. It supports only one

Re: [PATCH 2/2] arm: socfpga: Set share override bit of the l2 cache controller

2014-12-17 Thread Dinh Nguyen
Hi Arnd, On 11/21/14, 5:04 AM, Arnd Bergmann wrote: On Thursday 20 November 2014 23:04:40 dingu...@opensource.altera.com wrote: --- arch/arm/mach-socfpga/socfpga.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-socfpga/socfpga.c

Re: [PATCH (resend)] mailbox: Add Altera mailbox driver

2014-12-15 Thread Dinh Nguyen
On 12/15/14, 12:22 AM, Ley Foon Tan wrote: > On Fri, Dec 12, 2014 at 10:38 PM, Dinh Nguyen wrote: > >>> + >>> +#include >>> +#include >>> +#include >>> +#include >>> +#include >>> +#include >>> +#includ

Re: [PATCH (resend)] mailbox: Add Altera mailbox driver

2014-12-15 Thread Dinh Nguyen
On 12/15/14, 12:22 AM, Ley Foon Tan wrote: On Fri, Dec 12, 2014 at 10:38 PM, Dinh Nguyen dinh.li...@gmail.com wrote: + +#include linux/kernel.h +#include linux/module.h +#include linux/device.h +#include linux/platform_device.h +#include linux/interrupt.h +#include linux/io.h

Re: [PATCH (resend)] mailbox: Add Altera mailbox driver

2014-12-12 Thread Dinh Nguyen
On 12/12/14, 4:04 AM, Ley Foon Tan wrote: > The Altera mailbox allows for interprocessor communication. It supports > only one channel and work as either sender or receiver. > > Signed-off-by: Ley Foon Tan > --- > .../devicetree/bindings/mailbox/altera-mailbox.txt | 49 +++ >

Re: [PATCH (resend)] mailbox: Add Altera mailbox driver

2014-12-12 Thread Dinh Nguyen
On 12/12/14, 4:04 AM, Ley Foon Tan wrote: The Altera mailbox allows for interprocessor communication. It supports only one channel and work as either sender or receiver. Signed-off-by: Ley Foon Tan lf...@altera.com --- .../devicetree/bindings/mailbox/altera-mailbox.txt | 49 +++

Re: [PATCH] stmmac: platform: fix stmmac probe failure

2014-12-01 Thread Dinh Nguyen
Apologies for the noise, but it looks like Arnd has already send a patch for this. http://www.spinics.net/lists/netdev/msg306603.html Dinh On 12/1/14, 2:00 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > The commit 571dcfde23712b ("stmmac: platform: fix

Re: [PATCH] stmmac: platform: fix stmmac probe failure

2014-12-01 Thread Dinh Nguyen
Apologies for the noise, but it looks like Arnd has already send a patch for this. http://www.spinics.net/lists/netdev/msg306603.html Dinh On 12/1/14, 2:00 PM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com The commit 571dcfde23712b (stmmac: platform

Re: [PATCH 2/2] arm: socfpga: Set share override bit of the l2 cache controller

2014-11-21 Thread Dinh Nguyen
Hi Arnd, On 11/21/14, 5:04 AM, Arnd Bergmann wrote: > On Thursday 20 November 2014 23:04:40 dingu...@opensource.altera.com wrote: >> >> --- >> arch/arm/mach-socfpga/socfpga.c | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/arch/arm/mach-socfpga/socfpga.c >>

Re: [PATCH 2/2] arm: socfpga: Set share override bit of the l2 cache controller

2014-11-21 Thread Dinh Nguyen
Hi Arnd, On 11/21/14, 5:04 AM, Arnd Bergmann wrote: On Thursday 20 November 2014 23:04:40 dingu...@opensource.altera.com wrote: --- arch/arm/mach-socfpga/socfpga.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-socfpga/socfpga.c

Re: [PATCHv5 2/5] arm: socfpga: Enable OCRAM ECC on startup.

2014-11-11 Thread Dinh Nguyen
d ECC EN defines. > --- > arch/arm/mach-socfpga/Makefile |1 + > arch/arm/mach-socfpga/core.h|1 + > arch/arm/mach-socfpga/ocram.c | 90 > +++ > arch/arm/mach-socfpga/socfpga.c |9 > 4 files changed, 101 insertions(+) &

Re: [PATCHv5 1/5] arm: socfpga: Enable L2 Cache ECC on startup.

2014-11-11 Thread Dinh Nguyen
t; arch/arm/mach-socfpga/core.h |2 ++ > arch/arm/mach-socfpga/l2_cache.c | 41 > ++ > arch/arm/mach-socfpga/socfpga.c |4 +++- > 4 files changed, 47 insertions(+), 1 deletion(-) > create mode 100644 arch/arm/mach-socfpga/l2_cach

Re: [PATCHv5 1/5] arm: socfpga: Enable L2 Cache ECC on startup.

2014-11-11 Thread Dinh Nguyen
/mach-socfpga/core.h |2 ++ arch/arm/mach-socfpga/l2_cache.c | 41 ++ arch/arm/mach-socfpga/socfpga.c |4 +++- 4 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 arch/arm/mach-socfpga/l2_cache.c Acked-by: Dinh Nguyen dingu

Re: [PATCHv5 2/5] arm: socfpga: Enable OCRAM ECC on startup.

2014-11-11 Thread Dinh Nguyen
-socfpga/ocram.c Acked-by: Dinh Nguyen dingu...@opensource.altera.com -- 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

Re: [PATCHv4 2/5] arm: socfpga: Enable OCRAM ECC on startup.

2014-11-07 Thread Dinh Nguyen
Hi Thor, On 11/07/2014 10:54 AM, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > This patch enables the ECC for On-Chip RAM on machine > startup. The ECC has to be enabled before data is > is stored in memory otherwise the ECC will fail on > reads. > > Signed-off-by: Thor Thayer

Re: [PATCHv4 1/5] arm: socfpga: Enable L2 Cache ECC on startup.

2014-11-07 Thread Dinh Nguyen
Hi Thor, On 11/07/2014 10:54 AM, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > This patch enables the ECC for L2 cache on machine > startup. The ECC has to be enabled before data is > is stored in memory otherwise the ECC will fail on > reads. > > Signed-off-by: Thor Thayer >

Re: [PATCHv3 4/5] edac: altera: Add Altera L2 Cache and OCRAM EDAC Support

2014-11-07 Thread Dinh Nguyen
Hi Boris, On 11/06/2014 10:31 AM, Borislav Petkov wrote: > Hi Thor, > > On Tue, Nov 04, 2014 at 04:57:44PM -0600, Thor Thayer wrote: >> We want to at least separate L2/OCRAM ECC from the SDRAM ECC because >> 1) the SDRAM preparation can take almost 2 seconds on boot and some >> customers need a

Re: [PATCHv3 4/5] edac: altera: Add Altera L2 Cache and OCRAM EDAC Support

2014-11-07 Thread Dinh Nguyen
Hi Boris, On 11/06/2014 10:31 AM, Borislav Petkov wrote: Hi Thor, On Tue, Nov 04, 2014 at 04:57:44PM -0600, Thor Thayer wrote: We want to at least separate L2/OCRAM ECC from the SDRAM ECC because 1) the SDRAM preparation can take almost 2 seconds on boot and some customers need a faster

Re: [PATCHv4 1/5] arm: socfpga: Enable L2 Cache ECC on startup.

2014-11-07 Thread Dinh Nguyen
Hi Thor, On 11/07/2014 10:54 AM, ttha...@opensource.altera.com wrote: From: Thor Thayer ttha...@opensource.altera.com This patch enables the ECC for L2 cache on machine startup. The ECC has to be enabled before data is is stored in memory otherwise the ECC will fail on reads.

Re: [PATCHv4 2/5] arm: socfpga: Enable OCRAM ECC on startup.

2014-11-07 Thread Dinh Nguyen
Hi Thor, On 11/07/2014 10:54 AM, ttha...@opensource.altera.com wrote: From: Thor Thayer ttha...@opensource.altera.com This patch enables the ECC for On-Chip RAM on machine startup. The ECC has to be enabled before data is is stored in memory otherwise the ECC will fail on reads.

Re: [PATCH] reset: add socfpga_reset_status

2014-10-31 Thread Dinh Nguyen
Hi Philipp, On 10/24/2014 10:53 AM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Populate the reset_status callback for SOCFPGA. > > Signed-off-by: Alan Tull > Signed-off-by: Dinh Nguyen > --- > drivers/reset/reset-socfpga.c | 18

Re: [PATCHv6 6/8] usb: dwc2: gadget: Do not fail probe if there isn't a clock node

2014-10-31 Thread Dinh Nguyen
On 10/31/2014 02:31 PM, Dinh Nguyen wrote: > On 10/31/2014 12:42 PM, Felipe Balbi wrote: >> Hi, >> >> On Fri, Oct 31, 2014 at 10:20:06AM -0500, Dinh Nguyen wrote: >>>>> @@ -339,7 +339,8 @@ static void dwc2_handle_wakeup_detected_

Re: [PATCHv6 6/8] usb: dwc2: gadget: Do not fail probe if there isn't a clock node

2014-10-31 Thread Dinh Nguyen
On 10/31/2014 12:42 PM, Felipe Balbi wrote: > Hi, > > On Fri, Oct 31, 2014 at 10:20:06AM -0500, Dinh Nguyen wrote: >>>> @@ -339,7 +339,8 @@ static void dwc2_handle_wakeup_detected_intr(struct >>>> dwc2_hsotg *hsotg) >>>>} >>>>

Re: [PATCHv6 6/8] usb: dwc2: gadget: Do not fail probe if there isn't a clock node

2014-10-31 Thread Dinh Nguyen
On 10/30/2014 09:04 AM, Felipe Balbi wrote: > Hi, > > On Tue, Oct 28, 2014 at 06:25:47PM -0500, dingu...@opensource.altera.com > wrote: >> From: Dinh Nguyen >> >> Since the dwc2 hcd driver is currently not looking for a clock node during >> init, we shoul

Re: [PATCHv6 1/8] usb: dwc2: Update the gadget driver to use common dwc2_hsotg structure

2014-10-31 Thread Dinh Nguyen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/30/2014 08:54 AM, Felipe Balbi wrote: > On Tue, Oct 28, 2014 at 06:25:42PM -0500, > dingu...@opensource.altera.com wrote: >> From: Dinh Nguyen >> >> Adds the gadget data structure and appropriate data structure &

Re: [PATCHv6 5/8] usb: dwc2: Add call_gadget functions for perpheral mode interrupts

2014-10-31 Thread Dinh Nguyen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/30/2014 09:01 AM, Felipe Balbi wrote: > On Tue, Oct 28, 2014 at 06:25:46PM -0500, > dingu...@opensource.altera.com wrote: >> From: Dinh Nguyen >> >> Update the dwc2 wakeup and suspend interrupt functions to use &g

Re: [PATCHv6 4/8] usb: dwc2: Update common interrupt handler to call gadget interrupt handler

2014-10-31 Thread Dinh Nguyen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/30/2014 09:00 AM, Felipe Balbi wrote: > Hi, > > On Tue, Oct 28, 2014 at 06:25:45PM -0500, > dingu...@opensource.altera.com wrote: >> From: Dinh Nguyen >> >> Make dwc2_handle_common_intr call the gadget interr

Re: [PATCHv6 2/8] usb: dwc2: Move gadget probe function into platform code

2014-10-31 Thread Dinh Nguyen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/30/2014 08:57 AM, Felipe Balbi wrote: > On Tue, Oct 28, 2014 at 06:25:43PM -0500, > dingu...@opensource.altera.com wrote: >> From: Dinh Nguyen >> >> This patch will aggregate the probing of gadget/hcd driver into &

Re: [PATCHv6 2/8] usb: dwc2: Move gadget probe function into platform code

2014-10-31 Thread Dinh Nguyen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/30/2014 08:57 AM, Felipe Balbi wrote: On Tue, Oct 28, 2014 at 06:25:43PM -0500, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com This patch will aggregate the probing of gadget/hcd driver

Re: [PATCHv6 4/8] usb: dwc2: Update common interrupt handler to call gadget interrupt handler

2014-10-31 Thread Dinh Nguyen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/30/2014 09:00 AM, Felipe Balbi wrote: Hi, On Tue, Oct 28, 2014 at 06:25:45PM -0500, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Make dwc2_handle_common_intr call the gadget interrupt function

Re: [PATCHv6 5/8] usb: dwc2: Add call_gadget functions for perpheral mode interrupts

2014-10-31 Thread Dinh Nguyen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/30/2014 09:01 AM, Felipe Balbi wrote: On Tue, Oct 28, 2014 at 06:25:46PM -0500, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Update the dwc2 wakeup and suspend interrupt functions to use

Re: [PATCHv6 1/8] usb: dwc2: Update the gadget driver to use common dwc2_hsotg structure

2014-10-31 Thread Dinh Nguyen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/30/2014 08:54 AM, Felipe Balbi wrote: On Tue, Oct 28, 2014 at 06:25:42PM -0500, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Adds the gadget data structure and appropriate data structure pointers

Re: [PATCHv6 6/8] usb: dwc2: gadget: Do not fail probe if there isn't a clock node

2014-10-31 Thread Dinh Nguyen
On 10/30/2014 09:04 AM, Felipe Balbi wrote: Hi, On Tue, Oct 28, 2014 at 06:25:47PM -0500, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Since the dwc2 hcd driver is currently not looking for a clock node during init, we should not completely fail

Re: [PATCHv6 6/8] usb: dwc2: gadget: Do not fail probe if there isn't a clock node

2014-10-31 Thread Dinh Nguyen
On 10/31/2014 12:42 PM, Felipe Balbi wrote: Hi, On Fri, Oct 31, 2014 at 10:20:06AM -0500, Dinh Nguyen wrote: @@ -339,7 +339,8 @@ static void dwc2_handle_wakeup_detected_intr(struct dwc2_hsotg *hsotg) } /* Change to L0 state */ hsotg-lx_state = DWC2_L0

Re: [PATCHv6 6/8] usb: dwc2: gadget: Do not fail probe if there isn't a clock node

2014-10-31 Thread Dinh Nguyen
On 10/31/2014 02:31 PM, Dinh Nguyen wrote: On 10/31/2014 12:42 PM, Felipe Balbi wrote: Hi, On Fri, Oct 31, 2014 at 10:20:06AM -0500, Dinh Nguyen wrote: @@ -339,7 +339,8 @@ static void dwc2_handle_wakeup_detected_intr(struct dwc2_hsotg *hsotg) } /* Change to L0 state

Re: [PATCH] reset: add socfpga_reset_status

2014-10-31 Thread Dinh Nguyen
Hi Philipp, On 10/24/2014 10:53 AM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Populate the reset_status callback for SOCFPGA. Signed-off-by: Alan Tull at...@opensource.altera.com Signed-off-by: Dinh Nguyen dingu...@opensource.altera.com

Re: [PATCHv6 8/8] usb: dwc2: move usb_disabled() call to host driver only

2014-10-29 Thread Dinh Nguyen
tionality, move >> the call the host portion for the DWC2 driver. >> >> Signed-off-by: Dinh Nguyen >> --- >> drivers/usb/dwc2/hcd.c | 3 +++ >> drivers/usb/dwc2/platform.c | 3 --- >> 2 files changed, 3 insertions(+), 3 deletions(-) >> >> di

Re: [PATCHv6 8/8] usb: dwc2: move usb_disabled() call to host driver only

2014-10-29 Thread Dinh Nguyen
in the following build error when (!USB USB_GADGET) condition is met. ERROR: usb_disabled [drivers/usb/dwc2/dwc2_platform.ko] undefined! Since usb_disabled() is mostly used to disable USB host functionality, move the call the host portion for the DWC2 driver. Signed-off-by: Dinh Nguyen dingu

Re: [PATCHv3] reset: add reset_control_status helper function

2014-10-24 Thread Dinh Nguyen
On 10/24/2014 07:07 AM, Philipp Zabel wrote: > Hi Dinh, > > On Thu, Oct 23, 2014 at 10:01:45AM -0500, Dinh Nguyen wrote: >> Hi Philipp, >> >> On 10/10/2014 10:21 AM, dingu...@opensource.altera.com wrote: >>> From: Dinh Nguyen >>> >>> Th

Re: [PATCHv3] reset: add reset_control_status helper function

2014-10-24 Thread Dinh Nguyen
On 10/24/2014 07:07 AM, Philipp Zabel wrote: Hi Dinh, On Thu, Oct 23, 2014 at 10:01:45AM -0500, Dinh Nguyen wrote: Hi Philipp, On 10/10/2014 10:21 AM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com There are cases where a system will want to read

Re: [PATCHv5 7/7] usb: dwc2: Update Kconfig to support dual-role

2014-10-23 Thread Dinh Nguyen
On 10/23/2014 01:28 PM, Paul Zimmerman wrote: >> From: Bartlomiej Zolnierkiewicz [mailto:b.zolnier...@samsung.com] >> Sent: Wednesday, October 22, 2014 5:26 AM >> >> On Monday, October 20, 2014 01:52:06 PM dingu...@opensource.altera.com wrote: >>> F

Re: [PATCHv5 7/7] usb: dwc2: Update Kconfig to support dual-role

2014-10-23 Thread Dinh Nguyen
On 10/22/2014 03:27 PM, Paul Bolle wrote: > On Tue, 2014-10-21 at 15:47 -0500, Dinh Nguyen wrote: >> On 10/20/2014 02:42 PM, Paul Bolle wrote: >>> (Side note: drivers/usb/dwc2/Kconfig is sourced (in drivers/usb/Kconfig) >>> even if USB is _not_ set. But USB_DCW

Re: [PATCHv3] reset: add reset_control_status helper function

2014-10-23 Thread Dinh Nguyen
Hi Philipp, On 10/10/2014 10:21 AM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > There are cases where a system will want to read a reset status bit before > doing any other toggling. Add a reset_control_status helper function to the > reset controller API.

Re: [PATCH v3 2/2] socfpga: support suspend to ram

2014-10-23 Thread Dinh Nguyen
er/state > > Signed-off-by: Alan Tull > Cc: Pavel Machek > Cc: Arnd Bergmann > Cc: Dinh Nguyen > Cc: Steffen Trumtrar > --- > v2: use Generic on-chip SRAM driver to allocate ocram > rm fncpy_align since generic allocator handles alignment > check __arm_ioremap_e

Re: [PATCH v3 2/2] socfpga: support suspend to ram

2014-10-23 Thread Dinh Nguyen
at...@opensource.altera.com Cc: Pavel Machek pa...@denx.de Cc: Arnd Bergmann a...@arndb.de Cc: Dinh Nguyen dingu...@opensource.altera.com Cc: Steffen Trumtrar s.trumt...@pengutronix.de --- v2: use Generic on-chip SRAM driver to allocate ocram rm fncpy_align since generic allocator handles alignment

Re: [PATCHv3] reset: add reset_control_status helper function

2014-10-23 Thread Dinh Nguyen
Hi Philipp, On 10/10/2014 10:21 AM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com There are cases where a system will want to read a reset status bit before doing any other toggling. Add a reset_control_status helper function to the reset controller

Re: [PATCHv5 7/7] usb: dwc2: Update Kconfig to support dual-role

2014-10-23 Thread Dinh Nguyen
On 10/22/2014 03:27 PM, Paul Bolle wrote: On Tue, 2014-10-21 at 15:47 -0500, Dinh Nguyen wrote: On 10/20/2014 02:42 PM, Paul Bolle wrote: (Side note: drivers/usb/dwc2/Kconfig is sourced (in drivers/usb/Kconfig) even if USB is _not_ set. But USB_DCW2 still depends on USB. Why

Re: [PATCHv5 7/7] usb: dwc2: Update Kconfig to support dual-role

2014-10-23 Thread Dinh Nguyen
On 10/23/2014 01:28 PM, Paul Zimmerman wrote: From: Bartlomiej Zolnierkiewicz [mailto:b.zolnier...@samsung.com] Sent: Wednesday, October 22, 2014 5:26 AM On Monday, October 20, 2014 01:52:06 PM dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com config

Re: [PATCHv5 7/7] usb: dwc2: Update Kconfig to support dual-role

2014-10-21 Thread Dinh Nguyen
On 10/20/2014 02:42 PM, Paul Bolle wrote: > dingu...@opensource.altera.com schreef op ma 20-10-2014 om 13:52 > [-0500]: >> From: Dinh Nguyen >> >> Update DWC2 kconfig and makefile to support dual-role mode. The platform >> file will always get compiled for

Re: [PATCHv5 7/7] usb: dwc2: Update Kconfig to support dual-role

2014-10-21 Thread Dinh Nguyen
On 10/20/2014 02:42 PM, Paul Bolle wrote: dingu...@opensource.altera.com schreef op ma 20-10-2014 om 13:52 [-0500]: From: Dinh Nguyen dingu...@opensource.altera.com Update DWC2 kconfig and makefile to support dual-role mode. The platform file will always get compiled for the case where

Re: [PATCH v3 0/2] socfpga: fix hotplug/add suspend to ram

2014-10-15 Thread Dinh Nguyen
On Tue, 14 Oct 2014, at...@opensource.altera.com wrote: > From: Alan Tull > > Patch 1: socfpga: hotplug: put cpu1 in wfi > Use WFI when putting CPU1 to sleep. Don't hold CPU1 in reset > since that results in increased power consumption. Only > briefly reset CPU1. > > Patch 2: socfpga:

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-15 Thread Dinh Nguyen
On 10/15/14, 5:02 AM, Steffen Trumtrar wrote: > Hi! > > On Tue, Oct 14, 2014 at 01:45:29PM -0500, atull wrote: >> The FPGA bridge driver that I submitted last year handled the following >> things: >> * The bridges might have been brought out of reset in the bootloader. Some >>of the

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-15 Thread Dinh Nguyen
On 10/15/14, 5:02 AM, Steffen Trumtrar wrote: Hi! On Tue, Oct 14, 2014 at 01:45:29PM -0500, atull wrote: The FPGA bridge driver that I submitted last year handled the following things: * The bridges might have been brought out of reset in the bootloader. Some of the bridges have

Re: [PATCH v3 0/2] socfpga: fix hotplug/add suspend to ram

2014-10-15 Thread Dinh Nguyen
On Tue, 14 Oct 2014, at...@opensource.altera.com wrote: From: Alan Tull at...@opensource.altera.com Patch 1: socfpga: hotplug: put cpu1 in wfi Use WFI when putting CPU1 to sleep. Don't hold CPU1 in reset since that results in increased power consumption. Only briefly reset CPU1.

Re: [PATCH] reset: add reset_control_status helper function

2014-10-09 Thread Dinh Nguyen
Hi Philipp, On 10/9/14, 3:44 AM, Philipp Zabel wrote: > Hi Dinh, > > thank you for the patch. Just two small issues below: > > Am Mittwoch, den 08.10.2014, 17:45 -0500 schrieb > dingu...@opensource.altera.com: > [...] >> @@ -126,6 +126,19 @@ int reset_control_deassert(struct reset_control

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-09 Thread Dinh Nguyen
Hi Philipp, On 10/9/14, 4:03 AM, Philipp Zabel wrote: > Am Mittwoch, den 08.10.2014, 21:44 -0500 schrieb > dingu...@opensource.altera.com: >> From: Dinh Nguyen >> >> There are certain drivers that are required to get loaded very early using >> arch_initcal

Re: [PATCH] reset: socfpga: use arch_initcall for early initialization

2014-10-09 Thread Dinh Nguyen
Hi Philipp, On 10/9/14, 4:03 AM, Philipp Zabel wrote: Am Mittwoch, den 08.10.2014, 21:44 -0500 schrieb dingu...@opensource.altera.com: From: Dinh Nguyen dingu...@opensource.altera.com There are certain drivers that are required to get loaded very early using arch_initcall. An example

Re: [PATCH] reset: add reset_control_status helper function

2014-10-09 Thread Dinh Nguyen
Hi Philipp, On 10/9/14, 3:44 AM, Philipp Zabel wrote: Hi Dinh, thank you for the patch. Just two small issues below: Am Mittwoch, den 08.10.2014, 17:45 -0500 schrieb dingu...@opensource.altera.com: [...] @@ -126,6 +126,19 @@ int reset_control_deassert(struct reset_control *rstc)

Re: [PATCH v3 3/5] ARM: dts: sun9i: Add A80 Optimus Board support

2014-10-08 Thread Dinh Nguyen
On 10/8/14, 8:02 AM, Chen-Yu Tsai wrote: > The A80 Optimus Board is was launched with the Allwinner A80 SoC. > It was jointly developed by Allwinner and Merrii. > > This board has a UART port, a JTAG connector, USB host ports, a USB > 3.0 OTG connector, an HDMI output, a micro SD slot, 8G NAND

Re: [PATCH v3 3/5] ARM: dts: sun9i: Add A80 Optimus Board support

2014-10-08 Thread Dinh Nguyen
On 10/8/14, 8:02 AM, Chen-Yu Tsai wrote: The A80 Optimus Board is was launched with the Allwinner A80 SoC. It was jointly developed by Allwinner and Merrii. This board has a UART port, a JTAG connector, USB host ports, a USB 3.0 OTG connector, an HDMI output, a micro SD slot, 8G NAND

Re: socfpga ethernet problems with ethernet in 3.17 with u-boot-2013.01.01

2014-10-07 Thread Dinh Nguyen
On 10/07/2014 07:10 AM, Pavel Machek wrote: > Hi! > > After some testing: > > u-boot-2013.01.01 + linux-3.17 => ethernet does not work > (unless ethernet is used in u-boot, for example > using ping) > u-boot-marex-20140920a + linux-3.17 => working

Re: socfpga ethernet problems with ethernet in 3.17 with u-boot-2013.01.01

2014-10-07 Thread Dinh Nguyen
On 10/07/2014 07:10 AM, Pavel Machek wrote: Hi! After some testing: u-boot-2013.01.01 + linux-3.17 = ethernet does not work (unless ethernet is used in u-boot, for example using ping) u-boot-marex-20140920a + linux-3.17 = working ethernet One

Re: [PATCH 1/2] socfpga: hotplug: put cpu1 in wfi

2014-10-02 Thread Dinh Nguyen
On 10/1/14, 6:16 PM, Pavel Machek wrote: > On Wed 2014-10-01 11:07:18, Dinh Nguyen wrote: >> >> >> On 10/1/14, 10:04 AM, Pavel Machek wrote: >>> Hi! >>> >>>>>> +__raw_writel(RSTMGR_MPUMODRST_CPU1, >>

Re: [PATCH 1/2] socfpga: hotplug: put cpu1 in wfi

2014-10-02 Thread Dinh Nguyen
On 10/1/14, 6:16 PM, Pavel Machek wrote: On Wed 2014-10-01 11:07:18, Dinh Nguyen wrote: On 10/1/14, 10:04 AM, Pavel Machek wrote: Hi! +__raw_writel(RSTMGR_MPUMODRST_CPU1, + rst_manager_base_addr + 0x10); Would it be possible to copy reset

Re: [PATCH 1/2] socfpga: hotplug: put cpu1 in wfi

2014-10-01 Thread Dinh Nguyen
On 10/1/14, 10:04 AM, Pavel Machek wrote: > Hi! > + __raw_writel(RSTMGR_MPUMODRST_CPU1, + rst_manager_base_addr + 0x10); >>> >>> Would it be possible to copy reset manager description struct from >>> u-boot and use it here, instead of raw offset? >> >> I

<    1   2   3   4   5   6   7   >