narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - Publicly Logged on https://irclog.whitequark.org/linux-amlogic
vagrantc has quit [Quit: leaving]
Linnaea has quit [Read error: Connection reset by peer]
Linnaea has joined #linux-amlogic
ndufresne has quit [Quit: Ping timeout (120 seconds)]
ndufresne has joined #linux-amlogic
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #linux-amlogic
buzzmarshall has quit [Remote host closed the connection]
mag has joined #linux-amlogic
damex has joined #linux-amlogic
Barada has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
Darkmatter66_ has quit [Ping timeout: 240 seconds]
Darkmatter66 has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
sputnik__ has joined #linux-amlogic
repk has quit [Quit: WeeChat 2.7.1]
sputnik_ has quit [Ping timeout: 260 seconds]
ldevulder_ has joined #linux-amlogic
repk has joined #linux-amlogic
ldevulder has quit [Ping timeout: 252 seconds]
<narmstrong> I thought we solved this
ldevulder_ is now known as ldevulder
sputnik__ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
drieschel has joined #linux-amlogic
sputnik_ has quit [Read error: Connection reset by peer]
sputnik_ has joined #linux-amlogic
return0e has quit [Remote host closed the connection]
sputnik_ has quit [Ping timeout: 265 seconds]
Barada has quit [Quit: Barada]
buzzmarshall has joined #linux-amlogic
jmasson has joined #linux-amlogic
jmasson has left #linux-amlogic ["Using Circe, the loveliest of all IRC clients"]
sputnik_ has joined #linux-amlogic
<xdarklight> narmstrong: I'd like to hear your opinion how to proceed with 32-bit Meson video output support. the two big things I'm missing are 1) setting the video clocks 2) making it work on boards where u-boot doesn't initialize anything (EC-100). everything else "should work" (that includes: the CVBS part of VPU, HDMI PHY, HDMI TX controller, power domains)
<xdarklight> with the video clocks I see two hard parts: 1) understanding the HDMI PLL registers (I'm confident that I have all the dividers, muxes and gates after that correct) and 2) finding out which PLL frequency to use for each video mode
<xdarklight> I have written a small tool which takes the video modes and clock settings from the vendor driver and prints them in a (mostly) human readable way: https://pastebin.com/x8pByNZH (ignore Meson6, that was just a quick experiment, the values may be completely bogus)
<xdarklight> also note that Meson8 seems to have different PLL settings compared to Meson8b and Meson8m2 (PLL on Meson8 seems to be running at half speed for some video modes). so if you look at these values I recommend you do it for Meson8b or Meson8m2
<xdarklight> actually I hope that you find some similarities in the way the video clocks are calculated compared to the newer SoCs (for example: I suspect that the rule "multiply by 10 for DMT modes" is valid for these older SoCs)
drieschel has quit [Quit: drieschel]
sputnik_ has quit [Read error: Connection reset by peer]
sputnik_ has joined #linux-amlogic
vagrantc has joined #linux-amlogic
return0e has joined #linux-amlogic
cyrozap has quit [Ping timeout: 258 seconds]
cyrozap has joined #linux-amlogic
jmasson has joined #linux-amlogic
jmasson has left #linux-amlogic ["Using Circe, the loveliest of all IRC clients"]
vagrantc has quit [Quit: leaving]
return0e has quit [Remote host closed the connection]
jmasson has joined #linux-amlogic
sputnik__ has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 240 seconds]
jmasson has quit [Quit: Using Circe, the loveliest of all IRC clients]
<narmstrong> xdarklight: nice data, I’ll have a look tomorrow
<narmstrong> Something you must know for Gx and later, the PHY clock is taken from the HDMI pll od1, the od2 div won’t affect the phy tmds clock
<narmstrong> I don’t know if it’s the same design on older SoCs
<narmstrong> The DMT has a fixed /10 because it’s the default ratio between the PHY tmds clock and the pixel clock
<narmstrong> It’s not explicit for the hdmi modes but it’s also here
<narmstrong> This is why I only set od0 and od1 and omit setting od2
<xdarklight> interesting
<xdarklight> in case I'm slow to respond: I'm limited to "European evening times" for the rest of the week (instead of doing nightly hacking sessions ;-) )
sputnik_ has joined #linux-amlogic
sputnik__ has quit [Ping timeout: 256 seconds]
warpme_ has quit [Quit: Connection closed for inactivity]
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic