1. Cypress do not have directly firmware code can be apply into your project.
2. Lucky, Cypress have example code for I2C master control PS8742B with CCG3. The example code can be find out in CYPD3125_notebook code example and CYPD3123_cdt_us code ecample.
3. The code example can be get it after you installed CCGx SDK:http://www.cypress.com/documentation/software-and-drivers/ez-pd-software-development-kit?source=search&cat=software_tool…