Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9105812pxu; Mon, 28 Dec 2020 06:47:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJzHa7xs/Q/ln7gnX26yD6cI3Z+NTFPUK32k/RBBenyNtwO8qkojLqIpFo1MClO/Bjy4U3s+ X-Received: by 2002:a50:e80c:: with SMTP id e12mr41306226edn.288.1609166830926; Mon, 28 Dec 2020 06:47:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609166830; cv=none; d=google.com; s=arc-20160816; b=Ism/90HnCXvE62iqaaEIxflvvK/6zTgdzpHM2uMBf1V+HXuhgC18Zu7QmhTWHvwp6v 4/Pip5W8C7+bOnGPywmc5avrb8Pun8UkawlM2TYQJLS5PXJ84NiPqhlgibGTdag10H97 LpgFYsowvEADT9D86CUCeg6yzbpMW95Eg+gautSrSAZKd59rizHbDGxh/PiuPFacVLPl A6EVaqDki1400l8WJXP9qEfGA3fouH47Ho8cMV+M+jRHO54WLmQDMC0YOcLHJdgb1xYB tMTNcQWkSw0apzdEB7mIA9TsBUGlecBHTL51UajCJmLWjtQ/Vs3yDiNQvLGE3iU3oLpl vF+A== 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=6gd6ku0a5etWGWC/jpEJPt1zvCflQpo35638YDJTPRo=; b=McMxhJ6SpOtXKwVBnD0Ei0Ky690WHRmrtxqoSX09z0A55eN08oqzxXvjQODLzjMmL+ dVEOqh7hLODiNnim0gqo7rDU3jDHG12PUv/DHAEstUto7c14BUNDpOaEnBDLffInrJMS zXNrbhVdsGSiZuedfeykVWZeJAMGLxv8dYwclYcxdXAPx8D/XtQaOA7oQ+im/yy0E9Qj HmDoXxi6lDK14aZh1Mw37H5O9CplDolKERpS7FGIxXPfqyQCp7J0n1YB0GezLv20zvX1 PfOGcotd6zTHdWif975SEfIeepiNR7Uun21/awSQpKYYzael739rkTzHj8ESF3H22BZ3 puKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=BtulNGZY; 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 z6si16521683ejr.643.2020.12.28.06.46.48; Mon, 28 Dec 2020 06:47:10 -0800 (PST) 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=BtulNGZY; 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 S2506308AbgL1OmT (ORCPT + 99 others); Mon, 28 Dec 2020 09:42:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:35216 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502456AbgL1O1p (ORCPT ); Mon, 28 Dec 2020 09:27:45 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id D73CB207B2; Mon, 28 Dec 2020 14:27:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609165650; bh=Z0h+6bmR7wNimKkpK7ZfJsCK9K1YgiLPBioUdJ2aJFg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BtulNGZYR1irNX4mwg06A047Dk1Zk+cUWVijh/sK6PXlYdPGk6XHOlZ3X8+yHdP2W UEE88DwqtBsctqslFqSyE31WwV4sGTI8M9o4Yqds5SfNbFbi0ewyb+/s8d4LYUzhB8 e46h9cp06sDl7nwDjWVPa4EdovrCi1xF6sag+j6Q= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jon Hunter , Thierry Reding Subject: [PATCH 5.10 605/717] ARM: tegra: Populate OPP table for Tegra20 Ventana Date: Mon, 28 Dec 2020 13:50:03 +0100 Message-Id: <20201228125049.895071844@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@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: Jon Hunter commit bd7cd7e05a42491469ca19861da44abc3168cf5f upstream. Commit 9ce274630495 ("cpufreq: tegra20: Use generic cpufreq-dt driver (Tegra30 supported now)") update the Tegra20 CPUFREQ driver to use the generic CPUFREQ device-tree driver. Since this change CPUFREQ support on the Tegra20 Ventana platform has been broken because the necessary device-tree nodes with the operating point information are not populated for this platform. Fix this by updating device-tree for Venata to include the operating point informration for Tegra20. Fixes: 9ce274630495 ("cpufreq: tegra20: Use generic cpufreq-dt driver (Tegra30 supported now)") Cc: stable@vger.kernel.org Signed-off-by: Jon Hunter Signed-off-by: Thierry Reding Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/tegra20-ventana.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) --- a/arch/arm/boot/dts/tegra20-ventana.dts +++ b/arch/arm/boot/dts/tegra20-ventana.dts @@ -3,6 +3,7 @@ #include #include "tegra20.dtsi" +#include "tegra20-cpu-opp.dtsi" / { model = "NVIDIA Tegra20 Ventana evaluation board"; @@ -592,6 +593,16 @@ #clock-cells = <0>; }; + cpus { + cpu0: cpu@0 { + operating-points-v2 = <&cpu0_opp_table>; + }; + + cpu@1 { + operating-points-v2 = <&cpu0_opp_table>; + }; + }; + gpio-keys { compatible = "gpio-keys";