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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
> 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
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
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
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
29 matches
Mail list logo