Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp377650pxk; Sun, 30 Aug 2020 07:01:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPiSuvfkP5i3SfzUaM9kPu85k72u0bDMfNTr9U9TmYgtRFQIbQuRk9HwUJfzGM46iGh3hw X-Received: by 2002:a17:906:d935:: with SMTP id rn21mr8041471ejb.145.1598796083609; Sun, 30 Aug 2020 07:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598796083; cv=none; d=google.com; s=arc-20160816; b=CTl8sga72WOxDicYo0bMkUhmsQRlSv2bwkLRzT4iwenECHIl93BCWRa6qkT9aJFdDl 40ccVL0lf35TkTCgaYbjcqEbYUGxK7phaFZTMzD6j3eNB/NGVSPooc6wd/X4tCegj6ok HVfVpgMzLQERGzH3cu7i6UijQImaLO1PzAtXAeyRum2PDTwHX6W+6roSybSar5ttMJ+m IV9CxPvk+QOwhVM3RpOWm4XRFQyJLYywKl7BMQhCBhxfyGsEtzgYgeB2X1eXXsX7L/st IMDZiCozoobGji3sFzwEbzwMrXb8Z0Q1k+a35ViDwo8Epriq4jojfJGdxxg+X9FfrA5V 2Tew== 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=ai49HkHmeBB2ZZPB/mlTjJKjjOrCyeR/fCMgA7KNfDU=; b=igeD0NdUEM/aW0aXYv8yjI1XKsJNc9MmcFrcYjTFaq6ABueBcwOV4oSe6bsPW+HGeQ Pa4WSfwy11HZ3GTKJxinv4UO7+X56n4/A5AZGeiZKlSvPpHEJeh88I+TetrgRIr64QeW qUieZ8YBAaPS1V7gZwg8MUrkF8LZo+SNvk22vior0e2GKHr2fDETgZ+XCw6hL1oCi1Oy gEBB7WA49CGqymIzz3rytmXD6BGhLLnRs0R7crhjCCIPwKfRwYgFVvNCC2fdJ/7THHWr POIjBf/tSMpuBQbU320WJX5F0QTojcv88PmY6Nl84f0L4Mu32HHnJ8oYX0Bk0aEJ63tz 81Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Ddfgfj+G; 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 a17si3840511ejc.540.2020.08.30.07.01.00; Sun, 30 Aug 2020 07:01:23 -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=Ddfgfj+G; 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 S1726434AbgH3N7S (ORCPT + 99 others); Sun, 30 Aug 2020 09:59:18 -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 S1728936AbgH3Nyr (ORCPT ); Sun, 30 Aug 2020 09:54:47 -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 D3CD82145D; Sun, 30 Aug 2020 13:54:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598795686; bh=j77CktKo3T9lOAIW0GGqvgAET3t3oeLi6WGf+te7xiU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ddfgfj+GfV+bDD537Y7xdMhWXrxjfVOH1up1ZICU7i2Mma97xCV9UIDAK9Dr4ooDO iMqFopjvTMn+2FLfiFSXDEt4b3Ljlm4gSYoxHL1fbq+XyIP5G5VvcevKVbYTgNWGCS ZRIWE7/yM79SowZEJhXGcig6cO/57LgKqALDTrhM= 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 17/33] ARM: dts: exynos: Override thermal by label in Galaxy I9000 Date: Sun, 30 Aug 2020 15:51:44 +0200 Message-Id: <20200830135200.24304-17-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 Using full paths to extend or override a device tree node is error prone since if there was a typo error, a new node will be created instead of extending the node as it was desired. This will lead to run-time errors that could be hard to detect. A mistyped label on the other hand, will cause a dtc compile error (during build time). Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4210-i9100.dts | 28 ++++++++++++-------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/arch/arm/boot/dts/exynos4210-i9100.dts b/arch/arm/boot/dts/exynos4210-i9100.dts index 5623e17889a5..799b69e1a93a 100644 --- a/arch/arm/boot/dts/exynos4210-i9100.dts +++ b/arch/arm/boot/dts/exynos4210-i9100.dts @@ -217,21 +217,6 @@ clock-frequency = <32768>; }; }; - - thermal-zones { - cpu_thermal: cpu-thermal { - cooling-maps { - map0 { - /* Corresponds to 800MHz */ - cooling-device = <&cpu0 2 2>; - }; - map1 { - /* Corresponds to 200MHz */ - cooling-device = <&cpu0 4 4>; - }; - }; - }; - }; }; &camera { @@ -242,6 +227,19 @@ cpu0-supply = <&varm_breg>; }; +&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"; -- 2.17.1