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: 48967 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DD06B2121F for ; Mon, 25 May 2015 21:52:19 +0000 (UTC) Received: by wifx6 with SMTP id x6sf6007930wif.1 for ; Mon, 25 May 2015 14:52:19 -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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=P253eLooxCBsSPqKGHkaSM3ktk6sTDMX3ikxekeIXOM=; b=kxG9UhofASevytFQq8zOavQVjSK4VPX05buiFGVP8r2WqCbsgUuorbQ/DIBkPuELnF 6hDwX918FFp9Rr5e8b2zb900ENMCKqtMVi7EYMg3xWQeWVbv0b4v+HQN69LDmP7vCXae nIekZ6sexjiEIDZ/nDBy5/bzBlQbxNXOXjI9LlDgzuh2voYMctXN2kpZpSsazQQXuaen DMtzxvvmIBT8Z1Pj669cUBn3Kkms2AiIc84UrbFkugVOjVYvf+tcOg9xUlDSm2Xd3WfY CXzW8YzQ0qRiBzL+lwl37ZUq0At6Pd8sqJRT6r3q0gThW3kjFdchC7A+it6MvwfgY67C AGtw== X-Gm-Message-State: ALoCoQnGFwmG+XdeY1t91MwVi/EWSWJPfRWHu/uppXjyFGLjo1WkBnO4Lmn04pOXp4qHKWhYx1qX X-Received: by 10.112.29.39 with SMTP id g7mr24299712lbh.1.1432590739176; Mon, 25 May 2015 14:52:19 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.20.226 with SMTP id q2ls809025lae.73.gmail; Mon, 25 May 2015 14:52:19 -0700 (PDT) X-Received: by 10.152.115.132 with SMTP id jo4mr20251980lab.102.1432590739030; Mon, 25 May 2015 14:52:19 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id s2si2076765lal.142.2015.05.25.14.52.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 May 2015 14:52:18 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by lagv1 with SMTP id v1so55708442lag.3 for ; Mon, 25 May 2015 14:52:18 -0700 (PDT) X-Received: by 10.152.206.75 with SMTP id lm11mr19369431lac.41.1432590738758; Mon, 25 May 2015 14:52:18 -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 hn6csp2099946lbb; Mon, 25 May 2015 14:52:17 -0700 (PDT) X-Received: by 10.170.115.68 with SMTP id h65mr5669552ykb.37.1432590737351; Mon, 25 May 2015 14:52:17 -0700 (PDT) Received: from mail-yk0-f170.google.com (mail-yk0-f170.google.com. [209.85.160.170]) by mx.google.com with ESMTPS id i141si7071110yki.19.2015.05.25.14.52.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 May 2015 14:52:17 -0700 (PDT) Received-SPF: pass (google.com: domain of ashwin.chaugule@linaro.org designates 209.85.160.170 as permitted sender) client-ip=209.85.160.170; Received: by yked142 with SMTP id d142so22880750yke.3 for ; Mon, 25 May 2015 14:52:16 -0700 (PDT) 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 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.49 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 --- 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