Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp378368pxk; Sun, 30 Aug 2020 07:02:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwh4tOOHMRaa8eH5qsy8lfzsJjuh9w74arGAPC31ppdk3QpkgjcW6FR1yNdvdfmS6tAYvQC X-Received: by 2002:a17:906:4087:: with SMTP id u7mr5562218ejj.466.1598796153390; Sun, 30 Aug 2020 07:02:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598796153; cv=none; d=google.com; s=arc-20160816; b=jKcWJXNe6ocutAcor1Adnuwcc++gb0JSRG/Wjgow6s9jJG4jHTB8Ix/w4otszFzdDT smzg11AxH0FdwXVswTqBaXqym3rdBhsEZe36C/GUdWqiEV1r6e0SbFyCgOOdbvnFZ51b YYv4RolTWfdtNJDXasQ4PAZbjh8KPZtYqME91xnYL0/5iqEObGIs8aMNx1Ii/zPOBTu/ quqLny9Bp5J58/2ZT/acLWX50KCK3wt5dVbMG7H/363P9pUEVMgBeUp5AoKREHfUPJe0 Z5v1mHAl9JjM9t1WUGUTr/+w6UOMqHi7k5wyP7ETwuqMExXlrujz+7/B2mHyYfr9d/vC s5iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=DGatNo4S9VvOvt7C2u4PSURrrody23rD/v0nygf0QDs=; b=bIK8G+wc8qC3+idbzeya/newAY8Wz7bxR9f/d8Lm8deDJ7hPBNkFtSUnu1OzM11/K0 euVD34bF4vbr5DWNy8+zRPghSyOYzOag0sQapx2ijxBbBD/9jgnewbHZRzj8KL/bzx+U 4iOHKpWqyT76OjjtFTXCXo358iSRsHMEH4i1zh69F0Kd9uJN/5lSwVwrlm/EyU/nXuma NiIPlO/TZr1XnRgip4YOPgVSu9K5AvpLVhd/MUDPJ/adx4l8I6U+rhHMLXnFfrEgBNVO lVAoY2cIzqgkLDpvSsuGKuFltWtSF1BfM3/8Q/IRL+U7xYeEttzxOmgheRwpGMAUj8o7 42Qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=K7cJ3p82; 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 q3si3785156ejb.543.2020.08.30.07.02.10; Sun, 30 Aug 2020 07:02:33 -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=default header.b=K7cJ3p82; 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 S1725898AbgH3OAb (ORCPT + 99 others); Sun, 30 Aug 2020 10:00:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:55826 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728945AbgH3Nyy (ORCPT ); Sun, 30 Aug 2020 09:54:54 -0400 Received: from localhost.localdomain (unknown [194.230.155.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0845420EDD; Sun, 30 Aug 2020 13:54:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598795692; bh=bvy5JgfVStU+LmnfyJ6fxrqzEqJ3ekac2/7lOiEU4fI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K7cJ3p82YVQ7DddJCjLDCPppLFVVAzWnWVCP5cq5ymEQYla3h2vqnYR11y1FPuGbi 8I41zw4ehdUL+MEkERQimJNTE8kbGZCpPP46iARC04+WmwOL/mirG9SIqEvKXer4pk DCsnVNEbfdyZjZVJDMIz+abKYDiwL8le0mRlY1Ao= From: Krzysztof Kozlowski To: Rob Herring , Kukjin Kim , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, "Denis GNUtoo Carikli" , Simon Shields Cc: Marek Szyprowski , Bartlomiej Zolnierkiewicz , Sylwester Nawrocki Subject: [PATCH 19/33] ARM: dts: exynos: Add CPU cooling in Origen Date: Sun, 30 Aug 2020 15:51:46 +0200 Message-Id: <20200830135200.24304-19-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200830135200.24304-1-krzk@kernel.org> References: <20200830135200.24304-1-krzk@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add missing cooling devices for CPU thermal zones in Exynos4210 Origen board. This allows to scale down CPU frequency (and voltage) in case of thermal pressure. Signed-off-by: Krzysztof Kozlowski --- Not tested on HW. --- arch/arm/boot/dts/exynos4210-origen.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210-origen.dts b/arch/arm/boot/dts/exynos4210-origen.dts index fcf45619a3e4..d6d8a8096eb4 100644 --- a/arch/arm/boot/dts/exynos4210-origen.dts +++ b/arch/arm/boot/dts/exynos4210-origen.dts @@ -129,6 +129,19 @@ cpu0-supply = <&buck1_reg>; }; +&cpu_thermal { + cooling-maps { + map0 { + /* Corresponds to 800MHz */ + cooling-device = <&cpu0 2 2>; + }; + map1 { + /* Corresponds to 200MHz */ + cooling-device = <&cpu0 4 4>; + }; + }; +}; + &exynos_usbphy { status = "okay"; }; -- 2.17.1