Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2289921rbb; Tue, 27 Feb 2024 18:04:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWXKQHqup56ufXssz2lY+iLDR1e9rZhbMk5evrVGWB1yYWuSuqahvEJfNttqpEYGsP5htl0Pr7J80qhzoS0O5nhjH3TGGYtqHnk9+BVew== X-Google-Smtp-Source: AGHT+IGM7Y1wipKdYbn1pOgCIzvSwbQOZlnYxj2+/uYyQwTTERbpsaubu2CpO5Mtm8uU9wTmiJu7 X-Received: by 2002:a05:6a21:9183:b0:19e:3136:1727 with SMTP id tp3-20020a056a21918300b0019e31361727mr4901655pzb.53.1709085853599; Tue, 27 Feb 2024 18:04:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709085853; cv=pass; d=google.com; s=arc-20160816; b=oWy/1hTpT+mJecQBZVhRmZ9hjUq/8sVEo5AYxmn1w78lmV2MLsn4ScE/WeJWJ1ddSL DW0VYC13ZJOaFrp1zPG48mY1zfFL+fh68K876L44qG0bMufzrfkB9eH3TMjWnKhuHP0g V7gajEEjFLb/tDbWNJE2kW0XL9HC6tCQsJG/B+uUoY3jrDlsys+pbjlZZzcIZuGQzogZ n8MguavAJPQa+MjsVRSijhJy0r9bJUWo6K7h7fhnOgJgO9nmMvhl/cfNNn1E2eIYrWrW CtL7snyHqpG1Xlb0L58wlCWadN4IsvK4SN7fu6XpkNd4V87qxV4bsW9oikyb+s5X0U8b 14MA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=h3Qpl7kTMENDyFAqOAx1LMkh6JOUtgWr5lhtd7jR1Xc=; fh=AAXa6e0PCf3h8+YtioA0LqVnm4NMOlbVnSk+NKC8DBA=; b=DwHh70Ljny+Q9Lj5QQjOPUjKigq2tFgfmXKy68sRBtisbApoK/fgxaEZ5iPgDGNV5d m0PD1LFdiIJWk8Mok2mM9w+yIlf6gayQ6xBinl8+f35OEXwRqQdcnTXdSVkC1Z0yHsXY IwoDIihiigBmhEgKCcYPuJtNfK9XVNQM5r+oki5Dhtgx2riHeFJ1J0sNL3/8NQamppAR cunfKh86pDQqLCqJeTg3NY1W+0IsaTpuaH9IdrJTDipj0gZsQUmHD94vR9CmOKO9ly5x pocVLZOA535Tv+0Rn4wUvumcM13Lk2G5WpVQtbEmYesMZoqf6GxH5Jfuhwjd/WwOlBNm Ey4Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=otjZt2d5; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-84400-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84400-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id nl2-20020a17090b384200b0029af3763c73si343431pjb.58.2024.02.27.18.04.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 18:04:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84400-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=otjZt2d5; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-84400-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84400-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4BD3428D18B for ; Wed, 28 Feb 2024 02:04:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B5889567A; Wed, 28 Feb 2024 02:04:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="otjZt2d5" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1701D6125; Wed, 28 Feb 2024 02:04:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709085843; cv=none; b=i1b1ZBk10YfdJEEnKzFLDM1BUxLtaPVjqFp9+eTzIzYFWnUe1S9MaRwS6XVN10kQzAg15rh1IcuPqySLTFOJgYEAfd7RHCKwa/8dYNkQmMJ02bE43q3Np3115jcGZOuiSPElaqRUhUjyXxaCsyOxa46zAK/Oz22zRC6723mWm3Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709085843; c=relaxed/simple; bh=g5A9yMVDZzVX3M2BL3GzDMAqmNmxjz0+OuSVno93rmg=; h=Message-ID:Date:MIME-Version:From:Subject:To:CC:References: In-Reply-To:Content-Type; b=Q4maregRJKfFJxcN2a/LNXRvlxeQBzOTJ3MyVMsTRS9ezb0kSSH9Cqnq5AGLWeG5i49srKatchWSedWfxXdCKjd8373kJJ4WEbGxbjzdGCrhw/SBNaMchoYd5UTOwhgb4a0uJs4wyYUyKhC4FjNxv+JTLjCRCGFZZoMc9H+6ABU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=otjZt2d5; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41S1tCdm012049; Wed, 28 Feb 2024 02:03:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:from:subject:to:cc:references :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=h3Qpl7kTMENDyFAqOAx1LMkh6JOUtgWr5lhtd7jR1Xc=; b=ot jZt2d5QbB5tt5iM0EbCZ+DzcX/Htt0a6B/GDtQ8GcuRWgNPEIGvpIi7/7w8CSfRY uqwwD6HUS+AyP9iGh2bGuwRRevqpbuu7+pq1+2szB9stT6d2KeMk1OkzmjV59IUP pqUfX38dKGyS/9iGVSasXbv474xJnZlIOeHEyN062dYCClToE/DxDuHboKJyK2o7 oyRYD33BZnXC8LcrTVDBpAJlwf/jbdiPapHeMja48lY859Gx/HDvbQouEs8aj4X0 QzBxsXvi7oz9FarmAy6OMpVm3NW81sT0mUNFbOcoUz30b4zGREJvorRQj+GFBWQc +xqFF2w7u6h19ZtpNnMw== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wh8aujssj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 28 Feb 2024 02:03:58 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 41S23vbo007225 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 28 Feb 2024 02:03:57 GMT Received: from [10.239.132.150] (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Tue, 27 Feb 2024 18:03:52 -0800 Message-ID: Date: Wed, 28 Feb 2024 10:03:50 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: "Aiqun Yu (Maria)" Subject: Re: [PATCH v4 1/6] dt-bindings: arm: qcom: Document QCM8550, QCS8550 SoC and board To: Dmitry Baryshkov CC: Tengfei Fan , , , , , , , , , References: <20240119100621.11788-1-quic_tengfan@quicinc.com> <20240119100621.11788-2-quic_tengfan@quicinc.com> <86672501-206a-49ed-8af7-2b6c332c1697@quicinc.com> <88845d8d-0b58-46fa-8c52-c1bb4f2d39f8@quicinc.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: dikCYJR2YLm---cyOjOpBR9dxvmhdpS7 X-Proofpoint-GUID: dikCYJR2YLm---cyOjOpBR9dxvmhdpS7 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-28_01,2024-02-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 bulkscore=0 suspectscore=0 phishscore=0 malwarescore=0 mlxscore=0 lowpriorityscore=0 adultscore=0 mlxlogscore=999 clxscore=1015 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2402280015 On 2/20/2024 5:15 PM, Dmitry Baryshkov wrote: > On Tue, 20 Feb 2024 at 11:09, Aiqun Yu (Maria) wrote: >> >> >> >> On 2/5/2024 9:48 PM, Dmitry Baryshkov wrote: >>> On Mon, 5 Feb 2024 at 12:21, Tengfei Fan wrote: >>>> >>>> >>>> >>>> On 2/5/2024 12:29 AM, Dmitry Baryshkov wrote: >>>>> On Fri, 19 Jan 2024 at 11:07, Tengfei Fan wrote: >>>>>> >>>>>> Document QCM8550, QCS8550 SoC and the AIM300 AIoT board bindings. >>>>>> QCS8550 and QCM8550 processor combines powerful computing, extreme edge >>>>>> AI processing, Wi-Fi 7, and robust video and graphics for a wide range >>>>>> of use cases for the Internet of Things (IoT). QCS8550 is a QCS version >>>>>> for QCM8550. Modem RF only in QCM8550 but not in QCS8550. >>>>>> AIM300 Series is a highly optimized family of modules designed to >>>>>> support AIoT applications. The module is mounted onto Qualcomm AIoT >>>>>> carrier board to support verification, evaluation and development. It >>>>>> integrates QCS8550 SoC, UFS and PMIC chip etc. >>>>>> AIM stands for Artificial Intelligence Module. AIoT stands for AI IoT. >>>>>> >>>>>> Reviewed-by: Krzysztof Kozlowski >>>>>> Signed-off-by: Tengfei Fan >>>>>> --- >>>>>> Documentation/devicetree/bindings/arm/qcom.yaml | 11 +++++++++++ >>>>>> 1 file changed, 11 insertions(+) >>>>>> >>>>>> diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml >>>>>> index 1a5fb889a444..9cee874a8eae 100644 >>>>>> --- a/Documentation/devicetree/bindings/arm/qcom.yaml >>>>>> +++ b/Documentation/devicetree/bindings/arm/qcom.yaml >>>>>> @@ -49,8 +49,10 @@ description: | >>>>>> msm8996 >>>>>> msm8998 >>>>>> qcs404 >>>>>> + qcs8550 >>>>>> qcm2290 >>>>>> qcm6490 >>>>>> + qcm8550 >>>>> >>>>> Drop >>>> >>>> we want to introduce qcm8550 here. >>> >>> What for. It either had to be introduced beforehand, or it should be >>> introduced when one adds support for an actual qcm8550 device. >>> >>>> qcm8550.dtsi has been introduced and qcs8550-aim300.dtsi include >>>> qcm8550.dtsi directly. >>>> >>>> qcs8550 is a QCS version for qcm8550. qcs8550 is a sub-series of >>>> qcm8550. qcm8550 will be a firmware release series from qualcomm. >>> >>> All three names refer to the different kinds of the same platform. The >>> base chip name is sm8550, so it is the last one. Other than that, >>> there is no need to include any SoC compatibles other than the actual >>> SoC name. See existing qrb devices for an inspiration. >>> >>>> >>>> here is the qcm8550/qcs8550 detailed spec: >>>> https://docs.qualcomm.com/bundle/publicresource/87-61717-1_REV_A_Qualcomm_QCS8550_QCM8550_Processors_Product_Brief.pdf >>>> >>>> here is the sm8550 detailed spec: >>>> https://docs.qualcomm.com/bundle/publicresource/87-71408-1_REV_C_Snapdragon_8_gen_3_Mobile_Platform_Product_Brief.pdf >>> >>> Can you please summarise the _actual_ difference between qcm8550, >>> qcs8550 and sm8550? Are they fully soft compatible? Soft compatible >>> except the modem? Pin compatible? >> >> we can remove the qcm8550 compatible for now, and rename current dtsi >> back for qcs8550.dtsi, and only introduce qcm8550 later when there is >> qcm8550 board public-ed. > > Yes, please. > >> >> From software point of view, currently it is single firmware image >> release for both qcm8550 and qcs8550, and the firmware is not grantee >> for sm8550 software compatible. > > I assume that modem.mbn is different for qcm and qcs devices. Or does > qcs completely miss the modem DSP? You are right, modem.mbn part is different. QCS have a gps only modem image. > >> >> From hardware point of view, qcm8550, qcs8550, sm8550 are different >> hardware socs, qcm8550, qcs8550 is derived from sm8550. We can only >> share the public document about those soc descriptions [1]. For soc >> itself, it is all similar difference for QCS and QCM version. >> Currently(in current development stage) there is not notable software >> difference needed other than memory map in kernel side needed to be >> differentiate from qcm8550 qcs8550 to sm8550. >> >> [1] >> https://docs.qualcomm.com/bundle/publicresource/87-61717-1_REV_A_Qualcomm_QCS8550_QCM8550_Processors_Product_Brief.pdf >> >>> >>>> >>>>> >>>>>> qdu1000 >>>>>> qrb2210 >>>>>> qrb4210 >>>>>> @@ -93,6 +95,7 @@ description: | >>>>>> The 'board' element must be one of the following strings: >>>>>> >>>>>> adp >>>>>> + aim300-aiot >>>>> >>>>> We probably need to drop this list, it doesn't surve its purposes. >>>> >>>> I am a little confused, do you expect to just remove this "aim300-aiot" >>>> or do you want to introduce a new patch and remove the whole list? >>> >>> If you were following the list, you would have seen the patch >>> reworking the bindings. >>> >>>> >>>>> >>>>>> cdp >>>>>> dragonboard >>>>>> idp >>>>>> @@ -904,6 +907,14 @@ properties: >>>>>> - const: qcom,qcs404-evb >>>>>> - const: qcom,qcs404 >>>>>> >>>>>> + - items: >>>>>> + - enum: >>>>>> + - qcom,qcs8550-aim300-aiot >>>>>> + - const: qcom,qcs8550-aim300 >>>>>> + - const: qcom,qcs8550 >>>>>> + - const: qcom,qcm8550 >>>>> >>>>> In the review comments for v3 you have been asked to add qcom,sm8550. >>>>> But not the qcom,qcm8550. I don't think that there is any need to >>>>> mention qcm8550 here. >>>> >>>> qcm8550 and sm8550 are different, they have different firmware release. >>>> >>>> AIM300 AIoT board depend on qcs8550, qcs8550 is a QCS version for >>>> qcm8550. Modem RF only in qcm8550 but not in qcs8550. >>> >>> There are no 'dependecies' here. The thing is about declaring compatibility. >>> In my opinion, the qcm8550 is an unnecesary part of the equation. You >>> declare compatibility with the board itself, with the SoM, with the >>> actual SoC and with the base of the series. Anybody caring for the >>> difference between QCM, QCS and SM will have to check for both >>> qcom,qcs8550 and qcom,qcm8550 anyway, as there are differences on the >>> modem side. >>> >>>>>> + - const: qcom,sm8550 >>>>>> + >>>>>> - items: >>>>>> - enum: >>>>>> - qcom,sa8155p-adp >>>>>> -- >>> >> >> -- >> Thx and BRs, >> Aiqun(Maria) Yu > > > -- Thx and BRs, Aiqun(Maria) Yu