[U-Boot] [PATCH] arm:ls1021a:configure ls1021 scfg for QSPI

2014-10-30 Thread Chao Fu
From: Chao Fu Configure ls1021a scfg register for QSPI clock initalization. Signed-off-by: Chao Fu Signed-off-by: Alison Wang --- arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 1 + board/freescale/ls1021aqds/ls1021aqds.c | 4 board/freescale/ls1021atwr/ls1021atwr.c

[U-Boot] [PATCH] spi:ls102xqds:Support for compatibility for QSPI and DSPI modules drivers

2014-09-26 Thread Chao Fu
From: Chao Fu Useage: For exmaple(ls1021 ls1021aqds): SPI bus defination can be find in arch/arm/include/asm/arch-ls102xa/config.h SPI_BUS_FSL_QSPI0 SPI_BUS_FSL_DSPI1 1 SPI_BUS_FSL_DSPI2

[U-Boot] [PATCH v4 2/3] arm:vf610:Enable the DSPI for Freescale vf610 platform

2014-09-18 Thread Chao Fu
From: Chao Fu This patch enable the DSPI moudle on VF610 platform with following udpate: Add get_dspi_clk() function and enable DPSI clock gate. Add DSPI iomux definition and set the iomux for DSPI. Signed-off-by: Chao Fu --- Change in v2: Separated vf610-twr update into patch 3/4

[U-Boot] [PATCH v4 3/3] arm:vf610:vf610-twr:Enable the DSPI for Freesacale vf610-twr board

2014-09-18 Thread Chao Fu
From: Chao Fu Enable DSPI iomux for vf610twr board. Add the SPI configuration for vf610twr board. Signed-off-by: Chao Fu --- Change in v2 : New. Change in v3 : None. Change in v4 : None. board/freescale/vf610twr/vf610twr.c | 15 ++- include/configs

[U-Boot] [PATCH v4 1/3] spi:rewrite the Freescale DSPI driver.

2014-09-18 Thread Chao Fu
From: Chao Fu Freescale DSPI module is used on both the ColdFire platform and the ARM platform. The original DSPI driver is written for ColdFire platform only, this patch rewrite the driver to make it be used across the platforms. Some files, functions, variables and macros were changed

[U-Boot] [PATCH RFC 2/3] arm:vf610:Add SPI bus num in SOC level for SPI compatibility

2014-07-01 Thread Chao Fu
From: Chao Fu Add DSPI and QSPI bus definition in SOC level. Sf probe command parameter bus will decide which module will work. Add register base definition. Signed-off-by: Chao Fu --- arch/arm/include/asm/arch-vf610/imx-regs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm

[U-Boot] [PATCH RFC 3/3] arm:vf610-twr:Add fsl-spi-interface config and board info

2014-07-01 Thread Chao Fu
From: Chao Fu Add spi device info for vf610-twr board. Enable fsl-spi-interface for compatibility of fsl-dspi and fsl-qspi. Signed-off-by: Chao Fu --- board/freescale/vf610twr/vf610twr.c | 24 include/configs/vf610twr.h | 2 ++ 2 files changed, 26 insertions

[U-Boot] [PATCH RFC 1/3] spi:fsl_spi:Add compatibility for fsl-qspi and fsl-dspi modules driver

2014-07-01 Thread Chao Fu
From: Chao Fu Freescale has some series of chips(e.g. vf610) contain two kinds of SPI modules, DSPI and QSPI. U-boot spi current code can't compile and enable the two modules at same time. So add fsl-spi-interface make two spi driver code work together. Usage:(e.g.) SPI bus defin

[U-Boot] [PATCH v4 1/3] spi:rewrite the Freescale DSPI driver.

2014-06-25 Thread Chao Fu
From: Chao Fu Freescale DSPI module is used on both the ColdFire platform and the ARM platform. The original DSPI driver is written for ColdFire platform only, this patch rewrite the driver to make it be used across the platforms. Some files, functions, variables and macros were changed

[U-Boot] [PATCH 3/3] arm:vf610:vf610-twr:Enable the DSPI for Freesacale vf610-twr board

2014-06-25 Thread Chao Fu
From: Chao Fu Enable DSPI iomux for vf610twr board. Add the SPI configuration for vf610twr board. Signed-off-by: Chao Fu --- Change in v2 : New. Change in v3 : None. Change in v4 : None. board/freescale/vf610twr/vf610twr.c | 15 ++- include/configs

