SAMA5 - add LCD backlight PWM cLock source selection

This commit is contained in:
TimJTi 2024-01-05 12:59:42 +00:00 committed by Alan Carvalho de Assis
parent 3bac449286
commit 438439c1a6

View File

@ -2282,6 +2282,9 @@ static void sam_lcd_enable(void)
#ifdef BOARD_LCDC_PIXCLK_INV
regval |= LCDC_LCDCFG0_CLKPOL;
#endif
#ifdef BOARD_LCDC_PWMCLK
regval |= LCDC_LCDCFG0_CLKPWMSEL;
#endif
#ifdef BOARD_LCDC_MCK_MUL2
regval |= LCDC_LCDCFG0_CLKSEL;
#endif