Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8152309ybi; Thu, 6 Jun 2019 07:33:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUR4WTr4aHDUki+aajkSq9gspwO0gRVutb9G4jXJ6WzVZxS9tbu3LC/DwgHfVYpvqPF0Xg X-Received: by 2002:aa7:91c5:: with SMTP id z5mr46076843pfa.34.1559831602468; Thu, 06 Jun 2019 07:33:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559831602; cv=none; d=google.com; s=arc-20160816; b=pxzUI+wcAOhkA+kaXOuwTsglcRLhevifSpoZSbY6POiNVlQsFHXfxQsayHHkxmTaH5 o1G59t975hpwkwz1KxnU09/zWoIja/9xBRO9Ntn4VoTGjIRLdkHFIlF0GksLB0U3uIxT JYgnhbhkD56ziSrDne6Y1WyTBfdVvIq8cl7ERof+5U8MN+R8wkwtp7E3RhQiN19Sfdn6 3ICCN4f2if3wDJvECRIL4SH6p0hKUbfZZUQK/YoyUHIdn80VVEAKL6SrxbyRomo/a+D0 LjjHgpbw42UMxPtRxXCpyEBpEZVmM+JzgNO/mIoUr6NiZtT52OQUTZ5WAzCIQkj0lWSh yzMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=bbMJaQrm7DdAx2NT0fsejHzukyUOEBxE5UNSeuIUMOw=; b=LVPUkvzH03yhG4XJIEXcxo+aVIv81ELVnkj+SB6zpX76lUZkRQbl8aT/+VuYdxHOCE PSykNIPXVqd/WVCTDvP0qqnpNGWAp+5ZaRBe+G/4+Yg1Aqf6gS9+W5G7aJbFUtvAq3sT rtvlBDD3jshVbned+B8R7ttDyx7fYn6GJOd9aIN9d7bjsIfA/25fRqfpYnbs9ewI7s3T 38unJf2FXRBkVQ6VtLrtotQ7XnAVWzbQwNZY+bGKscrLPXXVdBEUQaLmGYFJPLB7xtT9 H1qYy0BhJWsOQov21SYYtXaggyvaBfTBe/OS8iQILWzbbLFgY4GgFaRXGVxUGdaqS2PA 3N+Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r130si2140808pgr.509.2019.06.06.07.33.04; Thu, 06 Jun 2019 07:33:22 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729080AbfFFObR (ORCPT + 99 others); Thu, 6 Jun 2019 10:31:17 -0400 Received: from mx2.suse.de ([195.135.220.15]:49922 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728994AbfFFObP (ORCPT ); Thu, 6 Jun 2019 10:31:15 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id AD952AFDF; Thu, 6 Jun 2019 14:31:13 +0000 (UTC) From: Nicolas Saenz Julienne To: stefan.wahren@i2se.com, Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com Cc: mbrugger@suse.de, viresh.kumar@linaro.org, rjw@rjwysocki.net, sboyd@kernel.org, ptesarik@suse.com, linux-rpi-kernel@lists.infradead.org, ssuloev@orpaltech.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, mturquette@baylibre.com, linux-pm@vger.kernel.org, Nicolas Saenz Julienne , Russell King , linux-kernel@vger.kernel.org Subject: [PATCH v2 6/7] ARM: defconfig: enable cpufreq driver for RPi Date: Thu, 6 Jun 2019 16:22:59 +0200 Message-Id: <20190606142255.29454-7-nsaenzjulienne@suse.de> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190606142255.29454-1-nsaenzjulienne@suse.de> References: <20190606142255.29454-1-nsaenzjulienne@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This enables on both multi_v7_defconfig and bcm2835_defconfig the new firmware based clock and cpufreq drivers for the Raspberry Pi platform. In the case of bcm2835_defconfig, as the cpufreq subsystem was disabled, the subsystem configuration was copied from multi_v7_defconfig (default governor, statistics, etc...). Signed-off-by: Nicolas Saenz Julienne --- arch/arm/configs/bcm2835_defconfig | 9 +++++++++ arch/arm/configs/multi_v7_defconfig | 2 ++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig index dcf7610cfe55..3fd90bfd5fec 100644 --- a/arch/arm/configs/bcm2835_defconfig +++ b/arch/arm/configs/bcm2835_defconfig @@ -37,6 +37,14 @@ CONFIG_CMA=y CONFIG_SECCOMP=y CONFIG_KEXEC=y CONFIG_CRASH_DUMP=y +CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_STAT=y +CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y +CONFIG_CPU_FREQ_GOV_POWERSAVE=m +CONFIG_CPU_FREQ_GOV_USERSPACE=m +CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m +CONFIG_CPUFREQ_DT=y +CONFIG_ARM_RASPBERRYPI_CPUFREQ=y CONFIG_VFP=y # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set # CONFIG_SUSPEND is not set @@ -132,6 +140,7 @@ CONFIG_DMA_BCM2835=y CONFIG_STAGING=y CONFIG_SND_BCM2835=m CONFIG_VIDEO_BCM2835=m +CONFIG_CLK_RASPBERRYPI=y CONFIG_MAILBOX=y CONFIG_BCM2835_MBOX=y # CONFIG_IOMMU_SUPPORT is not set diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 6b748f214eae..0fd60a83f768 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -102,6 +102,7 @@ CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y CONFIG_CPUFREQ_DT=y CONFIG_ARM_IMX6Q_CPUFREQ=y +CONFIG_ARM_RASPBERRYPI_CPUFREQ=y CONFIG_QORIQ_CPUFREQ=y CONFIG_CPU_IDLE=y CONFIG_ARM_CPUIDLE=y @@ -899,6 +900,7 @@ CONFIG_STAGING_BOARD=y CONFIG_COMMON_CLK_MAX77686=y CONFIG_COMMON_CLK_RK808=m CONFIG_COMMON_CLK_S2MPS11=m +CONFIG_CLK_RASPBERRYPI=y CONFIG_COMMON_CLK_QCOM=y CONFIG_QCOM_CLK_RPM=y CONFIG_APQ_MMCC_8084=y -- 2.21.0