I has a AllWinner A10 board which with a 480x800 LCD panel connected. I 
want to configure the lcdc in u-boot. But after setting the registers, no 
signal output in LCD0_xxx pin. Below is my u-boot commands, do I miss 
anything?

# port config, set PDx to LCD0_x
base 0x01c20800
mw 0x6c 0x22222222
mw 0x70 0x22222222
mw 0x74 0x22222222
mw 0x78 0x00002222

# lcdc clock config
base 0x01c20000
# open lcdc clock
mw 0x64 0x10
# set pll3 to 270mhz
mw 0x10 0x80000000
# open lcd0 ch0 clk
mw 0x118 0x80000000
sleep 1
mw 0x118 0xc0000000
# open lcd0 ch1 clk
mw 0x12c 0x80008000

# lcdc config
base 0x01c0c000
mw 0x000 0x80000000

mw 0x044 0xf000000a
# w = 480, h = 800
mw 0x048 0x01df031f
# ht = 563, hbp = 33
mw 0x04c 0x02320020
# vt = 839, vbp = 17
mw 0x050 0x068e0010
# hspw = 17, vspw = 5
mw 0x054 0x00100004
mw 0x058 0x0
# enable lcd0
mw 0x040 0x804001e3

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to