Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2952954ybb; Sun, 12 Apr 2020 19:47:14 -0700 (PDT) X-Google-Smtp-Source: APiQypJKsAEf4jyfKDI4jKmZXWdazNH6IYkBRK5Ja5JEa6z09T2UF6bUB3D+xcRM7QmDs6g5qf82 X-Received: by 2002:ae9:c319:: with SMTP id n25mr13104002qkg.79.1586746034392; Sun, 12 Apr 2020 19:47:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586746034; cv=none; d=google.com; s=arc-20160816; b=XYN08PBoDDmCVU+6Mzmx5z7qBsVFvtkwIiJA4appXbNzoMGKkuY3Q6/+vY/fpCMXFd /bOBZT+K5KgFNXahtPWv0IPpCx1myn3osYgKK3zEVfxSGKm90cHCcDHEFDeF62Mue0qQ 4GlN4l3EqItxgFKWmCh0MASozxCky/RduzMOCVEVEJD2WUoM9aiig7j1PFu0KsGZLbPV zTEZNwUpvxaJqgADA1d0zSvcg4f2VJHgLnVawP6hWIMTbJqX9C3W9IEYU7VXBBRBJo7T j2yCifiypvsQ/vb5cTPjjZ10kMnTr85x6inJPVqGeZVZvpgBNCicOK+7WEsWsNrUFGX+ BcSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=G7A0r4JUqARkX7IMofNwZ/y7BM8uD5N9xl0sjaTO+x0=; b=Q2BeJAQKVOmzFkRXXXalv+MjMpKUbwgeJaXbwaONLkD6bKpFaojUACH8T5Sj0ZD1Zk Rtja5XbejYhlitVOXPKrOtXjcoqVkn2/3tHXPIQFYxU1rRtuCQnViy13RfWMUcyIA+gk 34jKYKgb3N9v7k4wPOBwtXyo6RGCudjek5oVkoQbs7J79JQQNLrqipSPyAC5sJNtuAYO Oe4WJJpIMPLzHaJVKCGVBnXj7VFMnIxIHopd5NuoU9/o/jqw00WrbrUVehl3gOpUcEkg +DIUOPdCI+B2I9tIUAg2O/5nVidRzQ/7JSr56dVe542SD+DStReNH4VCeeizfPmAqqRM xCrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oFtAxf5z; spf=neutral (google.com: 209.132.180.67 is neither permitted nor denied by best guess record for domain of linux-kernel-owner@vger.kernel.org) 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 ([209.132.180.67]) by mx.google.com with ESMTP id w7si5567358qve.76.2020.04.12.19.46.35; Sun, 12 Apr 2020 19:47:14 -0700 (PDT) Received-SPF: neutral (google.com: 209.132.180.67 is neither permitted nor denied by best guess record for domain of linux-kernel-owner@vger.kernel.org) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oFtAxf5z; spf=neutral (google.com: 209.132.180.67 is neither permitted nor denied by best guess record for domain of linux-kernel-owner@vger.kernel.org) 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 S1727512AbgDLSPG (ORCPT + 99 others); Sun, 12 Apr 2020 14:15:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.18]:41440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727240AbgDLSPG (ORCPT ); Sun, 12 Apr 2020 14:15:06 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60EFDC0A3BF7 for ; Sun, 12 Apr 2020 11:08:19 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id g12so117724wmh.3 for ; Sun, 12 Apr 2020 11:08:19 -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=G7A0r4JUqARkX7IMofNwZ/y7BM8uD5N9xl0sjaTO+x0=; b=oFtAxf5znxgMMF5tE9ElyDpRsBD1PKKsrBEr2EHxMRHROtoDRoVrk/ry3nlcb/0gkZ Gpcn1e5K87YWpebCzcHUbAw/tsCIodFRF2JjZxerAtkLRljbE68u3DD4GxajSLx2/+nd Vs7i0U7yCxXPKXF0Hy3M1lTjHPa91aMYnILn+tNpF0J/H46p6qj2MVZe+3lH32KWjFhS VpId7an3Q7d1bYIoOhqqSjWPXiw7oCe1G3SGGjEspApu1SaWdaV/25C7ne0evA8IWlKW v9IXrlBr8rnP4qdrxCSZhE3+3ttDYP/IfMMPj3DcwsT6bcZzTGjD2wbGjh3poIsUi2cH DsZw== 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=G7A0r4JUqARkX7IMofNwZ/y7BM8uD5N9xl0sjaTO+x0=; b=LtExhLij21a3WGWaQ+HHBqCWYJTdJshbpGb7PoPa4idqP1i1pDmc4orE/AVx9VSnaC 24i7/jWDCoF4in69NhqFKS4A/RMZcB942xw9B3z89vSeuaDWgdOLT4hNL18gVJTkJJqY /ABZyWKM6wta8hEO4beS/cU8Bwg/jTC8G3E8kJYQC1yK0yviCDcdTxK7BAFJoB00BgNQ PMQJ39HAxFwXeoTHJ8DgKCQ6iDSMCmFufl8gLKMqfxuzygHuJZftrbEni5wSBxbVMPbg LoKWhQWWDHWZgS/NY5/qTyRTrfubbVxZT9vefTUeHw9RDl1J1SlMyWTuzfZ40K+uw4Pu LRUQ== X-Gm-Message-State: AGi0PuYcxGnQXylkdtmmIL/KH3DB+RsbkC0lLM/uxdMhb4rxdWS/BRUl Q2cs1JpGoBiN2eQfcNRwZxL9TmMQLDU= X-Received: by 2002:a1c:9e43:: with SMTP id h64mr12221022wme.0.1586714897600; Sun, 12 Apr 2020 11:08:17 -0700 (PDT) Received: from [192.168.0.41] (lns-bzn-59-82-252-135-148.adsl.proxad.net. [82.252.135.148]) by smtp.googlemail.com with ESMTPSA id n131sm11216077wmf.35.2020.04.12.11.08.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Apr 2020 11:08:17 -0700 (PDT) Subject: Re: [PATCH 2/4] dt-bindings: thermal: Add the idle cooling device To: Rob Herring Cc: rafael@kernel.org, Zhang Rui , Amit Kucheria , Mark Rutland , "open list:THERMAL" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list References: <20200329220324.8785-1-daniel.lezcano@linaro.org> <20200329220324.8785-2-daniel.lezcano@linaro.org> <20200410165915.GA12708@bogus> From: Daniel Lezcano Message-ID: <4ca7b16f-c0b0-23c3-08a3-8731c2bf5f35@linaro.org> Date: Sun, 12 Apr 2020 20:08:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200410165915.GA12708@bogus> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, thanks for the review. On 10/04/2020 18:59, Rob Herring wrote: > On Mon, Mar 30, 2020 at 12:03:18AM +0200, Daniel Lezcano wrote: [ ... ] >> + '#cooling-cells': >> + const: 2 >> + description: | >> + Must be 2, in order to specify minimum and maximum cooling state used in >> + the cooling-maps reference. The first cell is the minimum cooling state >> + and the second cell is the maximum cooling state requested. >> + >> + duration: >> + $ref: /schemas/types.yaml#/definitions/uint32 >> + description: | >> + The idle duration in microsecond the device begins to cool down. >> + >> + latency: >> + $ref: /schemas/types.yaml#/definitions/uint32 >> + description: | >> + The exit latency constraint in microsecond for the injected >> + idle state for the device. > > Both of these should have unit suffix. And then they don't need a type > def. Do you mean I should remove the $ref: /schemas/types.yaml#/definitions/uint32 and change the name to duration_us and latency_us ? [ ... ] -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog