Re: [PATCH v2 3/7] usb: typec: ucsi: ccg: add firmware flashing support

2019-04-16 Thread Greg Kroah-Hartman
On Mon, Apr 15, 2019 at 03:09:27PM +0300, Heikki Krogerus wrote: > +static ssize_t do_flash_show(struct device *dev, > + struct device_attribute *attr, char *buf) > +{ > + return sprintf(buf, "[Usage]\n" > + "1) copy ccg_boot.cyacd /lib/firmware/\n" > +

[PATCH v2 3/7] usb: typec: ucsi: ccg: add firmware flashing support

2019-04-15 Thread Heikki Krogerus
From: Ajay Gupta CCGx has two copies of the firmware in addition to the bootloader. If the device is running FW1, FW2 can be updated with the new version. Dual firmware mode allows the CCG device to stay in a PD contract and support USB PD and Type-C functionality while a firmware update is in pr