To support tvout on rx51,added the venc vdac regulator consumer supply data and also intialised the vdac regulator with vdac regulator consumer supply data which enables the power supply to venc through twl4030 on rx51 Signed-off-by: Srikar <ext-srikar.1.bhavanarayana@xxxxxxxxx> --- arch/arm/mach-omap2/board-rx51-peripherals.c | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index e56d6d7..ec47402 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c @@ -372,6 +372,16 @@ static struct regulator_consumer_supply rx51_vaux1_consumers[] = { #endif }; +static struct regulator_consumer_supply rx51_vdac_supply[] = { + { +#if defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE) + .supply = "vdda_dac", + .dev = &rx51_display_device.dev, + }, +#endif +}; + + static struct regulator_init_data rx51_vaux1 = { .constraints = { .name = "V28", @@ -489,14 +499,17 @@ static struct regulator_init_data rx51_vsim = { static struct regulator_init_data rx51_vdac = { .constraints = { + .name = "VDAC", .min_uV = 1800000, .max_uV = 1800000, + .apply_uV = true, .valid_modes_mask = REGULATOR_MODE_NORMAL | REGULATOR_MODE_STANDBY, - .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE - | REGULATOR_CHANGE_MODE + .valid_ops_mask = REGULATOR_CHANGE_MODE | REGULATOR_CHANGE_STATUS, }, + .num_consumer_supplies = 1, + .consumer_supplies = &rx51_vdac_supply, }; static struct regulator_init_data rx51_vio = { -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html