[PATCH v3 1/2] i2c: add DMA support for freescale i2c driver

2014-03-12 Thread Yuan Yao
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

[PATCH v3 0/2] i2c: add DMA support for freescale i2c driver

2014-03-12 Thread Yuan Yao
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

[PATCH v3 2/2] Documentation:add DMA support for freescale i2c driver

2014-03-12 Thread Yuan Yao
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

[PATCH 3/3] Documentation:add DMA support for freescale i2c driver

2014-02-26 Thread Yuan Yao
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

[PATCH 1/3] i2c: add DMA support for freescale i2c driver

2014-02-26 Thread Yuan Yao
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

[PATCH 0/3] i2c: add DMA support for freescale i2c driver

2014-02-26 Thread Yuan Yao
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

[PATCH 2/3] ARM: dts: vf610: i2c: Add eDMA support

2014-02-26 Thread Yuan Yao
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

[PATCH v2 2/2] Documentation:add DMA support for freescale i2c driver

2014-03-05 Thread Yuan Yao
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

[PATCH v2 1/2] i2c: add DMA support for freescale i2c driver

2014-03-05 Thread Yuan Yao
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

[PATCH v2 0/2] i2c: add DMA support for freescale i2c driver

2014-03-05 Thread Yuan Yao
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

[PATCH v4 0/2] i2c: add DMA support for freescale i2c driver

2014-04-03 Thread Yuan Yao
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

[PATCH v4 2/2] Documentation:add DMA support for freescale i2c driver

2014-04-03 Thread Yuan Yao
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

[PATCH v4 1/2] i2c: add DMA support for freescale i2c driver

2014-04-03 Thread Yuan Yao
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

[PATCH] dma: fix eDMA driver as a subsys_initcall

2014-04-03 Thread Yuan Yao
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

[PATCH v5 0/2] i2c: add DMA support for freescale i2c driver

2014-07-23 Thread Yuan Yao
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

[PATCH v5 1/2] i2c: add DMA support for freescale i2c driver

2014-07-23 Thread Yuan Yao
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

[PATCH v5 2/2] Documentation:add DMA support for freescale i2c driver

2014-07-23 Thread Yuan Yao
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

[PATCH v7 1/2] i2c: imx: add DMA support for freescale i2c driver

2014-08-13 Thread Yuan Yao
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

[PATCH v7 2/2] Documentation:add DMA support for freescale i2c driver

2014-08-13 Thread Yuan Yao
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

[PATCH v7 0/2] i2c: imx: add DMA support for freescale i2c driver

2014-08-13 Thread Yuan Yao
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: -

[PATCH v7 1/2] i2c: imx: add DMA support for freescale i2c driver

2014-08-13 Thread Yuan Yao
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

[PATCH v7 2/2] Documentation:add DMA support for freescale i2c driver

2014-08-13 Thread Yuan Yao
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

[PATCH v6 2/2] Documentation:add DMA support for freescale i2c driver

2014-08-05 Thread Yuan Yao
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

[PATCH v6 0/2] i2c: imx: add DMA support for freescale i2c driver

2014-08-05 Thread Yuan Yao
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

[PATCH v6 1/2] i2c: imx: add DMA support for freescale i2c driver

2014-08-05 Thread Yuan Yao
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

[PATCH v8 0/2] i2c: imx: add DMA support for freescale i2c driver

2014-09-25 Thread Yuan Yao
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.

[PATCH v8 2/2] Documentation:add DMA support for freescale i2c driver

2014-09-25 Thread Yuan Yao
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

[PATCH v8 1/2] i2c: imx: add DMA support for freescale i2c driver

2014-09-25 Thread Yuan Yao
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

[PATCH v10 3/3] i2c: imx: add DMA support for freescale i2c driver

2014-11-17 Thread Yuan Yao
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

[PATCH v10 1/3] i2c: imx: Sort include headers alphabetically

2014-11-17 Thread Yuan Yao
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

[PATCH v10 0/3] i2c: imx: add DMA support for freescale i2c driver

2014-11-17 Thread Yuan Yao
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

[PATCH v10 2/3] Documentation:add DMA support for freescale i2c driver

2014-11-17 Thread Yuan Yao
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

[PATCH v11 0/3] i2c: imx: add DMA support for freescale i2c driver

2014-11-18 Thread Yuan Yao
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.

[PATCH v11 3/3] i2c: imx: add DMA support for freescale i2c driver

2014-11-18 Thread Yuan Yao
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

[PATCH v11 2/3] Documentation:add DMA support for freescale i2c driver

2014-11-18 Thread Yuan Yao
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

