From patchwork Tue May 10 14:31:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 9058461 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 865F9BF29F for ; Tue, 10 May 2016 14:31:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B67C520149 for ; Tue, 10 May 2016 14:31:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C296F20148 for ; Tue, 10 May 2016 14:31:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752838AbcEJObl (ORCPT ); Tue, 10 May 2016 10:31:41 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:10894 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751587AbcEJObk (ORCPT ); Tue, 10 May 2016 10:31:40 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O6Y00M6BTOOND60@mailout1.w1.samsung.com>; Tue, 10 May 2016 15:31:36 +0100 (BST) X-AuditID: cbfec7f4-f796c6d000001486-4e-5731f0c82e13 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 9B.84.05254.8C0F1375; Tue, 10 May 2016 15:31:36 +0100 (BST) Received: from AMDC2174.DIGITAL.local ([106.120.53.17]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O6Y008CWTOLSCC0@eusync4.samsung.com>; Tue, 10 May 2016 15:31:36 +0100 (BST) From: Krzysztof Kozlowski To: Kukjin Kim , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Javier Martinez Canillas , Bartlomiej Zolnierkiewicz Subject: [PATCH] soc: samsung: pm_domains: Enable COMPILE_TEST for build coverage Date: Tue, 10 May 2016 16:31:26 +0200 Message-id: <1462890686-8843-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpgluLIzCtJLcpLzFFi42I5/e/4Nd0THwzDDVrOG1tsnLGe1eLN2zVM Fq9fGFr0P37NbLHp8TVWi8u75rBZzDi/j8li7ZG77A4cHptWdbJ5bF5S77Gl/y67R9+WVYwe nzfJBbBGcdmkpOZklqUW6dslcGV8WvqWpeAEb8WSp14NjBe5uxg5OSQETCTmb13CCmGLSVy4 t56ti5GLQ0hgKaPEt19L2SGcRiaJ/tnfmUGq2ASMJTYvXwJWJSKwl1Hi3Ob3TCAOs8AcRokF p5vYQaqEBYIl2lu2MIHYLAKqEo+XrmUBsXkF3CTWvFkGtU9O4uSxyawTGLkXMDKsYhRNLU0u KE5KzzXUK07MLS7NS9dLzs/dxAgJly87GBcfszrEKMDBqMTDu4PLMFyINbGsuDL3EKMEB7OS CO/h90Ah3pTEyqrUovz4otKc1OJDjNIcLErivHN3vQ8REkhPLEnNTk0tSC2CyTJxcEo1ME77 /27LYztj3wcfX9W0rn5dcN7ueazutPa4M6GuGrz8Jmyn3Z7/e14s4Vv8qkj5r1xC9QeWbRr3 1eu/znV6Np1l5vUGhgPHT96xS+s49Neu/9OLR5WbXgnPrK7/V/b9mP9NOybJlA11abbce55q 8IvmdfJkrI3dbvvZs9CffdbDh1L/698fO6zEUpyRaKjFXFScCACa3l8zEwIAAA== Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-9.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Introduce a platform selectable symbol EXYNOS_PM_DOMAINS which can be also toggled on by COMPILE_TEST for some build coverage. Signed-off-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Kconfig | 1 + drivers/soc/samsung/Kconfig | 4 ++++ drivers/soc/samsung/Makefile | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index e65aa7d11b20..58b334f5f1d6 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -19,6 +19,7 @@ menuconfig ARCH_EXYNOS select EXYNOS_THERMAL select EXYNOS_PMU select EXYNOS_SROM + select EXYNOS_PM_DOMAINS if PM_GENERIC_DOMAINS select HAVE_ARM_SCU if SMP select HAVE_S3C2410_I2C if I2C select HAVE_S3C2410_WATCHDOG if WATCHDOG diff --git a/drivers/soc/samsung/Kconfig b/drivers/soc/samsung/Kconfig index d7fc123006a3..245533907d1b 100644 --- a/drivers/soc/samsung/Kconfig +++ b/drivers/soc/samsung/Kconfig @@ -10,4 +10,8 @@ config EXYNOS_PMU bool "Exynos PMU controller driver" if COMPILE_TEST depends on (ARM && ARCH_EXYNOS) || ((ARM || ARM64) && COMPILE_TEST) +config EXYNOS_PM_DOMAINS + bool "Exynos PM domains" if COMPILE_TEST + depends on PM_GENERIC_DOMAINS || COMPILE_TEST + endif diff --git a/drivers/soc/samsung/Makefile b/drivers/soc/samsung/Makefile index 8acba2bbbd78..e60f173c503a 100644 --- a/drivers/soc/samsung/Makefile +++ b/drivers/soc/samsung/Makefile @@ -1,3 +1,3 @@ -obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o +obj-$(CONFIG_EXYNOS_PM_DOMAINS) += pm_domains.o obj-$(CONFIG_EXYNOS_PMU) += exynos-pmu.o exynos3250-pmu.o exynos4-pmu.o \ exynos5250-pmu.o exynos5420-pmu.o