[U-Boot] [PATCH 2/3] arm:vf610:Enable the DSPI for Freescale vf610 platform

2014-06-25 Thread Chao Fu
From: Chao Fu This patch enable the DSPI moudle on VF610 platform with following udpate: Add get_dspi_clk() function and enable DPSI clock gate. Add DSPI iomux definition and set the iomux for DSPI. Signed-off-by: Chao Fu --- Change in v2: Separated vf610-twr update into patch 3/4

[U-Boot] [PATCH 1/3] arm: vf610: Add QSPI driver support

2014-05-05 Thread Chao Fu
From: Alison Wang Add Freescale QSPI driver support for VF610. Signed-off-by: Alison Wang Signed-off-by: Chao Fu --- drivers/spi/Makefile | 1 + drivers/spi/fsl_qspi.c | 482 + drivers/spi/fsl_qspi.h | 127 + 3 files changed

[U-Boot] [PATCH 3/3] arm: vf610: Add QSPI support for VF610TWR

2014-05-05 Thread Chao Fu
From: Chao Fu Add QSPI support for VF610TWR, such as clock and iomux. Signed-off-by: Alison Wang Signed-off-by: Chao Fu --- arch/arm/include/asm/arch-vf610/crm_regs.h| 11 +- arch/arm/include/asm/arch-vf610/imx-regs.h| 4 +++- arch/arm/include/asm/arch-vf610/iomux-vf610.h

[U-Boot] [PATCH 2/3] arm: imx: Add two macros for VF610 in IOMUX_PAD structure

2014-05-05 Thread Chao Fu
From: Alison Wang Add PAD_CTL_DSE_150ohm and PAD_CTL_PUS_22K_UP for VF610 in IOMUX_PAD structure. Signed-off-by: Alison Wang --- arch/arm/include/asm/imx-common/iomux-v3.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/imx-common/iomux-v3.h b/arch/arm/include/asm/i

[U-Boot] [PATCH v3 4/4] mtd:vf610twr:add flash at26df081a for vf610twr platform

2013-12-19 Thread Chao Fu
From: Chao Fu AT26DF081 is used on vf610twr board through the DSPI bus, this patch add AT26DF081 into the spi flash params table. Signed-off-by: Chao Fu --- Change in v2: None Change in v3: None drivers/mtd/spi/sf_probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi

[U-Boot] [PATCH v3 1/4] spi:rewrite the Freescale DSPI driver.

2013-12-19 Thread Chao Fu
From: Chao Fu Freescale DSPI module is used on both the ColdFire platform and the ARM platform. The original DSPI driver is written for ColdFire platform only, this patch rewrite the driver to make it be used across the platforms. Some files, functions, variables and macros were changed

[U-Boot] [PATCH v3 2/4] arm:vf610:Enable the DSPI for Freescale vf610 platform

2013-12-19 Thread Chao Fu
From: Chao Fu This patch enable the DSPI moudle on VF610 platform with following udpate: Add get_dspi_clk() function and enable DPSI clock gate. Add DSPI iomux definition and set the iomux for DSPI. Signed-off-by: Chao Fu --- Change in v2: Separated vf610-twr update into patch 3/4

[U-Boot] [PATCH v3 3/4] arm:vf610:vf610-twr:Enable the DSPI for Freesacale vf610-twr board

2013-12-19 Thread Chao Fu
From: Chao Fu Enable DSPI iomux for vf610twr board. Add the SPI configuration for vf610twr board. Signed-off-by: Chao Fu --- Change in v2 : New. Change in v3 : None. board/freescale/vf610twr/vf610twr.c | 15 ++- include/configs/vf610twr.h | 15

Re: [U-Boot] [PATCH v2 2/4] arm:vf610:Enable the DSPI for Freescale vf610 platform

2013-12-16 Thread Chao Fu
> WARNING: line over 80 characters > #101: FILE: arch/arm/include/asm/arch-vf610/iomux-vf610.h:48: > + VF610_PAD_PTB19__DSPI0_CS0 = IOMUX_PAD(0x00a4, > 0x00a4, 1, __NA_, 0, > VF610_DSPI_PAD_CTRL), > > WARNING: line over 80 characters > #102: FILE: arch/arm/include/asm/arch-vf6

