Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3026559rwb; Mon, 15 Aug 2022 16:24:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR4udiusOtnRiEAitYasc9+uY1ZIarDrVDeErCNtdpRCbmnmneSpI8Rk1rMsWqk4udQyhl6i X-Received: by 2002:a17:907:7fa1:b0:734:b26a:17bc with SMTP id qk33-20020a1709077fa100b00734b26a17bcmr11653894ejc.157.1660605880611; Mon, 15 Aug 2022 16:24:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660605880; cv=none; d=google.com; s=arc-20160816; b=sffUSBB9932Cv71t5y+ZWfr/UBSw/LFJsmULvQfMkPDt4W//ttbCFDoeEREXt5+ZXg DP6LptGgXpFxxW7boVbGKeBkGwTUAJLlloR+M3Ww8K8gZowFO6m5y8Yc91Ari0eW6La4 juiuWAnTJxbBzlmN4IW5gPa+PIuf2iwopXvscxr8sbY+6wr5puk+a4FAodXxndons7wU 85G0QEabv+MX/S9IJVyvCTjjjKbGlE99pzGfhBaZj5uf70x5jpG4R95Sh6XqTRFYbVZX aaiL/zSkVxszoSnizf1vbrOrx6ekmdf4nvsrodPb+cCk04MFzgtaQ/1M80DZ8e0R6e2D Jw7Q== 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=c2jE9YlylnU8az2J55jVOu3WsESKR5su7yWTZKbJDn8=; b=eUnOclUu1sh6fZCfMoFiL2xRWPlxkQGYIWoTT1LrIMN3QnuOvWjpxLxNWBRxNrRVuj YjLoRv1/8GOMJiWHZQ+JvGQvXHIXX1p8umHH9E0tbSBdJKEpD7uGUBs1BGGWnwJ3VCbB m5PAck/lbZfWR6by3BmiY8lL5uBsBd27qyEBMm4ddNaU78X4KEyl8Eh0lJ/4fxTQdYi5 FlSwDXxhq37zR/DKFsLuqp3CWlw8b1FUQmSNWnOqkzSyYhZk582msu6N3O/RVYU0f+AS ClzBOtipGpE2ah1kvOKuwqkxfpm1JOjw4AEJZHAYjKX8drCyzgwM6oPP5T6AXUpynOLX dbzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DlZ9y6N9; 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 c7-20020a05640227c700b0043be28d93adsi9705695ede.261.2022.08.15.16.24.15; Mon, 15 Aug 2022 16:24:40 -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=DlZ9y6N9; 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 S1351519AbiHOWse (ORCPT + 99 others); Mon, 15 Aug 2022 18:48:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351807AbiHOWqy (ORCPT ); Mon, 15 Aug 2022 18:46:54 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C851A134B83; Mon, 15 Aug 2022 12:52:51 -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 39FC8B80EAD; Mon, 15 Aug 2022 19:52:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 890AFC4314A; Mon, 15 Aug 2022 19:52:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660593169; bh=Fm5gTEaXh03wXvsaJ/GNjtoSl6P8RdV9SEtL3fw6UPo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DlZ9y6N9po7IKNwJtV61GmxR8mD8oO6RSL0/NFcwBD1IfoAFnsVsvlEqfuCO6Mb8n 03H1aZHSC92ZTjVLcmu6I9/XZDH68/0Le39KOvXLg9+w84otTsQMX9o4hNRXghLCxl YcoLPWUN7KZx80HlLXL+f1YP5qKSEDw7Zzf0BT9s= 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.19 0211/1157] arm64: dts: renesas: Fix thermal-sensors on single-zone sensors Date: Mon, 15 Aug 2022 19:52:47 +0200 Message-Id: <20220815180448.061965597@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@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 b6aeb22e8836..86e8c9b5147a 100644 --- a/arch/arm64/boot/dts/renesas/r8a774c0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a774c0.dtsi @@ -1952,7 +1952,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 d33021202637..800274de1fe0 100644 --- a/arch/arm64/boot/dts/renesas/r8a77990.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77990.dtsi @@ -2129,7 +2129,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