Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp626497pxv; Thu, 15 Jul 2021 11:53:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZmkH7Yjsow25KetB0iRHl3rT3/ivM0vDG0Hl/rOsDDtovQIM0bQkxr+aUdSxGOmAcvFGP X-Received: by 2002:a92:cb4d:: with SMTP id f13mr3828231ilq.57.1626375216210; Thu, 15 Jul 2021 11:53:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626375216; cv=none; d=google.com; s=arc-20160816; b=xiFhqJIrHaU+vp+xCg6D8YnNxCAOkIk1F4SmQleVaU3ys3suPkbXhCrzrqKQ//PrDB ms1W8qAhgylYAAB6Ydp+w7/Db1Ph3Vjj8d6Fka064w7g4rSfD4rH82+ae/Q52BIiXXd/ 86wpqi76Ud5GoIPhlQjqlD0IRHgCAMjNAGfAVKYMhi4upQDd2G83Wy5wBFaaAeFKsMon LdZkux/wJXQwlSugeQiLnUcGCQ7Ko4ExbNZUr+ZLuFpc8P7/ttebZBXpLV09lHV+uKOl Wa/9oFapgJ849rtKis+rzlG19RI6V2O6NttpveAhJObCzeB5kWiaVvFWQNk5pAtASi7X dU2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=F48h9z33pI+8pHyYJIbwrrtfgabZ9pphuYUTx/5PQ8Q=; b=Nr7hNb1SecimFTvUyEXnbHk35xT7X82PAjSXbm5kdUrKdtWphNGeLWgr42LwIJYheX ywnen21Fk48l5nKm6ZNMzmZlUgcpukKqVe7q76cH607f6zuhO9L4QirHboQEhplsBzst A97c+wJa3iulxW6i5GlYSdOi7Dol0gVvgTFbhRfnyZlWew9nEgpsVYp9hMLMeIU6SzDa fLJt+9yhoDjW0rKJSRlpriblNvTvPwjW1OL6bbg9qLnqewiwTqn5Z3exY1UW27aJ0pJa NObe/3E/EsRdcwYBztv38hT7RXMi/L2+RGUNW4MtRiDQcK/vc0IDihg6lhgU4XNwXQRQ qN5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="cs//9cDF"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t11si8631910jan.92.2021.07.15.11.53.24; Thu, 15 Jul 2021 11:53:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="cs//9cDF"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240678AbhGOSxv (ORCPT + 99 others); Thu, 15 Jul 2021 14:53:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:52350 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240310AbhGOSuV (ORCPT ); Thu, 15 Jul 2021 14:50:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8027F613E9; Thu, 15 Jul 2021 18:47:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626374835; bh=G2nzf0gXd2W5OSMmOy62iXfCIWuNGIizdeqqd4gYbWY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cs//9cDFwrfs/x4HzBldUuHfNw4IwVpeVNIWtQNlmiRYXZZBqoSAUFeMQ1GroZx1t u2oDIaoudFOTe8YwfzC96npYaTPyr5gm0awKv6viDSYvGecZDc18t5ii8pYE0GSGSu eWQm8i/CZv6I4015RuPmaG3k8peubG65Xt9DB7Bg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Paul Cercueil , Thomas Bogendoerfer , Sasha Levin Subject: [PATCH 5.10 046/215] MIPS: ingenic: Select CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER Date: Thu, 15 Jul 2021 20:36:58 +0200 Message-Id: <20210715182607.520293689@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182558.381078833@linuxfoundation.org> References: <20210715182558.381078833@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Paul Cercueil [ Upstream commit eb3849370ae32b571e1f9a63ba52c61adeaf88f7 ] The clock driving the XBurst CPUs in Ingenic SoCs is integer divided from the main PLL. As such, it is possible to control the frequency of the CPU, either by changing the divider, or by changing the rate of the main PLL. The XBurst CPUs also lack the CP0 timer; the TCU, a separate piece of hardware in the SoC, provides this functionality. Signed-off-by: Paul Cercueil Signed-off-by: Thomas Bogendoerfer Signed-off-by: Sasha Levin --- arch/mips/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 1917ccd39256..1a63f592034e 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -418,6 +418,8 @@ config MACH_INGENIC_SOC select MIPS_GENERIC select MACH_INGENIC select SYS_SUPPORTS_ZBOOT_UART16550 + select CPU_SUPPORTS_CPUFREQ + select MIPS_EXTERNAL_TIMER config LANTIQ bool "Lantiq based platforms" -- 2.30.2