From patchwork Mon May 25 21:52:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashwin Chaugule X-Patchwork-Id: 6477271 Return-Path: X-Original-To: patchwork-linux-pm@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 D65C1C0020 for ; Mon, 25 May 2015 21:52:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 134AB20414 for ; Mon, 25 May 2015 21:52:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1E8CC203DF for ; Mon, 25 May 2015 21:52:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751275AbbEYVwR (ORCPT ); Mon, 25 May 2015 17:52:17 -0400 Received: from mail-yk0-f171.google.com ([209.85.160.171]:33108 "EHLO mail-yk0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751250AbbEYVwR (ORCPT ); Mon, 25 May 2015 17:52:17 -0400 Received: by ykfr66 with SMTP id r66so22906777ykf.0 for ; Mon, 25 May 2015 14:52:16 -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; bh=P253eLooxCBsSPqKGHkaSM3ktk6sTDMX3ikxekeIXOM=; b=VA7POBUQImioPPROhpP5kM7MFzs7HYDLEyOAqLxhWv27D4GLoLcVp0o0LtjH7lqADe saZ4TJn7IJ/WOEUtTiYYuu4XsxYRnaqcc9FDuSQsuf7DZhbED9m81VtBFbZkwDcnRkpw inVEoqYnp6YX8thpAQJxniS3VNS0ghufje5NAhz4//82T40vTvDZ8TolpT2q7AcZ57Xj uRaKetoLojNSsEsjQk9URSGtPT7N/FIYMAzhVeUbs0G/ywfi7UFdRW0A5Gwfq4a6DJfT 3Wd9J9SN80UXt4JeFwTmBuq2ZY4P66zfqgwU7QFPl5clLZr6mLJ7hxcJ3vo5fqIAsoUs VYQg== X-Gm-Message-State: ALoCoQnV8iX7OPurKcFvxLsIjfiQH9P9dEFsxbgZaM7a/Z+Ya8RV9JQhSDalyj39WRhDWpAuuWgs X-Received: by 10.170.173.81 with SMTP id p78mr19063749ykd.91.1432590736608; Mon, 25 May 2015 14:52:16 -0700 (PDT) Received: from esagroth.lan (cpe-174-109-47-171.nc.res.rr.com. [174.109.47.171]) by mx.google.com with ESMTPSA id 49sm9865756yhq.28.2015.05.25.14.52.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 May 2015 14:52:16 -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, viresh.kumar@linaro.org, sudeep.holla@arm.com, Ashwin Chaugule Subject: [PATCH v5 6/6] PCC: Enable PCC only when needed Date: Mon, 25 May 2015 17:52:11 -0400 Message-Id: <1432590731-9194-1-git-send-email-ashwin.chaugule@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 --- 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