Re: [PATCH] mtd: rawnand: qcom: update last code word register

2021-02-26 Thread mdalam
On 2021-02-24 22:06, Miquel Raynal wrote: Hello, mda...@codeaurora.org wrote on Wed, 24 Feb 2021 22:00:05 +0530: On 2021-02-24 12:18, Miquel Raynal wrote: > Hello, > > mda...@codeaurora.org wrote on Wed, 24 Feb 2021 10:09:48 +0530: > >> On 2021-02-24 01:13, mda...@codeaurora.org wrote: >> >

Re: [PATCH] mtd: rawnand: qcom: update last code word register

2021-02-24 Thread mdalam
On 2021-02-24 12:18, Miquel Raynal wrote: Hello, mda...@codeaurora.org wrote on Wed, 24 Feb 2021 10:09:48 +0530: On 2021-02-24 01:13, mda...@codeaurora.org wrote: > On 2021-02-23 22:04, Miquel Raynal wrote: >> Hello, >> >> Md Sadre Alam wrote on Tue, 23 Feb 2021 >> 01:34:27 +0530: >> >>>

Re: [PATCH] mtd: rawnand: qcom: update last code word register

2021-02-23 Thread mdalam
On 2021-02-24 01:13, mda...@codeaurora.org wrote: On 2021-02-23 22:04, Miquel Raynal wrote: Hello, Md Sadre Alam wrote on Tue, 23 Feb 2021 01:34:27 +0530: From QPIC version 2.0 onwards new register got added to read last a new codeword. This change will

Re: [PATCH] mtd: rawnand: qcom: update last code word register

2021-02-23 Thread mdalam
On 2021-02-23 22:04, Miquel Raynal wrote: Hello, Md Sadre Alam wrote on Tue, 23 Feb 2021 01:34:27 +0530: From QPIC version 2.0 onwards new register got added to read last a new codeword. This change will add the READ_LOCATION_LAST_CW_n register.

Re: [PATCH] mtd: rawnand: qcom: update last code word register

