static int configure_display_blocks(void) { /* set and enable panel related vdd */ if (enable_lcd_vdd()) return -1; /* enable display related clocks */ configure_display_clocks(); return 0; }
static int configure_display_blocks(void) { /* enable display related clocks */ configure_display_clocks(); /* configure panel gpio pads */ soc_configure_pads(lcd_gpio_padcfgs, ARRAY_SIZE(lcd_gpio_padcfgs)); /* set and enable panel related vdd */ if (enable_lcd_vdd()) return -1; return 0; }