DocScrutinizer05 changed the topic of #qi-hardware to: Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben / atusb 802.15.4 wireless, and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs and http://irclog.whitequark.org/qi-hardware
<DocScrutinizer05> mth: OTG in driver *usually* shouldn't introduce any problems, even when the musb-core can't do it
<DocScrutinizer05> it's just "dead code" since the core never sends the messages that would signal that its state machine gone to OTG mode
pcercuei has quit [Ping timeout: 256 seconds]
viric has quit [Remote host closed the connection]
viric has joined #qi-hardware
Freemor has quit [Remote host closed the connection]
FDCX has quit [Ping timeout: 264 seconds]
FDCX has joined #qi-hardware
FDCX has quit [Ping timeout: 245 seconds]
FDCX has joined #qi-hardware
FDCX has quit [Read error: Connection reset by peer]
FDCX has joined #qi-hardware
FDCX has quit [Read error: Connection reset by peer]
panda|x201 has quit [Ping timeout: 256 seconds]
FDCX has joined #qi-hardware
xiangfu has quit [Ping timeout: 246 seconds]
xiangfu has joined #qi-hardware
wolfspraul has joined #qi-hardware
ffio has joined #qi-hardware
<apelete> mth: thanks for the tip, having the jz4770 example should be very helpful
Freemor has joined #qi-hardware
viric has quit [Ping timeout: 240 seconds]
viric has joined #qi-hardware
wej has quit [Ping timeout: 260 seconds]
wej has joined #qi-hardware
lekernel has joined #qi-hardware
jekhor has quit [Ping timeout: 240 seconds]
wej has quit [Ping timeout: 264 seconds]
wej has joined #qi-hardware
dandon has quit [Quit: EOL]
Textmode has quit [Quit: Ex-Chat]
pcercuei has joined #qi-hardware
dandon has joined #qi-hardware
woakas has quit [Ping timeout: 268 seconds]
ffio_ has joined #qi-hardware
ffio has quit [Ping timeout: 245 seconds]
rz2k has joined #qi-hardware
wej has quit [Ping timeout: 245 seconds]
wej has joined #qi-hardware
lekernel has quit [Ping timeout: 256 seconds]
lekernel has joined #qi-hardware
viric has quit [Ping timeout: 240 seconds]
wej_ has joined #qi-hardware
wej has quit [Ping timeout: 260 seconds]
porchao has joined #qi-hardware
viric has joined #qi-hardware
xiangfu has quit [Ping timeout: 256 seconds]
wej_ has quit [Ping timeout: 264 seconds]
xiangfu has joined #qi-hardware
jekhor has joined #qi-hardware
wej has joined #qi-hardware
unclouded has quit [Ping timeout: 245 seconds]
unclouded has joined #qi-hardware
arossdotme has quit [Ping timeout: 264 seconds]
xiangfu has quit [Ping timeout: 276 seconds]
xiangfu has joined #qi-hardware
viric has quit [Ping timeout: 240 seconds]
wolfspraul has quit [Ping timeout: 245 seconds]
wolfspraul has joined #qi-hardware
viric has joined #qi-hardware
jekhor has quit [Quit: Leaving]
panda|x201 has joined #qi-hardware
rz2k has quit []
rz2k has joined #qi-hardware
panda|x201 has quit [Ping timeout: 240 seconds]
panda|x201 has joined #qi-hardware
rz2k has quit []
kilae has joined #qi-hardware
Freemor has quit [Remote host closed the connection]
ffio_ has quit [Quit: WeeChat 0.4.1]
rz2k has joined #qi-hardware
Freemor has joined #qi-hardware
panda|x201 has quit [Ping timeout: 245 seconds]
xiangfu has quit [Ping timeout: 268 seconds]
panda|x201 has joined #qi-hardware
panda|x201 has quit [Read error: Connection reset by peer]
panda|x201 has joined #qi-hardware
panda|x201 has quit [Read error: Connection reset by peer]
kilae has quit [Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812]]
<apelete> larsc: Hi
<apelete> I made the changes to integrate musb-jz4740 to the kernel build system and built it successfully: http://seketeli.fr/git/~apelete/qi-kernel.git/commit/?h=jz4740-udc&id=7dedb95c72eb73a0dd4f15fd9bd6508723510406
viric_ has joined #qi-hardware
<apelete> I set it to use Inventra dma engine from Mentor Graphics just because I don't know better, will see when I get to dma configuration hacking
viric_ is now known as viric
viric has quit [Ping timeout: 240 seconds]
<apelete> the kernel is booting just fine, but the driver is not loading for nom: http://paste.debian.net/28702/
<apelete> (see "musb-jz4740: failed to get clock" error message)
<mth> apelete: the clock is named "udc" instead of "usb"
<mth> since there is both a USB host (uhc) and device (udc) controller
<apelete> mth: ah. you mean I should write: clk = clk_get(&pdev->dev, "udc");
<apelete> instead of: clk = clk_get(&pdev->dev, "usb"); ?
<mth> yes
<apelete> thanks
<apelete> I am trying to guess a lot of things by looking at other drivers actually (thanks mth for pointing me to the musb code for jz4770 btw)
<mth> you can simplify the probe and remove code by using the devm_ functions
<mth> those automatically release resources if the probe fails or when the driver is unloaded
lekernel has quit [Quit: Leaving]
lindi- has quit [Read error: Connection reset by peer]
<apelete> I saw that in the jz4770 musb code, I was wondering about it :)
lindi- has joined #qi-hardware
<apelete> seems convenient, I will try to use the devm_ functions indeed
<apelete> hmmm, naming the clock "udc" instead of "usb" seems to cause a panic: http://paste.debian.net/28708/
Jay7 has quit [Ping timeout: 264 seconds]
<apelete> time to think about adding some deubg parameters into the kernel configuration
wolfspraul has quit [Quit: leaving]
Jay7 has joined #qi-hardware
rz2k has quit []
xiangfu has joined #qi-hardware