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: 6758141 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 A6A43C05AC for ; Thu, 9 Jul 2015 18:04:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D7E1520461 for ; Thu, 9 Jul 2015 18:04:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F1DB120670 for ; Thu, 9 Jul 2015 18:04:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754071AbbGISEu (ORCPT ); Thu, 9 Jul 2015 14:04:50 -0400 Received: from mail-qk0-f176.google.com ([209.85.220.176]:35753 "EHLO mail-qk0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753850AbbGISEj (ORCPT ); Thu, 9 Jul 2015 14:04:39 -0400 Received: by qkbp125 with SMTP id p125so191104535qkb.2 for ; Thu, 09 Jul 2015 11:04:38 -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=eM1xfl+1F9uSTv7kx6uGWaOv/nDb+SUCFCLmG843/j8=; b=Ab8t4F6ZcNGjdhwRVCAoGesyFn8z4NefI6Kk2rzV4vNbBRhhCo5A8+spAhrm9IpIwN 2LsMDjDvyz2nhcRXf3eRt9ZqIOtYU7oAtltBkM+CAnx7N0vokmj6fyAuUC+AfaXzoU1C gvKEFIkLeMhsi7UdSB1t6eFQw1f3h4M+e+ORCur4x9WQyi1ZMHcsDUpNFjZSmZsXYetq BXaUtg8pmVM6vtZ9tM0LFAis2gCWWvMQEdB70bBkP+CHQq/94YrgHVu8+wwAePDyyXwG iBNZZu2Ma2YAbUJN5TNacn/GwCTNkT9mJR6CL3DfibjUxXOuaeeNOTNig/oHcmV1AfK4 YO2w== X-Gm-Message-State: ALoCoQn9BlRsYhnCUExDGwEXCy37K6XCHn1VEeQmv1iJIfmA5rbLndUF6lxeFy+BtW69FVImx841 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: 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.2 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..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