2021-02-21 Thread mdalam
On 2021-02-18 21:59, mda...@codeaurora.org wrote: On 2021-02-18 14:50, Miquel Raynal wrote: Hello, >> >> +/* helper to configure location register values */ >> +static void nandc_set_read_loc(struct nand_chip *chip, int cw, int >> reg, >> + int offset, int size,

Re: [PATCH] mtd: rawnand: qcom: update last code word register

2021-02-18 Thread mdalam
On 2021-02-18 14:50, Miquel Raynal wrote: Hello, >> >> +/* helper to configure location register values */ >> +static void nandc_set_read_loc(struct nand_chip *chip, int cw, int >> reg, >> + int offset, int size, int is_last) > > You know cw, you have access to

Re: [PATCH] mtd: rawnand: qcom: update last code word register

2021-02-16 Thread mdalam
On 2021-02-16 13:46, Miquel Raynal wrote: Hello, Md Sadre Alam wrote on Tue, 16 Feb 2021 00:46:42 +0530: From QPIC version 2.0 onwards new register got added to read last codeword. This change will add the READ_LOCATION_LAST_CW_n register. For first three code word READ_LOCATION_n register

Re: [PATCH] mtd: spi-nor: gigadevice: Add support for gd25lb256e

2021-02-16 Thread mdalam
On 2021-02-09 16:41, Md Sadre Alam wrote: Add support for gd25lb256e. This device tested on IPQ5018 platform with dd from/to the flash for read/write respectly, and mtd erase for erasing the flash. Signed-off-by: Md Sadre Alam --- drivers/mtd/spi-nor/gigadevice.c | 3 +++ 1 file changed, 3

Re: [PATCH] mtd: rawnand: qcom: update last code word register

2021-02-15 Thread mdalam
On 2021-02-15 14:10, Miquel Raynal wrote: Hello, Md Sadre Alam wrote on Mon, 15 Feb 2021 02:47:31 +0530: From QPIC version 2.0 onwards new register got added to read last codeword. This change will add the READ_LOCATION_LAST_CW_n register. For first three code word READ_LOCATION_n register

Re: [PATCH V4] mtd: rawnand: qcom: update last code word register

2021-02-14 Thread mdalam
On 2021-02-12 13:49, Miquel Raynal wrote: Hello, mda...@codeaurora.org wrote on Fri, 12 Feb 2021 01:00:47 +0530: On 2021-02-11 19:37, Miquel Raynal wrote: > Hello, > > Manivannan Sadhasivam wrote on Wed, > 10 Feb 2021 14:31:44 +0530: > >> On Fri, Jan 29, 2021 at 03:09:19AM +0530, Md Sadre

Re: [PATCH V4] mtd: rawnand: qcom: update last code word register

2021-02-11 Thread mdalam
On 2021-02-11 19:37, Miquel Raynal wrote: Hello, Manivannan Sadhasivam wrote on Wed, 10 Feb 2021 14:31:44 +0530: On Fri, Jan 29, 2021 at 03:09:19AM +0530, Md Sadre Alam wrote: > From QPIC version 2.0 onwards new register got added to > read last codeword. This change will add the

Re: [PATCH] dmaengine: qcom: bam_dma: Add LOCK and UNLOCK flag bit support

2021-02-10 Thread mdalam
On 2021-02-09 23:05, Bjorn Andersson wrote: On Mon 01 Feb 09:50 CST 2021, mda...@codeaurora.org wrote: On 2021-02-01 12:13, Vinod Koul wrote: > On 01-02-21, 11:52, mda...@codeaurora.org wrote: > > On 2021-02-01 11:35, Vinod Koul wrote: > > > On 27-01-21, 23:56, mda...@codeaurora.org wrote: > >

Re: [PATCH] dmaengine: qcom: bam_dma: Add LOCK and UNLOCK flag bit support

2021-02-09 Thread mdalam
On 2021-02-01 21:20, mda...@codeaurora.org wrote: On 2021-02-01 12:13, Vinod Koul wrote: On 01-02-21, 11:52, mda...@codeaurora.org wrote: On 2021-02-01 11:35, Vinod Koul wrote: > On 27-01-21, 23:56, mda...@codeaurora.org wrote: > > The actual LOCK/UNLOCK flag should be set on hardware

Re: [PATCH V3] mtd: rawnand: qcom: update last code word register

2021-02-05 Thread mdalam
On 2021-01-29 10:41, mda...@codeaurora.org wrote: On 2021-01-28 13:22, Manivannan Sadhasivam wrote: On Sun, Jan 10, 2021 at 09:31:45AM +0530, Md Sadre Alam wrote: From QPIC version 2.0 onwards new register got added to read last codeword. This change will update the same. For first three code

Re: [PATCH] mtd: rawnand: qcom: Update register macro name for 0x2c offset

2021-02-05 Thread mdalam
On 2021-01-31 01:37, Md Sadre Alam wrote: This change will remove unused register name macro NAND_DEV1_ECC_CFG. Since this register was only available in QPIC version 1.4.20 ipq40xx and it was not used. In QPIC version 1.5 on wards this register got removed.In QPIC version 2.0 0x2c offset is

Re: [PATCH] dmaengine: qcom: bam_dma: Add LOCK and UNLOCK flag bit support

2021-02-01 Thread mdalam
On 2021-02-01 12:13, Vinod Koul wrote: On 01-02-21, 11:52, mda...@codeaurora.org wrote: On 2021-02-01 11:35, Vinod Koul wrote: > On 27-01-21, 23:56, mda...@codeaurora.org wrote: > > The actual LOCK/UNLOCK flag should be set on hardware command > > descriptor. > > so this flag setting

Re: [PATCH] dmaengine: qcom: bam_dma: Add LOCK and UNLOCK flag bit support

2021-01-31 Thread mdalam
On 2021-02-01 11:35, Vinod Koul wrote: On 27-01-21, 23:56, mda...@codeaurora.org wrote: On 2021-01-19 22:15, Vinod Koul wrote: > On 18-01-21, 09:21, mda...@codeaurora.org wrote: > > On 2021-01-15 11:28, Vinod Koul wrote: > > > On 14-01-21, 01:20, mda...@codeaurora.org wrote: > > > > On

Re: [PATCH V3] mtd: rawnand: qcom: update last code word register

2021-01-28 Thread mdalam
On 2021-01-28 13:22, Manivannan Sadhasivam wrote: On Sun, Jan 10, 2021 at 09:31:45AM +0530, Md Sadre Alam wrote: From QPIC version 2.0 onwards new register got added to read last codeword. This change will update the same. For first three code word READ_LOCATION_n register will be use.For last

Re: [PATCH V3] mtd: rawnand: qcom: update last code word register

2021-01-28 Thread mdalam
On 2021-01-29 03:41, Miquel Raynal wrote: Hello, mda...@codeaurora.org wrote on Fri, 29 Jan 2021 03:18:46 +0530: On 2021-01-14 21:23, Miquel Raynal wrote: > Hello, > > Md Sadre Alam wrote on Sun, 10 Jan 2021 > 09:31:45 +0530: > >> From QPIC version 2.0 onwards new register got added to > >

Re: [PATCH V3] mtd: rawnand: qcom: update last code word register

2021-01-28 Thread mdalam
On 2021-01-14 21:23, Miquel Raynal wrote: Hello, Md Sadre Alam wrote on Sun, 10 Jan 2021 09:31:45 +0530: From QPIC version 2.0 onwards new register got added to a read last codeword. This change will update the same. the?

Re: [PATCH] dmaengine: qcom: bam_dma: Add LOCK and UNLOCK flag bit support

2021-01-27 Thread mdalam
On 2021-01-19 22:15, Vinod Koul wrote: On 18-01-21, 09:21, mda...@codeaurora.org wrote: On 2021-01-15 11:28, Vinod Koul wrote: > On 14-01-21, 01:20, mda...@codeaurora.org wrote: > > On 2021-01-12 15:40, Vinod Koul wrote: > > > On 12-01-21, 15:01, mda...@codeaurora.org wrote: > > > > On

Re: [PATCH] dmaengine: qcom: bam_dma: Add LOCK and UNLOCK flag bit support

2021-01-17 Thread mdalam
On 2021-01-15 11:28, Vinod Koul wrote: On 14-01-21, 01:20, mda...@codeaurora.org wrote: On 2021-01-12 15:40, Vinod Koul wrote: > On 12-01-21, 15:01, mda...@codeaurora.org wrote: > > On 2020-12-21 23:03, mda...@codeaurora.org wrote: > > > On 2020-12-21 14:53, Vinod Koul wrote: > > > > Hello, > >

Re: [PATCH] dmaengine: qcom: bam_dma: Add LOCK and UNLOCK flag bit support

2021-01-13 Thread mdalam
On 2021-01-12 15:40, Vinod Koul wrote: On 12-01-21, 15:01, mda...@codeaurora.org wrote: On 2020-12-21 23:03, mda...@codeaurora.org wrote: > On 2020-12-21 14:53, Vinod Koul wrote: > > Hello, > > > > On 17-12-20, 20:07, Md Sadre Alam wrote: > > > This change will add support for LOCK & UNLOCK

Re: [PATCH] dmaengine: qcom: bam_dma: Add LOCK and UNLOCK flag bit support

2021-01-12 Thread mdalam
On 2020-12-21 23:03, mda...@codeaurora.org wrote: On 2020-12-21 14:53, Vinod Koul wrote: Hello, On 17-12-20, 20:07, Md Sadre Alam wrote: This change will add support for LOCK & UNLOCK flag bit support on CMD descriptor. If DMA_PREP_LOCK flag passed in prep_slave_sg then requester of this

Re: [PATCH] dmaengine: qcom: bam_dma: Add LOCK and UNLOCK flag bit support

2021-01-12 Thread mdalam
On 2020-12-22 17:48, mda...@codeaurora.org wrote: On 2020-12-21 23:39, Thara Gopinath wrote: On 12/21/20 2:35 AM, mda...@codeaurora.org wrote: On 2020-12-19 09:05, Thara Gopinath wrote: On 12/17/20 9:37 AM, Md Sadre Alam wrote: This change will add support for LOCK & UNLOCK flag bit support

Re: [PATCH] mtd: rawnand: qcom: update last code word register

2021-01-09 Thread mdalam
On 2021-01-05 21:15, Manivannan Sadhasivam wrote: On Tue, Jan 05, 2021 at 12:24:45AM +0530, mda...@codeaurora.org wrote: On 2020-12-31 16:23, Manivannan Sadhasivam wrote: > On Thu, Dec 17, 2020 at 07:32:56PM +0530, Md Sadre Alam wrote: > > From QPIC version 2.0 onwards new register got added to

Re: [PATCH] mtd: rawnand: qcom: update last code word register

2021-01-04 Thread mdalam
On 2020-12-31 16:23, Manivannan Sadhasivam wrote: On Thu, Dec 17, 2020 at 07:32:56PM +0530, Md Sadre Alam wrote: From QPIC version 2.0 onwards new register got added to read last codeword. This change will update the same. For first three code word READ_LOCATION_n register will be use.For last

Re: [PATCH] dmaengine: qcom: bam_dma: Add LOCK and UNLOCK flag bit support

2020-12-22 Thread mdalam
On 2020-12-21 23:39, Thara Gopinath wrote: On 12/21/20 2:35 AM, mda...@codeaurora.org wrote: On 2020-12-19 09:05, Thara Gopinath wrote: On 12/17/20 9:37 AM, Md Sadre Alam wrote: This change will add support for LOCK & UNLOCK flag bit support on CMD descriptor. If DMA_PREP_LOCK flag passed in

Re: [PATCH] dmaengine: qcom: bam_dma: Add LOCK and UNLOCK flag bit support

2020-12-21 Thread mdalam
On 2020-12-21 14:53, Vinod Koul wrote: Hello, On 17-12-20, 20:07, Md Sadre Alam wrote: This change will add support for LOCK & UNLOCK flag bit support on CMD descriptor. If DMA_PREP_LOCK flag passed in prep_slave_sg then requester of this transaction wanted to lock the DMA controller for this

Re: [PATCH] dmaengine: qcom: bam_dma: Add LOCK and UNLOCK flag bit support

2020-12-20 Thread mdalam
On 2020-12-19 09:05, Thara Gopinath wrote: On 12/17/20 9:37 AM, Md Sadre Alam wrote: This change will add support for LOCK & UNLOCK flag bit support on CMD descriptor. If DMA_PREP_LOCK flag passed in prep_slave_sg then requester of this transaction wanted to lock the DMA controller for this

Re: [PATCH 2/5] mtd: rawnand: qcom: Add initial support for qspi nand

2020-11-27 Thread mdalam
On 2020-10-29 14:37, Boris Brezillon wrote: Hello, On Sat, 10 Oct 2020 11:01:39 +0530 Md Sadre Alam wrote: This change will add initial support for qspi (serial nand). QPIC Version v.2.0 onwards supports serial nand as well so this change will initialize all required register to enable qspi

Re: [PATCH 0/5] mtd: rawnand: qcom: Add support for QSPI nand

2020-10-28 Thread mdalam
On 2020-10-28 15:18, Miquel Raynal wrote: Hello, Md Sadre Alam wrote on Sat, 10 Oct 2020 11:01:37 +0530: QPIC 2.0 supports Serial NAND support in addition to all features and commands in QPIC 1.0 for parallel NAND. Parallel and Serial NAND cannot operate simultaneously. QSPI nand devices