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: 50988 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2EC21213FD for ; Thu, 9 Jul 2015 18:05:04 +0000 (UTC) Received: by wifm2 with SMTP id m2sf40800764wif.1 for ; Thu, 09 Jul 2015 11:05:03 -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=eM1xfl+1F9uSTv7kx6uGWaOv/nDb+SUCFCLmG843/j8=; b=EEzGRoipwiBANWp6vAjC+2YgBS6yBf0peK6k4g+4UGD3ZDUj+7WabNq/cMbMhU/C8Q x1A6MlDWtTkzj9yVYQ4bLm/vQi7YYfUgDEtl8CiM/izGqWE7dERrgh5aoEl6ItCTWX0n aaXOJ2zOJDu4bef7rIBYqNefEQ/QmNMYn0s/lsaeawigf8uF/SnQGoQZTIOLHg0QOWK7 TVbXDQw3rUln8xzvefXnfwZ37RgvZfrAIeQ6xeC79khaCrBvgyBzDW3FXUW4Fki2/ct5 xPBWwGl0/AE/KCMqXbe+Un5YQHcw1kMOOR6BRPC4B3uVWtpFOejS8Zs+oLN1AZucPBSW Qvnw== X-Gm-Message-State: ALoCoQlSsS/4I5MVBMF+xUz1I6ex1iB4wfwrTnekjq2qB4+2x5Wak8H7cL+enA5NUICMNhGMdzA+ X-Received: by 10.194.209.180 with SMTP id mn20mr8577974wjc.5.1436465103548; Thu, 09 Jul 2015 11:05:03 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.8.111 with SMTP id q15ls963586laa.28.gmail; Thu, 09 Jul 2015 11:05:03 -0700 (PDT) X-Received: by 10.152.22.99 with SMTP id c3mr16400313laf.32.1436465103391; Thu, 09 Jul 2015 11:05:03 -0700 (PDT) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com. [209.85.217.178]) by mx.google.com with ESMTPS id c20si5398632lbo.140.2015.07.09.11.05.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jul 2015 11:05:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) client-ip=209.85.217.178; Received: by lbzd8 with SMTP id d8so34273455lbz.0 for ; Thu, 09 Jul 2015 11:05:03 -0700 (PDT) X-Received: by 10.152.42.177 with SMTP id p17mr15895306lal.29.1436465103044; Thu, 09 Jul 2015 11:05:03 -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 hn6csp828717lbb; Thu, 9 Jul 2015 11:05:02 -0700 (PDT) X-Received: by 10.140.218.5 with SMTP id o5mr28213841qhb.13.1436465079425; Thu, 09 Jul 2015 11:04:39 -0700 (PDT) Received: from mail-qk0-f178.google.com (mail-qk0-f178.google.com. [209.85.220.178]) by mx.google.com with ESMTPS id s5si7730136qgd.55.2015.07.09.11.04.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jul 2015 11:04:39 -0700 (PDT) Received-SPF: pass (google.com: domain of ashwin.chaugule@linaro.org designates 209.85.220.178 as permitted sender) client-ip=209.85.220.178; Received: by qkhu186 with SMTP id u186so191378121qkh.0 for ; Thu, 09 Jul 2015 11:04:38 -0700 (PDT) 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: 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.217.178 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..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