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
efqw has quit [Quit: Connection closed for inactivity]
cmeerw has quit [Ping timeout: 244 seconds]
sputnik_ has quit [Ping timeout: 246 seconds]
drieschel has joined #linux-amlogic
drieschel has quit [Client Quit]
sputnik_ has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
sputnik_ has quit [Read error: Connection reset by peer]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Read error: Connection reset by peer]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
buzzmarshall has quit [Remote host closed the connection]
hexdump0815 has joined #linux-amlogic
<hexdump0815> xdarklight: good news - https://pastebin.com/6Xf3yD6v actually works ... i found out the problem after adding some logging into meson8b_init_rgmii_tx_clk and noticinf that they appeared if i manually modprobed but not on bootup, so the problem was that the driver is served from initrd and i did not rebuild the initird after installing the module to
<hexdump0815> test ...
<hexdump0815> xdarklight: with that patch in place i
<narmstrong> xdarklight: it’s a big issue with CCF, one consumer can change the rate and it can impact another clock depending on a pll and the only way is to use the clock protection
<hexdump0815> xdarklight: (wrong key) with that patch in place i'm ending up at the proper clock
<narmstrong> So the actual timeline is: eth is probed and selects mpll because clkdiv2 is not provide enough, sound probes and the DT changes the mppl2 rate but doesn’t update the eth clock because it can’t
<hexdump0815> @narmstrong: yes, this is the way it is
<narmstrong> So either we put 0 in the eth clockin of boards using audio or we protect the Ethernet clock but mpll2 won’t be usable by the audio stuff
<narmstrong> So first solution is the best to ensure CCF select clkdiv2 everytime
<hexdump0815> why two clocks are required for eth if it works well with only one defined?
<narmstrong> They are not « required », we simply tell Linux what clocks are hooked to the eth controller
cmeerw has joined #linux-amlogic
<hexdump0815> ah - ok - thx for the explaination
Darkmatter66 has joined #linux-amlogic
hexdump0815 has quit [Remote host closed the connection]
hexdump0815 has joined #linux-amlogic
<hexdump0815> xdarklight: narmstrong: final test - i can confirm now that with the two fixes from xdarklight i now have working ext phy eth with the sound modules compiled in as well :)
Darkmatter66 has quit [Ping timeout: 256 seconds]
Darkmatter66 has joined #linux-amlogic
<xdarklight> hexdump0815: ah, that's very good
<xdarklight> narmstrong: OK, so I'll put on my TODO list to send a patch which temporarily disables the second input and to start a discussion with the CCF team
<xdarklight> narmstrong: also FYI, MPLL2 is only selected because the parent clock provides slightly higher precision. when it comes down to the RGMII TX clock at the bottom it's the same precision with both (FCLK_DIV2 and MPLL) parents: 2Hz off
<narmstrong> xdarklight: yes thx for analysis, seems this behavior changed recently
<xdarklight> narmstrong: at least we have confirmation that the MPLL2 input works fine. I think Yixun back in the days reported issues with it on AXG but the HW team said it "should" work fine
<narmstrong> xdarklight: indeed it’s a good validation !
trem has joined #linux-amlogic
l-as has quit [Ping timeout: 246 seconds]
psydruid has quit [Ping timeout: 260 seconds]
l-as has joined #linux-amlogic
psydruid has joined #linux-amlogic
paulk-leonov has quit [Ping timeout: 260 seconds]
paulk-leonov has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 240 seconds]
paulk-leonov has quit [Ping timeout: 260 seconds]
sputnik_ has quit [Ping timeout: 272 seconds]
paulk-leonov has joined #linux-amlogic
yann has quit [Ping timeout: 240 seconds]
yann has joined #linux-amlogic
hexdump0815 has quit [Remote host closed the connection]
drieschel has joined #linux-amlogic
buzzmarshall has joined #linux-amlogic
Darkmatter66 has joined #linux-amlogic
drieschel has quit [Quit: drieschel]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Read error: Connection reset by peer]
sputnik__ has joined #linux-amlogic
sputnik__ has quit [Ping timeout: 256 seconds]
trem has quit [Quit: Leaving]
ldevulder_ has joined #linux-amlogic
ldevulder__ has quit [Ping timeout: 256 seconds]
cmeerw has quit [Ping timeout: 264 seconds]