[U-Boot] [PATCH v2 1/4] spi:rewrite the Freescale DSPI driver.

2013-12-12 Thread Chao Fu
From: Chao Fu Freescale DSPI module is used on both the ColdFire platform and the ARM platform. The original DSPI driver is written for ColdFire platform only, this patch rewrite the driver to make it be used across the platforms. Some files, functions, variables and macros were changed

[U-Boot] [PATCH] m68k:correct io macros about endian

2013-12-12 Thread Chao Fu
From: Chao Fu M68k is big endian cpu ,so use be_out and be_in in big endian. Signed-off-by: Chao Fu --- arch/m68k/include/asm/io.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/m68k/include/asm/io.h b/arch/m68k/include/asm/io.h index 5a87a9b..2d2a519 100644

[U-Boot] [PATCH v2 4/4] mtd:vf610twr:add flash at26df081a for vf610twr platform

2013-12-12 Thread Chao Fu
From: Chao Fu AT26DF081 is used on vf610twr board through the DSPI bus, this patch add AT26DF081 into the spi flash params table. Signed-off-by: Chao Fu --- Change in v2: None drivers/mtd/spi/sf_probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/sf_probe.c b/drivers

[U-Boot] [PATCH v2 3/4] arm:vf610:vf610-twr:Enable the DSPI for Freesacale vf610-twr board

2013-12-12 Thread Chao Fu
From: Chao Fu Enable DSPI iomux for vf610twr board. Add the SPI configuration for vf610twr board. Signed-off-by: Chao Fu --- Change in v2 : New. board/freescale/vf610twr/vf610twr.c | 15 ++- include/configs/vf610twr.h | 15 +++ 2 files changed, 29

[U-Boot] [PATCH v2 2/4] arm:vf610:Enable the DSPI for Freescale vf610 platform

2013-12-12 Thread Chao Fu
From: Chao Fu This patch enable the DSPI moudle on VF610 platform with following udpate: Add get_dspi_clk() function and enable DPSI clock gate. Add DSPI iomux definition and set the iomux for DSPI. Signed-off-by: Chao Fu --- Change in v2: Separated vf610-twr update into patch 3/4. arch/arm

Re: [U-Boot] [PATCH 4/4] M68k:Update the DSPI interface based on the new DSPI driver.

2013-11-18 Thread Chao Fu
names in Coldfire? Could you give me some detail examples? Thank you very much! Best regards, Fu Chao > Hi Chao, > > On 18/11/2013 07:34, Chao Fu wrote: > > From: Chao Fu > > > > Freescale DSPI module is used on both the ColdFire platform and the > > ARM pla

[U-Boot] [PATCH 3/4] mtd:vf610twr:add Flash at26df081a for vf610twr platform

2013-11-18 Thread Chao Fu
From: Chao Fu AT26DF081 is used on vf610twr board through the DSPI bus, this patch add AT26DF081 into the spi flash params table. Signed-off-by: Chao Fu --- drivers/mtd/spi/sf_probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c

[U-Boot] [PATCH 4/4] M68k:Update the DSPI interface based on the new DSPI driver.

2013-11-18 Thread Chao Fu
From: Chao Fu Freescale DSPI module is used on both the ColdFire platform and the ARM platform. There is patch-set to make the driver re-used by both platforms. Some files and macro were changed accordingly, this patch follow those changes to update the macro and include file for some ColdFire

[U-Boot] [PATCH 1/4] SPI:rewrite the Freescale DSPI driver.

2013-11-17 Thread Chao Fu
From: Chao Fu Freescale DSPI module is used on both the ColdFire platform and the ARM platform. The original DSPI driver is written for ColdFire platform only, this patch rewrite the driver to make it be used across the platforms. The rewrite including the following changes: Rename the file

[U-Boot] [PATCH 2/4] arm:vf610:Enable the DSPI for Freescale vf610 platform

2013-11-17 Thread Chao Fu
From: Chao Fu This patch enable the DSPI moudle on VF610 platform with following udpate: Add get_dspi_clk() function and enable DPSI clock gate. Add DSPI iomux definition and set the iomux for DSPI. Add the SPI configuration for the vf610twr boards. Signed-off-by: Chao Fu --- arch/arm/cpu