]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/base: add bus for System-on-Chip devices
authorLee Jones <lee.jones@linaro.org>
Mon, 6 Feb 2012 19:22:22 +0000 (11:22 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Feb 2012 19:42:25 +0000 (11:42 -0800)
commite1681e0dc2e48ea9097db6363d22128f6c8a22e1
treea1bee0010203df0465df33fb337ae66bb6b59fee
parent64267c1b2aa0a39776edb88c0e346d06acf58bc0
drivers/base: add bus for System-on-Chip devices

Traditionally, any System-on-Chip based platform creates a flat list
of platform_devices directly under /sys/devices/platform.

In order to give these some better structure, this introduces a new
bus type for soc_devices that are registered with the new
soc_device_register() function.  All devices that are on the same
chip should then be registered as child devices of the soc device.

The soc bus also exports a few standardised device attributes which
allow user space to query the specific type of soc.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/Kconfig
drivers/base/Makefile
drivers/base/soc.c [new file with mode: 0644]
include/linux/sys_soc.h [new file with mode: 0644]