hwstub: add pix clock setup
Change-Id: I94f764c0fcfb47bd9ccafe23f6d6079b42f23826
This commit is contained in:
parent
0ee25f62eb
commit
743a6d0a57
1 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,12 @@
|
|||
|
||||
STMP.lcdif = {}
|
||||
|
||||
function STMP.lcdif.setup_clock()
|
||||
HW.CLKCTRL.CLKSEQ.BYPASS_PIX.set()
|
||||
HW.CLKCTRL.PIX.CLKGATE.write(0)
|
||||
HW.CLKCTRL.PIX.DIV.write(1)
|
||||
end
|
||||
|
||||
function STMP.lcdif.init()
|
||||
HW.LCDIF.CTRL.SFTRST.set()
|
||||
HW.LCDIF.CTRL.SFTRST.clr()
|
||||
|
|
Loading…
Reference in a new issue