This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TPS65987D: TPS65987D

Part Number: TPS65987D

Tool/software: Linux

Hi All, 

We have used the TPS6598x Application Customization tool to configure the TPS65987D on TPS65987EVM.

We already know it can implement USB TCPC/PD profile through load firmware from SPI flash, but I question is , on our customized board of ARM based , the U-BOOT need to configure it again?

even, does the TPS65987D need Linux kernel driver to this device? 

I am confused, so please give more information. Thank you every much.

 

  • Hi Eric,

    The SPI flash will hold all of the configuration data and read from it when ever it powers up (from VIN_3V3 or VBUS in dead battery. There is no need to update the base configuration in order for the 987D to function. However if there are certain runtime cases where some of the register must be updated (such as Source/SInk Capabilities). 

    The USB Type-C and PD controller should only handle the communication required and the port and will configure any data muxes required in the system for the data path. From that perspective the native USB will be enumerated. 

    If you require the system to read specific registers from the PD controller to determine the power contract or data connection it can do that through I2C to the TPS65987D.

    We do not provide a ARM driver to communicate to the PD controller over I2C.

    Jacob

  • Hi Jacob, 

    More thanks for you reply immediately.

    As we known , recently the linux embedded board can download a program image via its usb type-c connector when configured in serial downloader mode and connect to a PC's USB , so I need to confirm design solution, do you think I need configure type-c pd in u-boot again? 

    bye the way, I found the linux driver of TPS65987D has been updated on github, Do I need to clone and program it on my linux kernel?

    Thanks for your advise.

    Eric

  • Hi Eric,

    There is not a way to do this over the Type-C connector for the PD controller through USB. The PD controller communicates over the CC line on the Type-C connector with the Power Delivery Protocol. The USB pins on the TPS65987D are only used for BC1.2(Type-A Charging Modes).

    Can you send a link to this driver?

    Jacob