Skip to content
Snippets Groups Projects
Commit ee52f1a5 authored by Peng Fan's avatar Peng Fan Committed by Stefano Babic
Browse files

pmic:pfuze add macro for setting voltage


"#define PFUZE100_SW1ABC_SETP(x) ((x - 3000) / 250)"
This macro is for configuring SW1A/B/C Output Voltage easily.

Signed-off-by: default avatarPeng Fan <Peng.Fan@freescale.com>
parent 1730af1b
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,8 @@ enum {
* Buck Regulators
*/
#define PFUZE100_SW1ABC_SETP(x) ((x - 3000) / 250)
/* SW1A/B/C Output Voltage Configuration */
#define SW1x_0_300V 0
#define SW1x_0_325V 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment