]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit07ac57a5d8174cdde42825e0a498168eb5c0be17
tree0e602d714a7bea674b4258e15a771ff7ce4808fa
parent44e43b4c736ba801b9dc406610ee95ed86375782
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]