Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1862432rwb; Fri, 19 Aug 2022 10:37:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR6HGG4bbce7Csf1Lb4D+oz8NFcTZ9rZKSEhAd249MssbOnwGZkyOGhjLiJWfdHDOe4ytZzP X-Received: by 2002:a05:6402:358a:b0:43d:aa71:3033 with SMTP id y10-20020a056402358a00b0043daa713033mr6890634edc.248.1660930638297; Fri, 19 Aug 2022 10:37:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660930638; cv=none; d=google.com; s=arc-20160816; b=UBv8gg+t6RsnENxU64V8jPcw1dwykhnwVaP/yM6DQrVdKlC28yry2YeewWGys2QeIc kwtmn9epFR1X6/tlOru7Zx2vLpGWsUfFcQBS99GyEf4MxgPV9VPP0jGs3FL36pcDLRAU nYoN4MPdl+Jcl2QTnjengMDyAwrQ5yeUP+bEkIJClUtToFIQh059PEI4qvkroACEH1FQ XkeyCne3v2rnViRzh1YpGB/KRJ745kF1pgsijr3YLmSb1h/54DCDcT61Dt5u/ZMzkqLo 1mogZrP7Tpv/iO+qfR15qpSO0E6Gov2T5d2IDp8M27bpFQzP9mMOCN2w7cdUHssPxAPw 0gAQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=2eW7yBWnlne2yv+qYPZWeWI6TWSCm57nssoy/Ge0m88=; b=hFiGpYr6vLY4h2FzVNCT8QjQ6wGsn/XFcKZ+xwvBc/NnRXcmml7W7wZpFB0tTkXgi4 idaQ6HwD8AYD3MBaV/qcBC20qRFkJqSdTnToCnItB8iSlfCQfzj1jYl1vAKx0pmNa2KI DzsY/JsnyD6D6AiE/zWCMVrk780bkPUxjCaU+hx5Om/38gMDB9NbQ4+vnqMEirvB8Ib9 6G0Sn8a84nqlluK8/cn3SZTX2YnxlnZhMtEIe3cxEYY0DqrGMYrF8qNNtjy4J/ov02S3 Kgj6C8Fr8xURj63vib+zlQ9PxTIPZUBlHZbW3ekrKqsFisc6Ackd9ComMaHdaXuI+OSA ER1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RbIIZXAs; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dr2-20020a170907720200b0072eece129bdsi3363008ejc.59.2022.08.19.10.36.52; Fri, 19 Aug 2022 10:37:18 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b=RbIIZXAs; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351167AbiHSQDl (ORCPT + 99 others); Fri, 19 Aug 2022 12:03:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351210AbiHSQA5 (ORCPT ); Fri, 19 Aug 2022 12:00:57 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5634E75CC3; Fri, 19 Aug 2022 08:52:41 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D072AB8280C; Fri, 19 Aug 2022 15:52:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3C2ECC433D6; Fri, 19 Aug 2022 15:52:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660924359; bh=IvyDxYgxGBSsVEU6s1zkgyz6QckgiL3Xxkh1jfbbQXc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RbIIZXAsjt3qeEtgVAG1+p3bqyFcdWjVQQcUA/E6qDIM5nxMqXP8jfurK7I0JwkTt IcvIBxydYr8Yu33za2Pi6loiYdIfX3WTBKJ2WlbmTAMDisTSHo8aRGV0O42gB6qCmE 8fshvMcnABRE3TU69m4ngx8/8tJMYgxIIVf0fzWU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Geert Uytterhoeven , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Sasha Levin Subject: [PATCH 5.10 117/545] arm64: dts: renesas: Fix thermal-sensors on single-zone sensors Date: Fri, 19 Aug 2022 17:38:07 +0200 Message-Id: <20220819153834.522030048@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220819153829.135562864@linuxfoundation.org> References: <20220819153829.135562864@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 From: Geert Uytterhoeven [ Upstream commit 62e8a53431145e06e503b71625a34eaa87b72b2c ] "make dtbs_check": arch/arm64/boot/dts/renesas/r8a774c0-cat874.dtb: thermal-zones: cpu-thermal:thermal-sensors: [[74], [0]] is too long arch/arm64/boot/dts/renesas/r8a774c0-ek874.dtb: thermal-zones: cpu-thermal:thermal-sensors: [[79], [0]] is too long arch/arm64/boot/dts/renesas/r8a774c0-ek874-idk-2121wr.dtb: thermal-zones: cpu-thermal:thermal-sensors: [[82], [0]] is too long arch/arm64/boot/dts/renesas/r8a774c0-ek874-mipi-2.1.dtb: thermal-zones: cpu-thermal:thermal-sensors: [[87], [0]] is too long arch/arm64/boot/dts/renesas/r8a77990-ebisu.dtb: thermal-zones: cpu-thermal:thermal-sensors: [[105], [0]] is too long From schema: Documentation/devicetree/bindings/thermal/thermal-zones.yaml Indeed, the thermal sensors on R-Car E3 and RZ/G2E support only a single zone, hence #thermal-sensor-cells = <0>. Fix this by dropping the bogus zero cell from the thermal sensor specifiers. Fixes: 8fa7d18f9ee2dc20 ("arm64: dts: renesas: r8a77990: Create thermal zone to support IPA") Fixes: 8438bfda9d768157 ("arm64: dts: renesas: r8a774c0: Create thermal zone to support IPA") Signed-off-by: Geert Uytterhoeven Reviewed-by: Niklas Söderlund Link: https://lore.kernel.org/r/28b812fdd1fc3698311fac984ab8b91d3d655c1c.1655301684.git.geert+renesas@glider.be Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/renesas/r8a774c0.dtsi | 2 +- arch/arm64/boot/dts/renesas/r8a77990.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a774c0.dtsi b/arch/arm64/boot/dts/renesas/r8a774c0.dtsi index e0e54342cd4c..4c7d7e8f8e28 100644 --- a/arch/arm64/boot/dts/renesas/r8a774c0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a774c0.dtsi @@ -1929,7 +1929,7 @@ thermal-zones { cpu-thermal { polling-delay-passive = <250>; polling-delay = <0>; - thermal-sensors = <&thermal 0>; + thermal-sensors = <&thermal>; sustainable-power = <717>; cooling-maps { diff --git a/arch/arm64/boot/dts/renesas/r8a77990.dtsi b/arch/arm64/boot/dts/renesas/r8a77990.dtsi index 33d7e657bd9c..37159b9408e8 100644 --- a/arch/arm64/boot/dts/renesas/r8a77990.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77990.dtsi @@ -2029,7 +2029,7 @@ thermal-zones { cpu-thermal { polling-delay-passive = <250>; polling-delay = <0>; - thermal-sensors = <&thermal 0>; + thermal-sensors = <&thermal>; sustainable-power = <717>; cooling-maps { -- 2.35.1