Add support for firmware update on Cypres CCGx
v7 cover Add support for firmware update on Cypres CCGx
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(-)
Signature · 1 line
2.17.1