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.

AVS issue about tps40400

Other Parts Discussed in Thread: TPS40400

Hi guys,

Now we are facing AVS issue , we use tps40400, we just modified i2c address from 0x00 to 0x08( we assign tps40400 0x08 address in our borad)

 

 we use hardware machine to detect output voltage is almost  unchanged  , the total log about tps40400 is as below.

 we have selected “ Regulator debug support “  and  excluded “GPIO voltage regulator” in linux kernel configuration.

our using  psp  version is TI816X-LINUX-PSP-04.00.00.12 

 

176:tps40400_enable Read PMBUS_OPERATION: 0x0

180:tps40400_enable Set: Enable PMBUS_OPERATION: 0

85:tps40400_get_voltage Current Output voltage -1678679uV register value=0xa10

regulator: pmbus_vr: 800 <--> 1100 mV

272:tps40400_probe TPS40400 exponent:-10

85:tps40400_get_voltage Current Output voltage -1678679uV register value=0xa10

285:tps40400_probe PMBUS_REVISION: 17

288:tps40400_probe VOUT_CAL_OFFSET: 0

291:tps40400_probe VOUT_CAL_GAIN: 0

294:tps40400_probe PMBUS_VOUT_SCALE_LOOP: b900

298:tps40400_probe Set PMBUS_VOUT_SCALE_LOOP: 0

301:tps40400_probe PMBUS_VOUT_SCALE_LOOP: b933

305:tps40400_probe PMBUS_VOUT_MARGIN_HIGH: 547

309:tps40400_probe PMBUS_VOUT_MARGIN_LOW: 451

317:tps40400_probe PMBUS_VOUT_MARGIN_LOW: 33d

321:tps40400_probe PMBUS_READ_VOUT: a10

327:tps40400_probe Read VOUT_TRIM: 0x0

340:tps40400_probe VOUT_CAL_OFFSET: 241

  • Hi,

    You changes seem to be ok and your TPS40400 is accessible from A8 on DM8168.

    Did you follow the steps in the AVS PMBus Driver User Guide? It talks about the meaning of the different commands and the values that are returned by TPS40400.

     

    Did you run the following commands on your target filesystem?

     

     

     

     

     

     

     

    Using this Driver

    Type the below commands to enable/disable the driver:

    $ mount -t debugfs debugfs /sys/kernel/debug

    Enable:

     

     

    $ echo 1 > /sys/kernel/debug/smartreflex/autocomp

    Disable:

     

     

    $ echo 0 > /sys/kernel/debug/smartreflex/autocomp

    Regards,

    Anshuman

    PS: Please mark this post as verified, if you think it has answered your question. Thanks.