regulator的结构体
request_flag: 指定regulator的电路参数
返回值:
成功:0
失败:‑1
regulator 电路使能接口
函数原型
int hal_regulator_set_able...("[regulator] set regulator_en[%d]:%x, flage:%d\n", id, REGULATOR_GET(SOC_REGULATOR, id), flag);
hal_regulator_get...(REGULATOR_GET(SOC_REGULATOR, id), ®ulator);
printf("[regulator] set_able regulator_en\n");
hal_regulator_set_able...("[regulator] get regulator:%x\n", REGULATOR_GET(SOC_REGULATOR, id));
hal_regulator_get(REGULATOR_GET...] set regulator:%x\n", REGULATOR_GET(SOC_REGULATOR, id));
hal_regulator_get(REGULATOR_GET(SOC_REGULATOR