Message ID | 1420793987-7621-7-git-send-email-Peng.Fan@freescale.com |
---|---|
State | Awaiting Upstream |
Delegated to: | Stefano Babic |
Headers | show |
On 09/01/2015 09:59, Peng Fan wrote: > "#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 | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/power/pfuze100_pmic.h b/include/power/pfuze100_pmic.h > index 7474afb..d304658 100644 > --- a/include/power/pfuze100_pmic.h > +++ b/include/power/pfuze100_pmic.h > @@ -61,6 +61,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 > To inform you: patches 1-3 must be rebased and reworked, mainly due to pmic_mode_init() (you have postpone V2 after discussion about ldo-bypass). I start applying the 5-6, that contain only new defines. Applied to u-boot-imx, thanks ! Best regards, Stefano Babic
Hi, Stefano On 2/10/2015 7:54 PM, Stefano Babic wrote: > On 09/01/2015 09:59, Peng Fan wrote: >> "#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 | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/include/power/pfuze100_pmic.h b/include/power/pfuze100_pmic.h >> index 7474afb..d304658 100644 >> --- a/include/power/pfuze100_pmic.h >> +++ b/include/power/pfuze100_pmic.h >> @@ -61,6 +61,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 >> > To inform you: patches 1-3 must be rebased and reworked, mainly due to > pmic_mode_init() (you have postpone V2 after discussion about > ldo-bypass). I start applying the 5-6, that contain only new defines. I'll rebase patches 1-3 and make the three patches a single v2 patch set. > > Applied to u-boot-imx, thanks ! > > Best regards, > Stefano Babic > Thanks, Peng.
diff --git a/include/power/pfuze100_pmic.h b/include/power/pfuze100_pmic.h index 7474afb..d304658 100644 --- a/include/power/pfuze100_pmic.h +++ b/include/power/pfuze100_pmic.h @@ -61,6 +61,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
"#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 | 2 ++ 1 file changed, 2 insertions(+)