Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp5084986rwb; Wed, 21 Sep 2022 03:01:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM65MscoeZmDGZ/LdWfPr532Ci9PmDdiFOUsfOY6iH/Y22/lnH6qgFgoRFe1ed2NpQDRD6IB X-Received: by 2002:a17:90b:38c5:b0:202:98df:208c with SMTP id nn5-20020a17090b38c500b0020298df208cmr8560244pjb.129.1663754494090; Wed, 21 Sep 2022 03:01:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663754494; cv=none; d=google.com; s=arc-20160816; b=iZULoVE8DLMeffkiDDLmoemjvy9jdY5SQsLoTgTukRKWoDFmytu31aimuSloYvlTRt +xb33xxi41+hq8LTKGlq7+ecuwQu/uDf+8Ey1wRizDRreSPyN9fhVkWMvaQBSRfqHvLE WOYuXSrvCYcmBdu5VbpJ+DZ5ZnbFfOp/qfoTffH7xJBNgOGvy/Jb2reR1GZFKTZsib/e sN6EcBsoRqQeBa5Xtmt2P7euL3m43oBrzGxA0p/Byv/L1gBN0VXPk+Cb5c5/Ei1eWISd +OY2lsW/G/qtmSLsu2UlYfZdE52BsBSrB6B78qHyk48GmOj726p4mvd+jRiy8Jo1Ohiq kXuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=qcQnQhLaO6fGinlzAYyFGlxrfQHdXifdne2D0+nwBo8=; b=PcxbrAiHJR0DTTfquunnz+IBNljOdNjPvR+QZ4nswHtM8dYZCEeetqvHAhUGR8lCBR tfvA7AXyiCol11JhdxJR+/doUoP/JEd2CAcvYSRWeRCWDqfoX/IJXrlT78obGd1GbWdP S5EzfMQo2JPXO/eG7v0MHyLGMxWznBaMPGn07iZJDbP1lIVmhSruKvfn/8HrtSEt7RA9 F8UfDADX8QcxRY2p/pzeiSESP1vKAkrqx7a/458l8LIlt8c/ar+YPqDPC9A44GdfjH+c p9wsmb/5SPaL2BuTkHBurL2RdruYgUwfcFURHRnNPB/dvu04+dirQIZOGPB+vLie20uM Kf1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=BtZBIL1K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h6-20020a63df46000000b00435b18f71bfsi2331053pgj.471.2022.09.21.03.01.21; Wed, 21 Sep 2022 03:01:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=BtZBIL1K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231833AbiIUJs1 (ORCPT + 99 others); Wed, 21 Sep 2022 05:48:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231842AbiIUJsN (ORCPT ); Wed, 21 Sep 2022 05:48:13 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA80D95E42 for ; Wed, 21 Sep 2022 02:45:30 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id lc7so12472865ejb.0 for ; Wed, 21 Sep 2022 02:45:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=qcQnQhLaO6fGinlzAYyFGlxrfQHdXifdne2D0+nwBo8=; b=BtZBIL1KHuomtHqRQXk7130LxJRBG6iEPPC108i/uUc1zv4vtgKCRLoo92bcByFpIF vI0ROss4+TZ0r+d44NYvZKCBsnoPZuAaj06CgUJ7JbIbTHS5sVUVr4LxWDMIW18cS9Bl pieAUjljj9sMT9Hasg62luiSjPpBOsazARnp17BOwJkZeYBc6tUKcrI+m7W7QL2jDWhp nIJDgX1yQ527pxCDbpF1FQo+d5dPY+mc/sTH5NJtyfswXR39RJ+Snip4BC2SultPg1cT pcqBmuDE3fTWldjF7WFhFQPW2KMdJTYPj+AwyAWjg0M1DT25+IKfP54wYaJJpaTXj8ph E+dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=qcQnQhLaO6fGinlzAYyFGlxrfQHdXifdne2D0+nwBo8=; b=NXIAfnSiPU6krlxhyH3sdx3/uTrZwd8arEfbxGOJpdtnzQbN7GAFSNWBeU95s19UoB vuqudyftD5ilH8eZMXLe5QdeAX4GS75ZK+F2eUMsqNU7S27lSFFLBgz9buZXrpUBxdjl SliTMyJ35cmQH8qBALHP9yEYoItsuHRpVbPVi36tMqL/+eaIY8Qpgk0optwknjmNKIDA s7spaUd0HxnyOM7uu0rPaegcXxLATYXxuvQALjtEbiN9j+thY73bTWWvG5X1z6DsXwPK nnFMXkTFYhA9Br5DNs3CRUghXUtM96cehdKMZjQAzPS0pfoWFNgn5HDuGDy6FfFtmJoN yWVA== X-Gm-Message-State: ACrzQf1nT6d0ozAtGHCsrGuBszc4wboOy8HBDbA++KGx0lA4OVV6aAap SQiHHzRRw2XHUT2alZ+A99/nwUuWdLxi9kW8nUk/kg== X-Received: by 2002:a17:906:fd8b:b0:779:dcbe:3a9d with SMTP id xa11-20020a170906fd8b00b00779dcbe3a9dmr20557155ejb.235.1663753505689; Wed, 21 Sep 2022 02:45:05 -0700 (PDT) MIME-Version: 1.0 References: <20220817080757.352021-1-bchihi@baylibre.com> <20220817080757.352021-3-bchihi@baylibre.com> <716d6471-f0e2-489e-5f9e-9e38e9e7953a@collabora.com> <2073b6bd-a4bd-4ab5-300d-2ce989e25d5f@linaro.org> In-Reply-To: <2073b6bd-a4bd-4ab5-300d-2ce989e25d5f@linaro.org> From: Balsam CHIHI Date: Wed, 21 Sep 2022 11:44:29 +0200 Message-ID: Subject: Re: [PATCH v9,2/7] dt-bindings: thermal: Add dt-binding document for LVTS thermal controllers To: Krzysztof Kozlowski Cc: AngeloGioacchino Del Regno , rafael@kernel.org, rui.zhang@intel.com, daniel.lezcano@linaro.org, amitk@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, khilman@baylibre.com, mka@chromium.org, robh+dt@kernel.org, krzk+dt@kernel.org, matthias.bgg@gmail.com, p.zabel@pengutronix.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, james.lo@mediatek.com, fan.chen@mediatek.com, louis.yu@mediatek.com, rex-bc.chen@mediatek.com, abailon@baylibre.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Krzysztof, Angelo, Thank you for the suggestions. I tested this (below) and it worked without any problem. "make DT_CHECKER_FLAGS=-m dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml" "make dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml" Should I keep it like this and submit it in v10? [...] nvmem-cells: minItems: 1 items: - description: Calibration eFuse data 1 for LVTS - description: Calibration eFuse data 2 for LVTS nvmem-cell-names: minItems: 1 items: - const: lvts-calib-data-1 - const: lvts-calib-data-2 "#thermal-sensor-cells": const: 1 allOf: - $ref: thermal-sensor.yaml# - if: properties: compatible: contains: enum: - mediatek,mt8192-lvts-ap - mediatek,mt8192-lvts-mcu then: properties: nvmem-cells: maxItems: 1 nvmem-cell-names: maxItems: 1 - if: properties: compatible: contains: enum: - mediatek,mt8195-lvts-ap - mediatek,mt8195-lvts-mcu then: properties: nvmem-cells: maxItems: 2 nvmem-cell-names: maxItems: 2 [...] Best regards, Balsam