]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: bus: Add Simple Power-Managed Bus Driver
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 5 Feb 2015 10:11:28 +0000 (11:11 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 23 Feb 2015 21:36:18 +0000 (06:36 +0900)
commitde016f6e724534b8e98db4cd7c60dbaa3c96bca7
tree502a864f5d8aee105f7201c33e9f9e9da2df0bb6
parentf0fb468eddf7df194baea8025623ec719c217646
drivers: bus: Add Simple Power-Managed Bus Driver

Add a driver for transparent busses that don't need a real driver, but
where the bus controller is part of a PM domain, or under the control of
a functional clock.  Typically, the bus controller's PM domain and/or
clock must be enabled for child devices connected to the bus (either
on-SoC or externally) to function.

Hence the sole purpose of this driver is to enable its clock and PM
domain (if exist(s)), which are specified in the DT and managed from
platform and PM domain code, and to probe for child devices.

Due to the child-parent relationship with devices connected to the bus,
PM domain and clock state transitions are handled in the correct order.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/bus/Kconfig
drivers/bus/Makefile
drivers/bus/simple-pm-bus.c [new file with mode: 0644]