mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-22 01:48:52 +09:00
![Andreas Dannenberg](/assets/img/avatar_default.png)
Some TI Keystone 2 and K3 family of SoCs contain a system controller (like the Power Management Micro Controller (PMMC) on 66AK2G SoCs and the Device Management and Security Controller on AM65x SoCs) that manage the low-level device control (like clocks, resets etc) for the various hardware modules present on the SoC. These device control operations are provided to the host processor OS through a communication protocol called the TI System Control Interface (TI SCI) protocol. This patch adds a power domain driver that communicates to the system controller over the TI SCI protocol for performing power management of various devices present on the SoC. Various power domain functionalities are achieved by the means of different TI SCI device operations provided by the TI SCI framework. This code is loosely based on the drivers/soc/ti/ti_sci_pm_domains.c driver of the Linux kernel. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
49 lines
1.6 KiB
Plaintext
49 lines
1.6 KiB
Plaintext
menu "Power Domain Support"
|
|
|
|
config POWER_DOMAIN
|
|
bool "Enable power domain support using Driver Model"
|
|
depends on DM && OF_CONTROL
|
|
help
|
|
Enable support for the power domain driver class. 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.
|
|
|
|
config BCM6328_POWER_DOMAIN
|
|
bool "Enable the BCM6328 power domain driver"
|
|
depends on POWER_DOMAIN && ARCH_BMIPS
|
|
help
|
|
Enable support for manipulating BCM6345 power domains via MMIO
|
|
mapped registers.
|
|
|
|
config MESON_GX_VPU_POWER_DOMAIN
|
|
bool "Enable Amlogic Meson GX VPU power domain driver"
|
|
depends on ARCH_MESON
|
|
help
|
|
Enable support for manipulating Amlogic Meson GX Video Processing
|
|
Unit power domain.
|
|
|
|
config SANDBOX_POWER_DOMAIN
|
|
bool "Enable the sandbox power domain test driver"
|
|
depends on POWER_DOMAIN && SANDBOX
|
|
help
|
|
Enable support for a test power domain driver implementation, which
|
|
simply accepts requests to power on/off various HW modules without
|
|
actually doing anything beyond a little error checking.
|
|
|
|
config TEGRA186_POWER_DOMAIN
|
|
bool "Enable Tegra186 BPMP-based power domain driver"
|
|
depends on TEGRA186_BPMP
|
|
help
|
|
Enable support for manipulating Tegra's on-SoC power domains via IPC
|
|
requests to the BPMP (Boot and Power Management Processor).
|
|
|
|
config TI_SCI_POWER_DOMAIN
|
|
bool "Enable the TI SCI-based power domain driver"
|
|
depends on POWER_DOMAIN && TI_SCI_PROTOCOL
|
|
help
|
|
Generic power domain implementation for TI devices implementing the
|
|
TI SCI protocol.
|
|
|
|
endmenu
|