Re: [U-Boot] SoCFPGA PL330 DMA driver and ECC scrubbing

2018-07-13 Thread Jason Rush
On 7/11/2018 1:54 PM, Marek Vasut wrote: > On 07/11/2018 07:30 PM, Trent Piepho wrote: >> On Wed, 2018-07-11 at 08:56 -0500, Jason Rush wrote: >>> On 7/11/2018 8:48 AM, Marek Vasut wrote: >>>> On 07/11/2018 03:49 PM, Jason Rush wrote: >>>>> My mistake.

Re: [U-Boot] SoCFPGA PL330 DMA driver and ECC scrubbing

2018-07-11 Thread Jason Rush
On 7/11/2018 8:48 AM, Marek Vasut wrote: > On 07/11/2018 03:49 PM, Jason Rush wrote: >> On 7/11/2018 3:55 AM, Marek Vasut wrote: >>> On 07/11/2018 05:11 AM, Jason Rush wrote: >>> [...] >>> >>>>>>>> However, if I press the HPS

Re: [U-Boot] SoCFPGA PL330 DMA driver and ECC scrubbing

2018-07-11 Thread Jason Rush
On 7/11/2018 3:55 AM, Marek Vasut wrote: > On 07/11/2018 05:11 AM, Jason Rush wrote: > [...] > >>>>>> However, if I press the HPS_RST push button on the SoCKit (which is >>>>>> connected >>>>>> to power on reset), occasionally U-B

Re: [U-Boot] SoCFPGA PL330 DMA driver and ECC scrubbing

2018-07-10 Thread Jason Rush
On 7/10/2018 11:11 AM, Marek Vasut wrote: > On 07/10/2018 02:10 PM, Jason Rush wrote: >> On 7/9/2018 3:08 AM, Marek Vasut wrote: >>> On 07/07/2018 12:56 AM, Jason Rush wrote: >>>> On 7/5/2018 6:10 PM, Marek Vasut wrote: >>>>> On 07/06/2018 01:11 AM,

Re: [U-Boot] SoCFPGA PL330 DMA driver and ECC scrubbing

2018-07-10 Thread Jason Rush
On 7/9/2018 3:08 AM, Marek Vasut wrote: > On 07/07/2018 12:56 AM, Jason Rush wrote: >> On 7/5/2018 6:10 PM, Marek Vasut wrote: >>> On 07/06/2018 01:11 AM, Jason Rush wrote: >>>> On 7/4/2018 2:23 AM, Marek Vasut wrote: >>>>> On 07/04/2018 01:45 AM,

Re: [U-Boot] SoCFPGA PL330 DMA driver and ECC scrubbing

2018-07-06 Thread Jason Rush
On 7/5/2018 6:10 PM, Marek Vasut wrote: > On 07/06/2018 01:11 AM, Jason Rush wrote: >> On 7/4/2018 2:23 AM, Marek Vasut wrote: >>> On 07/04/2018 01:45 AM, Jason Rush wrote: >>>> On 7/3/2018 9:08 AM, Marek Vasut wrote: >>>>> On 07/03/2018 03:58 PM, J

Re: [U-Boot] SoCFPGA PL330 DMA driver and ECC scrubbing

2018-07-05 Thread Jason Rush
On 7/5/2018 6:10 PM, Marek Vasut wrote: > On 07/06/2018 01:11 AM, Jason Rush wrote: >> On 7/4/2018 2:23 AM, Marek Vasut wrote: >>> On 07/04/2018 01:45 AM, Jason Rush wrote: >>>> On 7/3/2018 9:08 AM, Marek Vasut wrote: >>>>> On 07/03/2018 03:58 PM, J

Re: [U-Boot] SoCFPGA PL330 DMA driver and ECC scrubbing

2018-07-05 Thread Jason Rush
On 7/4/2018 2:23 AM, Marek Vasut wrote: > On 07/04/2018 01:45 AM, Jason Rush wrote: >> On 7/3/2018 9:08 AM, Marek Vasut wrote: >>> On 07/03/2018 03:58 PM, Jason Rush wrote: >>>> On 6/29/2018 10:17 AM, Marek Vasut wrote: >>>>> On 06/29/2018 05:06 PM,

Re: [U-Boot] SoCFPGA PL330 DMA driver and ECC scrubbing

2018-07-03 Thread Jason Rush
On 7/3/2018 9:08 AM, Marek Vasut wrote: > On 07/03/2018 03:58 PM, Jason Rush wrote: >> On 6/29/2018 10:17 AM, Marek Vasut wrote: >>> On 06/29/2018 05:06 PM, Jason Rush wrote: >>>> On 6/29/2018 9:52 AM, Marek Vasut wrote: >>>>> On 06/29/2018 04:44 PM,

