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=-15.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 F2B1EC4338F for ; Fri, 23 Jul 2021 22:07:10 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BF8F760E95 for ; Fri, 23 Jul 2021 22:07:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BF8F760E95 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Q7PeFCtmh8hGx6AJ6fR+LYctgB2TnIGbBuomFwJ5pc0=; b=WmbEWIUvwNNSqE gp6nkX1/xyIbKmjMZBlkP0S7oc7gbvooD7mHErWWRBfYdh8HEvy9QeWZWX/ji5kco4A7w+HNmE9Ia l3aqiZmUgUDDAC5fmeIlt3LUUuOf6B6Z1FJCi4EbE5R4c0r+xIZwfNZRkbSVqCLnWf4FD1ENfzKbS EZ51hetzW2eVyo4njS8VSvNQPLXexnhS+g0yD0BuIoSih8SCO6g20rwWMI27SMAlGIlYnU/qAu+BT LepjXMBPz7JHhprvLca+Xi7iyuRwcdk1HRGSQls6vpcpoc16t36Nj1ktWtt3zIJAfxpE/ZUXLcwG/ fAzTm1NwSYcJN6znbAdQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m73Hn-0068nS-TY; Fri, 23 Jul 2021 22:04:52 +0000 Received: from mail-io1-f42.google.com ([209.85.166.42]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m73GX-00686u-KH for linux-arm-kernel@lists.infradead.org; Fri, 23 Jul 2021 22:03:35 +0000 Received: by mail-io1-f42.google.com with SMTP id r6so4243558ioj.8 for ; Fri, 23 Jul 2021 15:03:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=AG9HST+VmRNN7mDWizk+56uFcAglFaTzlSnP4i69NME=; b=FDsocBqTrZ4AAGp6gJ04xdzUXF8x3hJm7fudyM1vF1Gj3CFOoIx6Xg9gKVgNxSWluE A5+IeYpL4oTcRc5uCWEN4lOVmm8QSu7gckR6K2vtZOp+ZL8kjSQZfcjnP3dhF6bzbuEZ DYe2sjwmltl5Klp/StmOFlQKEPrhxiqlb94TE+bWbdgPDovs2djdw1JUo8db6k6SEhF1 xijnW2TL1V2kExwvj1slJJxh4FrCSqhVb/0N60zCdOK/Si3xUDe01vFHd1lVw8vhWfzQ 7ZV/UDWJHPnxyc77AkDnjEXgf3WYMPxlhseLM7HeTJ2Y25FKaagWOmpO1ZLNmWQViK9N BUPQ== X-Gm-Message-State: AOAM531ax1vr2r6JGw4vMikGOYInm8AhuHc8q6/Nvxrc59cfwXbfswAz MMwd0HcF4GsdYQjt9ovC7w== X-Google-Smtp-Source: ABdhPJx2MS0NQwXYC/4FgdBAY4Q3UTxSuY01xz1RfJQgN68ELkLp8IeRZNQyA6G4YPyCEu3CNsnoQg== X-Received: by 2002:a6b:f41a:: with SMTP id i26mr5499553iog.162.1627077813090; Fri, 23 Jul 2021 15:03:33 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id l5sm18668729ion.44.2021.07.23.15.03.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jul 2021 15:03:32 -0700 (PDT) Received: (nullmailer pid 2674964 invoked by uid 1000); Fri, 23 Jul 2021 22:03:30 -0000 Date: Fri, 23 Jul 2021 16:03:30 -0600 From: Rob Herring To: Maxime Ripard Cc: Frank Rowand , Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org, Daniel Lezcano , Amit Kucheria , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, Jernej Skrabec , Zhang Rui , Rob Herring Subject: Re: [PATCH 33/54] dt-bindings: thermal: Make trips node optional Message-ID: <20210723220330.GA2674905@robh.at.kernel.org> References: <20210721140424.725744-1-maxime@cerno.tech> <20210721140424.725744-34-maxime@cerno.tech> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210721140424.725744-34-maxime@cerno.tech> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210723_150333_712058_D007D66B X-CRM114-Status: GOOD ( 19.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 21 Jul 2021 16:04:03 +0200, 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 > --- > Documentation/devicetree/bindings/thermal/thermal-zones.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Rob Herring _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel