2012-09-16 00:22 kristianpaul has quit [Quit: leaving] 2012-09-16 00:23 ChanServ has quit [*.net *.split] 2012-09-16 00:28 ChanServ has joined #qi-hardware 2012-09-16 00:52 kristianpaul has joined #qi-hardware 2012-09-16 00:52 kristianpaul has quit [Changing host] 2012-09-16 00:52 kristianpaul has joined #qi-hardware 2012-09-16 01:26 LunaVorax has quit [Ping timeout: 268 seconds] 2012-09-16 01:30 urandom__ has quit [Quit: Konversation terminated!] 2012-09-16 01:34 Textmode has joined #qi-hardware 2012-09-16 01:56 emeb has left #qi-hardware [#qi-hardware] 2012-09-16 02:01 nikescar has quit [Read error: Connection reset by peer] 2012-09-16 02:02 nikescar has joined #qi-hardware 2012-09-16 02:11 larsc: the battery driver uses its parent's (mfd) platform data as its own platform data 2012-09-16 02:11 however, that approach becomes problematic if more than one subdriver needs platform data 2012-09-16 02:29 jow_laptop has joined #qi-hardware 2012-09-16 02:41 freakazoid0223 has quit [Ping timeout: 246 seconds] 2012-09-16 02:41 xdpirate has joined #qi-hardware 2012-09-16 02:42 xdpirate has quit [Client Quit] 2012-09-16 02:43 xdpirate has joined #qi-hardware 2012-09-16 03:02 xdpirate has quit [Quit: http://gamelauncher.pvpsucks.com/] 2012-09-16 03:38 DocScrutinizer05 has quit [Disconnected by services] 2012-09-16 03:38 DocScrutinizer05 has joined #qi-hardware 2012-09-16 04:21 scientes has joined #qi-hardware 2012-09-16 05:39 scientes has quit [Ping timeout: 244 seconds] 2012-09-16 06:15 jekhor has joined #qi-hardware 2012-09-16 06:47 ChanServ has quit [*.net *.split] 2012-09-16 06:47 newcup has quit [*.net *.split] 2012-09-16 06:47 DocScrutinizer05 has quit [*.net *.split] 2012-09-16 06:47 uwe_ has quit [*.net *.split] 2012-09-16 06:47 pabs3 has quit [*.net *.split] 2012-09-16 06:47 kyak has quit [*.net *.split] 2012-09-16 07:10 DocScrutinizer05 has joined #qi-hardware 2012-09-16 07:10 uwe_ has joined #qi-hardware 2012-09-16 07:11 newcup has joined #qi-hardware 2012-09-16 07:11 pabs3 has joined #qi-hardware 2012-09-16 07:11 kyak has joined #qi-hardware 2012-09-16 07:13 mth: yes 2012-09-16 07:13 morning larsc 2012-09-16 07:14 hi Ayla 2012-09-16 07:14 I'm back from night club, I'm going to sleep now ;) 2012-09-16 07:14 ciao 2012-09-16 07:14 hehe 2012-09-16 07:15 Ayla has quit [Quit: dodo] 2012-09-16 07:16 mth: And to be honest I don't like that approach of using the parents platform_data anymore, because it does not allow you to reuse a mfd cell for different mfd devices 2012-09-16 07:24 kristoffer has joined #qi-hardware 2012-09-16 07:27 Textmode has quit [Ping timeout: 255 seconds] 2012-09-16 07:42 Textmode has joined #qi-hardware 2012-09-16 09:21 Textmode has quit [Ping timeout: 255 seconds] 2012-09-16 09:35 Textmode has joined #qi-hardware 2012-09-16 09:42 Textmode has quit [Ping timeout: 255 seconds] 2012-09-16 10:05 jekhor has quit [Ping timeout: 272 seconds] 2012-09-16 10:08 ChanServ has joined #qi-hardware 2012-09-16 10:40 dandon has quit [Quit: i'm so going] 2012-09-16 10:54 LunaVorax has joined #qi-hardware 2012-09-16 10:55 LunaVorax has quit [Remote host closed the connection] 2012-09-16 11:47 jekhor has joined #qi-hardware 2012-09-16 11:48 The build was successful: http://fidelio.qi-hardware.com/~xiangfu/build-nanonote/openwrt-xburst.full_system-20120916-0654 2012-09-16 11:54 urandom__ has joined #qi-hardware 2012-09-16 12:25 LunaVorax has joined #qi-hardware 2012-09-16 12:25 hi! 2012-09-16 12:55 freakazoid0223 has joined #qi-hardware 2012-09-16 13:23 larsc: is there a way though to provide platform_data directly to an mfd subdevice? 2012-09-16 13:24 should be possible 2012-09-16 13:24 I wouldn't know where to attach it 2012-09-16 13:24 well you'd have to split the platform data up in the mfd driver and pass it to the child devies 2012-09-16 13:25 what would be a clean way of doing that? as in, without having the mfd driver know which child devices exist 2012-09-16 13:25 I've got an analog joystick connected to the touch screen pins 2012-09-16 13:26 so that demonstrates that there can be more than one driver for the same cell 2012-09-16 13:26 (since there could be an ordinary touch screen driver as well) 2012-09-16 13:26 yea that case it is a bit tricky 2012-09-16 13:27 how does the analog joystick driver work? 2012-09-16 13:27 I'm not sure if driver selection should be done at configure time (one driver per cell for each board) or even at runtime (loading and unloading modules) 2012-09-16 13:27 the x and y axis both provide a voltage, which is read from the touch screen regs in the SADC 2012-09-16 13:28 the driver doesn't work yet, I'm still writing it ;) 2012-09-16 13:28 I think I'll just have to poll it at a fixed interval to start a read and when the read completes, inject the input events 2012-09-16 13:29 I wrote a TS driver back than. Take a look at commit d21ad639b3d42a2124432fa1ea7e7ea2b38e0a8d 2012-09-16 13:29 I think you can program the core to report new values when they change 2012-09-16 13:29 generate an interrupt, when the values cahnge 2012-09-16 13:33 Aylax has joined #qi-hardware 2012-09-16 13:38 larsc: thanks; the probe looks very similar to what I have so far, the rest might be useful when adding the actual reading 2012-09-16 13:39 Aylax has quit [Read error: Connection reset by peer] 2012-09-16 13:39 I'll add is_open to my driver as well, since it's useful for doing suspend properly 2012-09-16 13:52 jekhor has quit [Ping timeout: 244 seconds] 2012-09-16 13:53 Ayla has joined #qi-hardware 2012-09-16 14:12 guanucoluis1 has joined #qi-hardware 2012-09-16 14:17 LunaVorax has quit [Quit: Quitte] 2012-09-16 14:51 mth: Have you seen commit 95ceafd46 ("cpufreq: Add a generic cpufreq-cpu0 driver") 2012-09-16 14:52 basically a cpufreq driver which uses the clk API 2012-09-16 14:52 could replace the jz4740 cpufreq driver 2012-09-16 14:53 awesome 2012-09-16 14:54 at least I think it could 2012-09-16 15:07 porchao has joined #qi-hardware 2012-09-16 15:09 porchaso0 has quit [Ping timeout: 248 seconds] 2012-09-16 15:46 larsc: I haven't seen it yet 2012-09-16 15:46 replacing the driver would be good if possible 2012-09-16 15:46 the most problematic part though is that derived clocks have to be shut down during the PLL reconfiguration 2012-09-16 15:47 it's not a problem 2012-09-16 15:47 no? 2012-09-16 15:47 just move the code that reinits the PLL to the clock driver 2012-09-16 15:47 it's already there 2012-09-16 15:47 no, it's on the cpufreq driver 2012-09-16 15:48 it's not; the cpufreq driver calls the clock driver 2012-09-16 15:48 you can't just disable the other clocks at an arbitrary moment, you have to give the respective drivers a chance to stop their work at a point where that is possible 2012-09-16 16:04 the current approach is to use the cpufreq notifiers, isn't it? 2012-09-16 16:08 readl / writel are deprecated? 2012-09-16 16:10 larsc: yes, but it's only implemented for mmc at the moment 2012-09-16 16:10 Ayla: sort of, but nobody cares 2012-09-16 16:13 I'll just use iowrite32/ioread32 2012-09-16 16:14 I don't know what header to include for readl/writel :) 2012-09-16 16:14 io.h 2012-09-16 16:36 emeb has joined #qi-hardware 2012-09-16 16:43 Ayla is now known as AwAyla 2012-09-16 17:05 porchao has quit [Read error: Connection reset by peer] 2012-09-16 17:36 jekhor has joined #qi-hardware 2012-09-16 17:36 heberth has joined #qi-hardware 2012-09-16 17:59 porchao has joined #qi-hardware 2012-09-16 18:16 dandon has joined #qi-hardware 2012-09-16 18:25 heberth has quit [Quit: leaving] 2012-09-16 18:42 Textmode has joined #qi-hardware 2012-09-16 18:45 xdpirate has joined #qi-hardware 2012-09-16 18:47 Textmode has quit [Max SendQ exceeded] 2012-09-16 18:48 Textmode has joined #qi-hardware 2012-09-16 18:55 guanucoluis1 has quit [Ping timeout: 272 seconds] 2012-09-16 18:57 heberth has joined #qi-hardware 2012-09-16 18:58 guanucoluis1 has joined #qi-hardware 2012-09-16 19:18 guanucoluis1 has quit [Ping timeout: 272 seconds] 2012-09-16 19:24 Textmode has quit [Ping timeout: 255 seconds] 2012-09-16 19:37 Textmode has joined #qi-hardware 2012-09-16 20:03 LunaVorax has joined #qi-hardware 2012-09-16 20:08 kristoffer has quit [Quit: Leaving] 2012-09-16 20:24 kuribas has joined #qi-hardware 2012-09-16 20:31 heberth has quit [Quit: leaving] 2012-09-16 20:31 GNUtoo|laptop has joined #qi-hardware 2012-09-16 20:53 aisa has quit [Quit: leaving] 2012-09-16 21:34 jekhor has quit [Ping timeout: 264 seconds] 2012-09-16 21:47 kuribas has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 2012-09-16 21:49 guanucoluis1 has joined #qi-hardware 2012-09-16 21:56 guanucoluis1 has quit [Ping timeout: 272 seconds] 2012-09-16 22:27 GNUtoo|laptop has quit [Quit: Program received signal SIGSEGV, Segmentation fault.] 2012-09-16 22:49 emeb has left #qi-hardware [#qi-hardware] 2012-09-16 23:37 valhalla_ has quit [Ping timeout: 272 seconds]