From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0895C4338F for ; Sat, 14 Aug 2021 13:42:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C28E260F51 for ; Sat, 14 Aug 2021 13:42:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229829AbhHNNnW (ORCPT ); Sat, 14 Aug 2021 09:43:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229538AbhHNNnV (ORCPT ); Sat, 14 Aug 2021 09:43:21 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A5C3C0613CF for ; Sat, 14 Aug 2021 06:42:53 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id k29so17087344wrd.7 for ; Sat, 14 Aug 2021 06:42:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=hfu9hugGRcqPkgiDAUJyt+AdgFW9E3KmPbE674EXQXU=; b=tHU4XIvLlXu8m5DWaIvsR7J6Rtek1hp8oGSkcwkRtJtfDvfNymz5P7HRkEkKKoTbM1 sk2tp2q9qC1WvR2FVZKEoFuJ+rqDROONilOa6Nd41KRfTozhWo+x04QuS9wP/wjM7NFX VNQXKFcXTXo0G8FMCusY+wN2l2UaR7LmEU9XFdUiNIU8dxrG/xGw6rcynjECLgPhiERU dDGHpORhlabWEXZnzcg+gQwAO8NAzNYn1hLENo6cdlbJmrulVWtwFrmjtCihQV9qrnx4 Ia7afMkyz4XNPBNmTcTU95MKvxL6YYxSWeOjin9Y6hbcQ6hTefq0KhfQ8wpLHdmvNSvn tQ1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=hfu9hugGRcqPkgiDAUJyt+AdgFW9E3KmPbE674EXQXU=; b=sunv+fh4Uoxm1e8Ksxl59S48zeej3Qihlq1PL5ISfFjo7VyTt4QWL8IXK1Glikubwx l0l5rDswPpnLbkAwK92UO+kAemjntijALdFTqjgY2/JipNE1Xhgq3UclNTpVbXtSN3+6 Qm70bJKocrmxu0doladpJTvHRCZJXgaHxKeMHIGuQwFYixHKPi9609EhK5G5DPYoNWtu 6ZaqpPnUGtINpVzaVMBDKQO8+gdqeBwGZgafz+tD8HG+hSc8zJnb4nCBjpC2iGf+OxcX /1TsDRQBIWbJJ191nsBlp5xDCEdZNuniuBFk5IfgEl0TkHg4IKNSDbya4GCKhwpt+be5 SHmg== X-Gm-Message-State: AOAM5321Oy/KJVnocJxewtaH3KomBg8272sICTMgz8YM21ArxWZZJAnz nz2U/8OdT3gg5dKW6qaizgKanQ== X-Google-Smtp-Source: ABdhPJwn8PbycVzm/tNWphYl0bL7+PMEJGuEf74X9Vnb7UtKculiYMWn2UTie8yRQLDAzf/fgt9G2Q== X-Received: by 2002:adf:df92:: with SMTP id z18mr2325056wrl.180.1628948571557; Sat, 14 Aug 2021 06:42:51 -0700 (PDT) Received: from ?IPv6:2a01:e34:ed2f:f020:ab33:6dea:825:98d? ([2a01:e34:ed2f:f020:ab33:6dea:825:98d]) by smtp.googlemail.com with ESMTPSA id g6sm4640444wrm.73.2021.08.14.06.42.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 14 Aug 2021 06:42:49 -0700 (PDT) Subject: Re: [PATCH 33/54] dt-bindings: thermal: Make trips node optional To: Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , devicetree@vger.kernel.org, Rob Herring , Frank Rowand Cc: linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, Amit Kucheria , linux-pm@vger.kernel.org, Zhang Rui References: <20210721140424.725744-1-maxime@cerno.tech> <20210721140424.725744-34-maxime@cerno.tech> From: Daniel Lezcano Message-ID: Date: Sat, 14 Aug 2021 15:42:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210721140424.725744-34-maxime@cerno.tech> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 21/07/2021 16:04, Maxime Ripard wrote: > Even though the previous binding made it a required child node, the > implementation in Linux never made it mandatory and just ignored thermal > zones without trip points. > > This was even effectively encouraged, since the thermal core wouldn't > allow a thermal sensor to probe without a thermal zone. > > In the case where you had a thermal device that had multiple sensors but > with enough knowledge to provide trip points for only a few of them, > this meant that the only way to make that driver probe was to provide a > thermal zone without the trips node required by the binding. > > This obviously led to a fair number of device trees doing exactly that, > making the initial binding requirement ineffective. > > Let's make it clear by dropping that requirement. > > Cc: Amit Kucheria > Cc: Daniel Lezcano > Cc: linux-pm@vger.kernel.org > Cc: Zhang Rui > Signed-off-by: Maxime Ripard Applied, thanks! -- D. -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog