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 7A0D3C38142 for ; Sun, 22 Jan 2023 17:06:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230371AbjAVRGA (ORCPT ); Sun, 22 Jan 2023 12:06:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229837AbjAVRF6 (ORCPT ); Sun, 22 Jan 2023 12:05:58 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61FCD193E9; Sun, 22 Jan 2023 09:05:54 -0800 (PST) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30MH0DfM028970; Sun, 22 Jan 2023 17:05:50 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=8eO8169TlFFU9q7i4/L6sF2LV7YTHHSzqyCt9efilmk=; b=CAWsb0NPKtgmz+ofZRDnlvoRlFHoeQzFJuvMgpkj5B3V6sU3hxid6KPkQaZFDs4H2x00 TASp52MGhyVQo92fhUY5XO979YrH7k5BBUpnOh8vJZpOvrq66IaH6fgux55p3C9ndqHx rp5M6JIcu0+cbZyAHKt+QqGXFMawGbEtp1v/N24c1wZZo7TAlSmw47zvZ7ecHYDgZFVK ib/njgOVywHAwTl7QpQnEVbN1XWKCtEqbNiovB8uTLRjiZocoYsgWt5HgI4dMuEI+LSS oOxRsBIS2YdY+pNrX6iYtjSSw1L6v2ZnedBwAkvOJnsfihPm/67/KFHSXk3uHCj70Y6T vA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n89f59q0s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 22 Jan 2023 17:05:50 +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 30MH5nwt028438 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 22 Jan 2023 17:05:49 GMT Received: from [10.50.40.120] (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.36; Sun, 22 Jan 2023 09:05:45 -0800 Message-ID: <29d9de45-1ce7-d6e5-bf02-052e911a067b@quicinc.com> Date: Sun, 22 Jan 2023 22:35:43 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.0 Subject: Re: [PATCH 2/2] arm64: dts: qcom: ipq8074: add QFPROM node To: Robert Marko CC: , , , , , , , , References: <20230121112358.52216-1-robimarko@gmail.com> <20230121112358.52216-2-robimarko@gmail.com> Content-Language: en-US From: Kathiravan Thirumoorthy In-Reply-To: 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-ORIG-GUID: -tlVJTRhbf9X80PuHjALOtFVi3qAgUSa X-Proofpoint-GUID: -tlVJTRhbf9X80PuHjALOtFVi3qAgUSa X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-22_14,2023-01-20_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=987 bulkscore=0 clxscore=1015 mlxscore=0 spamscore=0 phishscore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 malwarescore=0 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301220163 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/22/2023 10:29 PM, Robert Marko wrote: > On Sun, 22 Jan 2023 at 17:57, Kathiravan Thirumoorthy > wrote: >> >> On 1/21/2023 4:53 PM, Robert Marko wrote: >>> IPQ8074 has efuses like other Qualcomm SoC-s that are required for >>> determining various HW quirks which will be required later for CPR etc, >>> so lets add the QFPROM node for start. >>> >>> Individidual fuses will be added as they are required. >>> >>> Signed-off-by: Robert Marko >>> --- >>> arch/arm64/boot/dts/qcom/ipq8074.dtsi | 7 +++++++ >>> 1 file changed, 7 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi >>> index 8eba586065a3..f29491f647fe 100644 >>> --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi >>> +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi >>> @@ -301,6 +301,13 @@ mdio: mdio@90000 { >>> status = "disabled"; >>> }; >>> >>> + qfprom: efuse@a4000 { >>> + compatible = "qcom,ipq8074-qfprom", "qcom,qfprom"; >>> + reg = <0x000a4000 0x1000>; >> >> From the HW document, I see the overall size of this region is 0x2000, >> any reason to stick with 0x1000? > Like always, I dont have access to docs and 0x1000 is all I could find > downstream > being used. > > Any chance you can share the regions inside of QFPROM, it would be great to use > the ECC corrected one if available. Sorry, What do you refer by "ECC corrected" here? Thanks, Kathiravan T. > > Regards, > Robert >> Thanks, Kathiravan T. >> >> >>> + #address-cells = <1>; >>> + #size-cells = <1>; >>> + }; >>> + >>> prng: rng@e3000 { >>> compatible = "qcom,prng-ee"; >>> reg = <0x000e3000 0x1000>;