Re: [U-Boot] SoCFPGA PL330 DMA driver and ECC scrubbing

2018-07-03 Thread Jason Rush
On 6/29/2018 10:17 AM, Marek Vasut wrote: > On 06/29/2018 05:06 PM, Jason Rush wrote: >> On 6/29/2018 9:52 AM, Marek Vasut wrote: >>> On 06/29/2018 04:44 PM, Jason Rush wrote: >>>> On 6/29/2018 9:34 AM, Marek Vasut wrote: >>>>> On 06/29/2018 04:3

Re: [U-Boot] SoCFPGA PL330 DMA driver and ECC scrubbing

2018-06-29 Thread Jason Rush
On 6/29/2018 9:52 AM, Marek Vasut wrote: > On 06/29/2018 04:44 PM, Jason Rush wrote: >> On 6/29/2018 9:34 AM, Marek Vasut wrote: >>> On 06/29/2018 04:31 PM, Jason Rush wrote: >>>> Dinh, >>> Hi, >>> >>>> A while ago, you posted the fol

Re: [U-Boot] SoCFPGA PL330 DMA driver and ECC scrubbing

2018-06-29 Thread Jason Rush
On 6/29/2018 9:34 AM, Marek Vasut wrote: > On 06/29/2018 04:31 PM, Jason Rush wrote: >> Dinh, > Hi, > >> A while ago, you posted the following patchset for SoCFPGA to add the PL330 >> DMA driver, and updated the SoCFPGA SDRAM init to write zeros to SDRAM to >&g

[U-Boot] SoCFPGA PL330 DMA driver and ECC scrubbing

2018-06-29 Thread Jason Rush
Dinh, A while ago, you posted the following patchset for SoCFPGA to add the PL330 DMA driver, and updated the SoCFPGA SDRAM init to write zeros to SDRAM to initialize the ECC bits if ECC was enabled: https://lists.denx.de/pipermail/u-boot/2016-October/269643.html I know it's been a long time,

Re: [U-Boot] [PATCH v6 0/4] spi: cadence_spi: Adopt Linux DT bindings

2018-01-25 Thread Jason Rush
On 1/23/2018 5:13 PM, Jason Rush wrote: > Adopt the Linux DT bindings. This also fixes an issue > with the indaddrtrig register on the Cadence QSPI > device being programmed with the wrong value for the > socfpga arch. > > Tested on TI K2G platform: > Tested-by: Vigne

[U-Boot] [PATCH v6 2/4] dts: cadence_spi: Sync DT bindings with Linux

2018-01-23 Thread Jason Rush
e.pepperl-fuchs.com> Signed-off-by: Jason Rush <jar...@gmail.com> Reviewed-by: Jagan Teki <ja...@openedev.com> Acked-by: Simon Goldschmidt <sgoldschm...@de.pepperl-fuchs.com> Acked-by: Marek Vasut <ma...@denx.de> --- Changes for v6: - Squashed fix for indentation in

[U-Boot] [PATCH v6 4/4] dts: cadence_spi: Update documentation for DT bindings

2018-01-23 Thread Jason Rush
Update documentation to reflect adopting the Linux DT bindings. Tested on TI K2G platform: Tested-by: Vignesh R <vigne...@ti.com> Tested on a socfpga-cyclonev board: Tested-by: Simon Goldschmidt <sgoldschm...@de.pepperl-fuchs.com> Signed-off-by: Jason Rush <jar...@gmail.com>

[U-Boot] [PATCH v6 1/4] spi: cadence_spi: Sync DT bindings with Linux

2018-01-23 Thread Jason Rush
Simon Goldschmidt <sgoldschm...@de.pepperl-fuchs.com> Signed-off-by: Jason Rush <jar...@gmail.com> Reviewed-by: Jagan Teki <ja...@openedev.com> Acked-by: Simon Goldschmidt <sgoldschm...@de.pepperl-fuchs.com> Acked-by: Marek Vasut <ma...@denx.de> --- Changes fo

[U-Boot] [PATCH v6 3/4] config: cadence_spi: Remove defines read from DT

2018-01-23 Thread Jason Rush
Cleanup unused #define values that are read from the DT. Tested on TI K2G platform: Tested-by: Vignesh R <vigne...@ti.com> Tested on a socfpga-cyclonev board: Tested-by: Simon Goldschmidt <sgoldschm...@de.pepperl-fuchs.com> Signed-off-by: Jason Rush <jar...@gmail.com> Revie

