Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp5660992ybf; Thu, 5 Mar 2020 04:51:24 -0800 (PST) X-Google-Smtp-Source: ADFU+vubeVDqRzXagV0SDRJdTrCpRyj7U8vZtLijbLxAjzY69GZe2qZfrfyTioK3ps3R+b8GU9yP X-Received: by 2002:aca:c3d1:: with SMTP id t200mr5378216oif.41.1583412684265; Thu, 05 Mar 2020 04:51:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583412684; cv=none; d=google.com; s=arc-20160816; b=AvI96czzV9xDpzcWmYZMV6f3gERXCsgShJHqCgOBcTjmCyI5Ypd67JmlkIZGeRv6Sm njryEgXbmxvsOZ8Dic/Jy2EGnHfXtlTZh9vZFYJDBlDtST49sTmIc2jgSyGRia0x20gw Q2M7Q7eHjlf5IrmO0srKFLrhbWWvX8CVlDQOxYyjPQC0o/h5cDOe9fjZhyNtY/clIhau wrZGfKbuYPs9zQG00E86vxTMNO+lrlKdfh1/eAMcE/+Ype7RaXBOUIafhpzCj4Yz+H1V V/FRmoXUrdqZX9IDFquLGzaRO9TrHrrJZpHoCj8hhjXIzFgA+5HeUjf64KsAhmdP36rj ytVg== 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=+maOR+AepgKRd4QlRgZ+R5o7Ks/CO7J6rgykLOQhg3o=; b=C3uybUgErtnFatUu0cObXxWKdgWKK8ZWTY3lrZs/c9NXWyzenmLFi1xAUu4IQ+XLHn 1Jn65ejfxqziDNDRQyrmGyscOxGo8hADafCNmozoXRA2B5uneZW1QHbaCQQcFqKioyo0 /MrNMvyefKTgI+WncCfK1v1ZVHVki2e88qmccWiQHyfGljCPLEMdAGFgDAj0ZKxdUgYc 8+gAioFKrqNiBntS8SpSSsy1u9XEnYCN6ihT0Sg4T5z1+nv3WT97LiV4Euav9pACaq1B 1jJFqnx9aHgIqGRVXo4+gKTgmrUvp6MvanJc6bgjEX7oBt/tEumZe0PzmYD86WyVzcaY dxdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Fy5hwIsS; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q64si3429645oic.155.2020.03.05.04.51.11; Thu, 05 Mar 2020 04:51:24 -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=@linaro.org header.s=google header.b=Fy5hwIsS; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726111AbgCEMuw (ORCPT + 99 others); Thu, 5 Mar 2020 07:50:52 -0500 Received: from mail-vk1-f193.google.com ([209.85.221.193]:35152 "EHLO mail-vk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725880AbgCEMuw (ORCPT ); Thu, 5 Mar 2020 07:50:52 -0500 Received: by mail-vk1-f193.google.com with SMTP id r5so1571050vkf.2 for ; Thu, 05 Mar 2020 04:50:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+maOR+AepgKRd4QlRgZ+R5o7Ks/CO7J6rgykLOQhg3o=; b=Fy5hwIsSVhanXjlLscLM66eenX+BCtRtAYQCsCxjZKETTFVL603yeJm9AFRLD+sAAS 2wCyCE5SzA4P6OHNlMe8oMswbyXdzcCCcwhvas/r/37ooGvLGxcOmm2m7x59fDE1LGlo fUDuYL5anWHgBbi+EgIpIN9dzRwP7IDMZRBne7yKfT51oHStdbSTwPcNjC+cxCMqCnJd wFbVHtcPnf3cR45aDau0mW4usFyVX06o29igp6GHGzgyWrkBrrNRt5s3KTIexsRyLZy8 f1GgC2pag/n7Sno/FT+PEJx3l/sXaGnM1cdS4fSX0XqZOqiQDbYcttOuEvpS2XCqeVVD MZLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+maOR+AepgKRd4QlRgZ+R5o7Ks/CO7J6rgykLOQhg3o=; b=TTJqaOV4M1Y9GBXBBifSvzqPa95BTGGXYL6NCYTq7UIfTYsSBCnvlLX14C9iGoExWp TbnV/HFZ0B3rXwaGltnOyLwDkTk0sO23jVQQAoijzYZcvQne4uiGRnWTCWDNh4vwX9DM uDqcLi5TFJlCTCMTHfZyOtUJrdPDxWUbl34X7WdCh7nXOM2ruI2G4j4jJqpG66sWmQnd 4ebuMItwpnLA8sZ9r/aDSw+VbhFOguIreWDi0cHejYJPXrNDdS+6L5d67jdu5yF493Jp sx+E3H+DPv7Z5ASuwE2jUlcg2VATts2YRVWjL1f7o1Yp67UcZLtihoxURbGVjeJWOogX tBpQ== X-Gm-Message-State: ANhLgQ3BZR6+RE1ihjMIqv8DfQUFUZi6W8zlh89ePVC1FFAJvtQNLdMh c2uSIz13sl4dERqmz03a1HfrY0TJpZ1ZqW8Y2aZ3WQ== X-Received: by 2002:ac5:c94f:: with SMTP id s15mr3982555vkm.79.1583412651049; Thu, 05 Mar 2020 04:50:51 -0800 (PST) MIME-Version: 1.0 References: <59d24f8ec98e29d119c5cbdb2abe6d4644cc51cf.1582528977.git.amit.kucheria@linaro.org> <20200224184003.GA3607@bogus> In-Reply-To: <20200224184003.GA3607@bogus> From: Amit Kucheria Date: Thu, 5 Mar 2020 18:20:40 +0530 Message-ID: Subject: Re: [RFC PATCH v1 3/3] dt-bindings: thermal: Add yaml bindings for thermal zones To: Rob Herring 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 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. > /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? Regards, Amit