From patchwork Mon Feb 6 21:51:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Mayer X-Patchwork-Id: 9558849 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 B56AE60547 for ; Mon, 6 Feb 2017 21:52:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A67A52808C for ; Mon, 6 Feb 2017 21:52:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9B2C12815E; Mon, 6 Feb 2017 21:52:59 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham 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 306D32808C for ; Mon, 6 Feb 2017 21:52:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752108AbdBFVwb (ORCPT ); Mon, 6 Feb 2017 16:52:31 -0500 Received: from smtp-out-no.shaw.ca ([64.59.134.9]:59777 "EHLO smtp-out-no.shaw.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751115AbdBFVwa (ORCPT ); Mon, 6 Feb 2017 16:52:30 -0500 Received: from triton.mmayer.net ([70.71.160.251]) by shaw.ca with SMTP id arD2cb3S2cWiHarD3clgsC; Mon, 06 Feb 2017 14:52:30 -0700 X-Authority-Analysis: v=2.2 cv=JLBLi4Cb c=1 sm=1 tr=0 a=6xzog4CasRozao6qlzTIAw==:117 a=6xzog4CasRozao6qlzTIAw==:17 a=n2v9WMKugxEA:10 a=Q-fNiiVtAAAA:8 a=8Aiz8qQ5bdL30ZDUwwMA:9 a=Fp8MccfUoT0GBdDC_Lng:22 Received: by triton.mmayer.net (Postfix, from userid 501) id B4E2533ABBBC; Mon, 6 Feb 2017 13:52:28 -0800 (PST) From: Markus Mayer To: Ralf Baechle , Viresh Kumar , "Rafael J . Wysocki" Cc: Markus Mayer , MIPS Linux Kernel List , Power Management List , Linux Kernel Mailing List Subject: [PATCH v2 4/4] MIPS: BMIPS: enable CPUfreq Date: Mon, 6 Feb 2017 13:51:19 -0800 Message-Id: <20170206215119.87099-5-code@mmayer.net> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170206215119.87099-1-code@mmayer.net> References: <20170206215119.87099-1-code@mmayer.net> X-CMAE-Envelope: MS4wfEQK0/vvn0KpNRERG9YSzE3h5eByvsczI0RuK7pHlGZD7N0JhgWBvdmAzJZh2QU1EvXuYPTYnHX0VrbB8TEcqzVQQBOE794/Yme4UgEDnhFaIcdWK0Vh fY0SxjNRJYeeVxOqfcTOCZZL73CVsAHYnF5u5A5N1ipnMwlvpxVyExiBsRXF8rtdDdxwo0znewfQAlG5lXGzYIueVniSDgYa+8E4VGZyWoO7tw7Z0+krXNux ty9ALEz1JW2PYAW/zmjPkZqwyglSlYMTjEaq7UrLHxgynz/aF24Cpwf+iRqPFeMM0BXIedUG9ypa0Va9fogBcRuk3Yi3N0PWUX6qsj5T2Di2MkZs+DY1D2Hg Ze98VrOFazSX094WN6C1IzecBjTpZw== 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 From: Markus Mayer Enable all applicable CPUfreq options. Signed-off-by: Markus Mayer Reviewed-by: Viresh Kumar --- arch/mips/configs/bmips_stb_defconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/mips/configs/bmips_stb_defconfig b/arch/mips/configs/bmips_stb_defconfig index 3be15cb..3cefa6b 100644 --- a/arch/mips/configs/bmips_stb_defconfig +++ b/arch/mips/configs/bmips_stb_defconfig @@ -15,6 +15,14 @@ CONFIG_EXPERT=y # CONFIG_BLK_DEV_BSG is not set # CONFIG_IOSCHED_DEADLINE is not set # CONFIG_IOSCHED_CFQ is not set +CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_STAT=y +CONFIG_CPU_FREQ_GOV_POWERSAVE=y +CONFIG_CPU_FREQ_GOV_USERSPACE=y +CONFIG_CPU_FREQ_GOV_ONDEMAND=y +CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y +CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y +CONFIG_BMIPS_CPUFREQ=y CONFIG_NET=y CONFIG_PACKET=y CONFIG_PACKET_DIAG=y