From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 69AA8C7EE21 for ; Thu, 4 May 2023 06:26:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229922AbjEDG0c (ORCPT ); Thu, 4 May 2023 02:26:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229926AbjEDG0a (ORCPT ); Thu, 4 May 2023 02:26:30 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E353B30DA for ; Wed, 3 May 2023 23:26:23 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-50bcc565280so10967a12.2 for ; Wed, 03 May 2023 23:26:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683181582; x=1685773582; 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=2dbeuFUbN+y4wxPm3oNkN4WEWogtuu7yxovAZHZoB3w=; b=VobsL5Scs2vgAmRMkxycXT+xrCPU+jPFqqTXaOJPyEAbGoDDMr9MFBkv8QUK0LmATx qghwQ/nLmcl8qoTsu//Br7HKMZtqrEh6nWJSo856SlKI3doqwIavRMYyp8JMftlMnKgn xQBg+1/ToIfVIhfRPNJpu7TxrVFLUnf4I4a92TU8WzmEa9g5eMcXt9RAPgpqBlHHT7sN mJrzgqYZcIJWW2cNVeJi2dqtKgm5LOq8RonxxiuSU5inJOyu8xWigflOFWh2znwFJnsD ExovGIOTQ85oAaGnPBEFkm2Kb3fjAZ6mCswCYnOZEdiR19dfvAVhBPanhk9gs9GsZfrK JigA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683181582; x=1685773582; 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=2dbeuFUbN+y4wxPm3oNkN4WEWogtuu7yxovAZHZoB3w=; b=TkMAbhtpZfAgKec14skX4+3xR7h5TcaEjH/a5qz9PUYNrzp9r7BfLZuhSQyTKe8vSH 4dSgRTsmZGyaxkA8NPMoBAKgWYPHro0Jog2Eux3bdix6XhrIh09Hg5U6An07Q1Mf2lKM vLsMp0MWLQV0jct+iKpnHAh8+UWTvRlWopkyGImButhq/kEtVOnND+LSOJfkToTc3xgm HJ8CQ9ydFAUEaoUzalDnCo679Kk6WDaulFatRPX37wk7ZLboNioxAYLjw40AxkZ7BO66 sJ3SzsnCXxbu/yo71LiZ70fwZUSLCq+XCnaTU9Qq2q9S6LyGoPXYAsF3Mo3xLO7PLLIZ TA9Q== X-Gm-Message-State: AC+VfDwOMHT656/0a4f4e7l7d77qU+TCQ4g9WmSahrfzFt3AbqcEmWjY EHeBgZETPHz8BF3z13dBPhpBLdQDvWN8s1tTK19Hw3Y5 X-Google-Smtp-Source: ACHHUZ6t+EL/u7uHURsbl4J/qlD1Pt6oPGzIFE5VVTf06CBazX2WXBko9bRa6S+qPjwEOOku/eZwwA== X-Received: by 2002:aa7:d156:0:b0:504:a248:3741 with SMTP id r22-20020aa7d156000000b00504a2483741mr814382edo.14.1683181582428; Wed, 03 May 2023 23:26:22 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:cbf1:e7ef:fb81:e912? ([2a02:810d:15c0:828:cbf1:e7ef:fb81:e912]) by smtp.gmail.com with ESMTPSA id g14-20020aa7c84e000000b00506addaaab0sm1461849edt.32.2023.05.03.23.26.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 May 2023 23:26:21 -0700 (PDT) Message-ID: <3ef818c8-1ee4-5bee-6b37-20658b2e4637@linaro.org> Date: Thu, 4 May 2023 08:26:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH V4 1/3] dt-bindings: sram: qcom,imem: Add Boot Stat region within IMEM Content-Language: en-US To: Caleb Connolly , Souradeep Chowdhury , Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , Bjorn Andersson , Rob Herring 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: <9da030c6-6a9f-6766-7120-94aaa8fcd8ab@linaro.org> From: Krzysztof Kozlowski In-Reply-To: <9da030c6-6a9f-6766-7120-94aaa8fcd8ab@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 04/05/2023 00:10, Caleb Connolly wrote: > > > On 17/04/2023 16:08, Souradeep Chowdhury wrote: >> All Qualcomm bootloaders log useful timestamp information related >> to bootloader stats in the IMEM region. Add the child node within >> IMEM for the boot stat region containing register address and >> compatible string. >> >> Signed-off-by: Souradeep Chowdhury >> --- >> .../devicetree/bindings/sram/qcom,imem.yaml | 22 ++++++++++++++++++++++ >> 1 file changed, 22 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/sram/qcom,imem.yaml b/Documentation/devicetree/bindings/sram/qcom,imem.yaml >> index ba694ce..d028bed 100644 >> --- a/Documentation/devicetree/bindings/sram/qcom,imem.yaml >> +++ b/Documentation/devicetree/bindings/sram/qcom,imem.yaml >> @@ -49,6 +49,28 @@ patternProperties: >> $ref: /schemas/remoteproc/qcom,pil-info.yaml# >> description: Peripheral image loader relocation region >> >> + "^stats@[0-9a-f]+$": >> + type: object >> + description: >> + Imem region dedicated for storing timestamps related >> + information regarding bootstats. >> + >> + additionalProperties: false >> + >> + properties: >> + compatible: >> + items: >> + - enum: >> + - qcom,sm8450-bootstats > > This region isn't exclusive to sm8450, it exists also on sdm845 and > presumably other platforms. Is there any need for an SoC specific > compatible? Yes. https://elixir.bootlin.com/linux/v6.1-rc1/source/Documentation/devicetree/bindings/writing-bindings.rst#L42 Also see many discussions on LKML about this. Best regards, Krzysztof