2009/7/13 Andy Walls <awalls@xxxxxxxxx>: > On Mon, 2009-07-13 at 20:17 +0900, Dongsoo, Nathaniel Kim wrote: > > >> Well arranged thanks to you. BTW, can you tell me about >> "s_crystal_freq" in detail? I can see that ivtv and saa7115 are using >> that but can't figure out what is exactly for. At the earlier mail, I >> considered that as a function let subdev device know about the >> frequency of clock "given" not "made by". Am I right? Please let me >> know if I'm getting wrong. >> Cheers, > > As I understand it, s_crystal_freq() should be used when a different > crystal frequency could be used with a chip in differnt board designs. > For programming PLLs or dividers, the sub_device driver needs to know > what the crystal or reference frequency is. > > Regards, > Andy Thank you Andy. Before knowing s_crystal_freq, I preferred to pass MCLK through platform data of external camera device. Now, I think I can use s_crystal_freq to pass the clock to the camera device without using platform data. cool Cheers, Nate > > > >> Nate > > > -- = DongSoo, Nathaniel Kim Engineer Mobile S/W Platform Lab. Digital Media & Communications R&D Centre Samsung Electronics CO., LTD. e-mail : dongsoo.kim@xxxxxxxxx dongsoo45.kim@xxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html