From patchwork Mon Jun 15 20:09:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashwin Chaugule X-Patchwork-Id: 6612151 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 148D39F1C1 for ; Mon, 15 Jun 2015 20:09:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1179520710 for ; Mon, 15 Jun 2015 20:09:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 12DFE20768 for ; Mon, 15 Jun 2015 20:09:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756030AbbFOUJh (ORCPT ); Mon, 15 Jun 2015 16:09:37 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:36057 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752517AbbFOUJd (ORCPT ); Mon, 15 Jun 2015 16:09:33 -0400 Received: by pabqy3 with SMTP id qy3so71740890pab.3 for ; Mon, 15 Jun 2015 13:09:32 -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=KVFjn0LHdldSsb4q7n53Qg12Te8cayUFMCfbb6HGVRI=; b=GLWD5M3WXM1jQnSBvdL9z945eafHpenVwPLLPV4jiLCxz7/Tq8lz7znf1yEOO2k0Qb bijN0/D6YeP7oX4ZSbgN+NTBgWREfsb0sF0WWvN0FbmD2GXBPEA6VkW5e4ey9iniKI1a dSMOTuw5Dyc8Yb/j39SGIjT+jRCNbb6bmFXqhWHVnXH8mR9jra60z/6EccQuUSfPz6IQ mBR19l4dfD4L72ePPXVA1a51+VHhJB63rbgjdyRSp5qXslRs73JO2FNMyCXUCLh5znlq JgP4Pda3I/BizzugZgK0RDPMCcJn/Lv67hgLGM8hI32nmDcA8ulxKpXQ5vgL6j1SpjKD EAWQ== X-Gm-Message-State: ALoCoQmOjfxN3JRj2Qyos7ISyCvSF1HUz7LlKIR9zeSTQ6NMSuOp9kxPpdmdXOt2qPvUNgz3fWF1 X-Received: by 10.66.102.65 with SMTP id fm1mr50868958pab.25.1434398972727; Mon, 15 Jun 2015 13:09:32 -0700 (PDT) Received: from esagroth.qualcomm.com (rrcs-67-52-130-30.west.biz.rr.com. [67.52.130.30]) by mx.google.com with ESMTPSA id eu5sm13059688pbb.44.2015.06.15.13.09.30 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Jun 2015 13:09:32 -0700 (PDT) From: Ashwin Chaugule To: rjw@rjwysocki.net, jaswinder.singh@linaro.org Cc: linux-pm@vger.kernel.org, linaro-acpi@lists.linaro.org, patches@linaro.org, linux-acpi@vger.kernel.org, viresh.kumar@linaro.org, sudeep.holla@arm.com, Ashwin Chaugule Subject: [PATCH v6 6/7] PCC: Enable PCC only when needed Date: Mon, 15 Jun 2015 16:09:10 -0400 Message-Id: <56fc29c35e139eaa1733c9c29073339fabf93956.1434398373.git.ashwin.chaugule@linaro.org> 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.4 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..60c8da6 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 help ACPI 5.0+ spec defines a generic mode of communication between the OS and a platform such as the BMC. This medium