usb: typec: ucsi: add support for Cypress CCGx
PATCH v5 2/2 usb: typec: ucsi: add support for Cypress CCGx
Hi Greg,
Quoted 5 lines · Ajay Gupta
Review
Quoted 1 line
(quoted diff) +1
-0+ dev_info(dev, "Silicon id %2ph", data +
CCGX_I2C_RAB_READ_SILICON_ID);Review
Quoted 1 line
(quoted diff) +1
-0+ dev_info(dev, "FW1 version %8ph\n", data +
CCGX_I2C_RAB_FW1_VERSION);
Quoted 8 lines
Review
Quoted 2 lines
(quoted diff) +2
-0+ dev_info(dev, "FW2 version %8ph\n", data + +CCGX_I2C_RAB_FW2_VERSION);Drivers should be totally quiet when initialized, unless something goes wrong. Please don't spam the kernel log with this type of stuff.
You can use
dev_dbg()if it helps with debugging the code, that might be a better idea here.
Ok, will use dev_dbg().
Quoted 1 line
Also, a pointer? Are you sure about that? That looks really odd...
Yes, FW version is 8 byte hex code at address
data + CCGX_I2C_RAB_FWx_VERSION
Thanks
Ajay
---
nvpublic
--