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
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
Linnaea has quit [Read error: Connection reset by peer]
Linnaea has joined #linux-amlogic
sputnik__ has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 256 seconds]
sputnik__ has quit [Remote host closed the connection]
vagrantc has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
Linnaea has quit [Ping timeout: 256 seconds]
Linnaea has joined #linux-amlogic
bengal has quit [Ping timeout: 240 seconds]
bengal has joined #linux-amlogic
buzzmarshall has quit [Remote host closed the connection]
<chewitt> @xdarklight: from an old email with someone at Amlogic, the HDMI IP in the Meson 6 (not 8) was Transwitch
<chewitt> I will ask about Meson 8
<chewitt> but maybe they didn't switch to Synopsys until GXBB
<chewitt> Transwitch acquired by Cadence in 2014 .. also San Jose based so in the same neighbourhood as Amlogic
<xdarklight> chewitt: oh, thank you! I believe it's the same IP all the way back to Meson1
<xdarklight> "On November 21, 2013, TranSwitch Corporation filed a Chapter 7 petition for liquidation."
<chewitt> the Candence office is a 7 min drive from Amlogic's (which I've been to)
<chewitt> Cadence
<xdarklight> so that'll be my TODO for tonight. daytime job starts now. thanks again chewitt and see you later!
armoon has joined #linux-amlogic
<chewitt> what info do you need on it?
<chewitt> target reconnaisance is one of my special skills :)
<xdarklight> a lot... my first question is the register split
<xdarklight> there's a part called "TX registers" which are obviously for the HDMI TX controller. but then there's something called "OTHER base registers" which control the interrupts
<xdarklight> but I don't know if all of this is from the TranSwitch IP or if that "OTHER register base" is similar to the TOP registers on GX which "extend" the DW HDMI IP
_whitelogger has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
alpha_one_x86 has quit [Quit: Leaving]
<narmstrong> xdarklight: the gx AO-CEC is the CEC hdl extract from the Transwitch HDMI controller, it was confirmed by Yixun, I forgot this until chewitt gave back the Transwitch name
<narmstrong> so yeah it's a Transwitch HDMI controller
<narmstrong> "HD-PXL-1.4"
<chewitt> datasheets aren't downloadable
<chewitt> I think Yixun left Amlogic, we had him in Slack for a while, but he's deactivated now
armoon has quit [Remote host closed the connection]
xdarklight has quit [Quit: ZNC - http://znc.in]
xdarklight has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
<Darkmatter66> narmstrong, Hi neil I did some testing for the screen hot-plug issue
<Darkmatter66> after powering the board(while the screen is plugged in and powered on):
<Darkmatter66> http://0x0.st/ijH9.txt
<Darkmatter66> modetest: http://0x0.st/ijHO.txt
<Darkmatter66> After powering off the screen from the remote(and while the screen is off): the outputs are the same from both the state file and modetest
<Darkmatter66> after powering on the screen from remote I can't cat the state file or use modetest while it's trying the outputs(while printing "flip_done timed out" lines)
<Darkmatter66> trying to cat the state file or running modetest just hangs until those lines are printined and the screen box has output on the HDMI connector
<Darkmatter66> after the screen has singal again, the state file output doesn't change
<Darkmatter66> for modetest this is the output: http://0x0.st/ijH4.txt
<Darkmatter66> Note that the modetest shows that Composite-1 is connected but I don't have anything connected to the board through the composite port so maybe this is the problem?
<Darkmatter66> I don't know if "connected" means there is something connected to the port or simply the port exist on the board and described in the device tree ?
<Darkmatter66> narmstrong, hmmmm, I disabled the cvbs-connector in device tree and it seems to fix/workaround the problem!
<Darkmatter66> So the driver thinks there is something connected to cvbs and that's why it's crashing maybe ?
Darkmatter66 has quit [Ping timeout: 265 seconds]
Darkmatter66 has joined #linux-amlogic
Barada has joined #linux-amlogic
Barada has quit [Remote host closed the connection]
<narmstrong> Darkmatter66: there is no way to say if cvbs is connected or not, so it's always set as Connected
<narmstrong> so DRM fallsback to cvbs if HDMI is disconnected
<narmstrong> it's expected
<narmstrong> Darkmatter66: I was told to switch to https://termbin.com/a01y
<narmstrong> Darkmatter66: could check the behavior with this ?
<narmstrong> since CVBS is not really used but the connector exists and works, I can't really disable it
armoon has joined #linux-amlogic
armoon has quit [Ping timeout: 240 seconds]
buzzmarshall has joined #linux-amlogic
GNUtoo has quit [Quit: Lost terminal]
GNUtoo has joined #linux-amlogic
vagrantc has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 258 seconds]
<xdarklight> narmstrong: that's very like it then. only your link is for the HDMI RX, but there's a HDMI TX with "HD-PXL-1.4" and part number TXC-48352 (yours ends with 3): https://www.chipestimate.com/log.php?from=%2FTranswitch%2FTXC-48352-HDMI-14-Tx-with-HEAC-at-35Gbps%2Fdatasheet%2Fip%2F21435&logerr=1
<xdarklight> chewitt: while trying some google magic to find anything about the relation between Amlogic and TranSwitch I found that you told me in 2018 (two years ago) that Meson6 is a TranSwitch part. either I missed that or forgot about this, sorry :-(
Darkmatter66_ has joined #linux-amlogic
armoon has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 250 seconds]
<armoon> xdarklight-linux I was able to bootup the your latest kernel patches using eMMC module on C1+ thanks ;D (y) , I will give a try with HDMI testing at my end and let you know how it works, Thanks
<xdarklight> armoon: great! can you please reply to "Amlogic 32-bit Meson SoC SDHC MMC controller driver" (v5) with your Tested-by ?
<xdarklight> (sent on Mar 28, I'll ping the MMC maintainer tomorrow or on Friday since I haven't heard any update from him)
<armoon> yes I will submit that
<armoon> done thanks,
<xdarklight> awesome, thank you :)
<xdarklight> now there's even three Tested-by!
<xdarklight> narmstrong: it seems like Amlogic not only used the CEC part. HDMITX_TOP_HPD_FILTER in meson_dw_hdmi also looks a lot like the TranSwitch one which sets 0xa0 and 0xa0 (the GX driver does the same, but it's expressed as ((0xa0 is >> 4) << 12) instead of: (0xa0 << 8) ) =)
armoon has quit [Remote host closed the connection]
<narmstrong> xdarklight: interesting, since dw-hdmi doesn’t support hpd (it’s on the phy) they kept it
<narmstrong> They maybe kept part on the PHY aswell
<xdarklight> honestly, I wouldn't be surprised if they kept the PHY
<xdarklight> but that would mean that the development of G12A was interesting for the team which maintains that PHY, since they had to add support for 16b/18b coding
<Darkmatter66_> narmstrong, I'm recompiling with your patch for testing right now, but it started to recompile the whole thing, Does anyone know why
<Darkmatter66_> usually if no config or .c file has changed it doesn't recompile, if i change a .c file it only recompiles the module with that specific .c file
<Darkmatter66_> now every time i tell it to recompile it recompiles the whole thing
Darkmatter66_ has quit [Ping timeout: 264 seconds]
Darkmatter66 has joined #linux-amlogic
<Darkmatter66> narmstrong, aaand nope, your patch doesn't fix it :(
sputnik_ has joined #linux-amlogic
sputnik__ has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 256 seconds]
sputnik__ has quit [Remote host closed the connection]
sputnik__ has joined #linux-amlogic
sputnik__ has quit [Ping timeout: 265 seconds]
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-amlogic
commavir has quit [Ping timeout: 265 seconds]
commavir has joined #linux-amlogic
buzzmarshall has quit [Remote host closed the connection]
buzzmarshall has joined #linux-amlogic
sputnik__ has joined #linux-amlogic
ldevulder has joined #linux-amlogic
ldevulder_ has quit [Ping timeout: 250 seconds]