From patchwork Thu Sep 1 04:51:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 75160 Delivered-To: patch@linaro.org Received: by 10.140.29.8 with SMTP id a8csp89523qga; Wed, 31 Aug 2016 21:51:43 -0700 (PDT) X-Received: by 10.98.74.201 with SMTP id c70mr23480942pfj.113.1472705503641; Wed, 31 Aug 2016 21:51:43 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 5si3531647pfn.222.2016.08.31.21.51.43; Wed, 31 Aug 2016 21:51:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751790AbcIAEvf (ORCPT + 27 others); Thu, 1 Sep 2016 00:51:35 -0400 Received: from mail-it0-f45.google.com ([209.85.214.45]:35912 "EHLO mail-it0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750958AbcIAEve (ORCPT ); Thu, 1 Sep 2016 00:51:34 -0400 Received: by mail-it0-f45.google.com with SMTP id i184so47802008itf.1 for ; Wed, 31 Aug 2016 21:51:34 -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; bh=LS49XI9oeoHGiArSJ47GKUdAlxlB3YsP64KoOj5f0hA=; b=MgCBIFYNNTxwEhAzAky+5ZtwUcL45e5HOkOcDAkFJ465gChLLWE3ObLLDOFFtt6MYx PPzDNLSW/W3FxuEHQyQ74kzi2w+8/hocsGN2ZZ9/JGPz512ync3uCEttmrpj8wxCq791 QUFAc946foI3MeDBxLqycET4MIdxh5rESZzaY= 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; bh=LS49XI9oeoHGiArSJ47GKUdAlxlB3YsP64KoOj5f0hA=; b=Rc+FQ51D0YLJwiQTUXS4cRquCUiQtPSP9qzocB3PmfONf/v9ZM2WzprMawYwtGyi+j zHt4k9N/eVZL2BVixvQ4oP3VBTd/XV1q19GKkPhQRC2wsc1v8i3LVTDpEg8naCMsM3jc UcW36cJ+DHx9SAK7ja191SJ79Xhr98xg04AKsgpNG7bCXwu1/fe4qFMo48ZnuNdyLT3K toSK5YCXssQweWWc3K4+ahtwWUmbQtl+m0SovtvjgI6ASiF6vSrvZuyiNrGHllSj14qk fcvKH4QyoTk/NBBzC/faMSkn8PsuxW0L2c60N2hlPQC3MMcFczwv9vENaaWzCj938jjN QfWg== X-Gm-Message-State: AE9vXwO5gMVIAFszevsoMrCix+luQ9OEnzDQpmCeUMEbKsRLosyi2jZBMw4hsfTjCM70avIF X-Received: by 10.36.188.65 with SMTP id n62mr37864672ite.61.1472705493674; Wed, 31 Aug 2016 21:51:33 -0700 (PDT) Received: from localhost.localdomain ([69.46.80.36]) by smtp.gmail.com with ESMTPSA id o188sm7713675itg.11.2016.08.31.21.51.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 Aug 2016 21:51:32 -0700 (PDT) From: Leo Yan To: Will Deacon , Catalin Marinas , Arnd Bergmann , Simon Horman , Thierry Reding , Krzysztof Kozlowski , Alim Akhtar , Kuninori Morimoto , Riku Voipio , Srinivas Kandagatla , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Leo Yan Subject: [PATCH v2] arm64: defconfig: enable common modules for power management Date: Thu, 1 Sep 2016 12:51:09 +0800 Message-Id: <1472705469-25599-1-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable common modules for power management; one is to enable CPUFREQ_DT driver; the driver is used by many platforms by passing OPP table from device tree. Also enables thermal related drivers. Firstly we need enable configuration CPU_THERMAL for CPU cooling device driver, this will bind thermal zone with CPU cooling device; and enable 'power allocator' thermal governor. Signed-off-by: Leo Yan --- arch/arm64/configs/defconfig | 3 +++ 1 file changed, 3 insertions(+) -- 1.9.1 Acked-by: Arnd Bergmann diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index eadf485..c4f5948 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,8 @@ CONFIG_SENSORS_INA2XX=m CONFIG_SENSORS_ARM_SCPI=y CONFIG_THERMAL=y CONFIG_THERMAL_EMULATION=y +CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y +CONFIG_CPU_THERMAL=y CONFIG_EXYNOS_THERMAL=y CONFIG_WATCHDOG=y CONFIG_RENESAS_WDT=y