[PATCH v11 1/3] i2c: imx: Sort include headers alphabetically

2014-11-18 Thread Yuan Yao
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

[PATCH v9 1/3] i2c: imx: Sort include headers alphabetically

2014-10-11 Thread Yuan Yao
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

[PATCH v9 2/3] Documentation:add DMA support for freescale i2c driver

2014-10-11 Thread Yuan Yao
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

[PATCH v9 3/3] i2c: imx: add DMA support for freescale i2c driver

2014-10-11 Thread Yuan Yao
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

[PATCH v9 0/3] i2c: imx: add DMA support for freescale i2c driver

2014-10-11 Thread Yuan Yao
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()

[PATCH] serial: fsl-lpuart: disable interrupt when suspend

2015-01-21 Thread Yuan Yao
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

[PATCH v2] serial: fsl-lpuart: disable interrupt when suspend

2015-01-23 Thread Yuan Yao
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

[PATCH 2/2] ARM: dts: ls1021: Add qDMA node

2015-03-16 Thread Yuan Yao
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

[PATCH 1/2] dma: Add Freescale qDMA engine driver support

2015-03-16 Thread Yuan Yao
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

[PATCH 2/2] ARM: dts: ls1021: Add qDMA node

2015-03-16 Thread Yuan Yao
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

[PATCH] dmaengine: fsl-edma: add PM suspend/resume support

2015-07-15 Thread Yuan Yao
. 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

[no subject]

2015-07-15 Thread Yuan Yao
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/

[PATCH v2] dmaengine: fsl-edma: add PM suspend/resume support

2015-07-21 Thread Yuan Yao
. 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

[PATCH v2 2/3] dma: Binding for freescale qDMA engine driver support

2015-10-22 Thread Yuan Yao
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

[PATCH v2 1/3] dma: Add Freescale qDMA engine driver support

2015-10-22 Thread Yuan Yao
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

[PATCH v2 3/3] dma: dts: Add Freescale qDMA engine driver support

2015-10-22 Thread Yuan Yao
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

[PATCH] mtd: spi-nor: fsl-quadspi: add big-endian support

2015-10-23 Thread 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...@freescale.com> --- drivers/mtd/spi-nor/fsl-quadspi.c

[PATCH] spi: Add DSPI support for layerscape family

2015-10-28 Thread Yuan Yao
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

[PATCH v4] dmaengine: fsl-edma: add PM suspend/resume support

2015-10-30 Thread Yuan Yao
. 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

[PATCH] arm: fix a compile error for pgtable-3level.h

