From patchwork Wed Aug 31 08:50:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 9306679 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BA5B360756 for ; Wed, 31 Aug 2016 08:57:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC02828E08 for ; Wed, 31 Aug 2016 08:57:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A07D128E68; Wed, 31 Aug 2016 08:57:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5FF3A28E08 for ; Wed, 31 Aug 2016 08:57:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933789AbcHaIz3 (ORCPT ); Wed, 31 Aug 2016 04:55:29 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:34438 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933766AbcHaIxr (ORCPT ); Wed, 31 Aug 2016 04:53:47 -0400 Received: by mail-pa0-f43.google.com with SMTP id fi15so16630642pac.1 for ; Wed, 31 Aug 2016 01:53:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=zaNTdi97Hs//OW0m0ds7rauFjUZEHcj1BoqkfEiX2ew=; b=hFjsQv+cnOaY+Aj+wsyrDihfvkK5sY3Cz5PvJbJK4m97dMAtosEMrsUDz4Me3UHhOw UA57sqdCoWCbURKrCaGOtx+gKLqm0LdiSVPj6+Mgn8MB5PAJkuJaMh7eI3m2sfkqlHfH EDzPN2tigRZ1mwe3jOMGTS4/RCn4WUajVvbD0= 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; bh=zaNTdi97Hs//OW0m0ds7rauFjUZEHcj1BoqkfEiX2ew=; b=ieeogG9RjPb15CTuYdcr53jpW7homOkcXzsKNowadmKIMER9nFm3avf9v6PZs33Wny 88RXTsOz+NYX+z/jwBKen1bDN5Horg+8XxJ1EP1/Bz/oZv1VgAUV9wL2krxkrvufH0Sb WEknUvSS8d4SWhJMDN9i/XVSlh1rZmq2hrjxbvtifsNcmH33Zpv72qWytPUZNisHAc8a 5CWyARr0fN4PQ11FuLvrRrwFrgEKEL04rL9XuUD/3ZH7/AECS3i7uE37Ry92m69mTfg6 31Pvxn7+ebsOixNr1dWZ4vvgoOyQdKzCspA/yVQdXOu/PozwznkxaoNcxzML26sG7mhk 8Gyw== X-Gm-Message-State: AE9vXwN+LpBycjk8zuCdCeqrojI7o40jWyBdZGzYGz0Sij6X5e7mCB/ho6w/Iqhbqc9Z1XzZ X-Received: by 10.66.173.14 with SMTP id bg14mr15057007pac.42.1472633625852; Wed, 31 Aug 2016 01:53:45 -0700 (PDT) Received: from localhost.localdomain ([69.46.80.35]) by smtp.gmail.com with ESMTPSA id fj19sm63300449pab.37.2016.08.31.01.53.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 Aug 2016 01:53:45 -0700 (PDT) From: Leo Yan To: Catalin Marinas , Will Deacon , Michael Turquette , Stephen Boyd , Zhang Rui , Eduardo Valentin , Arnd Bergmann , Simon Horman , Krzysztof Kozlowski , Thierry Reding , Riku Voipio , Srinivas Kandagatla , Rob Herring , Philipp Zabel Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, Guodong Xu , Amit Kucheria , Leo Yan Subject: [PATCH 3/3] arm64: defconfig: enable two common modules for power management Date: Wed, 31 Aug 2016 16:50:17 +0800 Message-Id: <1472633417-9330-4-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1472633417-9330-1-git-send-email-leo.yan@linaro.org> References: <1472633417-9330-1-git-send-email-leo.yan@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Enable two common modules for power management, one is to enable CPUFREQ_DT driver; this CPUFreq driver is used by many platforms by passing OPP table from device tree. Also enables CPU_THERMAL for CPU cooling device driver; so after we enabled thermal framework and can bind thermal zone with CPU cooling device driver. Signed-off-by: Leo Yan --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index eadf485..9fd2681 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -82,6 +82,7 @@ CONFIG_COMPAT=y CONFIG_CPU_IDLE=y CONFIG_ARM_CPUIDLE=y CONFIG_CPU_FREQ=y +CONFIG_CPUFREQ_DT=y CONFIG_ARM_BIG_LITTLE_CPUFREQ=y CONFIG_ARM_SCPI_CPUFREQ=y CONFIG_NET=y @@ -252,6 +253,7 @@ CONFIG_SENSORS_INA2XX=m CONFIG_SENSORS_ARM_SCPI=y CONFIG_THERMAL=y CONFIG_THERMAL_EMULATION=y +CONFIG_CPU_THERMAL=y CONFIG_EXYNOS_THERMAL=y CONFIG_WATCHDOG=y CONFIG_RENESAS_WDT=y