Hello,
We are using a customized board with iMX6 processor, where Sabre-SD design is taken as reference.
Currently SW1B is working at 300mVolts but I would like to change SW1B to work at 1.375Volts,
in kernel_imx/arch/arm/mach-mx6/mx6q_cwt_pmic_pfuze100.c , inside pfuze100_init function i am trying to change PFUZE100_SW1BVOL register value as below :
| #define PFUZE100_SW1BVOL | 39 |
#define PFUZE100_SW1BVOL_VSEL 0x2b
#define PFUZE100_SW1BVOL_VSEL_M (0x3f<<0)
ret = pfuze_reg_rmw(pfuze, PFUZE100_SW1BVOL, PFUZE100_SW1BVOL_VSEL_M, PFUZE100_SW1BVOL_VSEL);
In the above code i am getting the ret value as 0, but PFUZE100_SW1BVOL dint change when i read back using pfuze_reg_read
Is the way i am trying to write the register wrong.
Thanks
SK