summaryrefslogtreecommitdiffstats
path: root/drivers/soc/ti/Makefile
diff options
context:
space:
mode:
authorDave Gerlach <d-gerlach@ti.com>2017-04-04 17:59:27 +0200
committerSantosh Shilimkar <ssantosh@kernel.org>2017-04-04 17:59:27 +0200
commit52835d59fc6cc7f3c3cfdb4a194ddc9ebd6c0c31 (patch)
tree2572634093aab583da779d681f4eccff0d3c50c4 /drivers/soc/ti/Makefile
parentdt-bindings: Add TI SCI PM Domains (diff)
downloadlinux-52835d59fc6cc7f3c3cfdb4a194ddc9ebd6c0c31.tar.xz
linux-52835d59fc6cc7f3c3cfdb4a194ddc9ebd6c0c31.zip
soc: ti: Add ti_sci_pm_domains driver
Introduce a ti_sci_pm_domains driver to act as a generic pm domain provider to allow each device to attach and associate it's ti-sci-id so that it can be controlled through the TI SCI protocol. This driver implements a simple genpd where each device node has a phandle to the power domain node and also must provide an index which represents the ID to be passed with TI SCI representing the device using a single phandle cell. The driver manually parses the phandle to get the cell value. Through this interface the genpd dev_ops start and stop hooks will use TI SCI to turn on and off each device as determined by pm_runtime usage. Reviewed-by: Kevin Hilman <khilman@baylibre.com> Acked-by: Santosh Shilimkar <ssantosh@kernel.org> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
Diffstat (limited to 'drivers/soc/ti/Makefile')
-rw-r--r--drivers/soc/ti/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/ti/Makefile b/drivers/soc/ti/Makefile
index 48ff3a79634f..7d572736c86e 100644
--- a/drivers/soc/ti/Makefile
+++ b/drivers/soc/ti/Makefile
@@ -5,3 +5,4 @@ obj-$(CONFIG_KEYSTONE_NAVIGATOR_QMSS) += knav_qmss.o
knav_qmss-y := knav_qmss_queue.o knav_qmss_acc.o
obj-$(CONFIG_KEYSTONE_NAVIGATOR_DMA) += knav_dma.o
obj-$(CONFIG_WKUP_M3_IPC) += wkup_m3_ipc.o
+obj-$(CONFIG_TI_SCI_PM_DOMAINS) += ti_sci_pm_domains.o