Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp5055466rwb; Mon, 8 Aug 2022 11:19:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR6B9QWkERLv0yDbd4QCBmqpomtAWrVDJh1UqaL3jvPbYpyPe3MNHd7FsxgiS9tnP+in+as0 X-Received: by 2002:a17:907:280a:b0:730:ed6a:ad1c with SMTP id eb10-20020a170907280a00b00730ed6aad1cmr11980923ejc.543.1659982748987; Mon, 08 Aug 2022 11:19:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659982748; cv=none; d=google.com; s=arc-20160816; b=KUd3Za7mhJr5HAvsynH5b/RUERi+SilUhLEUWOrM6MXpG4+6tRrXJeUefbWGH/Mbi4 OT+d4GcMXZApZgGalzcPZqjhTP9YPrXYREz5U8PR5bDX5Y4WQiWhUO4+CJCLTqVpPev8 +9rn4+NrNE3SlolSwUktD6uFctlRLzwkDDvumyZm3knIAE2962s1FWKYxxTbYnDXh4Dk NyxPCJ/L9PNkGDZRMKDQz72FPLmh1amE8n7mabZcs2fQRrcZpbeBbGJoi2wROCvCElgP EJjpYLXVdOPch+n0sDdeWom9tqsP735QwnvTP8Nnlb0H9OzG1zHBRtlwjofFaw3WZ6S/ wgGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bXLpXmWL+T2aMJD2mxacKkNa6+tQMtWwj5lWrNrsUB4=; b=FRgCWU2XZC19Pyl7Cvds3FnxOmM/MEvMS4jw0iA6HxNiDBePKI+7qHcism9nJVDdCo XsggI6WOE7IU7u8bpWNaSFZOF7yEt3FAgQRZOfdo4+EHu2TPnmNV79veWun0+gG88G8r uH2QT+I2NifkxI4ttE+PM0G4YjvIptifnyW85mRqNwsyysIbnZpE1RB6h3sDNeCZOWaK /XphH7PCFSRufso6Yjhv2NER4w96kdh5+qO4X4KmaJwDUNQsMKDwJWbleCwHBsZiUx6s aGe3IkvqQQo/XS7Wa30ywOF2ndejHqSo/j7U8gCXrSVEO8GAe8NsVIhXQoXRF+KkLmfW 5nQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sTQk0D9a; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v8-20020a170906338800b00731684de668si205617eja.367.2022.08.08.11.18.43; Mon, 08 Aug 2022 11:19:08 -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=@linaro.org header.s=google header.b=sTQk0D9a; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244148AbiHHSJl (ORCPT + 99 others); Mon, 8 Aug 2022 14:09:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244092AbiHHSJi (ORCPT ); Mon, 8 Aug 2022 14:09:38 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4584B6331 for ; Mon, 8 Aug 2022 11:09:37 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id l22so11778044wrz.7 for ; Mon, 08 Aug 2022 11:09:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=bXLpXmWL+T2aMJD2mxacKkNa6+tQMtWwj5lWrNrsUB4=; b=sTQk0D9ap6qPXsbbc6gc9Lwix4N6t5K3zjEXm6UMlU8kddKs0CZT5uccYMQ0U1u7J5 jRhlVXq1FJHridxx5BWhG1nuGPeF80RjBDmWq1KOYhXRYiuQZNu/pKQwcrVO2TbAU6K8 djQQ6Fj4OF7lHYI72Tg3mj+yjCNYYtFya6S+MINazNvDJ+zCubNKMv90RsO6tW9nyRLJ oMykHF50/umhW9nwZOb9FMvTJVTkzKLUTlkn+9KngOM8fLoVswOB6I70sp1MpnkqjA7O AuWc1cKM5yAxbwMdGoPXHJ0aYejlezI0Mko8xzhL6ljI1MAe7bFR6Om4ozwLnAIuTDLr RDKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=bXLpXmWL+T2aMJD2mxacKkNa6+tQMtWwj5lWrNrsUB4=; b=ZGrYptdj3MLj6F6AdZXjeHY7lnWfd9z8LlCOZWYTq2zWfwg7HVsi6xa9MB+jZ4r68t a1XIWc2hN8hWCkZBAeLJSMt+xAVDNh0HMi9YpEzX2LW5jLBWfh9HkhNZ6tEVZulehNzJ WycA/+Tqtv6Qr2PVE0xS82aah+Ss6av80BHPTkUFqjM1iLGAtHj1ltBx1vNzBjInB1R6 pVZsbTvJEJFzAoVn2U7BI0vCVj0aqHeR32UKLBIFf/4Pslo0oGvlzocuBHc6RTxT/xBw dbhiYDInJHlXHtJOBJL/hKDmh2fZVdOyZpp57h0+2F7vvUWWpDNXOtqwUzixHMblIox8 CGDg== X-Gm-Message-State: ACgBeo15B/XLO+zP5CjA1vc9e98rlHTrCFAqQwqN1IplOE0m21V3zHpd pQ3yuy9vtQAQWogAf4c+ltd5FA== X-Received: by 2002:a05:6000:1f07:b0:21f:1403:a59d with SMTP id bv7-20020a0560001f0700b0021f1403a59dmr11833777wrb.46.1659982175729; Mon, 08 Aug 2022 11:09:35 -0700 (PDT) Received: from mai.. (146725694.box.freepro.com. [130.180.211.218]) by smtp.gmail.com with ESMTPSA id c5-20020a5d4f05000000b002205a5de337sm11937309wru.102.2022.08.08.11.09.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Aug 2022 11:09:35 -0700 (PDT) From: Daniel Lezcano To: daniel.lezcano@linaro.org, rafael@kernel.org Cc: michael@walle.cc, dan.carpenter@oracle.com, linux@roeck-us.net, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Amit Kucheria , Zhang Rui , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) Subject: [PATCH 3/4] dt-bindings: thermal: Fix missing required property Date: Mon, 8 Aug 2022 20:09:14 +0200 Message-Id: <20220808180915.446053-3-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220808180915.446053-1-daniel.lezcano@linaro.org> References: <20220808180915.446053-1-daniel.lezcano@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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 When the thermal zone description was converted to yaml schema, the required 'trips' property was forgotten. The initial text bindings was describing: " [ ... ] * Thermal zone nodes The thermal zone node is the node containing all the required info for describing a thermal zone, including its cooling device bindings. The thermal zone node must contain, apart from its own properties, one sub-node containing trip nodes and one sub-node containing all the zone cooling maps. Required properties: - polling-delay: The maximum number of milliseconds to wait between polls Type: unsigned when checking this thermal zone. Size: one cell - polling-delay-passive: The maximum number of milliseconds to wait Type: unsigned between polls when performing passive cooling. Size: one cell - thermal-sensors: A list of thermal sensor phandles and sensor specifier Type: list of used while monitoring the thermal zone. phandles + sensor specifier - trips: A sub-node which is a container of only trip point nodes Type: sub-node required to describe the thermal zone. Optional property: - cooling-maps: A sub-node which is a container of only cooling device Type: sub-node map nodes, used to describe the relation between trips and cooling devices. [ ... ] " Now the schema describes: " [ ... ] required: - polling-delay - polling-delay-passive - thermal-sensors [ ... ] " Add the missing 'trips' property in the required properties. Fixed: 1202a442a31fd ("dt-bindings: thermal: Add yaml bindings for thermal zones") Signed-off-by: Daniel Lezcano --- Documentation/devicetree/bindings/thermal/thermal-zones.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/thermal/thermal-zones.yaml b/Documentation/devicetree/bindings/thermal/thermal-zones.yaml index 2d34f3ccb257..8d2c6d74b605 100644 --- a/Documentation/devicetree/bindings/thermal/thermal-zones.yaml +++ b/Documentation/devicetree/bindings/thermal/thermal-zones.yaml @@ -214,6 +214,7 @@ patternProperties: - polling-delay - polling-delay-passive - thermal-sensors + - trips additionalProperties: false -- 2.34.1