ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | IRC log http://irclog.whitequark.org/linux-rockchip | Community GH https://github.com/linux-rockchip | Rockchip GH https://github.com/rockchip-linux | ML https://groups.google.com/group/linux-rockchip
ayaka has quit [Ping timeout: 268 seconds]
ayaka has joined #linux-rockchip
ayaka has quit [Ping timeout: 246 seconds]
xerpi has quit [Remote host closed the connection]
ayaka has joined #linux-rockchip
asciilifeform has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
vagrantc has quit [Quit: leaving]
DuClare has quit [Ping timeout: 250 seconds]
vagrantc has joined #linux-rockchip
vstehle has quit [Ping timeout: 258 seconds]
hipboi has joined #linux-rockchip
hipboi has left #linux-rockchip [#linux-rockchip]
hipboi has joined #linux-rockchip
kever has quit [Read error: Connection reset by peer]
kever has joined #linux-rockchip
field^Zzz3 has joined #linux-rockchip
field^Zzz2 has quit [Ping timeout: 268 seconds]
vicencb has quit [Quit: Leaving.]
sb35 has quit [Quit: sb35]
chewitt has quit [Quit: Adios!]
anarsoul|2 has joined #linux-rockchip
anarsoul|2 has quit [Ping timeout: 244 seconds]
vstehle has joined #linux-rockchip
<quark_> jaganteki: they upload 1.16 binaries with old names to github https://github.com/rockchip-linux/rkbin/commit/f9fd4aff1c96bafec55a03ceabbb76df54d6d32e
stdint has joined #linux-rockchip
chewitt has joined #linux-rockchip
somy has joined #linux-rockchip
return0e has quit [Ping timeout: 258 seconds]
return0e has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
kever has quit [Quit: No Ping reply in 180 seconds.]
kever has joined #linux-rockchip
xerpi has joined #linux-rockchip
kever has quit [Ping timeout: 268 seconds]
kever has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
chewitt has quit [Quit: Adios!]
ldevulder has joined #linux-rockchip
DuClare has joined #linux-rockchip
<DuClare> Anyone know anything about hsic on rk3288? I'm not sure how it's supposed to show up on the host.. should it show up as its own HCI? (in rk3288.dtsi it's usb_hsic@ff5c0000, compatible = "generic-ehci")
BenG83 has quit [Ping timeout: 258 seconds]
MoeIcenowy has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
MoeIcenowy has joined #linux-rockchip
BenG83 has joined #linux-rockchip
<kever> DuClare: rk3288 hsic is ehci based controller, just different phy...
<kever> just enable the dts node and it should be able to init in kernel, no difference with other driver.
kever has quit [Ping timeout: 246 seconds]
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-rockchip
xerpi has quit [Remote host closed the connection]
xerpi has joined #linux-rockchip
vicencb has joined #linux-rockchip
cristian__c has joined #linux-rockchip
cristian_c has quit [Ping timeout: 250 seconds]
_whitelogger has joined #linux-rockchip
sb35 has joined #linux-rockchip
afaerber has quit [Quit: Leaving]
xerpi has quit [Remote host closed the connection]
xerpi has joined #linux-rockchip
xerpi has quit [Remote host closed the connection]
xerpi has joined #linux-rockchip
xerpi has quit [Remote host closed the connection]
xerpi has joined #linux-rockchip
xerpi has quit [Remote host closed the connection]
afaerber has joined #linux-rockchip
stikonas_ has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
stikonas_ has quit [Remote host closed the connection]
<DuClare> Ok, I'm at a bit of a loss here..
<DuClare> HSIC on SoC does indeed show up in dmesg with no errors or other suspicious stuff
<DuClare> It's supposedly connected to a usb3503a hub, which should run with its default internal config (so not using i2c to configure it)
<DuClare> But that thing never appears
<DuClare> And I can't for the life of me figure out how to diagnose the connection between the soc & that chip
<DuClare> The soc side shows up as having one port, which makes sense.. can I reset the port somehow? Is there any way to check its status, maybe see whether the system thinks it's connected to the downstream hub or not?
stikonas_ has joined #linux-rockchip
<DuClare> I read that a standoff is possible where the host keeps the bus idle and the downstream device thinks it's suspended (page 8: http://ww1.microchip.com/downloads/en/appnotes/00001602a.pdf)
<DuClare> But I'm not power cycling or using soft resets so..
stikonas_ has quit [Remote host closed the connection]
<DuClare> (Can I check the bus state in linux somehow)
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-rockchip
<mmind00> DuClare: maybe "just" a missing regulator / enable-gpio for that usb hub?
<mmind00> DuClare: also, are the i2c lines connected and if so, does the i2c-device turn up?
<mmind00> DuClare: aka basically checking if the hub ic is actually running
<DuClare> mmind00: Hmm, how do you check that the i2c is actually up?
<DuClare> But, aiui, i2c shouldn't be needed -- the hub should configure itself using built in defaults after a short timeout (<100ms)
<DuClare> After that, i2c on it is .. undefined
<DuClare> If I recall the datasheet correctly
<mmind00> DuClare: that may be true, going through i2c was meant to check if the chip is actually running
<mmind00> DuClare: and if the i2c controller the hub is connected to is running there are some i2c tools to just query registers of i2c devices
<DuClare> Aha
<mmind00> DuClare: that way you could check if the chip does talk (and hence has power)
<DuClare> Multimeter seems to indicate that it has power but I could try i2c.. I'm just not sure if it's properly wired :)
<mmind00> DuClare: that's why I asked about "if it is connected" :-)
<DuClare> Yup
<DuClare> As for the regulator.. the chip ought to be hardwired to an external one or it's using it's internal regulator so I don't think that needs to be set in dts
<mmind00> DuClare: other than that, you might want to check if the RESET_N of the hub is properly configured
<DuClare> It reads high
<mmind00> then I guess it really should be up ... are you on mainline or vendor-kernel?
<DuClare> Mainline
<mmind00> I'm not sure if someone already tried this yet, so you're charting new territory it seems :-D
<mmind00> DuClare: vendor-kernel does some voodoo when initting hsic, which probably should be in a phy driver: https://github.com/rockchip-linux/kernel/blob/release-4.4/drivers/usb/dwc_otg_310/usbdev_rk32.c#L380
ldevulder has quit [Ping timeout: 264 seconds]
<DuClare> Yeah so i2cdetect isn't finding the chip but I don't know if I can conclude anything from that
chewitt has joined #linux-rockchip
<DuClare> Maybe the chip just doesn't respond on the i2c bus after init
<DuClare> Or the soldering isn't quite successful
ldevulder has joined #linux-rockchip
asciilifeform has left #linux-rockchip ["Leaving"]
ldevulder has quit [Ping timeout: 268 seconds]
<DuClare> 'course I can't boot the vendor kernel, *sigh*
ldevulder has joined #linux-rockchip
ldevulder has quit [Ping timeout: 252 seconds]
camus has joined #linux-rockchip
kaspter has quit [Ping timeout: 258 seconds]
camus is now known as kaspter
ldevulder has joined #linux-rockchip
somy has quit [Remote host closed the connection]
<DuClare> Oh my dogness
ldevulder has quit [Quit: Leaving]
<DuClare> I finally booted eh.. some kernel
<DuClare> And it sees the hub
<DuClare> > 3.10.0
<DuClare> It might be the voodoo :(
<DuClare> It suppose it could be something in the dts but man I'm blind if I don't see it
<DuClare> Of course dts for ancient $randomkernel doesn't appear to be compatible with dts for current mainline or vice versa
anarsoul|2 has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 258 seconds]
vagrantc has joined #linux-rockchip
stikonas_ has joined #linux-rockchip
somy has joined #linux-rockchip
afaerber has quit [Quit: Leaving]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
cristian__c has quit [Remote host closed the connection]
ayaka has quit [Ping timeout: 240 seconds]
cristian_c has joined #linux-rockchip
hipboi has quit [Ping timeout: 245 seconds]
ayaka has joined #linux-rockchip
ayaka has quit [Ping timeout: 250 seconds]
ayaka has joined #linux-rockchip
ayaka has quit [Ping timeout: 258 seconds]
mrueg has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mrueg has joined #linux-rockchip
ayaka has joined #linux-rockchip
lkcl has quit [Ping timeout: 250 seconds]
lkcl has joined #linux-rockchip
cristian_c has quit [Read error: Connection reset by peer]
ayaka has quit [Ping timeout: 250 seconds]
ayaka has joined #linux-rockchip
BenG83 has quit [Quit: Leaving]
BenG83 has joined #linux-rockchip
<mmind00> DuClare: yeah, the vendor kernel in a lot of cases uses devicetree bindings that didn't get reviewed at all, so changed on the switch to mainline and an actual binding review
<mmind00> DuClare: in any case, for the GRF voodoo, you could take a look a drivers/phy/rockchip/phy-rockchip-usb.c where this might fit in
adjtm has joined #linux-rockchip