power domain: Introduce TI System Control Interface (TI SCI) power domain driver
authorAndreas Dannenberg <dannenberg@ti.com>
Mon, 27 Aug 2018 10:27:45 +0000 (15:57 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 11 Sep 2018 12:32:55 +0000 (08:32 -0400)
commit1a88a04e9f83645a3941e31c3679da7617ff4542
tree0e602d714a7bea674b4258e15a771ff7ce4808fa
parent2618cf365770fbccd6e6281d10005ddc7e392087
power domain: Introduce TI System Control Interface (TI SCI) power domain driver

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>
doc/device-tree-bindings/power/ti,sci-pm-domain.txt [new file with mode: 0644]
drivers/power/domain/Kconfig
drivers/power/domain/Makefile
drivers/power/domain/ti-sci-power-domain.c [new file with mode: 0644]