From patchwork Tue Mar 6 13:05:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 130794 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp3914365lja; Tue, 6 Mar 2018 05:05:25 -0800 (PST) X-Google-Smtp-Source: AG47ELssZzH2CjoP5KwYLgRqismVAuERWpNeEQEbol9XLcP0NQufL5u9Wcso8Ry01SLKXWkmQjF5 X-Received: by 10.99.120.5 with SMTP id t5mr14906065pgc.156.1520341525126; Tue, 06 Mar 2018 05:05:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520341525; cv=none; d=google.com; s=arc-20160816; b=nwJIiTKJO5JeOb3OMLANGTSzlxw2vvblF4el6yapaHVeopQ/e44fIQumFMDZLUFsdY /MxOKCBsWvLf/3NhC69jjxtqEtr6bdzXrzenFvHIcd4Wj7YvYNHR/TI+48gFteFTkUzS yWA2dXv3GKoKYDfA7E43wWY+YA8Kkh6S7eT3nL3c4wJbNm1+DoZ5l0WzRJQThHfxWeIm KHDthhHaObf4EiK4j6rjFXDKA4JUC39W7stxcXiRSRYNe9VAOUNwhINxE/gNVpmoAqCe obT9z1RIUxw0LhvdOV9+QVQyOQFUlVy37XfN7l+qUqiKp5i91ghPPucCM8xZGO8AaDnw lDtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=+qGqJcHPZnCK5G4SLWbd93z8GGv7A+XrhTJzOxSMXZU=; b=HmIsEbkPotLvt7WE34xa18lj9nL+mPD/0tzs3cQ+4l+ugBTiIyBSbckuVkCNQeB8lZ wQiryabR7dOBMsz/sBKdJMKe7eG9ns102qVCnU7ea9vO2aLbhZugDeGl6ovPZaYW8JRc gCYOKqwUgiyrMzw7tyLRsQ4OsARr650HeHiJmkR47vcdIUkxPl9xYscqE779e6sv1NSP yXxRUX08ra9i4muz9LCtKlJIA/A99yOORT/Thn+P5aOLexjGTz3JkVSoGvZ8lKNmPEAh 0V1AeS+ZdFwMkhN6R22hYjRKRYYIXUZZ+50xBfSyTUcdwPnmtIXnpgvGRGteSTGWJDjz 873A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hZUB7gEv; 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 sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z96-v6si11113391plh.35.2018.03.06.05.05.24; Tue, 06 Mar 2018 05:05:25 -0800 (PST) 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 header.s=google header.b=hZUB7gEv; 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 sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753791AbeCFNFW (ORCPT + 28 others); Tue, 6 Mar 2018 08:05:22 -0500 Received: from mail-qt0-f194.google.com ([209.85.216.194]:45729 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753756AbeCFNFR (ORCPT ); Tue, 6 Mar 2018 08:05:17 -0500 Received: by mail-qt0-f194.google.com with SMTP id v90so24363917qte.12 for ; Tue, 06 Mar 2018 05:05:17 -0800 (PST) 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 :in-reply-to:references; bh=+qGqJcHPZnCK5G4SLWbd93z8GGv7A+XrhTJzOxSMXZU=; b=hZUB7gEvpAQht08iCoW71IojRPmvBYEP2vd2Bln6GADcPtoTer5KUCq6fixjNX1CBG liAcs0zLl/hGWk/QrMsplTCINsn30B+NwHZLbyUfBepV4Px/+tjsXnyI8n9ZYqFqVZLY 4xMDg1mx228m1qL9oSptdnFv0oN6Fu18Jblac= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=+qGqJcHPZnCK5G4SLWbd93z8GGv7A+XrhTJzOxSMXZU=; b=kVwyGDmj6gyFikqMwaMMnANUWe0Cevqnod57uspO4d+SLE8Tueo39d5OIh+wbX3RQd FctW+Do463lls3EE4DpBZNsr8J+JKhWhiT6coxLxnd0Zs2GDnCp9JDMpiHgYqNyiCci+ JiC8rYlco+bKSzQdGoTnM5XmVZNd55uh5zYElwrfcRj7Pyd/+ZwremINdGvuHC1LBngs U5DBI83OHNmlrBAw8KTqUheGzea1fM4z/rLY0ROPt7Rf4rRYCuUsHqO9vez9sXEL1OPS ODkyL1YXZ8dCYfatYHPio3nSrpxTpxsPEdS72sHAqAcyVJZvM0m8Iw9lR/1FarHggujX MB4g== X-Gm-Message-State: AElRT7E7goxLuLohquFCcfDsz3agP50g54iAwQjGZblFzx7R7VBfKq9p LKtBzw2SOZeoThaQypl03kEhTg== X-Received: by 10.200.46.210 with SMTP id i18mr29112473qta.157.1520341516866; Tue, 06 Mar 2018 05:05:16 -0800 (PST) Received: from localhost ([45.113.251.224]) by smtp.gmail.com with ESMTPSA id t38sm10478306qtb.4.2018.03.06.05.05.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Mar 2018 05:05:16 -0800 (PST) From: Amit Kucheria To: linux-arm-msm@vger.kernel.org Cc: Rajendra Nayak , Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] arm64: dts: msm8916: Add cpu cooling maps Date: Tue, 6 Mar 2018 18:35:01 +0530 Message-Id: <9f7199f0027ef2382e5ccc61a5118d0a00fa2e63.1520340931.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rajendra Nayak Add cpu cooling maps for cpu passive trip points. The cpu cooling device states are mapped to cpufreq based scaling frequencies. Signed-off-by: Rajendra Nayak Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) -- 2.7.4 diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index e468277..acac9e3 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -15,6 +15,7 @@ #include #include #include +#include / { model = "Qualcomm Technologies, Inc. MSM8916"; @@ -115,6 +116,10 @@ cpu-idle-states = <&CPU_SPC>; clocks = <&apcs 0>; operating-points-v2 = <&cpu_opp_table>; + /* cooling options */ + cooling-min-level = <0>; + cooling-max-level = <7>; + #cooling-cells = <2>; }; CPU1: cpu@1 { @@ -126,6 +131,10 @@ cpu-idle-states = <&CPU_SPC>; clocks = <&apcs 0>; operating-points-v2 = <&cpu_opp_table>; + /* cooling options */ + cooling-min-level = <0>; + cooling-max-level = <7>; + #cooling-cells = <2>; }; CPU2: cpu@2 { @@ -137,6 +146,10 @@ cpu-idle-states = <&CPU_SPC>; clocks = <&apcs 0>; operating-points-v2 = <&cpu_opp_table>; + /* cooling options */ + cooling-min-level = <0>; + cooling-max-level = <7>; + #cooling-cells = <2>; }; CPU3: cpu@3 { @@ -148,6 +161,10 @@ cpu-idle-states = <&CPU_SPC>; clocks = <&apcs 0>; operating-points-v2 = <&cpu_opp_table>; + /* cooling options */ + cooling-min-level = <0>; + cooling-max-level = <7>; + #cooling-cells = <2>; }; L2_0: l2-cache { @@ -196,6 +213,13 @@ type = "critical"; }; }; + + cooling-maps { + map0 { + trip = <&cpu_alert0>; + cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; cpu-thermal1 { @@ -216,6 +240,13 @@ type = "critical"; }; }; + + cooling-maps { + map0 { + trip = <&cpu_alert1>; + cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; }; From patchwork Tue Mar 6 13:05:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 130795 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp3914526lja; Tue, 6 Mar 2018 05:05:33 -0800 (PST) X-Google-Smtp-Source: AG47ELtkWHr5fkWwGSq6tQM8aoWkB4UrjRGXzTCiKDjxUCrv3XXfeetvzozpYoBvg3TJSTGeIGT/ X-Received: by 2002:a17:902:10d:: with SMTP id 13-v6mr16482881plb.266.1520341533412; Tue, 06 Mar 2018 05:05:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520341533; cv=none; d=google.com; s=arc-20160816; b=yI9C9+Tq69BPkC/YJIn7OMg8qLmsXlVEpB6KHyq5NKwfaIeRngANcScXoh+rvCypZV 2ltKUvZE+gsPTl80Hy66YOHAXx0PYUAXmbOStXJYa6BksmKbSp8KtHYCMwCjLqR3UnUs Z5npsogDFE46yDkxbC9II75N/+QOKVYQ47EnBmXjbM+AqhbjtYHN2wIS+Z1wpYg04tWH i0M2nqmHySgikDVskqpRT5E6u3IxCBG4ryYsGa9fJdGLjLeuAC66yp/efviaMmg1G/GA ffWoSo/1yBf/Feg1lnpZ8q3tSbtqIC4+ifAhpSicdf6Z0TgM7cSCxvNZb+idjUwkAXcP qMqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=GjX35gf4A4t5MKzwoVBZSQ/8gW5j8tzsCQvpw2l7Qrw=; b=yT6VsCmlfHkbIMD0Zqb2bwIcsyHS+N2ZniaXWiRbGlP1HSxEw/jMAOFZrsAueWveWn mSqaFlm70StbGD819oV22nS8mI1AXEgDJ6xVDyLenBkj5Uy7hUYcvLCpw/M7mAlspPGi lyFP98e6A/JiB7pYMfEpgzGhsMsHZzPBnYlSJBH8TcVgLwpVXjEzCPBuTfbVpFmSW+Wf mn9EqmfCOEUuIY7tI31m2Cx2Fl1uCh9o+9aVqGDQ0CIoz/xB9STIiy4aM0rtpc35yVT8 bfGWn+eezcjPAbig54+1TMPrZ5jPuJANpb5Pp/hI2ZIjXyzNTtdYjja4ZsUV+slREqFt /+Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jZegPHQi; 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 sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z19si11925174pfd.397.2018.03.06.05.05.33; Tue, 06 Mar 2018 05:05:33 -0800 (PST) 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 header.s=google header.b=jZegPHQi; 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 sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753808AbeCFNF1 (ORCPT + 28 others); Tue, 6 Mar 2018 08:05:27 -0500 Received: from mail-qk0-f194.google.com ([209.85.220.194]:40754 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753756AbeCFNFY (ORCPT ); Tue, 6 Mar 2018 08:05:24 -0500 Received: by mail-qk0-f194.google.com with SMTP id o25so24705838qkl.7 for ; Tue, 06 Mar 2018 05:05:23 -0800 (PST) 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 :in-reply-to:references; bh=GjX35gf4A4t5MKzwoVBZSQ/8gW5j8tzsCQvpw2l7Qrw=; b=jZegPHQio9F7DuvyoHZM0dOTExz86Zrq/Cj7rQAjBD5fN2bZ75YPZnB+gUPxe9v/53 I4V0z2TfrpGF601H85rceL/laAO4wHj5b1/lAR6QjJ4bIGqkONGzmxP0+McEmoN5ehKV 1amuvHvAg0SArpxqIrRvZuOacJiGCSjw/eImA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=GjX35gf4A4t5MKzwoVBZSQ/8gW5j8tzsCQvpw2l7Qrw=; b=EpqJz8du47TZPkjbqWT9LMfvFOTGTdl3gxAHbJAJZ9HSylL/azMOi4rNJMDAoT5B9j YuqDtCsbu6RYKzam/9Snby6CvPhK+DU1exRaWbnE6v3m8rTvCrHOfsDiTgrcyJJ4cd1N 9M9q7/fTNq9sHx4IFyY4K1livQmDoct0uzE9NCquCS0BIG5H+51uS6g3F6hzhgHkH15N jYV/B+6tgnj5rhSyscj2flMXzRCG/HY7rQhbpqZGtVlKB96Du7PR8lwmnjY8+en9+DJ1 8uWWnAr0JWEHCG+S8MI6RRY48TEAnAXBD906d45OaE57lk63Dd9bpy9ZoV+ET+ESV4G3 014g== X-Gm-Message-State: AElRT7GChJGG93LGR/RQDRe9bXv+DhhEIj0T8tk9a5Arz2l0CLfbpqMU hgcU56fE8q7xnzGucpZp5zNKTw== X-Received: by 10.55.93.65 with SMTP id r62mr26037467qkb.265.1520341523409; Tue, 06 Mar 2018 05:05:23 -0800 (PST) Received: from localhost ([49.248.173.54]) by smtp.gmail.com with ESMTPSA id y27sm10711249qtc.85.2018.03.06.05.05.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Mar 2018 05:05:22 -0800 (PST) From: Amit Kucheria To: linux-arm-msm@vger.kernel.org Cc: Catalin Marinas , Will Deacon , Arnd Bergmann , Gregory CLEMENT , Timur Tabi , Andy Gross , Wei Xu , Alex Elder , Rob Herring , Heiko Stuebner , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] arm64: defconfig: enable thermal sensor on QCOM platforms Date: Tue, 6 Mar 2018 18:35:02 +0530 Message-Id: <3c0f37be33dba8500fe39a0951f67a6882245afa.1520340931.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable the driver for the TSENS IP that is present across several QCOM SoCs. Signed-off-by: Amit Kucheria --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) -- 2.7.4 diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 634b373..80530cb 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -327,6 +327,7 @@ CONFIG_THERMAL_EMULATION=y CONFIG_BRCMSTB_THERMAL=m CONFIG_EXYNOS_THERMAL=y CONFIG_RCAR_GEN3_THERMAL=y +CONFIG_QCOM_TSENS=y CONFIG_ROCKCHIP_THERMAL=m CONFIG_WATCHDOG=y CONFIG_S3C2410_WATCHDOG=y @@ -562,6 +563,7 @@ CONFIG_PHY_XGENE=y CONFIG_PHY_TEGRA_XUSB=y CONFIG_QCOM_L2_PMU=y CONFIG_QCOM_L3_PMU=y +CONFIG_QCOM_QFPROM=y CONFIG_UNIPHIER_EFUSE=y CONFIG_TEE=y CONFIG_OPTEE=y From patchwork Tue Mar 6 13:05:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 130796 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp3914600lja; Tue, 6 Mar 2018 05:05:36 -0800 (PST) X-Google-Smtp-Source: AG47ELsZwLL58s8C7Trg3pjVrTNjGXBVgXA5BWMJm1tXE9QaTAkgXG5WM+7zjAyLjBNMS3Yxgak1 X-Received: by 2002:a17:902:6f17:: with SMTP id w23-v6mr16806891plk.336.1520341536678; Tue, 06 Mar 2018 05:05:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520341536; cv=none; d=google.com; s=arc-20160816; b=vbI/corIT4rRoaKTWM6tubXylJSZbtI3kbWC//oVFwN94ZlqcFhagbkceJWcyYlSYR GG74LLKaiqzqkWyg6mtrdh//BZxWQPMC8sdkw2fNDguKn3XsJHHA8t1Tr8SAgv/oSfyP UNOPGFMYMXOOZ5Xk+alG2FF9rcoSCbNROYeiaDkpBgN4Rsw5tJvtENEAYxm+SkTe5yEz BxTi7JGypAHUO/wlNCBBmwugdZJe3qhwJTgWq1KR4i8xPxhBnXWOitOjeEANvFeL8XWe aLpUVWzIkejNtzAETaUvMOhISfKcRCzyt4aesGPyhuBOrOhQBrKbKCOP/+lmLoJR3Q8d guCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=Hszzz+07TWCeIuBsrvzIA9Xa5hoX9T1yRQBR5x5VWC8=; b=orSBBRPEt4xPSK6TrlNohNI7Du9AP8JZHmNITFH90VRl6au07n7X2WLvBIJVQO6eMf ebAs0uyNL5cXkxv18n37i/c8aqqXNjUoqnyWYT+KwPVGzdIrkD2uK5cx30l/N6w8nbIm SEQarH4Hb+GpXiTW2FcMqiVfArl1RM8iQMXDxQxTgOV0xY7GNPnbfMKvoIB0fI/SLe1a Kci0p70r+BPdnUmjsZVdQVxraU3jR7TudOu6tf+UzxqBq1+YRZWSkWyWKqgDKIitL1mZ 2rYt4/KFLigQZOInv3Dd8P/8R48aZ5GZ5aNkOyhIrtHxgxrjm2Y8P+3XiQ7mephhVS4j vG5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BCVFwldE; 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 sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z19si11925174pfd.397.2018.03.06.05.05.36; Tue, 06 Mar 2018 05:05:36 -0800 (PST) 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 header.s=google header.b=BCVFwldE; 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 sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753826AbeCFNFd (ORCPT + 28 others); Tue, 6 Mar 2018 08:05:33 -0500 Received: from mail-qt0-f196.google.com ([209.85.216.196]:36554 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753756AbeCFNFa (ORCPT ); Tue, 6 Mar 2018 08:05:30 -0500 Received: by mail-qt0-f196.google.com with SMTP id c7so24411675qtn.3 for ; Tue, 06 Mar 2018 05:05:29 -0800 (PST) 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 :in-reply-to:references; bh=Hszzz+07TWCeIuBsrvzIA9Xa5hoX9T1yRQBR5x5VWC8=; b=BCVFwldEcOu+rxtm9FkP96ZfOwiF/B7qJnK2TpfV6FpEqPpNp0Cu2nHmbXgKPOmEo3 tX3cN/sF1zwEU/ixQIW98JZqSPcl8RcuJSmnCuN+rx8QHRA85DTO/QQJXSQYBefEbzZU TxUzq7eLWVc96NZ3/4Jdwo10ao5swlkIcdA6k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=Hszzz+07TWCeIuBsrvzIA9Xa5hoX9T1yRQBR5x5VWC8=; b=ikUPRXyUvm0lugPXy11drAzICrpMHREeWsUIR/b5o+JQ29unDhLuZ4ICG2msootF/F A0/scBd72I5HcnZ/iWKGFCUiKMd7nrKw8vYM7E9q0K6FFxd5Uh+LYwzmk8BufvjOuEL3 e8SedPVT0iWi1jLw4nD+hPCEYz+VXJkRy+ALSRcNLLMnoggM6Z6FENcpe3QC9ho6uJp1 5Zp6PhxLqlkB3BmeytUoZRibsw7jFBIvVVF2gYawc7NqGWcVv9YRa+DN6a8yHNl1Gdz/ DVF5cV6ZReWEHb1b5KrXSowbciHezFK4CNSUuGDkD0XGzYnvf6/atk33aj6nrQeeMEOt ih7Q== X-Gm-Message-State: AElRT7H8FJDPvAZDxZoiZfMrRk6Kc2sVhOpHQT3tqsY+8JLdR4gUF0LO D+F5zA1ffTBKD4ob62jGEG/ybQ== X-Received: by 10.200.17.132 with SMTP id d4mr26901146qtj.97.1520341529314; Tue, 06 Mar 2018 05:05:29 -0800 (PST) Received: from localhost ([45.113.251.224]) by smtp.gmail.com with ESMTPSA id b25sm10348415qte.40.2018.03.06.05.05.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Mar 2018 05:05:28 -0800 (PST) From: Amit Kucheria To: linux-arm-msm@vger.kernel.org Cc: Catalin Marinas , Will Deacon , Arnd Bergmann , Gregory CLEMENT , Timur Tabi , Andy Gross , Wei Xu , Alex Elder , Rob Herring , Heiko Stuebner , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] arm64: defconfig: enable more cpufreq governors Date: Tue, 6 Mar 2018 18:35:03 +0530 Message-Id: <7a5ecbaf8e5defbf47dc1f0b312a372a4654a18e.1520340931.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable the various CPUFREQ governors and statistics to ease development. Don't change the default governor - performance governor. Signed-off-by: Amit Kucheria --- arch/arm64/configs/defconfig | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.7.4 diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 80530cb..1f542fd 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -99,6 +99,14 @@ CONFIG_HIBERNATION=y CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y CONFIG_ARM_CPUIDLE=y CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_GOV_ATTR_SET=y +CONFIG_CPU_FREQ_GOV_COMMON=y +CONFIG_CPU_FREQ_STAT=y +CONFIG_CPU_FREQ_GOV_POWERSAVE=m +CONFIG_CPU_FREQ_GOV_USERSPACE=y +CONFIG_CPU_FREQ_GOV_ONDEMAND=y +CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m +CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y CONFIG_CPUFREQ_DT=y CONFIG_ARM_ARMADA_37XX_CPUFREQ=y CONFIG_ARM_BIG_LITTLE_CPUFREQ=y