2015-10-19 Thread Yuan Yao
[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

[PATCH v3] dmaengine: fsl-edma: add PM suspend/resume support

2015-10-19 Thread Yuan Yao
. 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

[PATCH] arm/dts: Add node for ina220 on LS1021ATWR

2015-09-16 Thread Yuan Yao
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

[PATCH] mtd: spi-nor: Add support for sst25wf040b

2015-09-16 Thread Yuan Yao
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

[PATCH 1/2] dma: Add Freescale qDMA engine driver support

2015-09-11 Thread Yuan Yao
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

[PATCH 2/2] dma: dts: Add Freescale qDMA engine driver support

2015-09-11 Thread Yuan Yao
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

[PATCH v2 2/4] mtd: spi-nor: fsl-quadspi: add support for ls1021a

2015-12-24 Thread Yuan Yao
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

[PATCH v3 1/4] mtd: spi-nor: fsl-quadspi: add big-endian support

2015-12-24 Thread 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> --- Changed in v3: Update my email to <yao.y..

[PATCH 4/4] Documentation: fsl-quadspi: Add optional properties

2015-12-24 Thread Yuan Yao
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

[PATCH v2 1/4] Documentation: fsl-quadspi: Add fsl,ls2080a-dspi compatible string

2015-12-24 Thread Yuan Yao
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

[PATCH v2 4/4] mtd: spi-nor: fsl-quadspi: extend support for some special requerment.

2015-12-24 Thread Yuan Yao
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

[PATCH v2 3/4] dts/ls2080a: update the DTS for QSPI and DSPI support

2015-12-24 Thread Yuan Yao
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

[PATCH v2 2/4] Documentation: fsl-quadspi: Add fsl, ls2080a-qspi compatible string

2015-12-24 Thread Yuan Yao
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

[PATCH v2 3/4] mtd: spi-nor: fsl-quadspi: add support for layerscape

2015-12-24 Thread Yuan Yao
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,

[PATCH v2] mtd: spi-nor: fsl-quadspi: add big-endian support

2015-11-18 Thread 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...@freescale.com> --- Changed in v2: Rebase to the lastes

[PATCH] mtd: spi-nor: fsl-quadspi: add support for ls1021a

2015-11-18 Thread Yuan Yao
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.

[PATCH 4/5] mtd: spi-nor: fsl-quadspi: add support for layerscape

2015-11-18 Thread Yuan Yao
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

[PATCH] Documentation: fsl-quadspi: Add fsl, ls1021-qspi compatible string

2015-11-18 Thread Yuan Yao
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

[PATCH] dts/ls1021a: add the DTS for QSPI support

2016-01-28 Thread Yuan Yao
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

[PATCH v4 3/7] mtd: spi-nor: fsl-quadspi: add support for layerscape

2016-01-25 Thread Yuan Yao
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> ---

[PATCH v4 1/7] mtd: spi-nor: fsl-quadspi: add big-endian support

2016-01-25 Thread 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

[PATCH v4 7/7] Documentation: fsl-quadspi: Add optional properties

2016-01-25 Thread Yuan Yao
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

[PATCH v4 4/7] Documentation: fsl-quadspi: Add fsl,ls2080a-dspi compatible string

2016-01-25 Thread Yuan Yao
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

[PATCH v4 2/7] mtd: spi-nor: fsl-quadspi: add support for ls1021a

2016-01-25 Thread Yuan Yao
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

[PATCH v4 6/7] dts/ls2080a: update the DTS for QSPI and DSPI support

2016-01-25 Thread Yuan Yao
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 +

[PATCH v4 5/7] Documentation: fsl-quadspi: Add fsl, ls2080a-qspi compatible string

2016-01-25 Thread Yuan Yao
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

[PATCH v3 3/4] dts/ls2080a: update the DTS for QSPI and DSPI support

2016-01-20 Thread Yuan Yao
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

[PATCH v3 4/4] Documentation: fsl-quadspi: Add optional properties

2016-01-20 Thread Yuan Yao
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 |

[PATCH v3 1/4] Documentation: fsl-quadspi: Add fsl,ls2080a-dspi compatible string

2016-01-20 Thread Yuan Yao
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&

[PATCH v3 2/4] Documentation: fsl-quadspi: Add fsl, ls2080a-qspi compatible string

2016-01-20 Thread Yuan Yao
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&

mtd: spi-nor: fsl-quadspi: add support for ls1021a

2016-01-21 Thread Yuan Yao
/8078941/ Thanks. Yuan Yao.

[PATCH v3 1/3] mtd: spi-nor: fsl-quadspi: add big-endian support

2016-01-21 Thread 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

[PATCH v3 2/3] mtd: spi-nor: fsl-quadspi: add support for ls1021a

2016-01-21 Thread Yuan Yao
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

[PATCH v3 3/3] mtd: spi-nor: fsl-quadspi: add support for layerscape

2016-01-21 Thread Yuan Yao
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

[PATCH v6 2/2] dts/ls2080a: update the DTS for QSPI and DSPI support

2016-03-09 Thread Yuan Yao
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

[PATCH v6 1/2] Documentation: fsl: dspi: Add fsl,ls2080a-dspi compatible string

2016-03-09 Thread Yuan Yao
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

[PATCH v6 0/2] dts/ls2080a: update the DTS for QSPI and DSPI support

2016-03-09 Thread Yuan Yao
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

[PATCH 2/2] dts/ls1043a: add the DTS node for QSPI support

2016-03-31 Thread Yuan Yao
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

[PATCH 0/2] dts/ls1043a: add the DTS node for QSPI support

2016-03-31 Thread Yuan Yao
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

[PATCH 1/2] Documentation: fsl-quadspi: Add fsl, ls1043a-qspi compatible string

2016-03-31 Thread Yuan Yao
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

[PATCH v2 0/2] arm64: dts: ls1043a: add the DTS node for QSPI support

2016-04-13 Thread Yuan Yao
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 ++-

[PATCH v2 1/2] Documentation: fsl-quadspi: Add fsl, ls1043a-qspi compatible string

2016-04-13 Thread Yuan Yao
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

[PATCH v2 2/2] arm64: dts: ls1043a: add the DTS node for QSPI support

2016-04-13 Thread Yuan Yao
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

[PATCH 2/2] dts/ls2080a: Update DSPI compatible

2016-03-08 Thread Yuan Yao
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

[PATCH v5 1/2] Documentation: fsl: dspi: Add fsl,ls2080a-dspi compatible string

2016-03-08 Thread Yuan Yao
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

[PATCH v1 4/5] ARM: dts: ls1043a: add qDMA node

2016-08-18 Thread Yuan Yao
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   2   3   >