From patchwork Thu Jul 9 18:04:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashwin Chaugule X-Patchwork-Id: 6758131 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C95AF9F380 for ; Thu, 9 Jul 2015 18:04:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EECBB20461 for ; Thu, 9 Jul 2015 18:04:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 098662067A for ; Thu, 9 Jul 2015 18:04:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753242AbbGISEu (ORCPT ); Thu, 9 Jul 2015 14:04:50 -0400 Received: from mail-qg0-f54.google.com ([209.85.192.54]:36029 "EHLO mail-qg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754102AbbGISEj (ORCPT ); Thu, 9 Jul 2015 14:04:39 -0400 Received: by qgeg89 with SMTP id g89so118770757qge.3 for ; Thu, 09 Jul 2015 11:04:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=eM1xfl+1F9uSTv7kx6uGWaOv/nDb+SUCFCLmG843/j8=; b=Koztn8bqIY/rRkIWmm2Xt9IOLXdJpIc12jiCLJb+noWvOQ67400CzhT5qRSQj0Yd7a g2TwQIAO81VpCf6EQuooFE7RjlDdcLkLxoCUr9H+SbB3aXN77R4OxZ3A8Q78Lor1JR6i cHXoSKcg94RBZkRR9iPgX2OhtWkFgUtLyBPLFvB7rjWAc4OaPpMZAIH7KasNXP+5L4VT R0Hwm9jlZZhrM8R+yNLQC43dkhzJCZgVEWy9dmAA9BAk4S3vlxsKQP2YfkQkih4m1XMf BInIduaIVwJK6r3Ko0zBEDrUWmYyQmBmqRb0SrqQzAk1/Ofp33txMUdP9/tWbqOQ2ohA jzHQ== X-Gm-Message-State: ALoCoQmKKccu/aYNyQ1jY8Bj4pe+DQttBnMKMBu8BnIADmtSIpKHjyXtc32mqB3vVZAphTb/F4PH X-Received: by 10.140.105.53 with SMTP id b50mr26656894qgf.66.1436465078756; Thu, 09 Jul 2015 11:04:38 -0700 (PDT) Received: from esagroth.qualcomm.com (rrcs-67-52-130-30.west.biz.rr.com. [67.52.130.30]) by smtp.gmail.com with ESMTPSA id x79sm3969918qha.10.2015.07.09.11.04.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Jul 2015 11:04:38 -0700 (PDT) From: Ashwin Chaugule To: rjw@rjwysocki.net, jaswinder.singh@linaro.org Cc: linux-pm@vger.kernel.org, linux-acpi@vger.kernel.org, linaro-acpi@lists.linaro.org, patches@linaro.org, viresh.kumar@linaro.org, sudeep.holla@arm.com, Ashwin Chaugule Subject: [PATCH v7 8/8] PCC: Enable PCC only when needed Date: Thu, 9 Jul 2015 14:04:24 -0400 Message-Id: X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 CPPC is the first client to make use of the PCC Mailbox channel. So enable it only when CPPC is also enabled. Signed-off-by: Ashwin Chaugule Reviewed-by: Al Stone --- drivers/mailbox/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig index 84b0a2d..f2c30cc 100644 --- a/drivers/mailbox/Kconfig +++ b/drivers/mailbox/Kconfig @@ -45,7 +45,7 @@ config OMAP_MBOX_KFIFO_SIZE config PCC bool "Platform Communication Channel Driver" - depends on ACPI + depends on ACPI && ACPI_CPPC_LIB help ACPI 5.0+ spec defines a generic mode of communication between the OS and a platform such as the BMC. This medium