Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed from November 25 through December 2. Thank you for your patience.

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.

TPS2552D: What is the appropriate linux driver

Part Number: TPS2552D

Tool/software:

Hi,

I'm working on a custom board based on an AM62 with a 6.1 linux kernel using the TPS2552DBVT to manage the power supply of an SD card. I am having difficulties with the driver choice in linux for that component. It didn't find a dedicated one and the "regulator-fixed" seems like the right generic driver. However, while the fault pin of the component is connected to the SOC, I don't find a device tree binding for it and don't know what to do with it so I have the following questions.

Is there a dedicated driver I missed ?

If it's not the case, is there a better suited generic one ?

If there isn't a better suited generic one, how the fault pin should be managed in a device tree ?

Thanks in advance for your support.

  • Hi Simon,

    A quick search in kernel doesn't find a device driver for TPS2552D. But I don't think you need a driver for handling its fault pin, I don't think there is likely to be any condition which causes over-current in SD card applications.

  • Hi Bin,

    Thanks for the quick answer. I understand that I don't need to bind the fault pin to anything then. For the driver, does that mean the simple fixed-regulator one should work ? Or is making a specific one required ?

    Thanks

  • Hi Simon,

    Yes, you can use "regulator-fixed" for this switch. Its enable pin should be controlled by a GPIO, this should be specified in the device tree too.

    Please refer to the "vdd_mmc1" node in kernel devic tree k3-am625-sk.dts.