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: 49937 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9053B205DE for ; Mon, 15 Jun 2015 20:09:59 +0000 (UTC) Received: by wgez8 with SMTP id z8sf27475938wge.2 for ; Mon, 15 Jun 2015 13:09:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:in-reply-to:references :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=KVFjn0LHdldSsb4q7n53Qg12Te8cayUFMCfbb6HGVRI=; b=ip0iEcIQjbFUa2eVqIzpXzFO+LFRkDRTOpcNAzM0toWpr80XmYkb0kQ3zI2p9tRFsA 2+Wn60dYuQwg7YbYPf1vo4z/hxOexY/HrYZHuu00zhetr7Qgtnf64jTmZJNpQiXguDhq IUFC8+3iKnEa+i63pbL1Az6q1qKtD+6EC1gW7NUtpVulJS0iEdAOfoFwDfaL52nslOy6 3SEsn8o0au4jWmR6KYAyHcsf8RQ18bSNyBykb209xch2P/IwExnb8twE46/DDAKYvAeY xAeGWRIMixTv6FyBdu6TdzVIooXH6x87DfuEMOkOj4CDSyUDKKzCvcRemaszNlE4VAHH Nt9g== X-Gm-Message-State: ALoCoQkAUJBAaViwudPYvtHqzOwF9pLrqJEjg/6fFbQcwKuzUSbQqvVhf5ggHaUizOcMeYcvrFuy X-Received: by 10.180.182.49 with SMTP id eb17mr10757378wic.2.1434398997804; Mon, 15 Jun 2015 13:09:57 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.203.133 with SMTP id kq5ls858275lac.102.gmail; Mon, 15 Jun 2015 13:09:57 -0700 (PDT) X-Received: by 10.152.5.194 with SMTP id u2mr28605121lau.94.1434398997647; Mon, 15 Jun 2015 13:09:57 -0700 (PDT) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id f2si11299594laa.43.2015.06.15.13.09.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jun 2015 13:09:57 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by labko7 with SMTP id ko7so65303218lab.2 for ; Mon, 15 Jun 2015 13:09:57 -0700 (PDT) X-Received: by 10.152.21.136 with SMTP id v8mr28767148lae.19.1434398997560; Mon, 15 Jun 2015 13:09:57 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp1648675lbb; Mon, 15 Jun 2015 13:09:56 -0700 (PDT) X-Received: by 10.68.91.197 with SMTP id cg5mr52305754pbb.26.1434398973608; Mon, 15 Jun 2015 13:09:33 -0700 (PDT) Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com. [209.85.192.173]) by mx.google.com with ESMTPS id xj5si18759784pbb.239.2015.06.15.13.09.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jun 2015 13:09:33 -0700 (PDT) Received-SPF: pass (google.com: domain of ashwin.chaugule@linaro.org designates 209.85.192.173 as permitted sender) client-ip=209.85.192.173; Received: by pdjm12 with SMTP id m12so79949980pdj.3 for ; Mon, 15 Jun 2015 13:09:32 -0700 (PDT) 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: X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ashwin.chaugule@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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