Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp382004pxk; Sun, 30 Aug 2020 07:08:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw10EY9tq/ZVpagMioNU/xInoZaTsPWU1LVZdZj8jbMEi9dn5VRPl9jgzUbeN1+fe+w31Up X-Received: by 2002:a17:906:80da:: with SMTP id a26mr7637769ejx.311.1598796522433; Sun, 30 Aug 2020 07:08:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598796522; cv=none; d=google.com; s=arc-20160816; b=h0AHt+P8VYjY2q/gN/VgwV59HJ3mcXYkSmGIuVNddmz+h/wDupcCJVw5s4XkoqBjVb V9T6afoZn8IQl3kSKDDjbhAu8d2m1LX8LDp/d8QlmNmd/zcgARf57HUdJUv9fU8Xl6o+ /slSZSlh2Vl7hNgZzgZX4YEouZk2cE7Qm0sc/IDQjbEAS3M/EhY00k0Hgl0luloSEjgV kaUrsu77WVG8/ZBolQUYXfsGWtGemI7padjiM/S7Jmet/Yhkbh0RjM03x/r8Gx1UPknf /36fBOem8bV1LGnKAnmPZ8JSQQyJL81ra2GE/NYuVas0bCQ99BZpNtYbC2k9Nl/Accp0 zqlQ== 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=xjDJ+tmpOOvd9q9vfyqktCpPtvwPJ3QZJQRGGfOWejE=; b=w3f/LZ06bqHmgGWj9L3P+e3X5z6JoNG7eJiHdKCrUhvPZxUh2WaxMfOzHm6dU0bAQi A1iWjXtL/6dK+kWTdsslBO3FUbnFMOnzCjEGmbb037ol9v5iVGe05W+sstkzDv3FjVLt TfeoaLe+CTBKUa07XmJuuc7pnKTpXH1/dGgoGWQGEYmjKSuHqePiL2ZZQHVdsLWyK2XW YslKoKBa9alSjEL0jLb3VNK3sgfVqaepW67F0meb5xo+8AFx4x8QwYoWCnXAkPVd2Abv F68vf/5L3dg0ibEhdpCksXv3SrYl3eqWTrDkQ4m2bQaS0gxeatS6dUtjTcGWeVCtlba+ b+CQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Qa5H5kaN; 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 g24si3602868ejh.325.2020.08.30.07.08.19; Sun, 30 Aug 2020 07:08:42 -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=Qa5H5kaN; 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 S1726438AbgH3OHV (ORCPT + 99 others); Sun, 30 Aug 2020 10:07:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:56702 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728970AbgH3NzT (ORCPT ); Sun, 30 Aug 2020 09:55:19 -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 C88CD21532; Sun, 30 Aug 2020 13:55:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598795719; bh=3FhkzB8eUbDw5OZXgkgtTSdvcFxjQ0d9pdGTQZ8lJHg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Qa5H5kaNR7SwNDX+HWw+ZABj28S0HUfxCbI0Q8a+TDyMzby3Pq1nVT8VGAlVcd+9d 3XVIQ8nVceVBGnfF0jG2y+ZImvJs+h0Z036JVjUsUOHt0rsWUrKbkADZpWadfjKszH lk2jVQidDmSKlYEiFQewwwLuhBk1mZsXofnb4oJk= 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 28/33] ARM: dts: exynos: Add CPU cooling in Exynos4412 Origen Date: Sun, 30 Aug 2020 15:51:55 +0200 Message-Id: <20200830135200.24304-28-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 Origen 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-origen.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-origen.dts b/arch/arm/boot/dts/exynos4412-origen.dts index 4c52ca6dbe57..c2e793b69e7d 100644 --- a/arch/arm/boot/dts/exynos4412-origen.dts +++ b/arch/arm/boot/dts/exynos4412-origen.dts @@ -75,6 +75,21 @@ cpu0-supply = <&buck2_reg>; }; +&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>; + }; + }; +}; + &exynos_usbphy { status = "okay"; }; -- 2.17.1