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
FDCX_ has joined #qi-hardware
arossdotme has joined #qi-hardware
LunaVorax has quit [Ping timeout: 256 seconds]
emeb has quit [Quit: Leaving.]
rz2k has quit []
wolfspraul has joined #qi-hardware
Guest43361 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined #qi-hardware
FDCX_ has quit [Ping timeout: 256 seconds]
_ffio_ has quit [Read error: Operation timed out]
xiangfu has joined #qi-hardware
FDCX has quit [Remote host closed the connection]
xiangfu has quit [Ping timeout: 276 seconds]
FDCX has joined #qi-hardware
xiangfu has joined #qi-hardware
_ffio_ has joined #qi-hardware
xiangfu has quit [Ping timeout: 252 seconds]
xiangfu has joined #qi-hardware
xiangfu has quit [Client Quit]
xiangfu has joined #qi-hardware
xiangfu has quit [Client Quit]
xiangfu has joined #qi-hardware
xiangfu has quit [Client Quit]
xiangfu has joined #qi-hardware
xiangfu has quit [Client Quit]
xiangfu has joined #qi-hardware
wolfspraul has quit [Ping timeout: 246 seconds]
wolfspraul has joined #qi-hardware
xiangfu has quit [Remote host closed the connection]
xiangfu has joined #qi-hardware
jekhor has joined #qi-hardware
wolfspraul has quit [Ping timeout: 264 seconds]
wolfspraul has joined #qi-hardware
wolfspraul has quit [Quit: leaving]
LunaVorax has joined #qi-hardware
viric_ is now known as viric
pcercuei has quit [Ping timeout: 246 seconds]
viric has quit [Ping timeout: 256 seconds]
LunaVorax has quit [Ping timeout: 256 seconds]
sivoais has quit [Ping timeout: 240 seconds]
sivoais has joined #qi-hardware
kyak has quit []
kyak has joined #qi-hardware
kyak has quit [Changing host]
kyak has joined #qi-hardware
sivoais has quit [Write error: Connection reset by peer]
sivoais has joined #qi-hardware
sivoais has quit [Read error: Connection reset by peer]
lekernel has joined #qi-hardware
xiangfu has quit [Remote host closed the connection]
panda|x201 has quit [Ping timeout: 240 seconds]
sivoais has joined #qi-hardware
xiangfu has joined #qi-hardware
jekhor has quit [Read error: Operation timed out]
LunaVorax has joined #qi-hardware
arossdotme has quit [Ping timeout: 264 seconds]
arossdotme has joined #qi-hardware
lekernel has quit [Ping timeout: 245 seconds]
lekernel has joined #qi-hardware
<mth> larsc: why does jz4740_dma_probe() return -EINVAL rather than -ENOMEM if devm_kzalloc returns NULL?
panda|x201 has joined #qi-hardware
wej has quit [Ping timeout: 245 seconds]
wej has joined #qi-hardware
panda|x201 has quit [Ping timeout: 276 seconds]
panda|x201 has joined #qi-hardware
unclouded has quit [Ping timeout: 240 seconds]
ffio has joined #qi-hardware
_ffio_ has quit [Ping timeout: 264 seconds]
rz2k has joined #qi-hardware
wolfspraul has joined #qi-hardware
jekhor has joined #qi-hardware
Jurting_pc2 has joined #qi-hardware
<larsc> mth: that's a mistake
<mth> ok, then I won't copy that into the 4770 dma engine
panda|x201 has quit [Ping timeout: 252 seconds]
woakas has joined #qi-hardware
<larsc> is the jz4770 dma controller that different?
jekhor has quit [Ping timeout: 276 seconds]
<mth> not very different, but not exactly the same either
<mth> by the way, there is still a hardcoded "6" in the last patch of the series
<mth> in jz4740_dma_irq()
<larsc> I see, thanks
<mth> the 4770 has 12 DMA channels, but they are split over two identical DMA controllers, so I think I can model that as two separate devices
<mth> one difference I encountered is that the 4770 doesn't have single vs block mode anymore
<mth> and the list of transfer types is different, but I think it only adds to it without conflicts (needs to be verified though)
<mth> do you think it makes sense to share the same driver?
<larsc> yes
<mth> and if so, using #ifdef CONFIG_MACH_JZ4770 as a check, or a runtime check?
<larsc> runtime
<larsc> using a platform_device_id table\
<mth> so there would be a "jz4740-dma" and a "jz4770-dma" entry in that table?
<mth> and the associated driver_data would be an enum or flags or a pointer?
<larsc> yes
<mth> would it make sense to use the "jz_" prefix in function names rather than "jz4740_"?
<larsc> I don't think it really matters
<larsc> It's quite common to just use the name of the first supported device even if support for similar devices is added later
<mth> the patches you submitted, could they be included in 3.10 or is this for 3.11 already?
<larsc> 3.11
wolfspraul has quit [Quit: leaving]
<mth> by the way, Dmitry Smagin and Antony Pavlov are modernizing and cleaning the 4750D kernel
<mth> so there could be an opportunity in the future to get a wider range of SoCs supported
<larsc> good :)
<larsc> Btw. I've got devicetree working for most of jz4740
jekhor has joined #qi-hardware
porchao has quit [Quit: Leaving...]
porchao has joined #qi-hardware
wolfspraul has joined #qi-hardware
wolfspraul has quit [Client Quit]
xiangfu has quit [Remote host closed the connection]
<mth> if I understood it correctly, devicetree is a way to put the platform data in the boot loader instead of the board source?
_whitelogger has joined #qi-hardware
sivoais has quit [Ping timeout: 252 seconds]
sivoais has joined #qi-hardware
_whitelogger has joined #qi-hardware
sivoais has quit [Ping timeout: 245 seconds]
sivoais has joined #qi-hardware
sivoais has quit [Ping timeout: 248 seconds]
sivoais has joined #qi-hardware
sivoais has quit [Ping timeout: 252 seconds]
sivoais has joined #qi-hardware
sivoais has quit [Read error: Connection reset by peer]
sivoais has joined #qi-hardware
sivoais has quit [Ping timeout: 248 seconds]
sivoais has joined #qi-hardware
emeb has joined #qi-hardware
sivoais has quit [Ping timeout: 260 seconds]
sivoais has joined #qi-hardware
kilae has joined #qi-hardware
sivoais has quit [Ping timeout: 276 seconds]
sivoais has joined #qi-hardware
sivoais has quit [Ping timeout: 248 seconds]
sivoais has joined #qi-hardware
sivoais has quit [Read error: Connection reset by peer]
panda|x201 has joined #qi-hardware
sivoais has joined #qi-hardware
yang has quit [Changing host]
yang has joined #qi-hardware
LunaVorax has quit [Ping timeout: 256 seconds]
pcercuei has joined #qi-hardware
jekhor has quit [Ping timeout: 264 seconds]
yang_ has joined #qi-hardware
h_ll_k_n has joined #qi-hardware
uwe_mobile has joined #qi-hardware
biot` has joined #qi-hardware
bartbes_ has joined #qi-hardware
LunaVorax has joined #qi-hardware
uwe_mobile__ has quit [Ping timeout: 264 seconds]
rz2k has quit [Ping timeout: 264 seconds]
hellekin has quit [Ping timeout: 264 seconds]
biot has quit [Ping timeout: 264 seconds]
bartbes has quit [Ping timeout: 264 seconds]
yang has quit [Ping timeout: 264 seconds]
rz2k has joined #qi-hardware
h_ll_k_n is now known as hellekin
kanzure_ has joined #qi-hardware
kanzure has quit [Ping timeout: 252 seconds]
Freemor has quit [*.net *.split]
mirko has quit [*.net *.split]
uwe_ has quit [*.net *.split]
LunaVorax has quit [Read error: Connection reset by peer]
mirko has joined #qi-hardware
zear_ has joined #qi-hardware
zear has quit [Ping timeout: 256 seconds]
sivoais_ has joined #qi-hardware
Supaplex_ has joined #qi-hardware
kristian1aul has joined #qi-hardware
wpwrak has quit [Ping timeout: 256 seconds]
kristianpaul has quit [Ping timeout: 256 seconds]
wpwrak has joined #qi-hardware
yang_ has quit [Ping timeout: 245 seconds]
sivoais_ has quit [Ping timeout: 245 seconds]
yang has joined #qi-hardware
porchao has quit [Ping timeout: 245 seconds]
whitequark has quit [Ping timeout: 245 seconds]
hellekin has quit [Ping timeout: 276 seconds]
hellekin has joined #qi-hardware
Ornoterm1s has joined #qi-hardware
sivoais has quit [Write error: Connection reset by peer]
Supaplex has quit [Remote host closed the connection]
Jurting_pc2_ has joined #qi-hardware
porchao has joined #qi-hardware
whitequark has joined #qi-hardware
qi-bot4 has joined #qi-hardware
Jurting_pc2 has quit [Ping timeout: 265 seconds]
kilae has quit [Write error: Connection reset by peer]
pcercuei_ has joined #qi-hardware
kilae has joined #qi-hardware
Jurting_pc2 has joined #qi-hardware
rodgort` has joined #qi-hardware
larsc_ has joined #qi-hardware
uwe_mobile has quit [Ping timeout: 278 seconds]
uwe_mobile has joined #qi-hardware
kilae_ has joined #qi-hardware
Jurting_pc2_ has quit [Ping timeout: 276 seconds]
panda has joined #qi-hardware
kilae has quit [Ping timeout: 276 seconds]
panda is now known as Guest56253
freespac1 has joined #qi-hardware
sivoais has joined #qi-hardware
rozzin1 has joined #qi-hardware
pcercuei has quit [*.net *.split]
panda|x201 has quit [*.net *.split]
Ornotermes has quit [*.net *.split]
freespace has quit [*.net *.split]
qi-bot has quit [*.net *.split]
newcup has quit [*.net *.split]
rozzin has quit [*.net *.split]
rodgort has quit [*.net *.split]
larsc has quit [*.net *.split]
qi-bot4 is now known as qi-bot
sivoais has quit [Client Quit]
_whitelogger_ has joined #qi-hardware
kanzure has joined #qi-hardware
yang_ has joined #qi-hardware
_whitelogger has quit [Ping timeout: 245 seconds]
porchao has quit [Ping timeout: 245 seconds]
uwe_mobile has quit [Ping timeout: 245 seconds]
yang has quit [Ping timeout: 245 seconds]
kanzure_ has quit [Ping timeout: 245 seconds]
FDCX has quit [Ping timeout: 244 seconds]
FDCX has joined #qi-hardware
sivoais has joined #qi-hardware
kanzure has quit [*.net *.split]
mirko has quit [*.net *.split]
kanzure has joined #qi-hardware
sivoais has quit [Ping timeout: 270 seconds]
sivoais has joined #qi-hardware
sivoais has quit [Client Quit]
mirko has joined #qi-hardware
ffio_ has joined #qi-hardware
ffio has quit [Ping timeout: 252 seconds]
sivoais has joined #qi-hardware
jekhor has joined #qi-hardware
sivoais has quit [Ping timeout: 248 seconds]
sivoais has joined #qi-hardware
sivoais has quit [Ping timeout: 252 seconds]
sivoais has joined #qi-hardware
sivoais has quit [Client Quit]
Alarm has quit [Remote host closed the connection]
wej_ has joined #qi-hardware
pcercuei has joined #qi-hardware
ffio_ has quit [*.net *.split]
larsc_ has quit [*.net *.split]
pcercuei_ has quit [*.net *.split]
qi-bot has quit [*.net *.split]
bartbes_ has quit [*.net *.split]
wej has quit [*.net *.split]
dandon has quit [*.net *.split]
sivoais has joined #qi-hardware
larsc has joined #qi-hardware
ffio_ has joined #qi-hardware
qi-bot has joined #qi-hardware
bartbes_ has joined #qi-hardware
dandon has joined #qi-hardware
arossdotme has quit [Remote host closed the connection]
ffio_ has quit [Max SendQ exceeded]
arossdotme has joined #qi-hardware
sivoais has quit [Ping timeout: 246 seconds]
ffio_ has joined #qi-hardware
kilae_ has quit [Quit: ChatZilla 0.9.90 [Firefox 21.0/20130511120803]]
sivoais has joined #qi-hardware
sivoais has quit [Ping timeout: 256 seconds]
wej_ has quit [Ping timeout: 248 seconds]
sivoais has joined #qi-hardware
wej has joined #qi-hardware
sivoais has quit [Ping timeout: 246 seconds]
sivoais has joined #qi-hardware
unclouded has joined #qi-hardware
sivoais has quit [Quit: leaving]
arossdotme has quit [Ping timeout: 276 seconds]
methril has joined #qi-hardware
zear_ is now known as zear
lekernel has quit [Quit: Leaving]
pcercuei has quit [Ping timeout: 246 seconds]
pcercuei has joined #qi-hardware
jekhor has quit [Ping timeout: 248 seconds]
Jurting_pc2 has quit [Ping timeout: 264 seconds]
Supaplex_ is now known as Supaplex
rz2k has quit []