From patchwork Thu Feb 9 10:58:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 54872 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp265574wrn; Thu, 9 Feb 2023 03:02:02 -0800 (PST) X-Google-Smtp-Source: AK7set9diZtugnAx/g65N96DD0btKw50bxOVNFfaHUhWxF4KkTWmUVxjA/jkR92HDJ7RI5D0DTs6 X-Received: by 2002:a17:906:e0c9:b0:88a:1ea9:a5ea with SMTP id gl9-20020a170906e0c900b0088a1ea9a5eamr10833376ejb.65.1675940522464; Thu, 09 Feb 2023 03:02:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675940522; cv=none; d=google.com; s=arc-20160816; b=hCu5thgV9pJup3nauFdlo0Vbz8pd/+DzmFh1QBii5U5HAo/PhiMV9GZu5t7TqFLwUo u8c8qLBwQJA51kFlTe4UygRKD2HktPDBOMDafd4iE/KX7+aFO4xJfYIuS0bB4uP58CTT XoYTOF6Ba4NDL6F0q1sRHa3d41N66eQMyOmKFrq3BYKQPOKq476h2gAZ4CzW4Hwifc5z gyX5PTmKYjAdAi9dj/5q2bDeLsuRW5ztHaWwgfjZfnXMru1/JcPOC/FclmtoHserXZ2C Qzbj0x0gbnMTrQjclx/tHaaCOrNLfD5aQiGhV4F1TMJRiLdCSpK4LGy+lV0499BkfBoj VKZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MNu/Kq5YO5u+A14KW4yemS89GxvSBvk/6+CEjY6IekA=; b=Lg/5cdXmn58iQYaVVXoXFDTpOJel/ZjIJRBsk4/I6qe5N0aT7b9yufm86dodJIjdmk Afn/qvv4roBgaxn+1Jqcc1YD/GbdSk2lyh9YUr/+wP/dOg695ieiH9PArnTTjdDy6V3J ugT80Omz9xK/j4f+B1JjKcQeS8b5O10z06q3FmLjNmlJr2spcRx4AplvypVw06S9Hkt2 e+5f6NAD29cdXVHDe1LOMqTmSFUJeef8xLKprVa6hCTDCnazI27ibON31YqU79p/3bsx VrIE3rwToRR4e+M2PMtEZ/saE6EIO2yhNHlJpk4Vf9g7jpCevBXPKPbdVoSqnGHWY9q8 YdhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="iz/gWjsH"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 13-20020a170906224d00b008af370a73c4si2253092ejr.639.2023.02.09.03.01.39; Thu, 09 Feb 2023 03:02:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="iz/gWjsH"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230034AbjBIK7o (ORCPT + 99 others); Thu, 9 Feb 2023 05:59:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229770AbjBIK7i (ORCPT ); Thu, 9 Feb 2023 05:59:38 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE99B2385C for ; Thu, 9 Feb 2023 02:59:04 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id m14so1315442wrg.13 for ; Thu, 09 Feb 2023 02:59:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=MNu/Kq5YO5u+A14KW4yemS89GxvSBvk/6+CEjY6IekA=; b=iz/gWjsHgtekoOHBySRM8twbFpzAeFgs07tGqu+gRe3S5q5NcYzl3nBt9K8Ox2uiFN KRihdcm5pXZo2x0M2M+ZXgpaZksnyf7PvtGY+JPJgwlgmv6QJRU+6POgc+XpgKzEM89e gqlE0xoL1HzWhxK0I075RQpbBpPojxIPKSeViZ0GsuC+MpZmKfF9QzK9MDWLj9rx/CTK yYRdXB4BB82wSrPno91cC3MkYQTBHAaudoRypXJ9xe0d0soKKbSj7rWyOEcXRFMFp/oW vWFxV28qcUou0C/kcQ6CBdQJHr8eArOiHnBVK/fsXEZNe813sYkdxP9PUUS/nkfo+x+1 E03Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MNu/Kq5YO5u+A14KW4yemS89GxvSBvk/6+CEjY6IekA=; b=qkP4Q3Q5QKYVRsgNaMjIg4qnvEscfyvXzgQVxx3tMB3T2orO7cY119h7gDMgPc00Qe 2liOaoOHdxH6jkbWgKBCHVl/HcrOOXJchj0cJH9X+maym7j5phSsYDopf+ZcTvgeroaQ C2HNodaBTYlJ7takxiHxLZ2qXKLTDvg9JyPRSOFodqnTKEsAfNKKleZpd01HC82XMCOf HHIpMBtwXthjZX9ybAscvDeCkm6yGqCDT4yucBqrKih8zqN60OmkrFYqLtJfUuj9K2Ln wflUsn5Y0/oAIYhYAlHS6E7lbciNCVEQ2Dlo8/b0RM33aL7fPFHWVYk1gRW1cAK0CCBW b3vw== X-Gm-Message-State: AO0yUKUbZ9NsJ4vsaa0zBP4E/3KRZLy6+CleLi7F5Ho95nIF1RxLNF7v fVkQHldYLBeCqpHTBpNC650Ozg== X-Received: by 2002:adf:da42:0:b0:2c3:dbaf:dcdc with SMTP id r2-20020adfda42000000b002c3dbafdcdcmr9394736wrl.18.1675940333391; Thu, 09 Feb 2023 02:58:53 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id g7-20020a5d6987000000b002be063f6820sm927987wru.81.2023.02.09.02.58.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Feb 2023 02:58:53 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Eduardo Valentin , Lukasz Majewski , Kukjin Kim , Javier Martinez Canillas , Marek Szyprowski , Anand Moon , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , stable@vger.kernel.org Subject: [PATCH 5/6] ARM: dts: exynos: correct TMU phandle in Odroid HC1 Date: Thu, 9 Feb 2023 11:58:40 +0100 Message-Id: <20230209105841.779596-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230209105841.779596-1-krzysztof.kozlowski@linaro.org> References: <20230209105841.779596-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757351009031620288?= X-GMAIL-MSGID: =?utf-8?q?1757351009031620288?= TMU node uses 0 as thermal-sensor-cells, thus thermal zone referencing it must not have an argument to phandle. This was not critical before, but since rework of thermal Devicetree initialization in the commit 3fd6d6e2b4e8 ("thermal/of: Rework the thermal device tree initialization"), this leads to errors registering thermal zones other than first one: thermal_sys: cpu0-thermal: Failed to read thermal-sensors cells: -2 thermal_sys: Failed to find thermal zone for tmu id=0 exynos-tmu 10064000.tmu: Failed to register sensor: -2 exynos-tmu: probe of 10064000.tmu failed with error -2 Fixes: 1ac49427b566 ("ARM: dts: exynos: Add support for Hardkernel's Odroid HC1 board") Cc: Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5422-odroidhc1.dts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/exynos5422-odroidhc1.dts b/arch/arm/boot/dts/exynos5422-odroidhc1.dts index 3de7019572a2..5e4280393706 100644 --- a/arch/arm/boot/dts/exynos5422-odroidhc1.dts +++ b/arch/arm/boot/dts/exynos5422-odroidhc1.dts @@ -31,7 +31,7 @@ led-1 { thermal-zones { cpu0_thermal: cpu0-thermal { - thermal-sensors = <&tmu_cpu0 0>; + thermal-sensors = <&tmu_cpu0>; trips { cpu0_alert0: cpu-alert-0 { temperature = <70000>; /* millicelsius */ @@ -86,7 +86,7 @@ map1 { }; }; cpu1_thermal: cpu1-thermal { - thermal-sensors = <&tmu_cpu1 0>; + thermal-sensors = <&tmu_cpu1>; trips { cpu1_alert0: cpu-alert-0 { temperature = <70000>; @@ -130,7 +130,7 @@ map1 { }; }; cpu2_thermal: cpu2-thermal { - thermal-sensors = <&tmu_cpu2 0>; + thermal-sensors = <&tmu_cpu2>; trips { cpu2_alert0: cpu-alert-0 { temperature = <70000>; @@ -174,7 +174,7 @@ map1 { }; }; cpu3_thermal: cpu3-thermal { - thermal-sensors = <&tmu_cpu3 0>; + thermal-sensors = <&tmu_cpu3>; trips { cpu3_alert0: cpu-alert-0 { temperature = <70000>; @@ -218,7 +218,7 @@ map1 { }; }; gpu_thermal: gpu-thermal { - thermal-sensors = <&tmu_gpu 0>; + thermal-sensors = <&tmu_gpu>; trips { gpu_alert0: gpu-alert-0 { temperature = <70000>;