//ASUS_BSP+++ BennyCheng "remove unused mpp/gpio pins" /* GPIO_VREG(EXT_5V, "ext_5v", "ext_5v_en", PM8921_MPP_PM_TO_SYS(7), NULL), GPIO_VREG(EXT_3P3V, "ext_3p3v", "ext_3p3v_en", APQ8064_EXT_3P3V_REG_EN_GPIO, NULL), GPIO_VREG(EXT_TS_SW, "ext_ts_sw", "ext_ts_sw_en", PM8921_GPIO_PM_TO_SYS(23), "ext_3p3v"), GPIO_VREG(EXT_MPP8, "ext_mpp8", "ext_mpp8_en", PM8921_MPP_PM_TO_SYS(8), NULL), */ //ASUS_BSP--- BennyCheng "remove unused mpp/gpio pins" }; struct gpio_regulator_platform_data mpq8064_gpio_regulator_pdata[] __devinitdata = { GPIO_VREG(FRC_5V, "frc_5v", "frc_5v_en", SX150X_GPIO(4, 10), NULL), GPIO_VREG(AVC_1P2V, "avc_1p2v", "avc_1p2v_en", SX150X_GPIO(4, 2), NULL), GPIO_VREG(AVC_1P8V, "avc_1p8v", "avc_1p8v_en", SX150X_GPIO(4, 4), NULL), GPIO_VREG(AVC_2P2V, "avc_2p2v", "avc_2p2v_en", SX150X_GPIO(4, 14), NULL), GPIO_VREG(AVC_5V, "avc_5v", "avc_5v_en", SX150X_GPIO(4, 3), NULL), GPIO_VREG(AVC_3P3V, "avc_3p3v", "avc_3p3v_en", SX150X_GPIO(4, 15), "avc_5v"), }; /* SAW regulator constraints */ struct regulator_init_data msm8064_saw_regulator_pdata_8921_s5 = /* ID vreg_name min_uV max_uV */ SAW_VREG_INIT(S5, "8921_s5", 850000, 1300000); struct regulator_init_data msm8064_saw_regulator_pdata_8921_s6 = SAW_VREG_INIT(S6, "8921_s6", 850000, 1300000);
GPIO_VREG(EXT_5V, "ext_5v", "ext_5v_en", PM8921_MPP_PM_TO_SYS(7), NULL, 0), GPIO_VREG(EXT_3P3V, "ext_3p3v", "ext_3p3v_en", APQ8064_EXT_3P3V_REG_EN_GPIO, NULL, 0), GPIO_VREG(EXT_TS_SW, "ext_ts_sw", "ext_ts_sw_en", PM8921_GPIO_PM_TO_SYS(23), "ext_3p3v", 0), GPIO_VREG(EXT_MPP8, "ext_mpp8", "ext_mpp8_en", PM8921_MPP_PM_TO_SYS(8), NULL, 0), GPIO_VREG(EXT_SATA_PWR, "ext_sata_pwr", "ext_sata_pwr_en", PM8921_MPP_PM_TO_SYS(4), "ext_3p3v", 1), }; struct gpio_regulator_platform_data mpq8064_gpio_regulator_pdata[] __devinitdata = { GPIO_VREG(AVC_1P2V, "avc_1p2v", "avc_1p2v_en", SX150X_GPIO(4, 2), NULL, 0), GPIO_VREG(AVC_1P8V, "avc_1p8v", "avc_1p8v_en", SX150X_GPIO(4, 4), NULL, 0), GPIO_VREG(AVC_2P2V, "avc_2p2v", "avc_2p2v_en", SX150X_GPIO(4, 14), NULL, 0), GPIO_VREG(AVC_5V, "avc_5v", "avc_5v_en", SX150X_GPIO(4, 3), NULL, 0), GPIO_VREG(AVC_3P3V, "avc_3p3v", "avc_3p3v_en", SX150X_GPIO(4, 15), "avc_5v", 0), }; /* Fixed regulator constraints */ static struct regulator_init_data mpq8064_3p3_regulator_init = /* ID supply */ FIXED_VREG_INIT(EXT_3P3V, NULL); struct fixed_voltage_config mpq8064_3p3_regulator_pdata = {