/* Do target specific usb initialization */ void target_usb_init(void) { if(board_target_id() == LINUX_MACHTYPE_8064_LIQUID) { apq8064_ext_3p3V_enable(); } }
/* * This is the start function which initializes clocks , gpios for hdmi * & powers on the HDMI core */ void hdmi_power_init() { pm8921_low_voltage_switch_enable(lvs_7); apq8064_ext_3p3V_enable(); pm8921_HDMI_Switch(); hdmi_gpio_config(); hdmi_phy_reset(); hdmi_msm_set_mode(1); }
static int apq8064_lvds_panel_power(int enable) { if (enable) { /* Enable LVS7 */ pm8921_low_voltage_switch_enable(lvs_7); /* Set and enabale LDO2 1.2V for VDDA_LVDS_PLL*/ pm8921_ldo_set_voltage(LDO_2, LDO_VOLTAGE_1_2V); /* Enable Ext 3.3V - MSM GPIO 77*/ /* TODO: IS this really needed? This wasn't even implemented correctly. * GPIO enable was not happening. */ apq8064_ext_3p3V_enable(); apq8064_display_gpio_init(); /* Configure PMM MPP 3*/ pm8921_mpp_set_digital_output(mpp_3); } return 0; }