Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp86160rwr; Wed, 3 May 2023 23:05:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7sLiXr7+THpwnquukATZZu2XhrIqq2MrbRM71EtrWVeibLqPFee7ZHDsWuBskOeW8dvK/n X-Received: by 2002:a05:6a00:2e10:b0:643:59ed:5dc9 with SMTP id fc16-20020a056a002e1000b0064359ed5dc9mr1222517pfb.12.1683180306575; Wed, 03 May 2023 23:05:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683180306; cv=none; d=google.com; s=arc-20160816; b=FyZEE3FOkgZ7chMG2vYiMk8VaWEkc0ZLW0crMS60821g/4Njn/cImAI7vC8BquX7uQ +q9+/ZK62d43P0sqxmusfLoX+udhe0D1oNwP1OinFOIGdtGJ8Rizslps/KIMgU7epN94 3AICoKFiYnGeMVcKR9Y/+LbCVIDLJ8dI7ILnCo7mpFjJoD99n2vTEo0L3NrIaQINI4Q4 lafTYSgTBHW2rexoGHyzSjtNYwI8I72ab/wckJd95qST/qxKW6QcNwL+vPpwaW3FIWsp AiQlF6O67I0hQiyeUVhPI0zqA3Rw3o9O5NDD2DkelAq+FCjkqBmbKrhpzeILL1297FZE Ys+w== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=6QD+UUqp5Wny2XM5mTmbKD4z/Yty4CjJdkTZoJdqbo8=; b=fG2r0i2rF1xYD1utAyhrb6B7FAEc4QQc0WKSP/DpUColuoiEJbnetAOnr0+awwg4tf 26YhHY2Z4uR3KTv+r4WwnkIkexubf9qY65hVlZ7ZVeIdyTFCSNmn0lVOUKbUBqsnwQmP nWEWOf6p4AVtgFjW2PrOi0QcwNYIJy9HtsaHUHO1FDDnQl6atxkq1qx6gW8Be3dedHWj G7TaWeCsvuVk+l5SVkp5iRirOihxFbhusGdXl9J3P4Zf3qEHKffmPjquxT4rEON87hNl 11rDKw+QfqWp0jieLCCludsmK/PsJBH/F+j1BgTDszJGusIXc27HA7+pC9IP9amvLYUZ NRzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QbDpsNVX; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 195-20020a6217cc000000b0063b77381764si34971689pfx.49.2023.05.03.23.04.54; Wed, 03 May 2023 23:05:06 -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=@quicinc.com header.s=qcppdkim1 header.b=QbDpsNVX; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229697AbjEDFyk (ORCPT + 99 others); Thu, 4 May 2023 01:54:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229559AbjEDFyi (ORCPT ); Thu, 4 May 2023 01:54:38 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF5391734; Wed, 3 May 2023 22:54:35 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3444vqHI032527; Thu, 4 May 2023 05:54:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=6QD+UUqp5Wny2XM5mTmbKD4z/Yty4CjJdkTZoJdqbo8=; b=QbDpsNVXWC5bko162mPOh9VHaVVwJKGe6xTYPEIXG8s4RtfoEje5LLFvc7OitkCIjl8f WcAFBukwLCgE0XxVpEV0fOs+WcP4HPl72ucMgdTYEJyv4otvh/fdBVeVzqrU6hA0Xi6p z4eTs1tQB+1xfLSjufgZ8u5eEbB8dgtiycSOCv10+yX+nI4E5YaG8MmzqdavXQJIe34L ejsK5qnVXb8dvvzCCE+x6WbRukqkRIZbF2CKPmpkH6yYT/jAfMzMiVC/djRPBj2g7nYZ Kh6oIswoQFSO2kxFQtfQ/098zzC+txfw9v39n46YQl0QQdJXIiuGT29CvPrYRxNRKSw/ gA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qc652g39s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 May 2023 05:54:25 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3445rvZP019164 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 4 May 2023 05:53:57 GMT Received: from [10.50.29.204] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Wed, 3 May 2023 22:53:53 -0700 Message-ID: Date: Thu, 4 May 2023 11:23:32 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH V4 1/3] dt-bindings: sram: qcom,imem: Add Boot Stat region within IMEM To: Caleb Connolly , Andy Gross , Konrad Dybcio , "Krzysztof Kozlowski" , Bjorn Andersson , Rob Herring CC: , , , , Sibi Sankar , Rajendra Nayak References: <9da030c6-6a9f-6766-7120-94aaa8fcd8ab@linaro.org> Content-Language: en-US From: Souradeep Chowdhury In-Reply-To: <9da030c6-6a9f-6766-7120-94aaa8fcd8ab@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: qP8VBzZTYjQVM-ktIBuigNVYGwoiqJXs X-Proofpoint-ORIG-GUID: qP8VBzZTYjQVM-ktIBuigNVYGwoiqJXs X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-04_02,2023-05-03_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 adultscore=0 mlxlogscore=919 mlxscore=0 bulkscore=0 clxscore=1011 spamscore=0 impostorscore=0 phishscore=0 suspectscore=0 lowpriorityscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2305040049 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, 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 5/4/2023 3:40 AM, 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 SOC specific compatibles are needed for device tree nodes. This has been clarified as per prior discussion on this patch series. https://lore.kernel.org/lkml/e1d53083-82b6-d193-517e-02af281a066a@linaro.org/ > >> + - const: qcom,imem-bootstats >> + >> + reg: >> + maxItems: 1 >> + >> + required: >> + - compatible >> + - reg >> + >> required: >> - compatible >> - reg >> -- >> 2.7.4 >> >