This concept emerged when the new sysfs management device driver was adopted in linux2.6 and can be intuitively understood under the/sys directory.
Bus indicates the bus type, such as I2C, IDE, USB... many bus types such as platform, including MTD devices;
Device records device resources, specific to the NAND driver, is added in the board-osk.c struct platform_device osk5912_nand_device;
Driver records the device driver operation, specific to the NAND driver, is provided in the osk-nand-flash.c probe, remove,... and other functions interface implementation.
Reference:
Linux 2.6 Device Model
The introduction is clear.
Blogimg.chinaunix.net/blog/upfile2/071102181442.pdf
Linux 2.6 kernel device model
Http://www.linuxdiyf.com/bbs/viewthread.php? Tid = 20245
What are the differences between miscdevice, platform_device, and platform_driver ?? Heroes
Http://bbs.driverdevelop.com/simple/index.php? T102207.html