Ejemplo n.º 1
0
	PCOM_VREG_LDO(ldo08, 32, NULL,  1800000,  1800000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo09,  8, NULL,  2050000,  2050000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo10,  7, NULL,  2600000,  2600000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo11, 21, NULL,  2600000,  2800000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo12, 34, NULL,  1800000,  1800000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo13, 15, NULL,  2400000,  3050000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo14, 24, NULL,  2850000,  2850000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo15, 23, NULL,  2300000,  3100000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo16, 35, NULL,  2600000,  3000000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo17, 36, NULL,  2600000,  2600000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo18, 37, NULL,  2200000,  2200000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo19, 45, NULL,  2400000,  2500000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo20, 38, NULL,  1500000,  2800000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo21, 39, NULL,  1100000,  1100000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo22, 40, NULL,  1200000,  1300000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo23, 22, NULL,  1200000,  1350000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo24, 41, NULL,  1200000,  1200000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo25, 42, NULL,  1200000,  1200000, 0, -1, 0, 0, 0, 0),

	/* Low-voltage switches */
	PCOM_VREG_LVS(lvsw0, 47, NULL,                     0, -1, 0, 0),
	PCOM_VREG_LVS(lvsw1, 48, NULL,                     0, -1, 0, 0),

	PCOM_VREG_NCP(ncp,   31, NULL, -1800000, -1800000, 0,     0, 0, 0, 0),
};

struct proccomm_regulator_platform_data msm7x30_proccomm_regulator_data = {
	.regs = msm7x30_pcom_vreg_info,
	.nregs = ARRAY_SIZE(msm7x30_pcom_vreg_info)
};
	PCOM_VREG_LDO(ldo15, 23, NULL,  3050000,  3100000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo16, 35, NULL,  2600000,  2600000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo17, 36, NULL,  2600000,  2600000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo18, 37, NULL,	2200000,  2200000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo19, 45, NULL,  2400000,  2500000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo20, 38, NULL,	1500000,  1800000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo21, 39, NULL,	1100000,  1100000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo22, 40, NULL,	1200000,  1300000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo23, 22, NULL,  1350000,  1350000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo24, 41, NULL,	1200000,  1200000, 0, -1, 0, 0, 0, 0),
	PCOM_VREG_LDO(ldo25, 42, NULL,	1200000,  1200000, 0, -1, 0, 0, 0, 0),
#endif

	/* Low-voltage switches */
#if defined (CONFIG_MACH_MSM7630_U0)
	PCOM_VREG_LVS(lvsw0, 47, NULL,					   0, -1, 0, 0), /*LVS0 - 1V8_POP_VDD1*/
	PCOM_VREG_LVS(lvsw1, 48, NULL,					   0, -1, 0, 0), /*LVS1 - 1V8_LCD_IO*/
#elif defined (CONFIG_MACH_LGE_M3S)
	PCOM_VREG_LVS(touch1v8, 47, NULL,                     0, -1, 0, 0),
	PCOM_VREG_LVS(lvsw1, 48, NULL,					   0, -1, 0, 0),
#else
	PCOM_VREG_LVS(lvsw0, 47, NULL,					   0, -1, 0, 0),
	PCOM_VREG_LVS(lvsw1, 48, NULL,					   0, -1, 0, 0),
#endif

	PCOM_VREG_NCP(ncp,   31, NULL, -1800000, -1800000, 0,     0, 0, 0, 0),
};

struct proccomm_regulator_platform_data msm7x30_proccomm_regulator_data = {
	.regs = msm7x30_pcom_vreg_info,
	.nregs = ARRAY_SIZE(msm7x30_pcom_vreg_info)