mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-28 17:21:36 +02:00
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>
This commit is contained in:
parent
1730af1bbd
commit
ee52f1a5fe
@ -41,6 +41,8 @@ enum {
|
|||||||
* Buck Regulators
|
* Buck Regulators
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define PFUZE100_SW1ABC_SETP(x) ((x - 3000) / 250)
|
||||||
|
|
||||||
/* SW1A/B/C Output Voltage Configuration */
|
/* SW1A/B/C Output Voltage Configuration */
|
||||||
#define SW1x_0_300V 0
|
#define SW1x_0_300V 0
|
||||||
#define SW1x_0_325V 1
|
#define SW1x_0_325V 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user