打开MC13892 VVIDEO 2V775的电压

LCD供电用这个电源:

修改kernel_imx\arch\arm\mach-mx5\mx51_babbage_pmic_mc13892.c

static struct regulator_init_data vvideo_init = {
 .constraints = {
  .name = "VVIDEO",
  .min_uV = mV_to_uV(2775),
  .max_uV = mV_to_uV(2775),
  .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE |
   REGULATOR_CHANGE_STATUS,
  .apply_uV = 1,

  .boot_on = 1,         增加这两个变量
  .always_on = 1,
 },
 .num_consumer_supplies = ARRAY_SIZE(vvideo_consumers),
 .consumer_supplies = vvideo_consumers,
};

你可能感兴趣的:(打开MC13892 VVIDEO 2V775的电压)