Add a power domain framework/uclass
authorStephen Warren <swarren@nvidia.com>
Wed, 13 Jul 2016 19:45:31 +0000 (13:45 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 27 Jul 2016 22:29:56 +0000 (16:29 -0600)
commit61f5ddcb7a997f7b7bca3680cd6f67e60e616841
treeca5dcfb1d2335fa819cc7e36ea6295a6d12a4898
parent1e2b3ef8653417f296ee23f32c28abfc086529dd
Add a power domain framework/uclass

Many SoCs allow power to be applied to or removed from portions of the SoC
(power domains). This may be used to save power. This API provides the
means to control such power management hardware.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
15 files changed:
Makefile
arch/sandbox/dts/test.dts
arch/sandbox/include/asm/power-domain.h [new file with mode: 0644]
configs/sandbox_defconfig
drivers/power/Kconfig
drivers/power/domain/Kconfig [new file with mode: 0644]
drivers/power/domain/Makefile [new file with mode: 0644]
drivers/power/domain/power-domain-uclass.c [new file with mode: 0644]
drivers/power/domain/sandbox-power-domain-test.c [new file with mode: 0644]
drivers/power/domain/sandbox-power-domain.c [new file with mode: 0644]
include/dm/uclass-id.h
include/power-domain-uclass.h [new file with mode: 0644]
include/power-domain.h [new file with mode: 0644]
test/dm/Makefile
test/dm/power-domain.c [new file with mode: 0644]