Add dma support for i2c. This function depend on DMA driver.
You can turn on it by write both the dmas and dma-name properties in dts node.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
drivers/i2c/busses/i2c-imx.c | 354 +--
1 file changed, 306
Changed in v3:
- fix a bug when request the dma faild.
- some minor fixes for coding style.
- other minor fixes.
Changed in v2:
- remove has_dma_support property
- unify i2c_imx_dma_rx and i2c_imx_dma_tx
- unify i2c_imx_dma_read and i2c_imx_pio_read
- unify i2c_imx_dma_write and
Add i2c dts node properties for eDMA support, them depend on the eDMA driver.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
Documentation/devicetree/bindings/i2c/i2c-imx.txt | 11 +++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx.txt
b
Add i2c dts node properties for eDMA support, them depend on the eDMA driver.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
Documentation/devicetree/bindings/i2c/i2c-imx.txt | 11 +++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx.txt
b
Add dma support for i2c. This function depend on DMA driver.
You can turn on it by write both the dmas and dma-name properties in dts node.
And you should set .has_dma_support as true for dma support in imx_i2c_hwdata
struct.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
drivers/i2c/busses
Added in v1:
- Enable dma if it's support dma and transfer size bigger than the threshold.
- Add device tree bindings for i2c eDMA support.
- Add eDMA support for i2c driver.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to
Add i2c dts node properties for eDMA support, them depend on the eDMA driver.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
arch/arm/boot/dts/vf610.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi
index 91a7757..9d14a19
Add i2c dts node properties for eDMA support, them depend on the eDMA driver.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
Documentation/devicetree/bindings/i2c/i2c-imx.txt | 11 +++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx.txt
b
Add dma support for i2c. This function depend on DMA driver.
You can turn on it by write both the dmas and dma-name properties in dts node.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
drivers/i2c/busses/i2c-imx.c | 341 +--
1 file changed, 293
Changed in v2:
- remove has_dma_support property
- unify i2c_imx_dma_rx and i2c_imx_dma_tx
- unify i2c_imx_dma_read and i2c_imx_pio_read
- unify i2c_imx_dma_write and i2c_imx_pio_write
Added in v1:
- Enable dma if it's support dma and transfer size bigger than the threshold.
- Add device tree
Changed in v4:
- cancelled i2c_imx-use_dma.
- changed Dma to DMA.
- add timeout handling for DMA transfer complete.
Changed in v3:
- fix a bug when request the DMA faild.
- some minor fixes for coding style.
- other minor fixes.
Changed in v2:
- remove has_dma_support property
- unify
Add i2c dts node properties for eDMA support, them depend on the eDMA driver.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
Documentation/devicetree/bindings/i2c/i2c-imx.txt | 11 +++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx.txt
b
Add dma support for i2c. This function depend on DMA driver.
You can turn on it by write both the dmas and dma-name properties in dts node.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
drivers/i2c/busses/i2c-imx.c | 372 +--
1 file changed, 319
Because of some driver base on DMA, changed the initcall order as
subsys_initcall.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
drivers/dma/fsl-edma.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/dma/fsl-edma.c b/drivers/dma/fsl-edma.c
index
Changed in v5:
- add *chan_dev = dma-chan_using-device-dev for reduce the call time.
- add the test logs.
Changed in v4:
- cancelled i2c_imx-use_dma.
- changed Dma to DMA.
- add Timeout handling for Transfer complete.
Changed in v3:
- fix a bug when request the dma faild.
- some minor fixes
Add dma support for i2c. This function depend on DMA driver.
You can turn on it by write both the dmas and dma-name properties in dts node.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
drivers/i2c/busses/i2c-imx.c | 377 +--
1 file changed, 324
Add i2c dts node properties for eDMA support, them depend on the eDMA driver.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
Documentation/devicetree/bindings/i2c/i2c-imx.txt | 11 +++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx.txt
b
Add dma support for i2c. This function depend on DMA driver.
You can turn on it by write both the dmas and dma-name properties in dts node.
DMA is optional, even DMA request unsuccessfully, i2c can also work well.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
drivers/i2c/busses/i2c-imx.c
Add i2c dts node properties for eDMA support, them depend on the eDMA driver.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
Documentation/devicetree/bindings/i2c/i2c-imx.txt | 11 +++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx.txt
b
Changed in v7:
- when waiting for transfer complete use schedule() instead of udelay().
Changed in v6:
- changed the inappropriate print message.
- rebase to the latest code.
Changed in v5:
- add *chan_dev = dma-chan_using-device-dev for code cleanup.
- add the test logs.
Changed in v4:
-
Add dma support for i2c. This function depend on DMA driver.
You can turn on it by write both the dmas and dma-name properties in dts node.
DMA is optional, even DMA request unsuccessfully, i2c can also work well.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
drivers/i2c/busses/i2c-imx.c
Add i2c dts node properties for eDMA support, them depend on the eDMA driver.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
Documentation/devicetree/bindings/i2c/i2c-imx.txt | 11 +++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx.txt
b
Add i2c dts node properties for eDMA support, them depend on the eDMA driver.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
Documentation/devicetree/bindings/i2c/i2c-imx.txt | 11 +++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx.txt
b
Changed in v6:
- changed the inappropriate print message.
- rebase to the latest code.
Changed in v5:
- add *chan_dev = dma-chan_using-device-dev for code cleanup.
- add the test logs.
Changed in v4:
- cancelled i2c_imx-use_dma.
- changed Dma to DMA.
- add Timeout handling for Transfer
Add dma support for i2c. This function depend on DMA driver.
You can turn on it by write both the dmas and dma-name properties in dts node.
DMA is optional, even DMA request unsuccessfully, i2c can also work well.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
drivers/i2c/busses/i2c-imx.c
Changed in v8:
- some minor fixes for coding style.
- unsetting I2CR_DMAEN immediatelly when failed in DMA mode.
Changed in v7:
- when waiting for transfer complete use schedule() instead of udelay().
Changed in v6:
- changed the inappropriate print message.
- rebase to the latest code.
Add i2c dts node properties for eDMA support, them depend on the eDMA driver.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
Documentation/devicetree/bindings/i2c/i2c-imx.txt | 11 +++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx.txt
b
Add dma support for i2c. This function depend on DMA driver.
You can turn on it by write both the dmas and dma-name properties in dts node.
DMA is optional, even DMA request unsuccessfully, i2c can also work well.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
drivers/i2c/busses/i2c-imx.c
Add dma support for i2c. This function depend on DMA driver.
You can turn on it by write both the dmas and dma-name properties in dts node.
DMA is optional, even DMA request unsuccessfully, i2c can also work well.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
drivers/i2c/busses/i2c-imx.c
If the inlcude headers aren't sorted alphabetically, then the
logical choice is to append new ones, however that creates a
lot of potential for conflicts or duplicates because every change
will then add new includes in the same location.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
drivers
Changed in v10:
- Rebase to the latest code.
- Add dma_submit_error for dmaengine_submit handling
- Some minor fixes for coding style.
Changed in v9:
- seperate a patch for sort include headers alphabetically
- some minor fixes for coding style.
Changed in v8:
- some minor fixes for
Add i2c dts node properties for eDMA support, them depend on the eDMA driver.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
Documentation/devicetree/bindings/i2c/i2c-imx.txt | 11 +++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx.txt
b
Changed in v11:
- Fix the bug for 'orig_jiffies' uninitialized.
- Use wait_for_completion_timeout() instead of
wait_for_completion_interruptible_timeout().
Changed in v10:
- Rebase to the latest code.
- Add dma_submit_error for dmaengine_submit handling
- Some minor fixes for coding style.
Add dma support for i2c. This function depend on DMA driver.
You can turn on it by write both the dmas and dma-name properties in dts node.
DMA is optional, even DMA request unsuccessfully, i2c can also work well.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
drivers/i2c/busses/i2c-imx.c
Add i2c dts node properties for eDMA support, them depend on the eDMA driver.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
Documentation/devicetree/bindings/i2c/i2c-imx.txt | 11 +++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx.txt
b
If the inlcude headers aren't sorted alphabetically, then the
logical choice is to append new ones, however that creates a
lot of potential for conflicts or duplicates because every change
will then add new includes in the same location.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
drivers
If the inlcude headers aren't sorted alphabetically, then the
logical choice is to append new ones, however that creates a
lot of potential for conflicts or duplicates because every change
will then add new includes in the same location.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
drivers
Add i2c dts node properties for eDMA support, them depend on the eDMA driver.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
Documentation/devicetree/bindings/i2c/i2c-imx.txt | 11 +++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx.txt
b
Add dma support for i2c. This function depend on DMA driver.
You can turn on it by write both the dmas and dma-name properties in dts node.
DMA is optional, even DMA request unsuccessfully, i2c can also work well.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
drivers/i2c/busses/i2c-imx.c
Changed in v9:
- seperate a patch for sort include headers alphabetically
- some minor fixes for coding style.
Changed in v8:
- some minor fixes for coding style.
- unsetting I2CR_DMAEN immediatelly when DMA failed.
Changed in v7:
- when waiting for transfer complete use schedule()
For power management support, we should disable TX/RX
interrupts so that kernel can prepare for deep sleep.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
drivers/tty/serial/fsl_lpuart.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/tty/serial/fsl_lpuart.c b
For power management support, we should disable TX and
TX interrupt so that kernel can prepare for deep sleep.
Retain RX and RX interrupt for wakeup the kernel when
receive the input character.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
Changed in v2:
- Retain RX and RX
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
arch/arm/boot/dts/ls1021a.dtsi | 16
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index 491480f..1a81b89 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm
to a command queue.
This module can be found on LS-1021 LS1043 and LS2085 SoCs.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
Documentation/devicetree/bindings/dma/fsl-qdma.txt | 51 ++
drivers/dma/Kconfig| 11 +
drivers/dma/Makefile
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
arch/arm/boot/dts/ls1021a.dtsi | 16
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index 491480f..1a81b89 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm
.
In fsl_edma_resume_early:
Enable the eDMA and wait for being used.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
drivers/dma/fsl-edma.c | 92 +-
1 file changed, 91 insertions(+), 1 deletion(-)
diff --git a/drivers/dma/fsl-edma.c b/drivers/dma
This patch has been tested on Fresscale LS-1 SOCs.
--
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/
.
In fsl_edma_resume_early:
Enable the eDMA and wait for being used.
Signed-off-by: Yuan Yao yao.y...@freescale.com
---
drivers/dma/fsl-edma.c | 83 --
1 file changed, 80 insertions(+), 3 deletions(-)
diff --git a/drivers/dma/fsl-edma.c b/drivers/dma
Add Binding document for Freescale Queue Direct Memory Access(qDMA)
controller.
This module can be found on LS-1 and LS-2 SoCs.
Signed-off-by: Yuan Yao <yao.y...@freescale.com>
---
Documentation/devicetree/bindings/dma/fsl-qdma.txt | 43 ++
1 file changed, 43 inse
Add Freescale Queue Direct Memory Access(qDMA) controller support.
This module can be found on LS-1 and LS-2 SoCs.
This add the legacy mode support for qDMA.
Signed-off-by: Yuan Yao <yao.y...@freescale.com>
---
Changes since v1:
1. Separate Binding.
2. Remove dead code.
3. Add
Add Freescale Queue Direct Memory Access(qDMA) controller support.
This module can be found on LS-1 and LS-2 SoCs.
This add the legacy mode support for qDMA.
Signed-off-by: Yuan Yao <yao.y...@freescale.com>
---
arch/arm/boot/dts/ls1021a.dtsi | 10 ++
1 file changed, 10 inse
Add R/W functions for big- or little-endian registers:
The qSPI controller's endian is independent of the CPU core's endian.
So far, the qSPI have two versions for big-endian and little-endian.
Signed-off-by: Yuan Yao <yao.y...@freescale.com>
---
drivers/mtd/spi-nor/fsl-quadspi.c
LS1043a and LS2080A in the Layerscape family also support DSPI, make
DSPI selectable for these hardwares.
Signed-off-by: Yuan Yao <yao.y...@freescale.com>
---
drivers/spi/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
.
In fsl_edma_resume_early:
Enable the eDMA and wait for being used.
Signed-off-by: Yuan Yao <yao.y...@freescale.com>
---
Changes in v4:
- Add comments for why use suspend_late and resume_early;
Changes in v3:
- Force terminate the active channels in suspend if the channel
is not idle.
Changes
[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
The
#endif
for
#ifdef CONFIG_TRANSPARENT_HUGEPAGE
is missing.
Signed-off-by: Yuan Yao <yao.y...@freescale.com>
---
arch/arm/include/asm/pgtable-3level.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/ar
.
In fsl_edma_resume_early:
Enable the eDMA and wait for being used.
Signed-off-by: Yuan Yao <yao.y...@freescale.com>
---
drivers/dma/fsl-edma.c | 80 --
1 file changed, 77 insertions(+), 3 deletions(-)
diff --git a/drivers/dma/fsl-edma.c b/drive
The INA220 monitors both shunt drop and supply voltage.
Signed-off-by: Yuan Yao <yao.y...@freescale.com>
---
arch/arm/boot/dts/ls1021a-twr.dts | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/ls1021a-twr.dts
b/arch/arm/boot/dts/ls1021a-twr.dts
index e
It is a 512KiB flash with 4 KiB erase sectors.
Signed-off-by: Yuan Yao <yao.y...@freescale.com>
---
drivers/mtd/spi-nor/spi-nor.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index f59aedf..cd02934 100644
--- a/drivers/m
Add Freescale Queue Direct Memory Access(qDMA) controller support.
This module can be found on LS-1 and LS-2 SoCs.
This add the legacy mode support for qDMA.
Signed-off-by: Yuan Yao <yao.y...@freescale.com>
---
Documentation/devicetree/bindings/dma/fsl-qdma.txt | 43 ++
MAINT
Add Freescale Queue Direct Memory Access(qDMA) controller support.
This module can be found on LS-1 and LS-2 SoCs.
This add the legacy mode support for qDMA.
Signed-off-by: Yuan Yao <yao.y...@freescale.com>
---
arch/arm/boot/dts/ls1021a.dtsi | 10 ++
1 file changed, 10 inse
LS1021a also support Freescale Quad SPI controller.
Add fsl-quadspi support for ls1021a chip and make SPI_FSL_QUADSPI
selectable for LS1021A SOC hardwares.
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
Acked-by: Han xu <han...@freescale.com>
---
Changed in v2:
Update my email to <y
Add R/W functions for big- or little-endian registers:
The qSPI controller's endian is independent of the CPU core's endian.
So far, the qSPI have two versions for big-endian and little-endian.
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
Changed in v3:
Update my email to <yao.y..
Add optional properties for QSPI:
big-endian
if the register is big endian on this platform.
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
Documentation/devicetree/bindings/mtd/fsl-quadspi.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/m
new compatible string: "fsl,ls2080a-qspi".
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
Changed in v2:
Update my email to <yao.y...@nxp.com>
---
Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Do
Add extra info in LUT table to support some special requerments.
Spansion S25FS-S family flash need some special operations.
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
Changed in v2:
Update my email to <yao.y...@nxp.com>
---
drivers/mtd/spi-nor/fsl-qu
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
Changed in v2:
Update my email to <yao.y...@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts | 9 -
arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi| 4 ++--
2 files changed, 10 insertions(+), 3 deletions(-)
diff
new compatible string: "fsl,ls2080a-qspi".
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
Changed in v2:
Update my email to <yao.y...@nxp.com>
---
Documentation/devicetree/bindings/mtd/fsl-quadspi.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Do
LS1043a and LS2080A in the Layerscape family also support Freescale Quad
SPI, make Quad SPI selectable for these hardwares.
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
Changed in v2:
Update my email to <yao.y...@nxp.com>
---
drivers/mtd/spi-nor/Kconfig | 2 +-
1 file changed,
Add R/W functions for big- or little-endian registers:
The qSPI controller's endian is independent of the CPU core's endian.
So far, the qSPI have two versions for big-endian and little-endian.
Signed-off-by: Yuan Yao <yao.y...@freescale.com>
---
Changed in v2:
Rebase to the lastes
LS1021a also support Freescale Quad SPI controller.
Add fsl-quadspi support for ls1021a chip and make SPI_FSL_QUADSPI
selectable for LS1021A SOC hardwares.
Signed-off-by: Yuan Yao <yao.y...@freescale.com>
---
drivers/mtd/spi-nor/Kconfig | 2 +-
drivers/mtd/spi-nor/fsl-quadspi.
LS1043a and LS2080A in the Layerscape family also support Freescale Quad
SPI, make Quad SPI selectable for these hardwares.
Signed-off-by: Yuan Yao <yao.y...@freescale.com>
---
drivers/mtd/spi-nor/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/s
new compatible string: "fsl,ls1021-qspi".
Signed-off-by: Yuan Yao <yao.y...@freescale.com>
---
Documentation/devicetree/bindings/mtd/fsl-quadspi.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/mtd/fsl-quadspi.txt
From: Yuan Yao <yao.y...@nxp.com>
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
Add in v1:
Can merge, but the function depend on the patch:
https://patchwork.kernel.org/patch/8118251/
mtd: spi-nor: fsl-quadspi: add support for ls1021a
LS1021a also support Freescale Quad SPI control
LS1043a and LS2080A in the Layerscape family also support Freescale Quad
SPI, make Quad SPI selectable for these hardwares.
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
Changed in v4:
No changes.
Changed in v3:
No changes.
Changed in v2:
Update my email to <yao.y...@nxp.com>
---
Add R/W functions for big- or little-endian registers:
The qSPI controller's endian is independent of the CPU core's endian.
So far, the qSPI have two versions for big-endian and little-endian.
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
Acked-by: Han xu <han...@freescale.com>
---
C
Add optional properties for QSPI:
big-endian
if the register is big endian on this platform.
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
Acked-by: Rob Herring <r...@kernel.org>
---
Changed in v4:
No changes.
Changed in v3:
No changes.
Changed in v2:
Update my email to <y
new compatible string: "fsl,ls2080a-qspi".
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
Acked-by: Rob Herring <r...@kernel.org>
---
Changed in v4:
No changes.
Changed in v3:
Add the modifier for new compatible string like:
"fsl,ls2080a-dspi" followed by "fsl,ls
LS1021a also support Freescale Quad SPI controller.
Add fsl-quadspi support for ls1021a chip and make SPI_FSL_QUADSPI
selectable for LS1021A SOC hardwares.
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
Acked-by: Han xu <han...@freescale.com>
---
Changed in v4:
No changes.
Changed in v3
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
Changed in v4:
No changes.
Changed in v3:
No changes.
Changed in v2:
Update my email to <yao.y...@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts | 9 -
arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi| 4 +
new compatible string: "fsl,ls2080a-qspi".
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
Acked-by: Rob Herring <r...@kernel.org>
---
Changed in v4:
No changes.
Changed in v3:
Add the modifier for new compatible string like:
"fsl,ls2080a-qspi" followed by "fsl,ls
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
Changed in v3:
No changes.
Changed in v2:
Update my email to <yao.y...@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts | 9 -
arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi| 4 ++--
2 files changed, 10 inse
Add optional properties for QSPI:
big-endian
if the register is big endian on this platform.
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
Changed in v3:
No changes.
Changed in v2:
Update my email to <yao.y...@nxp.com>
---
Documentation/devicetree/bindings/mtd/fsl-quadspi.txt |
new compatible string: "fsl,ls2080a-qspi".
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
Changed in v3:
Add the modifier for new compatible string like:
"fsl,ls2080a-dspi" followed by "fsl,ls2085a-dspi"
Changed in v2:
Update my email to <yao.y...@nxp.com&
new compatible string: "fsl,ls2080a-qspi".
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
Changed in v3:
Add the modifier for new compatible string like:
"fsl,ls2080a-qspi" followed by "fsl,ls1021a-qspi"
Changed in v2:
Update my email to <yao.y...@nxp.com&
/8078941/
Thanks.
Yuan Yao.
Add R/W functions for big- or little-endian registers:
The qSPI controller's endian is independent of the CPU core's endian.
So far, the qSPI have two versions for big-endian and little-endian.
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
Acked-by: Han xu <han...@freescale.com>
---
C
LS1021a also support Freescale Quad SPI controller.
Add fsl-quadspi support for ls1021a chip and make SPI_FSL_QUADSPI
selectable for LS1021A SOC hardwares.
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
Acked-by: Han xu <han...@freescale.com>
---
Changed in v3:
No changes.
Changed in v
LS1043a and LS2080A in the Layerscape family also support Freescale Quad
SPI, make Quad SPI selectable for these hardwares.
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
Changed in v3:
No changes.
Changed in v2:
Update my email to <yao.y...@nxp.com>
---
drivers/mtd/spi-nor/Kconf
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
Acked-by: Han xu <han...@nxp.com>
---
Changed in v6:
No changes.
Changed in v5:
Resend base on arm-soc.
Changed in v4:
No changes.
Changed in v3:
No changes.
Changed in v2:
Update my email to <yao.y...@nxp.com>
---
arch/arm64/boot
new compatible string: "fsl,ls2080a-dspi".
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
Acked-by: Rob Herring <r...@kernel.org>
---
Changed in v6:
No changes.
Changed in v5:
Fix the subject and commit message.
Changed in v4:
No changes.
Changed in v3:
Add the modifier for
From: Yuan Yao <yao.y...@nxp.com>
Both of the patches are already send out to l2-mtd as a part of the set
for add QSPI support on Freescale new SOC before.
But those two patch should not be merged into l2-mtd, so I have to resend them.
Yuan Yao (2):
dts/ls2080a: update the DTS fo
From: Yuan Yao <yao.y...@nxp.com>
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 16
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi| 14 ++
2 files changed, 30 insertions(+)
diff --git a/arch/ar
From: Yuan Yao <yao.y...@nxp.com>
The QSPI controller on LS1043A is the same with the QSPI on LS1021A.
We shuld add the QSPI support on LS1043A.
So this patch try to add the dts node and binding Documentation.
Depend on the patch:
arm64: dts: add LS1043a-QDS board support
From: Yuan Yao <yao.y...@nxp.com>
new compatible string: "fsl,ls1043a-qspi".
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
Documentation/devicetree/bindings/mtd/fsl-quadspi.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devic
From: Yuan Yao <yao.y...@nxp.com>
Yuan Yao (2):
Documentation: fsl-quadspi: Add fsl, ls1043a-qspi compatible string
Changed in v2: Remove unused property.
arm64: dts: ls1043a: add the DTS node for QSPI support
Documentation/devicetree/bindings/mtd/fsl-quadspi.txt | 3 ++-
From: Yuan Yao <yao.y...@nxp.com>
new compatible string: "fsl,ls1043a-qspi".
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
Documentation/devicetree/bindings/mtd/fsl-quadspi.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devic
From: Yuan Yao <yao.y...@nxp.com>
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
Changed in v2:
Remove unused property.
---
arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 13 +
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi| 14 ++
2 files
From: Yuan Yao <yao.y...@nxp.com>
The patch adds LS2085a to DSPI compatible.
The DSPI driver on LS2080A should use TCFQ mode.
It's different from on vf610.
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 2 +-
1 file changed, 1 ins
new compatible string: "fsl,ls2080a-dspi".
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
Acked-by: Rob Herring <r...@kernel.org>
---
Changed in v5:
Fix the subject and commit message.
Changed in v4:
No changes.
Changed in v3:
Add the modifier for new compatible string l
From: Yuan Yao <yao.y...@nxp.com>
Add the QDMA node for ls1043a platform to
support QDMA driver.
Signed-off-by: Yuan Yao <yao.y...@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/f
1 - 100 of 230 matches
Mail list logo