Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp1432212rwo; Sat, 22 Jul 2023 13:23:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlF9Z0CxQEkHl/EZ4OVVD2YBn42Zlbu9nem+oxe+nUJ8YQCeIos+XAW8tVuKI/uLf7ILO0zx X-Received: by 2002:a50:fc16:0:b0:51e:293b:e1ce with SMTP id i22-20020a50fc16000000b0051e293be1cemr5195514edr.31.1690057396800; Sat, 22 Jul 2023 13:23:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690057396; cv=none; d=google.com; s=arc-20160816; b=PqxHwVn5bqggUQ9o6+V+7VaSWCpvydH9BMoIyfI17guSDjjDj0Y6BGUp/4wEMWLhjQ cu4OxV2CP+S6v513puH/Z9tXdzv8grzikxYg8QCwfhDvEDICdIxbqvTnJP/JLvMH4To4 fLaswGqT/3z83JQDmOF3OLCCIny2UZ74UfTpx9XF7uQ9WV8v4JRiXsO7Tiu2Sx5wIuRg OLamUAlmVlEvelBzygDfxSuDb2PpJJtRQMEqdRqDxKvB39iZnSDKgX8mgFC3BQZk5nyd vNh86mW3/jCTMJGmmBRuZ5YZeWksdulztbyVd8GKR2MSWh92ZQpmeyWcf4ZBP0y0upEF M68A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/9qrpDonabY7Xm8MCIwJtyIeTf31N3Re/7USWMHRKcs=; fh=tyM9d8IcIKKSzL5UZI8PRm8+vYsWNalRfhdeIFrfqVo=; b=QLaWxLu3wQ5Jr/nHU8pyTfbhUMdokzk9gEiXnRjeTADf9A8OjMaqYOzKURMnT1rvLt aHavnHDZe+rcFCHBlpwlmKDqDtX+GYtst06Q+HT0kJPTWjfmbmwF44VGZQPgHqdRiU6C D/I2w7+jF5xWiMKSUaWjMPBwYbF080y8WLLhREniYVTRRT00gkyd3KgaIWGcCBc+HYWW WPE5G69bEVygvxk5NC/txOIBrOMwV++neMyqpgt9cDTlLH3YF/zx6+PpagzsES3iBGwo J4DdM1sJ2Tv63HO5mD8Oik4ZSLo8SRSjpMsiRIiceTHQo+9XjGLfsy65nnhChj6/JjG/ NVpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FAbEVh9H; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e4-20020a056402148400b00521d22e8503si4224662edv.619.2023.07.22.13.22.52; Sat, 22 Jul 2023 13:23:16 -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=@kernel.org header.s=k20201202 header.b=FAbEVh9H; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229656AbjGVUMD (ORCPT + 99 others); Sat, 22 Jul 2023 16:12:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229534AbjGVUMC (ORCPT ); Sat, 22 Jul 2023 16:12:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CE6D1AB; Sat, 22 Jul 2023 13:11:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B3DC560BAF; Sat, 22 Jul 2023 20:11:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5C120C433C7; Sat, 22 Jul 2023 20:11:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690056718; bh=/9qrpDonabY7Xm8MCIwJtyIeTf31N3Re/7USWMHRKcs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FAbEVh9Heu4E8u7iKDY+e64+Tk7EG3xFaFcSkA/oiTpv72taAYk9Q+td/YzDreOuA +2RDHN4MfVsWILebbSVVmIsaG9fSxAwkQ414cfBokjn5dic+30jaw0UExsHy96+Jxb a1dDPxRZDeutnFDey2kOvsgVzeuqTNNDxVsNhR66qbUcVZWcT+eN1SWU2QnfsSK1l6 V19jdwhKq1ar2D2PS5GmhV0j8vkFyeR6/fSOVSYONuzecfx0FOgzLgn3fknlSs7SxH Gs2UVudmYXXi6Z0YnplijX7e8pduAdtiuX+Htc3Cj0jZFbfJqUb/vkFpQ8yW7wpY06 VfyppHg6NsFcw== Date: Sat, 22 Jul 2023 21:11:54 +0100 From: Mark Brown To: Icenowy Zheng Cc: Daniel Lezcano , Amit Kucheria , Zhang Rui , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Icenowy Zheng Subject: Re: [PATCH RESEND RESEND] thermal/of: support thermal zones w/o trips subnode Message-ID: References: <20230722122534.2279689-1-zhengxingda@iscas.ac.cn> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qmlxt8wSsnvuRw3d" Content-Disposition: inline In-Reply-To: <20230722122534.2279689-1-zhengxingda@iscas.ac.cn> X-Cookie: Give him an evasive answer. X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 --qmlxt8wSsnvuRw3d Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 22, 2023 at 08:25:34PM +0800, Icenowy Zheng wrote: > From: Icenowy Zheng >=20 > Although the current device tree binding of thermal zones require the > trips subnode, the binding in kernel v5.15 does not require it, and many > device trees shipped with the kernel, for example, > allwinner/sun50i-a64.dtsi and mediatek/mt8183-kukui.dtsi in ARM64, still > comply to the old binding and contain no trips subnode. >=20 > Allow the code to successfully register thermal zones w/o trips subnode > for DT binding compatibility now. >=20 > Furtherly, the inconsistency between DTs and bindings should be resolved > by either adding empty trips subnode or dropping the trips subnode > requirement. This makes sense to me - it allows people to see the reported temperature even if there's no trips defined which seems more helpful than refusing to register. Reviewed-by: Mark Brown --qmlxt8wSsnvuRw3d Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmS8OAkACgkQJNaLcl1U h9CRvwf9EgwMjwx2a6iutkecp3uFZwWNnW29QRQ4CiMFagDVw0T4QBY1c9lZHt+G gWpeUxAmdhOlFOPqUjsECVD4WLb0jgBLR/mTStJlVTfRDh19L7sqdPjv1wusWJRC EpvO18flHCvptt/uGpGJSpgSjvsdno2UN15ItUv21WPUo1fcyKymyRDoEREAETHy TQNRktd6GG6MxGdDPYtg+H/2UrI80IFS5r608F+lmcjo4J67dI2+x/TiuX5MQ3dD zR1NUdaACpYwjEctJ23troInehqwwglXs+CNm/p/WC9sWgfYaKSYdJXpjlS+mHFt NVJaVP9uS0BcAJL7sGXEapQApo6Beg== =Anzg -----END PGP SIGNATURE----- --qmlxt8wSsnvuRw3d--