[U-Boot] [PATCH v6 0/4] spi: cadence_spi: Adopt Linux DT bindings

2018-01-23 Thread Jason Rush
Simon Goldschmidt <sgoldschm...@de.pepperl-fuchs.com> Signed-off-by: Jason Rush <jar...@gmail.com> Reviewed-by: Jagan Teki <ja...@openedev.com> Acked-by: Simon Goldschmidt <sgoldschm...@de.pepperl-fuchs.com> Acked-by: Marek Vasut <ma...@denx.de> Jason Rush (4): spi: cade

Re: [U-Boot] [PATCH v5 2/5] dts: cadence_spi: Sync DT bindings with Linux

2018-01-23 Thread Jason Rush
On 1/23/2018 8:25 AM, Jagan Teki wrote: > On Tue, Jan 23, 2018 at 7:45 PM, Jason Rush <jar...@gmail.com> wrote: >> On 1/23/2018 3:16 AM, Jagan Teki wrote: >>> On Sat, Jan 6, 2018 at 11:47 PM, Jason Rush <jar...@gmail.com> wrote: >>>> Adopt th

Re: [U-Boot] [PATCH v5 2/5] dts: cadence_spi: Sync DT bindings with Linux

2018-01-23 Thread Jason Rush
On 1/23/2018 3:16 AM, Jagan Teki wrote: > On Sat, Jan 6, 2018 at 11:47 PM, Jason Rush <jar...@gmail.com> wrote: >> Adopt the Linux DT bindings and clean-up duplicate >> and unused values. >> >> Tested on TI K2G platform: >> Tested-by: Vignesh R <vigne...@

