Skip to content
Snippets Groups Projects
Commit 894a4b4d authored by Breno Lima's avatar Breno Lima Committed by Stefano Babic
Browse files

power: pmic: Add Voltage configuration macro


Add pfuze3000 voltage configuration macro for SW1AB, SW3 and VLDO1/2 according
to tables 53, 57 and 62 on PF3000 datasheet.

Signed-off-by: default avatarBreno Lima <breno.lima@nxp.com>
parent 0719b16f
No related branches found
No related tags found
No related merge requests found
......@@ -75,4 +75,9 @@ enum {
int power_pfuze3000_init(unsigned char bus);
/* Voltage Configuration */
#define PFUZE3000_SW1AB_SETP(x) ((x - 7000) / 250)
#define PFUZE3000_SW3_SETP(x) ((x - 9000) / 500)
#define PFUZE3000_VLDO_SETP(x) ((x - 8000) / 500)
#endif
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