[PATCH] spi: fsl-lpspi: Prevent FIFO under/overrun by default

2018-10-02 Thread Hieu Tran Dang
proceeding. This patch unset the NOSTALL bit in CFGR1 by default to prevent this issue. Signed-off-by: Hieu Tran Dang --- drivers/spi/spi-fsl-lpspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-fsl-lpspi.c b/drivers/spi/spi-fsl-lpspi.c index e6d5cc6ab108

[PATCH] spi: fsl-lpspi: Prevent FIFO under/overrun by default

2018-10-02 Thread Hieu Tran Dang
proceeding. This patch unset the NOSTALL bit in CFGR1 by default to prevent this issue. Signed-off-by: Hieu Tran Dang --- drivers/spi/spi-fsl-lpspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-fsl-lpspi.c b/drivers/spi/spi-fsl-lpspi.c index e6d5cc6ab108

Re: [PATCH 1/2] dt-bindings: spi: fsl-lpspi: Option to allow stalling

2018-09-30 Thread Hieu Tran Dang
Agree. I will create new patch which will just allow stalling by default. Vào Th 6, 28 thg 9, 2018 vào lúc 05:47 Mark Brown đã viết: > > On Wed, Sep 26, 2018 at 09:37:39PM +0700, Đặng Trần Hiếu wrote: > > > Default value of the register is to allow stalling (NOSTALL bit not > > set) but the

Re: [PATCH 1/2] dt-bindings: spi: fsl-lpspi: Option to allow stalling

2018-09-30 Thread Hieu Tran Dang
Agree. I will create new patch which will just allow stalling by default. Vào Th 6, 28 thg 9, 2018 vào lúc 05:47 Mark Brown đã viết: > > On Wed, Sep 26, 2018 at 09:37:39PM +0700, Đặng Trần Hiếu wrote: > > > Default value of the register is to allow stalling (NOSTALL bit not > > set) but the

[PATCH 1/2] dt-bindings: spi: fsl-lpspi: Option to allow stalling

2018-09-25 Thread Hieu Tran Dang
This patch add fsl,allow-stalling property documentation for fsl-lpspi Signed-off-by: Hieu Tran Dang --- Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt b/Documentation

[PATCH 0/2] spi: fsl-lpspi: Option to prevent FIFO under/overrun

2018-09-25 Thread Hieu Tran Dang
proceeding. This patch add option to configure the SPI controller to allow stalling (unset NOSTALL bit in CFGR1). Hieu Tran Dang (2): dt-bindings: spi: fsl-lpspi: Option to allow stalling spi: fsl-lpspi: Option to prevent FIFO under/overrun .../devicetree/bindings/spi/spi-fsl-lpspi.txt

[PATCH 1/2] dt-bindings: spi: fsl-lpspi: Option to allow stalling

2018-09-25 Thread Hieu Tran Dang
This patch add fsl,allow-stalling property documentation for fsl-lpspi Signed-off-by: Hieu Tran Dang --- Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt b/Documentation

[PATCH 0/2] spi: fsl-lpspi: Option to prevent FIFO under/overrun

2018-09-25 Thread Hieu Tran Dang
proceeding. This patch add option to configure the SPI controller to allow stalling (unset NOSTALL bit in CFGR1). Hieu Tran Dang (2): dt-bindings: spi: fsl-lpspi: Option to allow stalling spi: fsl-lpspi: Option to prevent FIFO under/overrun .../devicetree/bindings/spi/spi-fsl-lpspi.txt

[PATCH 2/2] spi: fsl-lpspi: Option to prevent FIFO under/overrun

2018-09-25 Thread Hieu Tran Dang
proceeding. This patch add option to configure the SPI controller to allow stalling (unset NOSTALL bit in CFGR1). Signed-off-by: Hieu Tran Dang --- drivers/spi/spi-fsl-lpspi.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-fsl-lpspi.c b/drivers/spi/spi

[PATCH 2/2] spi: fsl-lpspi: Option to prevent FIFO under/overrun

2018-09-25 Thread Hieu Tran Dang
proceeding. This patch add option to configure the SPI controller to allow stalling (unset NOSTALL bit in CFGR1). Signed-off-by: Hieu Tran Dang --- drivers/spi/spi-fsl-lpspi.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-fsl-lpspi.c b/drivers/spi/spi