Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp384999pxk; Sun, 30 Aug 2020 07:14:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtLjpRZeMdhiXZDu+cvqH6kh5etByJeLd032M6U6bWrvRUsqSfTCeJeOSOuHn93vIjUEfU X-Received: by 2002:a05:6402:643:: with SMTP id u3mr7754127edx.354.1598796883730; Sun, 30 Aug 2020 07:14:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598796883; cv=none; d=google.com; s=arc-20160816; b=huoiorUPktcgAE0yfQTMGWXjuK+lIKwxZx/1PLmsNX6LBVySOAlFM90EsrM5k1do9z nJPdsgbXHECruSD6Wic6qvKYfyOqfY33LSMK4FMPXKK9L2NRJjWW5NUiIwFPYpnOjV44 MhIprzAkMZvSO4Ebnhr6ZJh6SgujlXY7wKP4sRlA2WHrmsri3bAd7YyHW37RVavO3XLE pKSiRyWCDewogSnf03hv4aoTcWdiqF97QZ7IN45+f7hEuYy3F+aHf505dYpuiHQ2qI+u /7dgcjZ2ssurSvMEiw4jkcbcpJAMUNCRuATsl2pUaAwcxFdVWYBAncQN4SwRPY0cK6Br eOFg== 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=jdDm6SNovpAYrwFnQ9xrEd4ONrZXMBcFZrO4qCnSRPg=; b=LaEFNbCEZZH84ddx76zERhNTclNcPaoz9F5ozPja/baqjvODIHSpuVPivkdVDflQyQ cthpdx65Z8kvlksi5nbTWT1n4EcUvHqOh+Rq4lSyT98o/TUTFIkQ22j0KTlBwxqx7aw2 ULZlHR9ZVNSQDp4PKZiT7iOrrLCh7cbeiX4lIW58nXDYIPJDJtYZWMecih2Iqqp6jokk V6ckZQvGKnKB8SNhL3O6bcXm8ugsOstdFABqv9c4ZhxCYst2fCTVE7cS6tXd13Bxx6VR m3j8v+uL1CwmSWUlr3RgNpAY760hbcXR61O9ucinxPI2FPUmpbZKd17jb3S/pyzgK/k9 c6vA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LwPGousW; 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 y19si3942233eje.337.2020.08.30.07.14.21; Sun, 30 Aug 2020 07:14:43 -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=LwPGousW; 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 S1726023AbgH3OK2 (ORCPT + 99 others); Sun, 30 Aug 2020 10:10:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:56152 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728948AbgH3Ny6 (ORCPT ); Sun, 30 Aug 2020 09:54:58 -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 06B832151B; Sun, 30 Aug 2020 13:54:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598795698; bh=p8LmWweSMI5BYVBRe4Iv2P0KvrQz7VZ1Le+ZnJ3hJjQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LwPGousW7eBgChyeKkvctqma2xGtR9doUnlK5/Z9VCrH7YjnXG+YFfBLiOjDe1gHR Snx9TwyN6NzqbwUZhmekoyOplQjC2A9Ag1+jViZWbrOzPGwRW/FLfgkEC4EuKE301q WYvD5v+KFdHijOME18iNnAhY7JLbRIh8jhZRu544= 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 21/33] ARM: dts: exynos: Add CPU cooling in Universal C210 Date: Sun, 30 Aug 2020 15:51:48 +0200 Message-Id: <20200830135200.24304-21-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 Universal C310 board. This allows to scale down CPU frequency (and voltage) in case of thermal pressure. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4210-universal_c210.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts index 279f0f8f86ed..546d84fe4599 100644 --- a/arch/arm/boot/dts/exynos4210-universal_c210.dts +++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts @@ -196,6 +196,19 @@ cpu0-supply = <&vdd_arm_reg>; }; +&cpu_thermal { + cooling-maps { + map0 { + /* Corresponds to 800MHz */ + cooling-device = <&cpu0 2 2>; + }; + map1 { + /* Corresponds to 200MHz */ + cooling-device = <&cpu0 4 4>; + }; + }; +}; + &ehci { status = "okay"; phys = <&exynos_usbphy 1>; -- 2.17.1