Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp28617334rwd; Tue, 4 Jul 2023 23:33:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6vt7rhEZtyfqcvpBA2++oDjcuOyCyqWt6KlcUI52t+CQ9n+Hwo4uYF06h3pf6G8q3666Oi X-Received: by 2002:a9d:7d19:0:b0:6b8:8e99:9adf with SMTP id v25-20020a9d7d19000000b006b88e999adfmr15186009otn.31.1688538824291; Tue, 04 Jul 2023 23:33:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688538824; cv=none; d=google.com; s=arc-20160816; b=Cs4TT5Jisc/yLYQ/WN80MdNkNmJ+RggdjuaIBoeLbLFn08sKZTsqbr85egNrevEgjT xrS9VVto9rAf4fnYBW6CTlRNU1zFDgzC1GN4pnNArth8Br9zn9WtxkZi1vvgmKbzbBSt NC5M4DEg6qJ6MB5XX06hGdExO+K49W/3OdL7E+1w3Bj1g/NhXB3fWJTK4iNyu4nqqekV Ar7vq/gbAtX1bzm1fqctFis2Vk6pfT0YH0XMBboZhx35eSHlnJdYmNxXrcQircnpw8Ex Z6XIIQJ/H9/OQbXfpHA6mNNUlD8ejoNyeVzEM+RsCqaFEnm0RiKmprf5LdD/cOXYqmFV f2kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=90vFHFNv8Z4EnqFJciqEXi399O0ahUbhYDsrlxPDfUA=; fh=pYFPgM9dEjXei4wt0NKsstCoT/ZJVStPwX1Z5jCP58E=; b=PxdKUB1KDH+unvGy6vXQSJ+Y4ACGj13kBVVPnQ+aGWxomR4O+lgKPvmFmTxrRR7ZEZ 3m/4oLTu0zaO2FkcEhDQFFHgoWYGUfWKwObKNr6Eb1KqGVEPWiAc9tdzSiaXBZL+3/ys k3Y5T+bV1L+9oXjQXcAK2Q1vMM90bKf9xYOKDHXquBpgTrVeVC6j0TfUyS9cUiU1GgZM vysvTDwoPgozyS4bzjJ2wTJ1FHzxPP36X/8W5xBJ320XNzQNSHKzy/fnDqS9ZLW/qvTu O/AiXcW+n+CWboERlSeh0iuBl78tjAHab6D86a0mQ6e1xlb6w0aoCtyobINQ39/Y3IoY cKDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZmcAsyvf; 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 83-20020a630156000000b0054f71faf5aasi9771460pgb.581.2023.07.04.23.33.29; Tue, 04 Jul 2023 23:33:44 -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=ZmcAsyvf; 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 S229610AbjGEGRN (ORCPT + 99 others); Wed, 5 Jul 2023 02:17:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230407AbjGEGRM (ORCPT ); Wed, 5 Jul 2023 02:17:12 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D426710EC for ; Tue, 4 Jul 2023 23:17:10 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2b69ed7d050so101721671fa.2 for ; Tue, 04 Jul 2023 23:17:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688537829; x=1691129829; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=90vFHFNv8Z4EnqFJciqEXi399O0ahUbhYDsrlxPDfUA=; b=ZmcAsyvfEgsv3Kwm+U6DlC5Ix5sl36izoQPtKwWwQXUXXk9e96NWXqqiH/MdmdOQ68 6Y+kREJdwA7kgrbS+bngxnH+GlQfk/5CvT4xdIbRB8j0e9JsV5KwoLN4h3w4XeVrPOZ9 gyopY24vIoXs2o/zSgUQJO189T7kUPedathiv/f1g4jMjrWmJTTsrwIuoM36YCk4epoK 3qtnWlIf12SBeOj7oQ1uxCrRsUkLVuE1VzzGPYF/nditBmMYJ2kca1xN+Xl3xlpwHCJd iF0A6izZqoI/LQL0dwhehqI/cgJnzGT/EjBz3nXouh5WwOSXCIM9ILveifP2hrDqEh7P CbOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688537829; x=1691129829; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=90vFHFNv8Z4EnqFJciqEXi399O0ahUbhYDsrlxPDfUA=; b=EIrXH2/mNJTK6abjQw+5N4cnX+0FYT0Wy34Q56b2w8xsZAsT27YBG0e+yD0/CUdds4 La+pBH+veNEn163Ao+3D4raIrxd1wV5E+9fLpPNURwo/fMamYZA8SWo/rLLCjxAjtkxb LVKGM9z6jkAsm8y7Wmds07CCpFagHNrf4tPVcK1IT+GcYtOp2+4RrcS9djZwqaDpLDd5 KN/OtXU9e6As/pZYOOjPYYCKqefylVHF9/0o2A3PMz/saqP0qBlh7DDyxgxbngS7qu79 QJy1Uea4+ZOF+UpJQshiF+k0mqD17jXsmNwiVrGJLalgHi3rPbCDK62mBNPH6wtHefM4 UB0g== X-Gm-Message-State: ABy/qLagIn0pi9xCRLI18Kh3IZcUcBT6GE80dVHdoLGqZfKMNGZtpsj8 lIgdg/2xgboe5Xm2XJMhkjJWag== X-Received: by 2002:a2e:6a0f:0:b0:2b6:cf18:77e0 with SMTP id f15-20020a2e6a0f000000b002b6cf1877e0mr10155024ljc.48.1688537829112; Tue, 04 Jul 2023 23:17:09 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id r19-20020aa7cfd3000000b0051e06693590sm4552748edy.91.2023.07.04.23.17.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Jul 2023 23:17:08 -0700 (PDT) Message-ID: Date: Wed, 5 Jul 2023 08:17:06 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH V7 1/2] dt-bindings: firmware: bootstats: Add the dtschema Content-Language: en-US To: Souradeep Chowdhury , Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , Bjorn Andersson , Rob Herring , Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Sibi Sankar , Rajendra Nayak References: From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 On 05/07/2023 07:32, Souradeep Chowdhury wrote: > Add the device tree bindings for boot stats. This has 2 properties > pre-abl-time and abl-time which records the timestamps for boot > stats. > > Signed-off-by: Souradeep Chowdhury > Link: https://lore.kernel.org/linux-arm-kernel/7d397e67-5d56-4975-98af-1ac9746c07f4@app.fastmail.com/ > --- > .../bindings/firmware/qcom,bootstats.yaml | 38 +++++++++++++++++++ > 1 file changed, 38 insertions(+) > create mode 100644 Documentation/devicetree/bindings/firmware/qcom,bootstats.yaml > > diff --git a/Documentation/devicetree/bindings/firmware/qcom,bootstats.yaml b/Documentation/devicetree/bindings/firmware/qcom,bootstats.yaml > new file mode 100644 > index 000000000000..22e697524058 > --- /dev/null > +++ b/Documentation/devicetree/bindings/firmware/qcom,bootstats.yaml > @@ -0,0 +1,38 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/firmware/qcom,bootstats.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Boot Stats This explains nothing... > + > +maintainers: > + - Souradeep Chowdhury > + > +description: | Drop | > + Qualcomm's proprietary Android boot-loaders capture boot time Wrong indentation. > + stats, like the time when the bootloader started execution and > + at what point the bootloader handed over control to the kernel. > + This is captured in the unit of ms in devicetree property. > + > +properties: > + pre-abl-time: > + description: The property to store the starting point of abl in ms. String instead of ms? No, this is the craziest idea I saw recently. Use -ms suffix. > + $ref: /schemas/types.yaml#/definitions/string-array > + > + abl-time: > + description: The property to store the duration of abl in ms. > + $ref: /schemas/types.yaml#/definitions/string-array I have no clue what this entire binding is about. Nothing can bind to it, no usage explained. Properties are not used to "store the duration". This does not look like suitable for DT, drop entire binding. > + > +required: > + - pre-abl-time > + - abl-time > + > +additionalProperties: false > + > +examples: > + - | > + bootstats { > + pre-abl-time="17627"; > + abl-time="26748"; Missing spaces. Open existing DTS and look at existing coding style. Best regards, Krzysztof