Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp381652pxk; Sun, 30 Aug 2020 07:08:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOXAJH8S+vXyi59GJJmZG4rEtdtQeKB3htok6667sVqJOpRHF76gqzFCacU4c1SpviCQQC X-Received: by 2002:a05:6402:138a:: with SMTP id b10mr1996883edv.113.1598796486230; Sun, 30 Aug 2020 07:08:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598796486; cv=none; d=google.com; s=arc-20160816; b=LEMBwSyMjo14D7e/6X5HmCB7e9LeU3ZYs+CZI4pNo3vBv71kQPzzdDrqZXwrstnY2u 7zxodqluqPl6HTAA1zlNAgXVZ8GldUTyeky/n28PO+71ur70IWBUiKFQZ96ewf78BlsU pcQaZAAPzyalYIfWDHQJ2WoqiJp0TsgDH50eBPRHM6jIfPGJCUPv5PK2EZq6/pGxCEan d9HIcOws0KRKxgKud14kzpvFH4VFPj6lmxMjbNpMnOOniO4K0ItC1Ju44WKAO0Nw7dNf QRFX6hp8H2x1wjSo8pwWcyAFrEUfVftClppho6b+D8nbKFdFe7MfzP46/iKLygt2P+Xn Vyow== 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=HxBQdeFy5LGEKUzQgIQJOybzXAAxfWuIpt18MyA3SUA=; b=kcFY5X5ytWkSdWg70KgXqOtsb7sue5wvF0nCK8/vzWX7fH3N3FRqN9gnq7Un+XChlu lHJOXoXArk0bwUzCYoGB20ofc3fXpQr+BG2DPGnkXgq9a0lfwhLPDt8ykv55x9nbN9qC QH2aum8ODOqQZ2fR5s8bgXz3i1iZwtjdmTqG2P7elXgzGA87Bt3r+UvhFWf9830mQFkn neYD+cDQdcG7X+kDmi43NueAv1wYS8oInCkTuwvkYaYJw9nX5EOqv+z7kJlnp5orR6wE PPtoxhIy3j1QAvzT8du+cbDIr/LknMd4i0i0hGC20Ml2aG97+s2VrlsbR41zjld/S/bx 3g+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gz4Qk8OK; 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 v23si3463245edr.395.2020.08.30.07.07.43; Sun, 30 Aug 2020 07:08:06 -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=gz4Qk8OK; 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 S1726814AbgH3OGq (ORCPT + 99 others); Sun, 30 Aug 2020 10:06:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:56784 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728971AbgH3NzY (ORCPT ); Sun, 30 Aug 2020 09:55:24 -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 CA1EE2145D; Sun, 30 Aug 2020 13:55:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598795722; bh=KIsWaH1dYL8/ogBk1dYQlfHHvfK00cHfJ6Ix+cw1xII=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gz4Qk8OKpTTlEZgmQRD9XRjcbDfwgTW41obxj3PBnQZV8E7zXi6YJsSbAfncKmDE5 dOjylJApzEA8bgwdi4GL8XeLSs2vKDmWzGd2bRdBBxMXWC68Kg9Bnng4AC36Ti34P6 htmgNIfBSHvnQ5h1B9AHTOQSxdkqI7PxOS2SUXko= 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 29/33] ARM: dts: exynos: Add CPU cooling in SMDK4412 Date: Sun, 30 Aug 2020 15:51:56 +0200 Message-Id: <20200830135200.24304-29-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 Exynos4412 SMDK4412 board. This allows to scale down CPU frequency (and voltage) in case of thermal pressure. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-smdk4412.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-smdk4412.dts b/arch/arm/boot/dts/exynos4412-smdk4412.dts index e70fb6e601f0..3667fa048e0f 100644 --- a/arch/arm/boot/dts/exynos4412-smdk4412.dts +++ b/arch/arm/boot/dts/exynos4412-smdk4412.dts @@ -40,6 +40,21 @@ }; }; +&cpu_thermal { + cooling-maps { + cooling_map0: map0 { + /* Corresponds to 800MHz at freq_table */ + cooling-device = <&cpu0 7 7>, <&cpu1 7 7>, + <&cpu2 7 7>, <&cpu3 7 7>; + }; + cooling_map1: map1 { + /* Corresponds to 200MHz at freq_table */ + cooling-device = <&cpu0 13 13>, <&cpu1 13 13>, + <&cpu2 13 13>, <&cpu3 13 13>; + }; + }; +}; + &keypad { samsung,keypad-num-rows = <3>; samsung,keypad-num-columns = <8>; -- 2.17.1