Re: [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2018-01-17 Thread Jason Rush
On 1/17/2018 7:46 AM, RB23 wrote: > i checked, and if you mean these patches: > https://patchwork.ozlabs.org/patch/765992/ > https://patchwork.ozlabs.org/patch/765996/ > https://patchwork.ozlabs.org/patch/765997/ > https://patchwork.ozlabs.org/patch/765998/ > > i already applied them, and they

Re: [U-Boot] [PATCH v2 0/3] cadence-quadspi: Fix issues with non 32bit aligned accesses

2018-01-15 Thread Jason Rush
enderten E-Mails. > > > Important Information: > This e-mail message including its attachments contains confidential and > legally protected information solely intended for the addressee. If you are > not the intended addressee of this message, please contact the addresser >

Re: [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2018-01-07 Thread Jason Rush
On 1/7/2018 5:39 AM, Marek Vasut wrote: > On 01/06/2018 10:09 PM, Jason Rush wrote: >> On 1/6/2018 1:29 PM, Marek Vasut wrote: >>> On 01/06/2018 07:46 PM, Jason Rush wrote: >>>> On 1/6/2018 9:42 AM, Marek Vasut wrote: >> >> >>>> There w

Re: [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2018-01-06 Thread Jason Rush
On 1/6/2018 1:29 PM, Marek Vasut wrote: > On 01/06/2018 07:46 PM, Jason Rush wrote: >> On 1/6/2018 9:42 AM, Marek Vasut wrote: >> There was a minor upstream change to one of the files since I submitted v4 >> of my >> cadence device-tree patchset, so I rebased and

Re: [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2018-01-06 Thread Jason Rush
01/05/2018 04:49 PM, Goldschmidt Simon wrote: >>>> >>>> >>>>>>>> OK, so I need these patches to get qspi work on socfpga: >>>>>>>> >>>>>>>> - Series "spi: cadence_spi: Adopt Linux DT bindings" (v4) from Jas

[U-Boot] [PATCH v5 4/5] dts: k2g: Clean-up indentation

2018-01-06 Thread Jason Rush
Fix indentation of the QSPI node. Tested on TI K2G platform: Tested-by: Vignesh R <vigne...@ti.com> Tested on a socfpga-cyclonev board: Tested-by: Simon Goldschmidt <sgoldschm...@de.pepperl-fuchs.com> Signed-off-by: Jason Rush <jar...@gmail.com> Cc: Marek Vasut <ma...

[U-Boot] [PATCH v5 5/5] dts: cadence_spi: Update documentation for DT bindings

2018-01-06 Thread Jason Rush
Update documentation to reflect adopting the Linux DT bindings. Tested on TI K2G platform: Tested-by: Vignesh R <vigne...@ti.com> Tested on a socfpga-cyclonev board: Tested-by: Simon Goldschmidt <sgoldschm...@de.pepperl-fuchs.com> Signed-off-by: Jason Rush <jar...@gmail.com> C

[U-Boot] [PATCH v5 3/5] config: cadence_spi: Remove defines read from DT

2018-01-06 Thread Jason Rush
Cleanup unused #define values that are read from the DT. Tested on TI K2G platform: Tested-by: Vignesh R <vigne...@ti.com> Tested on a socfpga-cyclonev board: Tested-by: Simon Goldschmidt <sgoldschm...@de.pepperl-fuchs.com> Signed-off-by: Jason Rush <jar...@gmail.com> C

[U-Boot] [PATCH v5 2/5] dts: cadence_spi: Sync DT bindings with Linux

2018-01-06 Thread Jason Rush
Adopt the Linux DT bindings and clean-up duplicate and unused values. Tested on TI K2G platform: Tested-by: Vignesh R <vigne...@ti.com> Tested on a socfpga-cyclonev board: Tested-by: Simon Goldschmidt <sgoldschm...@de.pepperl-fuchs.com> Signed-off-by: Jason Rush <jar...@gmail

[U-Boot] [PATCH v5 1/5] spi: cadence_spi: Sync DT bindings with Linux

2018-01-06 Thread Jason Rush
Simon Goldschmidt <sgoldschm...@de.pepperl-fuchs.com> Signed-off-by: Jason Rush <jar...@gmail.com> Cc: Marek Vasut <ma...@denx.de> --- Changes for v5: - Rebased Changes for v4: - Rebased Changes for v3: - None drivers/spi/cadence_qspi.c | 20 dr

[U-Boot] [PATCH v5 0/5] spi: cadence_spi: Adopt Linux DT bindings

2018-01-06 Thread Jason Rush
Simon Goldschmidt <sgoldschm...@de.pepperl-fuchs.com> Signed-off-by: Jason Rush <jar...@gmail.com> Jason Rush (5): spi: cadence_spi: Sync DT bindings with Linux dts: cadence_spi: Sync DT bindings with Linux config: cadence_spi: Remove defines read from DT dts: k2g: Clean-up

[U-Boot] [PATCH v4 2/5] dts: cadence_spi: Sync DT bindings with Linux

2017-11-16 Thread Jason Rush
Adopt the Linux DT bindings and clean-up duplicate and unused values. --- Changes for v4: - Rebased arch/arm/dts/keystone-k2g-evm.dts | 8 arch/arm/dts/keystone-k2g.dtsi| 5 +++-- arch/arm/dts/socfpga.dtsi | 5 +++--

[U-Boot] [PATCH v4 4/5] dts: k2g: Clean-up indentation

2017-11-16 Thread Jason Rush
Fix indentation of the QSPI node. --- Changes for v4: - Rebased arch/arm/dts/keystone-k2g-evm.dts | 75 +++ 1 file changed, 37 insertions(+), 38 deletions(-) diff --git a/arch/arm/dts/keystone-k2g-evm.dts b/arch/arm/dts/keystone-k2g-evm.dts index

[U-Boot] [PATCH v4 3/5] config: cadence_spi: Remove defines read from DT

2017-11-16 Thread Jason Rush
Cleanup unused #define values that are read from the DT. --- Changes for v4: - Rebased include/configs/k2g_evm.h| 1 - include/configs/socfpga_common.h | 1 - include/configs/stv0991.h| 1 - 3 files changed, 3 deletions(-) diff --git a/include/configs/k2g_evm.h

[U-Boot] [PATCH v4 1/5] spi: cadence_spi: Sync DT bindings with Linux

2017-11-16 Thread Jason Rush
Adopt the Linux DT bindings. This also fixes an issue with the indaddrtrig register on the Cadence QSPI device being programmed with the wrong value for the socfpga arch. --- Changes for v4: - Rebased drivers/spi/cadence_qspi.c | 20 drivers/spi/cadence_qspi.h |

[U-Boot] [PATCH v4 5/5] dts: cadence_spi: Update documentation for DT bindings

2017-11-16 Thread Jason Rush
Update documentation to reflect adopting the Linux DT bindings. --- Changes for v4: - Updated documentation doc/device-tree-bindings/spi/spi-cadence.txt | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/device-tree-bindings/spi/spi-cadence.txt

[U-Boot] [PATCH v4 0/5] spi: cadence_spi: Adopt Linux DT bindings

2017-11-16 Thread Jason Rush
Adopt the Linux DT bindings. This also fixes an issue with the indaddrtrig register on the Cadence QSPI device being programmed with the wrong value for the socfpga arch. Tested on Terasic SoCKit dev board (Altera Cyclone V) Jason Rush (5): spi: cadence_spi: Sync DT bindings with Linux dts

[U-Boot] [PATCH v3 3/4] config: cadence_spi: Remove defines read from DT

2017-05-23 Thread Jason Rush
Cleanup unused #define values that are read from the DT. --- Changes for v3: - None include/configs/k2g_evm.h| 1 - include/configs/socfpga_common.h | 1 - include/configs/stv0991.h| 1 - 3 files changed, 3 deletions(-) diff --git a/include/configs/k2g_evm.h

[U-Boot] [PATCH v3 4/4] dts: k2g: Clean-up indentation

2017-05-23 Thread Jason Rush
Fix indentation of the QSPI node. --- Changes for v3: - Additional patch for clean-up arch/arm/dts/keystone-k2g-evm.dts | 75 +++ 1 file changed, 37 insertions(+), 38 deletions(-) diff --git a/arch/arm/dts/keystone-k2g-evm.dts

[U-Boot] [PATCH v3 2/4] dts: cadence_spi: Sync DT bindings with Linux

2017-05-23 Thread Jason Rush
Adopt the Linux DT bindings and clean-up duplicate and unused values. --- Changes for v3: - Update the DT bindings in keystone-k2g-evm.dts arch/arm/dts/keystone-k2g-evm.dts | 8 arch/arm/dts/keystone-k2g.dtsi| 5 +++-- arch/arm/dts/socfpga.dtsi

[U-Boot] [PATCH v3 1/4] spi: cadence_spi: Sync DT bindings with Linux

2017-05-23 Thread Jason Rush
Adopt the Linux DT bindings. This also fixes an issue with the indaddrtrig register on the Cadence QSPI device being programmed with the wrong value for the socfpga arch. --- Changes for v3: - None drivers/spi/cadence_qspi.c | 20 drivers/spi/cadence_qspi.h | 6

[U-Boot] [PATCH v3 0/4] spi: cadence_spi: Adopt Linux DT bindings

2017-05-23 Thread Jason Rush
Adopt the Linux DT bindings. This also fixes an issue with the indaddrtrig register on the Cadence QSPI device being programmed with the wrong value for the socfpga arch. Tested on Terasic SoCKit dev board (Altera Cyclone V) Jason Rush (4): spi: cadence_spi: Sync DT bindings with Linux dts

Re: [U-Boot] [PATCH v2 2/3] dts: cadence_spi: Sync DT bindings with Linux

2017-05-23 Thread Jason Rush
On 5/22/2017 11:33 PM, Vignesh R wrote: > On Tuesday 23 May 2017 04:26 AM, Jason Rush wrote: >> Adopt the Linux DT bindings and clean-up duplicate >> and unused values. >> --- >> arch/arm/dts/keystone-k2g.dtsi| 5 +++-- > > Thanks for doi

[U-Boot] [PATCH v2 3/3] config: cadence_spi: Remove defines read from DT

2017-05-22 Thread Jason Rush
Cleanup unused #define values that are read from the DT. --- include/configs/k2g_evm.h| 1 - include/configs/socfpga_common.h | 1 - include/configs/stv0991.h| 1 - 3 files changed, 3 deletions(-) diff --git a/include/configs/k2g_evm.h b/include/configs/k2g_evm.h index

[U-Boot] [PATCH v2 1/3] spi: cadence_spi: Sync DT bindings with Linux

2017-05-22 Thread Jason Rush
Adopt the Linux DT bindings. This also fixes an issue with the indaddrtrig register on the Cadence QSPI device being programmed with the wrong value for the socfpga arch. --- drivers/spi/cadence_qspi.c | 20 drivers/spi/cadence_qspi.h | 6 +-

[U-Boot] [PATCH v2 2/3] dts: cadence_spi: Sync DT bindings with Linux

2017-05-22 Thread Jason Rush
Adopt the Linux DT bindings and clean-up duplicate and unused values. --- arch/arm/dts/keystone-k2g.dtsi| 5 +++-- arch/arm/dts/socfpga.dtsi | 5 +++-- arch/arm/dts/socfpga_arria10.dtsi | 4 ++-- arch/arm/dts/socfpga_arria5_socdk.dts | 9

[U-Boot] [PATCH v2 0/3] spi: cadence_spi: Adopt Linux DT bindings

2017-05-22 Thread Jason Rush
Adopt the Linux DT bindings. This also fixes an issue with the indaddrtrig register on the Cadence QSPI device being programmed with the wrong value for the socfpga arch. Tested on Terasic SoCKit dev board (Altera Cyclone V) Jason Rush (3): spi: cadence_spi: Sync DT bindings with Linux dts