x86: power: Add an ACPI PMC uclass
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2019 04:41:53 +0000 (21:41 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 15 Dec 2019 03:44:10 +0000 (11:44 +0800)
commit6c6d88e142e8714ed88d051c524036ff17278390
tree9c7924b91b18a043199a844a055922265607f0c6
parent76ab9f272610c7454f41e5fa059fe425c6b81292
x86: power: Add an ACPI PMC uclass

Intel x86 SoCs have a power manager/controller which handles several
power-related aspects of the platform. Add a uclass for this, with a few
useful operations.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/power/Kconfig
drivers/power/acpi_pmc/Kconfig [new file with mode: 0644]
drivers/power/acpi_pmc/Makefile [new file with mode: 0644]
drivers/power/acpi_pmc/acpi-pmc-uclass.c [new file with mode: 0644]
include/dm/uclass-id.h
include/power/acpi_pmc.h [new file with mode: 0644]