I still do not have any evaluation hardware.
By the way, my usage for TPS40400/TPS40422 is just output voltage control. Have no sensors being used in my scenario.
Will you be able to comment on my below steps and its validity:
1. To get the current output I do a READ_VOUT and then convert it to microvolts format, for e.g. finally i get 942734uV
2. To set a output voltage to say 902234 based on some requirement,
My nominal voltage being 1.1V
hence trim_offset = 902234 - 1100000
therefor I do: PMBUS_VOUT_TRIM with a value ffa7
Is the above logic right? my VOUT_SCALE_LOOP is
600mV/1100mV x (2^9) = 279.27 => 100010111 => b917
Regards,
Vivek
Vivek
On 22 February 2012 09:45, Guenter Roeck <guenter.roeck@xxxxxxxxxxxx> wrote:
On Fri, Feb 10, 2012 at 01:20:25AM -0500, Vivek Bardia wrote:
Hi,> Hello,
>
> I want to know whether does the current pmbus driver support dual output buck
> controller based PMIC?
>
> Basically for this particular PMIC: http://goo.gl/BFwcu
>
> How do I test the driver for it?
>
I got the evaluation board for TPS40422. Here is the output from the sensors command
after instantiating it as "pmbus".
pmbus-i2c-0-1b
Adapter: i2c-diolan-u2c:002
vout1: +1.20 V
vout2: +3.30 V
temp1: +26.0°C (high = +100.0°C, crit = +125.0°C)
iout1: +0.31 A (max = +25.00 A, crit max = +30.00 A)
iout2: +0.31 A (max = +20.00 A, crit max = +25.00 A)
Similar, for TPS40400:
pmbus-i2c-0-1c
Adapter: i2c-diolan-u2c:002
vin: +11.59 V
vout1: +1.16 V (crit min = +1.14 V, crit max = +1.26 V)
iout1: +0.50 A (max = +29.00 A, crit max = +30.00 A)
Overall pretty good for generic detection. Only problem (or, rather, limitation)
with TPS40422 is that the auto-detection code does not support paged temperature
registers, and thus only a single temperature is reported.
Did you have a chance to test it yourself ?
Thanks,
Guenter
_______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors