Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp730518rwb; Tue, 4 Oct 2022 09:51:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4zTOGbgsh1Ov+qDhsj2DJ5C/Od/8FbZl+jjhStb3imKTw0ACMJzCsz4C5kPP0Ki1iePq3g X-Received: by 2002:a17:907:3f18:b0:78d:1d38:bbb with SMTP id hq24-20020a1709073f1800b0078d1d380bbbmr2453113ejc.51.1664902286036; Tue, 04 Oct 2022 09:51:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664902286; cv=none; d=google.com; s=arc-20160816; b=UpJylaCYCJgn5GfcRgX9OsUN6A5GK+32FXxJw2pD+E3bcvjMrnyILC0Q3ZSTDCWbM3 MvE/zXGb5nNnGMOZNTe5tgXGcZ1kju4I/b0CZFdeZ7bNHKD3zyv2cPUQI+k9NDVS3zoi RiiaxB1+4AAIQBltqPLAEahoLTyLZAIICt5hN+4IYvojZBwIlR2w0nAImpyOGsjQdyKA FHCl1A7Mf6eEN6o9zM+eHFvZFlo7Mai4KADloRJeWFGbjD6BIsOTqzR4KzqRn8FsE6SE gQSUddfVbB4SKA2t6zPS+2o7tPVY9+8rTPwTPISWfiMywdqqje4WMjHTO16x3jECYoa+ 2+hA== 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:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=5wHGUbExXthrC888gAXEgN+PenDV5HW5lAUJDffRL/g=; b=lCDBj64AZRrYHCo/gFL/0SQCk1LasMViwz87HHd8/KcECAggeufZSM+/VuzKZV473o DxcJUFL+5d/vTZVQ7uPH6it4Xo1fbj+2cm85+TfdbP4JnY3uaTVL+vHQvsgsp5+jBrRK BEOrL44qAL/hO8oAyMtAO3esjha9w2gwFjSAW4UdyDU14jY41WJ3YEdPMbZAmYbJSqfr ro/jraiN+1XPidAIOObXylYU+uSYTUqEtFagbuep3yYMXN+kQAOtjuEuHcJbeRPaZFXJ xcp2i9Rj8+yNRuUPp6LCEJTZwyYDrT7xYvRDAwN/+bShCJOevIEpSTaajR2ikXL8C2i2 lAfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=kSVjGVOL; 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 he30-20020a1709073d9e00b0077fc66b581esi11979546ejc.688.2022.10.04.09.50.59; Tue, 04 Oct 2022 09:51:26 -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=kSVjGVOL; 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 S229938AbiJDQIl (ORCPT + 99 others); Tue, 4 Oct 2022 12:08:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229921AbiJDQIi (ORCPT ); Tue, 4 Oct 2022 12:08:38 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAD8C61D6C; Tue, 4 Oct 2022 09:08:36 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 294F89FZ005467; Tue, 4 Oct 2022 16:08:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : from : to : cc : references : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=5wHGUbExXthrC888gAXEgN+PenDV5HW5lAUJDffRL/g=; b=kSVjGVOLhVqqrlLY3Og6jzgNGzkHlrWJu6Sg7M2R5O9jpfdN8Sq86ZpA5aNHcnih4o72 FyI3/kKBjlXFyhZc1/SjaJ/Ztwk9zaEJeMNL1kW2nBP5j6ouuPQgyA5t3DCzP4/JL74a l3PCtD19NHfE61Ddf76Gsx3GabkWSJM1c2QRa3fbh0L5BCnW2pm++MfsQ9ke30HmrrPd 5bxpBoig9lYunF/GMUhlc+JIOPVp9Y+IbEArdIrMZgwYEaGoI0QNMgaZLGXUUzU0PHXh 4AEhWrDVzpk79TjCkSMJswll7Ybl/6MsAWzMRgMiNr/WK8Z5yenjNn4uxziSpCuxvS/1 BQ== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3k0m88ghdg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 04 Oct 2022 16:08:33 +0000 Received: from nasanex01b.na.qualcomm.com (corens_vlan604_snip.qualcomm.com [10.53.140.1]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 294G8X22022199 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 4 Oct 2022 16:08:33 GMT Received: from [10.110.73.50] (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Tue, 4 Oct 2022 09:08:31 -0700 Message-ID: Date: Tue, 4 Oct 2022 11:08:30 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH 1/5] dt-bindings: firmware: scm: Add QDU1000/QRU1000 compatibles Content-Language: en-US From: Melody Olvera To: Dmitry Baryshkov , Krzysztof Kozlowski CC: Andy Gross , Bjorn Andersson , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Ulf Hansson , Bhupesh Sharma , , , , References: <20221001030641.29354-1-quic_molvera@quicinc.com> <20221001030641.29354-2-quic_molvera@quicinc.com> <09f5d364-320e-9ecc-2c2b-68066c61f802@linaro.org> <9664a623-3c58-49e8-1b9a-69335d844448@linaro.org> <095742cb-61cc-af5d-848c-48b2ea5528ea@quicinc.com> In-Reply-To: <095742cb-61cc-af5d-848c-48b2ea5528ea@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: nwtx_dxA0ZrvqOzy_gSGdw-mag7Z23cc X-Proofpoint-ORIG-GUID: nwtx_dxA0ZrvqOzy_gSGdw-mag7Z23cc X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-10-04_06,2022-09-29_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 malwarescore=0 adultscore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 phishscore=0 impostorscore=0 suspectscore=0 bulkscore=0 mlxlogscore=999 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210040104 X-Spam-Status: No, score=-5.2 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 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 10/4/2022 10:52 AM, Melody Olvera wrote: > On 10/4/2022 2:36 AM, Dmitry Baryshkov wrote: >> On Tue, 4 Oct 2022 at 09:53, Krzysztof Kozlowski >> wrote: >>> On 04/10/2022 00:14, Dmitry Baryshkov wrote: >>>> On Tue, 4 Oct 2022 at 01:02, Melody Olvera wrote: >>>>> On 10/1/2022 4:25 AM, Krzysztof Kozlowski wrote: >>>>>> On 01/10/2022 05:06, Melody Olvera wrote: >>>>>>> Add compatibles for scm driver for QDU1000 and QRU1000 platforms. >>>>>>> >>>>>>> Signed-off-by: Melody Olvera >>>>>>> --- >>>>>>> Documentation/devicetree/bindings/firmware/qcom,scm.yaml | 2 ++ >>>>>>> 1 file changed, 2 insertions(+) >>>>>>> >>>>>>> diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml >>>>>>> index c5b76c9f7ad0..b47a5dda3c3e 100644 >>>>>>> --- a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml >>>>>>> +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml >>>>>>> @@ -51,6 +51,8 @@ properties: >>>>>>> - qcom,scm-sm8250 >>>>>>> - qcom,scm-sm8350 >>>>>>> - qcom,scm-sm8450 >>>>>>> + - qcom,scm-qdu1000 >>>>>>> + - qcom,scm-qru1000 >>>> I think after seeing all the patchsets it's time to ask the following >>>> question. Do we really need a duplicate compatibility families: >>>> qdu1000 vs qru1000? I'd suggest using a single set of compatibile >>>> strings in most of the cases. >>>> Settle down onto a single name (qdu,qru, qdru, whatever) and define >>>> distinct compat strings only when there is an actual difference? >>>> >>>> E.g .we don't have separate compatible strings for all the sda660, >>>> apq8096, etc. unless this is required by the corresponding hardware >>>> block not being compatible with corresponding sdm or msm counterpart. >>>> >>> I am not that fluent in Qualcomm naming, so let me ask - what are the >>> differences between QDU and QRU? >>> >>> For compatible (and/or similar) devices the general recommendation is to >>> have specific compatibles followed by fallback. Even if devices are >>> very, very, very similar, usually the recommendation still stays. >> Well, true. But in some cases we handle this by using a single set of >> compatibles. Consider e.g. sa8155 vs sm8150 (sa8155 overrides just few >> compats that differ). Or qrb5165 vs sm8250 (there is no separate >> qrb5165.dtsi). APQ8096 (#include "msm8996.dtsi"). Etc. >> >> I'd say this really depends on the actual difference between qru and qdu. > To add some clarification, there's pretty little functional > difference between the QDU (Distributed Unit) and the QRU > (Radio Unit); they're largely the same SoC from the kernel's > standpoint. I wasn't sure if it made more sense to separate > the compat strings or mash them together (using qdru to > specify that it applies to both), so I kept separate compat > strings in case there was a separate RU/DU use case down > the line and also to avoid some confusion (I guess that > didn't work though). It makes the most sense in my mind > to just use the qdru compat string for the things that apply > to both SoCs (which is most of what's submitted currently) and > then we can do qdu/qru specific override strings for more > specific drivers. > Thanks, Melody Fixed formatting.