lkml.org 
[lkml]   [2012]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectregulator: tps6586x: What is the meaning of TPS6586X_SLEW_RATE_SET setting?
From
Date
Hi Mike,
While looking at the datasheet (tps65860 and tps65862),
I don't understand why we have TPS6586X_SLEW_RATE_SET (0x08) in the code.

According to the datasheet, BIT3 of SM1SL/SM0SL is not used:

SM1SL [Addr 0x25]
SM0SL [Addr 0x28]
BIT[2:0] SM0/SM1 SUPPLY RAMP RATE
BIT[7:3] NOT USED

So why we need to check the "unused bit" in tps6586x_regulator_set_slew_rate()?

if (!(setting->slew_rate & TPS6586X_SLEW_RATE_SET))
return 0;

Regards,
Axel



\
 
 \ /
  Last update: 2012-06-19 13:41    [W:0.036 / U:1.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site