SAMA5 - add LCD backlight PWM cLock source selection
This commit is contained in:
parent
3bac449286
commit
438439c1a6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user