Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4569577pxv; Tue, 6 Jul 2021 04:17:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCTKOUZBf+i+AJRYe57UuRmZulQezZloHaLaaz5qoJhOXynpEPsGqRo0pWsbMSmubihBfk X-Received: by 2002:a92:d60c:: with SMTP id w12mr14478087ilm.246.1625570276706; Tue, 06 Jul 2021 04:17:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625570276; cv=none; d=google.com; s=arc-20160816; b=EdWrExqoZ8uAZASgTv/szoXgJcYk7jK2d9wTLUjXp6i/5L2iSoHlLtSeLqqy4VKZaM LZPq+IPsBsOMjHjXE77EtPmha/OflAIowqJhDfo4Jl4TMVxnaHbIzfgmga47kFm5WgGG iZEw72YJddeXXIc6NPGlhSlSF3ubWwSiObhhcTbWDbQ5KsUk0yDDdbMkJ/HSvglBEWDW H4yt2GeMQUZ5scPCq3vWsukF/21hA11bDkr5eCebiqYPtuIlZOXdQ/fpZFY5VrUoGd0e /ZLLo9jsTGtaB5e6PXO+vd+JYhDebiBwpvJD+TVlNsdLkUVQ5FEpgvTF1uDf1mon/IaK kHUQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jKutqtkmnFi0DSB/xc48xDicVsC1VP+HmpEhRAXhWDo=; b=UUsC4M/7sD3yC/jDCVvpIsFzYw1miHat4S1iUXM1Lioe+H8ro18c/92k55J3ZdErMN XPknkZR6XxOWZX9hI/V2CuGBFJOFWKXyrhiCxKsKO7c74el7T4Kufrp9noB40NS/4G0d VGip2zzO7K7wvKoa725bezCOH7RJv6y+94rRbbeQkdRwDMVSzLS9K85/PLnm2I38svU7 B649pyre/A1NwV6yzd+wrJJMcwps95AMN1fL6CWSgHFUMpGnhEmYTFZfhuP45AEi4F+l cQQcc7DlJAR/Q5TnVlJf5s6tUa07n0KFz3XCTtm8sJCfOW8sXozX6tcDWbSIXjG+3BmE 0lpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i1g2dGZv; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o5si17521369ioh.16.2021.07.06.04.17.44; Tue, 06 Jul 2021 04:17:56 -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=@kernel.org header.s=k20201202 header.b=i1g2dGZv; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233004AbhGFLTt (ORCPT + 99 others); Tue, 6 Jul 2021 07:19:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:53404 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232416AbhGFLSS (ORCPT ); Tue, 6 Jul 2021 07:18:18 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 929B261C22; Tue, 6 Jul 2021 11:15:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625570140; bh=yF3Xfk587sd+A00D3s6oJyfhF4EB3WXKxWmJ+VimC3M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i1g2dGZv7WL1Jq+uu61dxMaIfuLA9WZyWr2+9u6EldFMYLzWsPCA0NMOlJRxY19Gu pFXY006c1+A3byFxNctD44KcdOJC9Qt/l/3ViafnPoWefF4lEqkJDaoF+2YfVTrV3W UWcbuZPnPq7Z9o/3Rec/P3wcnlQd1yrPe4g9Vj1EA/4Hywmcjv+YC1xnAqlSf3ZuSi qfM8rJgtycVQ/hCbQ+nPoJ1+x8zttR7AB9JOWnoBChKOIoxyoBitS/AnLK05fKYOcm OhnMdIcDbnPcUO4+IId0p4xJGClLJlxe9qjazCLfhxUAo9H2eqmGS0+uLp2GVYUesW 5SBLt7qAxAc1w== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Paul Cercueil , Thomas Bogendoerfer , Sasha Levin , linux-mips@vger.kernel.org Subject: [PATCH AUTOSEL 5.13 065/189] MIPS: ingenic: Select CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER Date: Tue, 6 Jul 2021 07:12:05 -0400 Message-Id: <20210706111409.2058071-65-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210706111409.2058071-1-sashal@kernel.org> References: <20210706111409.2058071-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore 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 ed51970c08e7..344e6c622efd 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -428,6 +428,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