[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170616213703.21487-3-f.fainelli@gmail.com>
Date: Fri, 16 Jun 2017 14:37:00 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: linux-arm-kernel@...r.kernel.org
Cc: Florian Fainelli <f.fainelli@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Brian Norris <computersforpeace@...il.com>,
Gregory Fong <gregory.0xf0@...il.com>,
bcm-kernel-feedback-list@...adcom.com (maintainer:BROADCOM BCM7XXX ARM
ARCHITECTURE), Hauke Mehrtens <hauke@...ke-m.de>,
Rafał Miłecki <zajec5@...il.com>,
Ralf Baechle <ralf@...ux-mips.org>,
Markus Mayer <mmayer@...adcom.com>,
Arnd Bergmann <arnd@...db.de>, Eric Anholt <eric@...olt.net>,
Justin Chen <justinpopo6@...il.com>,
Doug Berger <opendmb@...il.com>,
devicetree@...r.kernel.org (open list:OPEN FIRMWARE AND FLATTENED
DEVICE TREE BINDINGS),
linux-arm-kernel@...ts.infradead.org (moderated list:BROADCOM BCM7XXX
ARM ARCHITECTURE), linux-kernel@...r.kernel.org (open list),
linux-mips@...ux-mips.org (open list:BROADCOM BCM47XX MIPS ARCHITECTURE),
linux-pm@...r.kernerl.org, "Rafael J. Wysocki" <rjw@...ysocki.net>
Subject: [PATCH 2/5] soc: bcm: brcmstb: Add Kconfig entry point for power management
Add the necessary pluming to select and build CONFIG_BRCMSTB_PM.
Functional code is not added yet.
Signed-off-by: Florian Fainelli <f.fainelli@...il.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
Powered by blists - more mailing lists