Wolfram Sang wrote: >>> This is not possible yet. For that, I wanted to wait until the >>> clock-representation in the device-tree (the patches you mentioned, I >>> suppose) >>> stabilizes. If this matures, we can add the proper way to do it. For now, >>> "clock-ipb" is supported, the rest has to be done by the bootloader or >>> additional patches. I wouldn't like to introduce "intermediate" properties >>> to >>> the device tree. >> Why "intermediate"? I think the clock should be selectable via device tree. > > Sure. With "intermediate" I just meant we would define some properties now and > we already know they will then be obsoleted by the OF-clock-implementation. > Hmmmm...
You mean the new one from Benjamin Herrenschmidt? I think it's the drivers responsibility to set the clock source and frequency. Most useful is the sys_clk, as it allows to select "good" CAN clock frequencies (being a multiple of 8 MB). >> For the MPC512x it's simple. For the MPC5200 it might be more tricky, >> indeed. Anyhow, it's a requirement for mainline inclusion. > > Okay, will think about it. I am not so much afraid about the implementation, > but thorough testing. Are there some people on this list interested in testing > mscan with their test scenarios? If problems or bugs show up later-on, we fix them. The MSCAN is always good for bad surprises. Wolfgang. _______________________________________________ Socketcan-core mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-core
