Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp595847rdg; Tue, 10 Oct 2023 22:41:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFk6vLl6hR1hQ0LJiHQ2yNLYEHG99u1A17crNJURURjNPZWjIiKam7HE8sBsxEpiqS0YGlW X-Received: by 2002:a05:6358:7e87:b0:13f:e3eb:53a6 with SMTP id o7-20020a0563587e8700b0013fe3eb53a6mr17208016rwn.30.1697002874442; Tue, 10 Oct 2023 22:41:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697002874; cv=none; d=google.com; s=arc-20160816; b=MnDWBxAdLOG7rJ4EsP6rgBqgv6Q2heZUV/ZMZ/3pFkP2ljYe0DcCu+h4j8WkgQvdI9 v5+bP7QjRNaQQYCr5WDSOea1ZqjMe7PP9NTbzKTFywfz3Pvu/YasagreEu8sIsmWFd/D bE7r58sCkScw/5wxj1qaEqnUMVSE/+S1jBrlo5HNUsWKV2UZoDEa/HDUDmGv6EgATbyr UVJ0bWYD/xUsp4mRLoauhQFkPTMnUrxcKJPjkwYTfxeZS7yGeS46k1WpFbKUVAIQ2KEi W8w6TtMPIXhEE/YvfpNvoMjy++75Jf3cmV4eKDuFOWxH+tY5T7UZu03rr1+4M7VkKzyO 4CsA== 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=nss9gpufClIrS/DhhbQnnEbqgQIYyDsSOz6GGJ8lyRw=; fh=/EIt0M1r8AWW7J3DoV1lUg1iyYtcQmMGVP2bX7BDdh0=; b=LIQalxaHbqbgWUrzfgP3KF6h0aRZBMweBMmO9rewqHIVN1ijUy/Sq7aEPzqoOBI74C qCIlsDUWyGQYE/i5LWgEPYAM/M+8GyvFeUyIwGZ2JUMSvWpTCUP57mvB8FOCQLRum+jw E7FB/SarW8k13/2KNryp2g58hnUDDEu5OeJQlRhZ5PDQQyKOzzDAxPr2NfFoRGZm5u0h 5XPDM94SMFQw9fBmjOOeOEdTqBpuaJkQ4w2Ua9P4iwKYqWlsER9cZedJZD4WhLgC7IBq 1uRtpwJStpMhez/fhf44s3SPFTVGtgcGYnwhN3qRtsGeiTz5c/t/Qna/TtPKZZEFmHzc 4mjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=NaDDWMc3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id d16-20020a631d50000000b005694b757228si2715181pgm.688.2023.10.10.22.41.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 22:41:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=NaDDWMc3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 80D2F8091C49; Tue, 10 Oct 2023 22:40:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229899AbjJKFko (ORCPT + 99 others); Wed, 11 Oct 2023 01:40:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbjJKFkn (ORCPT ); Wed, 11 Oct 2023 01:40:43 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 276B698; Tue, 10 Oct 2023 22:40:42 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39B3BXqj003446; Wed, 11 Oct 2023 05:40:33 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=nss9gpufClIrS/DhhbQnnEbqgQIYyDsSOz6GGJ8lyRw=; b=NaDDWMc3IhzDGmr2H7/eK4I0VqXYWkdAW5wYFV0ILcodUE466tvsKrSH25InIFVBB6Fp /kvGNKpKnw1uKgzEqdyQrnPoTB+mZ/vmvj7YzFicjuNKBLtlDX+lRqxg/KeqRvVMXtXV rb5kCvwyboPJrLf9IQdlxiBkxIhd2YJEF4xxJuT0eaaukcvzsYaevJv3X8cAzDtRsAd2 nESyFqan4iD6eG5drGq9t0bkYKf12MNck9kJECKPcBQ8e9D2YvcykurHTHvE1LXxdAb+ AkNBuKN46vyJoS1phtwJP4K/HCwAffYMelhqaua5GFYd4HKBLrltvrx9goxjAC4ztOq8 yQ== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tne0q0qxp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Oct 2023 05:40:33 +0000 Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39B5eWYG005207 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Oct 2023 05:40:32 GMT Received: from [10.214.66.81] (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.36; Tue, 10 Oct 2023 22:40:28 -0700 Message-ID: <3fd31aaa-f6bf-8440-6b08-fca2803171d9@quicinc.com> Date: Wed, 11 Oct 2023 11:10:25 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v3 2/2] arm64: dts: qcom: qcm6490: Add qcm6490 dts file Content-Language: en-US To: Konrad Dybcio , Komal Bajaj , , , , , CC: , , , References: <20231003175456.14774-1-quic_kbajaj@quicinc.com> <20231003175456.14774-3-quic_kbajaj@quicinc.com> <5da2ba4f-5bf7-46ff-8204-0c169042dbfa@linaro.org> From: Mukesh Ojha In-Reply-To: <5da2ba4f-5bf7-46ff-8204-0c169042dbfa@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: J-ZS4t0giwB-D8qk47t-PQ2LDwTMfN_4 X-Proofpoint-ORIG-GUID: J-ZS4t0giwB-D8qk47t-PQ2LDwTMfN_4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-11_03,2023-10-10_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 spamscore=0 mlxscore=0 clxscore=1011 priorityscore=1501 phishscore=0 adultscore=0 impostorscore=0 suspectscore=0 lowpriorityscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310110050 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 10 Oct 2023 22:40:56 -0700 (PDT) On 10/7/2023 5:02 AM, Konrad Dybcio wrote: > On 3.10.2023 19:54, Komal Bajaj wrote: >> Add qcm6490 devicetree file for QCM6490 SoC and QCM6490 IDP >> platform. QCM6490 is derived from SC7280 meant for various >> form factor including IoT. >> >> Supported features are, as of now: >> * Debug UART >> * eMMC >> * USB >> >> Signed-off-by: Komal Bajaj >> --- > [...] > >> diff --git a/arch/arm64/boot/dts/qcom/qcm6490.dtsi b/arch/arm64/boot/dts/qcom/qcm6490.dtsi >> new file mode 100644 >> index 000000000000..b93270cae9ae >> --- /dev/null >> +++ b/arch/arm64/boot/dts/qcom/qcm6490.dtsi >> @@ -0,0 +1,94 @@ >> +// SPDX-License-Identifier: BSD-3-Clause >> +/* >> + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. >> + */ >> + >> +#include "sc7280.dtsi" >> + >> +/* >> + * Delete unused sc7280 memory nodes and define the memory regions >> + * required by qcm6490 >> + */ >> +/delete-node/ &rmtfs_mem; >> +/delete-node/ &wlan_ce_mem; >> + >> +/{ >> + reserved-memory { >> + cdsp_secure_heap_mem: cdsp-secure-heap@81800000 { >> + reg = <0x0 0x81800000 0x0 0x1e00000>; >> + no-map; >> + }; >> + >> + camera_mem: camera@84300000 { > Uhh.. this is totally not the same memory map that I have on a > random msm-5.4 source+devicetree drop (which does in turn align > with the one on QCM6490 Fairphone 5, as it should because it's > a rebadged reference device for the most part).. > > Did you guys *really* redo it between software releases? QCM6490 fairphone is special case where same SOC is used for mobile product and it uses sc7280 memory map. Current patch adds support for the same SOC marketed for IOT segment [1] and very active in the development and soon going to freeze its memory map, so we are deriving memory map from sc7280 and creating a new memory map for all IOT product with qcm6490.dtsi . [1] https://www.qualcomm.com/products/internet-of-things/industrial/building-enterprise/qcm6490 > > This SoC family has been on the market for quite some time, > breaking software expectations like that is not cool, especially > on a product with a promised lifespan of 10 years or whatever! I agree, but we are not changing anything for product which are there in the market instead defining a new memory map what is going to come with qcm6490.dtsi for IOT. Sorry, the other qcm6490 soc with fairphone(for mobile) can get confuse with qcm6490.dtsi but that is special case and i hope, that should be fine but, let me know if there is concern. > > With that, this really seems more of a change that would belong > in the IDP dts than the 6490-common one.. We wanted to keep it in qcm6490.dtsi as there are some more product going to share this in future. -Mukesh > > Konrad