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: 6612141 Return-Path: X-Original-To: patchwork-linux-acpi@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 BDFA4C0020 for ; Mon, 15 Jun 2015 20:09:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 06DB42076D for ; Mon, 15 Jun 2015 20:09:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 324872076B for ; Mon, 15 Jun 2015 20:09:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756024AbbFOUJh (ORCPT ); Mon, 15 Jun 2015 16:09:37 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:33701 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755164AbbFOUJd (ORCPT ); Mon, 15 Jun 2015 16:09:33 -0400 Received: by padev16 with SMTP id ev16so72050491pad.0 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=Ky+vJPlnilqJEl/u6z5Pidd2lQ+geTwn81QRouWmiGVCEWcx62EqDIHIlxSg3yrsgT kjrW3dnATSpvouztV09e0wUa708n7Y/zz7JJZbUU4BO/iuJKigiOOhbKK7htyqsrp9/z NsEye9QsQlMULn59RUGU97e6Q7Qa7mAx4A2g0KwZlGrqYAbqkSgNkEgWe76DifayMIMP MQDHlhPXohF9ygu2o5w1a6pVJRGJjyxWcdGHbYZ+/uz80vExZ1ZrYhi/MMWCHj9vBqxX /i5gszq2f3UoUsOJf8BvPVdwA0pf1vCqm2Pymt7GmUz3Xwglx/qB9ykqz1Cb/cHrAb+4 uYXw== X-Gm-Message-State: ALoCoQlE3l/iNBIv+svQbxqyD/MYqNB+rSruvRNII82DFjL9pRTRKZZ08QpiOmTEHnifmPiQHJWX 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-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@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