[PATCH 2/5] soc: bcm: brcmstb: Add Kconfig entry point for power management
Florian Fainelli
f.fainelli at gmail.com
Fri Jun 16 14:37:00 PDT 2017
Add the necessary pluming to select and build CONFIG_BRCMSTB_PM.
Functional code is not added yet.
Signed-off-by: Florian Fainelli <f.fainelli at gmail.com>
---
drivers/soc/bcm/Kconfig | 2 ++
drivers/soc/bcm/brcmstb/Kconfig | 8 ++++++++
drivers/soc/bcm/brcmstb/Makefile | 1 +
3 files changed, 11 insertions(+)
create mode 100644 drivers/soc/bcm/brcmstb/Kconfig
diff --git a/drivers/soc/bcm/Kconfig b/drivers/soc/bcm/Kconfig
index 49f1e2a75d61..055a845ed979 100644
--- a/drivers/soc/bcm/Kconfig
+++ b/drivers/soc/bcm/Kconfig
@@ -20,4 +20,6 @@ config SOC_BRCMSTB
If unsure, say N.
+source "drivers/soc/bcm/brcmstb/Kconfig"
+
endmenu
diff --git a/drivers/soc/bcm/brcmstb/Kconfig b/drivers/soc/bcm/brcmstb/Kconfig
new file mode 100644
index 000000000000..996a75db015e
--- /dev/null
+++ b/drivers/soc/bcm/brcmstb/Kconfig
@@ -0,0 +1,8 @@
+if SOC_BRCMSTB
+
+config BRCMSTB_PM
+ bool "Support suspend/resume for STB platforms"
+ default y
+ depends on PM
+
+endif # SOC_BRCMSTB
diff --git a/drivers/soc/bcm/brcmstb/Makefile b/drivers/soc/bcm/brcmstb/Makefile
index 9120b2715d3e..ee5b4de741b8 100644
--- a/drivers/soc/bcm/brcmstb/Makefile
+++ b/drivers/soc/bcm/brcmstb/Makefile
@@ -1 +1,2 @@
obj-y += common.o biuctrl.o
+obj-y += pm/
--
2.9.3
More information about the linux-arm-kernel
mailing list