Re: [PATCH v5] USB: serial: ftdi_sio: Add MTP NVM support

2018-06-26 Thread Andy Shevchenko
On Tue, Jun 26, 2018 at 3:57 PM, Andy Shevchenko wrote: Just noticed you have sent v6. I'm pretty fine with it, thanks! -- With Best Regards, Andy Shevchenko -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More major

Re: [PATCH v5] USB: serial: ftdi_sio: Add MTP NVM support

2018-06-26 Thread Andy Shevchenko
On Tue, Jun 26, 2018 at 2:51 PM, Loic Poulain wrote: > On 26 June 2018 at 13:02, Andy Shevchenko wrote: >> On Mon, Jun 25, 2018 at 3:35 PM, Loic Poulain >> wrote: >>> + unsigned char *buf = val; >> >> Btw, not sure why you need this now... > > Not needed indeed, just wanted to avoid ar

Re: [PATCH v5] USB: serial: ftdi_sio: Add MTP NVM support

2018-06-26 Thread Loic Poulain
Hi Andy, On 26 June 2018 at 13:02, Andy Shevchenko wrote: > On Mon, Jun 25, 2018 at 3:35 PM, Loic Poulain wrote: >> Most of FTDI's devices have an EEPROM which records FTDI devices >> configuration setting (e.g. the VID, PID, I/O config...) and user >> data. For example, FT232R and FTX chips hav

Re: [PATCH v5] USB: serial: ftdi_sio: Add MTP NVM support

2018-06-26 Thread Andy Shevchenko
On Mon, Jun 25, 2018 at 3:35 PM, Loic Poulain wrote: > Most of FTDI's devices have an EEPROM which records FTDI devices > configuration setting (e.g. the VID, PID, I/O config...) and user > data. For example, FT232R and FTX chips have 128-byte and 2048-byte > internal EEPROM respectively. > > This

[PATCH v5] USB: serial: ftdi_sio: Add MTP NVM support

2018-06-25 Thread Loic Poulain
Most of FTDI's devices have an EEPROM which records FTDI devices configuration setting (e.g. the VID, PID, I/O config...) and user data. For example, FT232R and FTX chips have 128-byte and 2048-byte internal EEPROM respectively. This patch adds support for FTDI EEPROM read/write via USB control tr