Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp5821389ybf; Thu, 5 Mar 2020 07:38:52 -0800 (PST) X-Google-Smtp-Source: ADFU+vtNsOgJFqDjijUcidr1qsgoilBQUMO+sBqrMRzuBIvfQlXdqHauel3jeGDBV3/Ld660rPER X-Received: by 2002:a9d:6641:: with SMTP id q1mr7592491otm.17.1583422732385; Thu, 05 Mar 2020 07:38:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583422732; cv=none; d=google.com; s=arc-20160816; b=VOG8eaLMg7qrE4qviO6d1IrVyj79BlsIgdfo21Z5jeAKks+cutapMJUIy6wYPG5S5m fRsNPy/ibux9aft+nx1Deot7f16YfZsSjAG7vpP3F7JT/9ZzFWRx6QaryfqXqJoIy5u9 pzvXHTYTTv1xM7Iy8J6wO0MkfEUtSp8tAm8Te/IFh0MYv9pSBhfR3V1BiKp9kI3gxDyN 7SCM63G0lOpNmJt5jsZ9RG4dJLMjGkKkCIF0GhkbUpbGYxc92Gn7T950HMFOrsbef3xh 1hVtUWKlGi2Q/W4sfKcgeldFoK5vlujkaIgb/XJ6seyoY7f9rJi6xSt/+HtaNIY8u97v PEvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=j/QB9gHGCDIABcE38QWRhtVlW2JmIYm7c8CyK7EmCdk=; b=lv/SQOLEcYn+9HYicbsNqRfN7d1/atnXFhp1h50AB+B6fyBlMe/p2Q2xY/HZOqOgSQ OC8jXNhxfNpDx79Mic72B6TKneiQN7AQS/KuQXA/poLY1FoTx6qH8R54JxVosjL0ef8Y lO6Fjfzcub6yLetRlBxM07LOy+oM+1LxISBaOsDNPbNEUCQRzwCQgp55dGDB8+eEMHFC eOTt0oDSqEbgdLUxh3ALiyAGq/ipRKVTIUG7qmOIotBHx6BoCkH/bRLK2ziQwBKINxsg 7GzcafS6Q6ELhTYePWXyXUviqOxCcyQzfKGr+VxAo1eSZ+iN769RLo/be8SZYWigz3JW 3lwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=K44rhoDh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k6si3603806otn.172.2020.03.05.07.38.40; Thu, 05 Mar 2020 07:38:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=K44rhoDh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726846AbgCEPiI (ORCPT + 99 others); Thu, 5 Mar 2020 10:38:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:59686 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726563AbgCEPiI (ORCPT ); Thu, 5 Mar 2020 10:38:08 -0500 Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 219032073D; Thu, 5 Mar 2020 15:38:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583422687; bh=pFOZLiv0mIVHTNZOWfiOPa3A/ridTd7fa+fuzsFhe40=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=K44rhoDh34OpJhwV62dvPm3zfh+dqxbN7xwYVMhfZ6ZtnzxuPOWZhfpLyZuQqa7WQ NichaLzvxHrJDLkeBwtLMNXQRtD3/TVjiW+oqlRAriWQjYEti6aP1BLgLq7zNI2mxx 7X85qsau8d6izShQ8AZil0GgKS4OYGGK784FwZKk= Received: by mail-qt1-f176.google.com with SMTP id v22so4418939qtp.10; Thu, 05 Mar 2020 07:38:07 -0800 (PST) X-Gm-Message-State: ANhLgQ2FibSRIUifkvXSwNNXPqj3BiEkiU0K5UsMqj3iNdJIoZQzflF+ XnAF6ndI/ERNChGJMKgDxTS5X3oR3gg7Ko7M8w== X-Received: by 2002:ac8:7c9b:: with SMTP id y27mr7976141qtv.300.1583422686231; Thu, 05 Mar 2020 07:38:06 -0800 (PST) MIME-Version: 1.0 References: <59d24f8ec98e29d119c5cbdb2abe6d4644cc51cf.1582528977.git.amit.kucheria@linaro.org> <20200224184003.GA3607@bogus> In-Reply-To: From: Rob Herring Date: Thu, 5 Mar 2020 09:37:54 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH v1 3/3] dt-bindings: thermal: Add yaml bindings for thermal zones To: Amit Kucheria Cc: LKML , linux-arm-msm , Stephen Boyd , Matthias Kaehlcke , Daniel Lezcano , Zhang Rui , Linux PM list , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 5, 2020 at 6:50 AM Amit Kucheria wrote: > > On Tue, Feb 25, 2020 at 12:10 AM Rob Herring wrote: > > > > On Mon, 24 Feb 2020 12:55:37 +0530, Amit Kucheria wrote: > > > As part of moving the thermal bindings to YAML, split it up into 3 > > > bindings: thermal sensors, cooling devices and thermal zones. > > > > > > The thermal-zone binding is a software abstraction to capture the > > > properties of each zone - how often they should be checked, the > > > temperature thresholds (trips) at which mitigation actions need to be > > > taken and the level of mitigation needed at those thresholds. > > > > > > Signed-off-by: Amit Kucheria > > > --- > > > .../bindings/thermal/thermal-zones.yaml | 302 ++++++++++++++++++ > > > 1 file changed, 302 insertions(+) > > > create mode 100644 Documentation/devicetree/bindings/thermal/thermal-zones.yaml > > > > > > > My bot found errors running 'make dt_binding_check' on your patch: > > > > Documentation/devicetree/bindings/display/simple-framebuffer.example.dts:21.16-37.11: Warning (chosen_node_is_root): /example-0/chosen: chosen node must be at root node > > This one isn't due to my patch, I believe. Right, that's the one known warning... > > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/thermal/thermal-zones.example.dt.yaml: thermal-sensor@c263000: interrupt-names: ['uplow'] is too short > > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/thermal/thermal-zones.example.dt.yaml: thermal-sensor@c263000: interrupts: [[0, 506, 4]] is too short > > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/thermal/thermal-zones.example.dt.yaml: thermal-sensor@c265000: interrupt-names: ['uplow'] is too short > > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/thermal/thermal-zones.example.dt.yaml: thermal-sensor@c265000: interrupts: [[0, 507, 4]] is too short > > Fixed. Just for my information, did the check somehow figure out that > this (incomplete) example needed the qcom-tsens.yaml binding (based on > compatible string?) and then apply those rules to throw this error? Yes. And setting DT_SCHEMA_FILES did change that to only check with the specified schema file. However, that's now changed in linux-next such that examples are always checked by all schemas and DT_SCHEMA_FILES just limits which bindings to build and check. Rob