Skip to content

Latest commit

 

History

History
53 lines (28 loc) · 1.08 KB

File metadata and controls

53 lines (28 loc) · 1.08 KB

Linux Device Model

Small Piece of the Device model

Small piece

Architecture Diagram

Architecture

Example

I2C Charger Example

Example1

Example2

Example3

Who calls i2c_new_device?

Example4

Device Tree dtsi file

dtsi

dtsi2

dtsi_parse

Device node building Process:

of_platform_populate
    -> of_platform_bus_create
        -> of_platform_device_create_pdata
            -> of_device_add
	            ->device_add
                    ->bus_probe_device

Reference

Linux Device Drivers, 3rd Edition

http://www.slideshare.net/jserv/linux-discovery

http://m.blog.chinaunix.net/uid-29955651-id-5095220.html

http://www.cs.fsu.edu/~baker/devices/notes/ch14.html#(1)