It is being developed by connecting the usb audio DAC and CYPD3171 for mobile phone.
To solve the compatibility problem, the power role of cypd 3171 must first act as a sink and then as a source whenever it is connected to a mobile phone.
Base code is CCG3PA power bank.
Below is a brief block diagram to help you understand.
Can you please put up your question here?