From patchwork Tue Dec 17 20:26:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 11298581 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 75A5617F0 for ; Tue, 17 Dec 2019 20:27:01 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 128F62146E for ; Tue, 17 Dec 2019 20:27:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linux.kernel.org header.i=@linux.kernel.org header.b="oW7cmAPf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 128F62146E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+26986+1031+1554929+3438807@linux.kernel.org X-Received: by 127.0.0.2 with SMTP id eOLPYY1556264xBfr3wqqQcR; Tue, 17 Dec 2019 12:27:00 -0800 X-Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mx.groups.io with SMTP id smtpd.web09.1557.1576614420186038444 for ; Tue, 17 Dec 2019 12:27:00 -0800 X-Received: by mail.kernel.org (Postfix) id B8A5221582; Tue, 17 Dec 2019 20:26:59 +0000 (UTC) X-Received: from mail-lj1-f194.google.com (mail-lj1-f194.google.com [209.85.208.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5AE42206E0 for ; Tue, 17 Dec 2019 20:26:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5AE42206E0 X-Received: by mail-lj1-f194.google.com with SMTP id e28so5550947ljo.9 for ; Tue, 17 Dec 2019 12:26:59 -0800 (PST) X-Gm-Message-State: QthuVBrPDoRarWgi2Pu5ypWax1554929AA= X-Google-Smtp-Source: APXvYqxFfuzKzpy41ke451eRpxQCruUtwDTYSNFsFtRdoISjDONG+nzQM2sw6kkK5V5z9x/POZKfsQ== X-Received: by 2002:a2e:5843:: with SMTP id x3mr4552510ljd.64.1576614417467; Tue, 17 Dec 2019 12:26:57 -0800 (PST) X-Received: from localhost.bredbandsbolaget (c-21cd225c.014-348-6c756e10.bbcust.telenor.se. [92.34.205.33]) by smtp.gmail.com with ESMTPSA id k12sm6213549lfc.33.2019.12.17.12.26.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Dec 2019 12:26:56 -0800 (PST) From: Linus Walleij To: Linuxkernel+Patchwork-Soc via Email Integration Cc: linux-arm-kernel@lists.infradead.org, Linus Walleij Subject: [PATCH] ARM: defconfig: u8500: activate cpufreq Date: Tue, 17 Dec 2019 21:26:48 +0100 Message-Id: <20191217202648.23206-1-linus.walleij@linaro.org> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: patchwork-soc@linux.kernel.org List-Id: Mailing-List: list patchwork-soc@linux.kernel.org; contact patchwork-soc+owner@linux.kernel.org Delivered-To: mailing list patchwork-soc@linux.kernel.org Reply-To: patchwork-soc+owner@linux.kernel.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux.kernel.org; q=dns/txt; s=20140610; t=1576614420; bh=1Y0o2Z0KOKXoc56I/us9O7eTwfukIthbMhoC5Lavw/U=; h=Cc:Date:From:Reply-To:Subject:To; b=oW7cmAPf6c1CfXb2WZo9wOdusCzPSdKjO7UYGcROgRBRs7sv8p855wU7xkK8evS6uNy rx/pnye+KyIjmte6WLT5l0boz1eVnb37M+e1bQFclBdCNZIo3AL3m4ZGc6mdYhe5epOBL P93Tc0QPkKdx3mNZx4OEehO/Yu70/wEel9c= This activates the device tree-based cpufreq driver that Ux500 is using and enables the schedutil and ondemand governors with schedutil as default. This works fine in the setups I have tested. Cc:Stephan Gerhold Signed-off-by: Linus Walleij --- ARM/SoC folks: please apply this directly for fixes or wherever defconfig patches goes. --- arch/arm/configs/u8500_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/configs/u8500_defconfig b/arch/arm/configs/u8500_defconfig index 822cddfbf1af..4dd5c92fe3b7 100644 --- a/arch/arm/configs/u8500_defconfig +++ b/arch/arm/configs/u8500_defconfig @@ -12,7 +12,9 @@ CONFIG_ARM_APPENDED_DTB=y CONFIG_ARM_ATAG_DTB_COMPAT=y CONFIG_CMDLINE="root=/dev/ram0 console=ttyAMA2,115200n8" CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y +CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y +CONFIG_CPU_FREQ_GOV_ONDEMAND=y +CONFIG_CPUFREQ_DT=y CONFIG_CPU_IDLE=y CONFIG_ARM_U8500_CPUIDLE=y CONFIG_VFP=y