Re: [PATCH v7 02/20] spi: spi-mem: allow specifying a command's extension

2020-05-22 Thread Pratyush Yadav
On 22/05/20 05:32PM, Boris Brezillon wrote: > On Fri, 22 May 2020 15:42:43 +0530 > Pratyush Yadav wrote: > > > In xSPI mode, flashes expect 2-byte opcodes. The second byte is called > > the "command extension". There can be 3 types of extensions in xSPI: > > repeat, invert, and hex. When the exte

Re: [PATCH v7 02/20] spi: spi-mem: allow specifying a command's extension

2020-05-22 Thread Boris Brezillon
On Fri, 22 May 2020 15:42:43 +0530 Pratyush Yadav wrote: > In xSPI mode, flashes expect 2-byte opcodes. The second byte is called > the "command extension". There can be 3 types of extensions in xSPI: > repeat, invert, and hex. When the extension type is "repeat", the same > opcode is sent twice.

[PATCH v7 02/20] spi: spi-mem: allow specifying a command's extension

2020-05-22 Thread Pratyush Yadav
In xSPI mode, flashes expect 2-byte opcodes. The second byte is called the "command extension". There can be 3 types of extensions in xSPI: repeat, invert, and hex. When the extension type is "repeat", the same opcode is sent twice. When it is "invert", the second byte is the inverse of the opcode.