Hi Raghavendra,
On Mon, May 19, 2014 at 8:06 AM, Raghavendra Kakarla < [email protected]> wrote: > > Dear All, > > I am new to this platform driver development, but, I have developed some character based drivers in the past. > > > Could you please anyone can forward me the links to sample source code / guidelines for developing the platform driver? I am looking for developing on x86 platform. There is a good overview here: https://www.kernel.org/doc/Documentation/driver-model/platform.txt For examples, many of the ARM boards use platform devices and drivers. For exampe: http://lxr.linux.no/#linux+v3.14.4/arch/arm/mach-omap2/board-omap3beagle.c Here's a platform device: http://lxr.linux.no/#linux+v3.14.4/arch/arm/mach-omap2/board-omap3beagle.c#L80 And the corresponding platform_driver: http://lxr.linux.no/#linux+v3.14.4/drivers/leds/leds-pwm.c -- Dave Hylands Shuswap, BC, Canada http://www.davehylands.com
_______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
