mbox series

[v7,0/3] Add support for firmware update on Cypres CCGx

Message ID 20190412190623.26945-1-ajayg@nvidia.com (mailing list archive)
Headers show
Series Add support for firmware update on Cypres CCGx | expand

Message

Ajay Gupta April 12, 2019, 7:06 p.m. UTC
Hi Heikki

These changes add support for updating firmware on Cypress CCGx
controller. New version (v7) fixes comments from you by reading fw build
information from device property. 

First patch in same as posted with v6. There is no change in it.

Second patch is from you and adds fw_build device property in i2c-nvidia-gpu
driver. I have updated the commit message, added a comment and also used
'n' and 'v' to be more clear than using hex code. I think it should go with
usb tree since it enables a feature in usb driver.

Third patch "usb: typec: ucsi: ccg: add firmware flashing support" has the
change at [1] (from you) squashed into it. I have updated it to fix two sparse
warning and not fail the driver if fw build info in not provided. Instead
just fail fw flashing only.

I have tested them on NVIDIA GPU card.

Firmware binary is already merged. Details are at [2].

Please help review this set.

Thanks
Ajay

[1] https://marc.info/?l=linux-usb&m=155508466310059&w=2
[2] https://marc.info/?l=linux-usb&m=155006182508289&w=2

Ajay Gupta (2):
  usb: typec: ucsi: ccg: add get_fw_info function
  usb: typec: ucsi: ccg: add firmware flashing support

Heikki Krogerus (1):
  i2c: nvidia-gpu: Supply CCGx driver the fw build info

 drivers/i2c/busses/i2c-nvidia-gpu.c |   7 +
 drivers/usb/typec/ucsi/ucsi_ccg.c   | 895 +++++++++++++++++++++++++++-
 2 files changed, 892 insertions(+), 10 deletions(-)