pmic:pfuze add macro for setting voltage
authorPeng Fan <Peng.Fan@freescale.com>
Fri, 9 Jan 2015 08:59:41 +0000 (16:59 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 10 Feb 2015 11:48:48 +0000 (12:48 +0100)
commitee52f1a5fedcb261f75054352a2ef52f7a6e6dbc
tree6cd35f0d68ecd53325951fc7bf74569cf7018e32
parent1730af1bbde28e5fcf327eea1cdc29bc590e7478
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: Peng Fan <Peng.Fan@freescale.com>
include/power/pfuze100_pmic.h