Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp91331rwb; Tue, 4 Oct 2022 00:46:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5/tQDYCtTnnClKa8/NF8nIaKsKWXIYuTz59jGg1rxXuTIMlvdt2Z5W8REKJL1ClboYBQYb X-Received: by 2002:a62:4e8e:0:b0:54a:ee65:cde6 with SMTP id c136-20020a624e8e000000b0054aee65cde6mr26332913pfb.42.1664869567113; Tue, 04 Oct 2022 00:46:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664869567; cv=none; d=google.com; s=arc-20160816; b=jF1IDbyfdQTd0krbmCR3WYO7rjN3OjJaLl/D2/Xkj8IfM62+dox2yKuHeUtOATSGZw itbNa1u9DA1fxLuMGb6KqWCPpBOzO9fDqDJ6eXw1zBLZp8wOaw219jtdv2h1niytSIDJ Etb3IkJOqSDYMjRC1kJ8I/BI/zcg9pp4HjqB+cPOrItZgVlmYvKu4dWi9LtbwzBIZhIl Bg2HCp/xYLlUTqtrqKS4S4paxDCulLt5YvWqpDXEi/yvASkYx/9u8InOFdBPsDT59/Pb PIho5IUBAJ0//yReDvd549uAQdmvNPlaWOsOb8YYS1XF19aG5F4nCcoZBjKPrXa2xy4a uYVg== 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=rGAbSoZZBNp1Rcgw72Rvq0ko1UR3Gj5wyM3fR9f9QcA=; b=hdoeIpLsaS5Q28giaUalwXXrw+UqPARdRPDcYd4A392fQRGVoSW4gScM+1SNniDQ/I dQO6Ig6HcP+LEdrTmqsSflGs3cEGMY0hNuNaJcJ8kxE6lCaeyEw9hzlTQ00v7YyDPqVx bZAW2Ms47SvD+FxlZiel2vl3Wzn1bx2iMwO4adcGzI/GQbznzipC/JRttACD6lKOTXSP e3D784O1ORYs8gNNguO/2UZ0CmnQcZy5TOaw8fHdUBh7qfQoCNfbPGThdD3kvJGkVxZX w6KinldR8BpP5uE2svkTKD44ztCOxSDuMLP3Q1ree4/VFZZWpDsD94QwTd8p8RPbSv79 eQ6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="kwFzKfO/"; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h70-20020a638349000000b00455443d1140si1167521pge.704.2022.10.04.00.45.54; Tue, 04 Oct 2022 00:46:07 -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=@linaro.org header.s=google header.b="kwFzKfO/"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229635AbiJDGx5 (ORCPT + 99 others); Tue, 4 Oct 2022 02:53:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229640AbiJDGxz (ORCPT ); Tue, 4 Oct 2022 02:53:55 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB6942F011 for ; Mon, 3 Oct 2022 23:53:53 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id bp15so6295734lfb.13 for ; Mon, 03 Oct 2022 23:53:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=rGAbSoZZBNp1Rcgw72Rvq0ko1UR3Gj5wyM3fR9f9QcA=; b=kwFzKfO/Y/xaLTNuTEfETEj4Sx9BNm+sDiWRt2m6ij+4hPyAy813ZhUuqvLUihg/w7 HPzk7xkR2hMGfmCel+qv+9pktl4dzA+64MlhqCGa+F/p7NbEZh0QzqNa0n2U8NJ7JSYl RLD1M3i+tTIdVhZXeYovo/mNN9e9hDCpI3SqSrJ6wdLNCsaFbBCaDfKnuq9MCqK/Bjjs h3H8w35Hia1srXSv2U5PUeUdXwyFOqqH+VgCKgpifXFPt/Bl+JpeMFGdhpimof7HAkvj BkeyjFns0x85c8D1kEv333nbQiwXg2kt/IDzM1ibdZaX0wV50TYNEG8atXflJOHsrI0S cbnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=rGAbSoZZBNp1Rcgw72Rvq0ko1UR3Gj5wyM3fR9f9QcA=; b=NGZhaZHnSJ0gzfNnj2M/iyw684aMJtJYhwnYem//o+UnSinEZ3i44L8qTxlO14HdFy JlX+WUjGes8EZ92xmau0vOT+EyN3Kjrq9FSNVjWi+BueXOgpwokkpAErEv2aVGguqNBF OUVKqP0pa0c+rj2RMT+nfsjDWnX4J1nYXqXwnz8520RhdYMtxA1aEy/P7s/OhLxHbato wOqyCQZwJ01NvT+srvDQBO8sBc84B0N55/j6xleUoi7kiZs7Opd+cOf26bsI6QJ7uF3Z D+Zrlg9DZqOnF3cyzPMKcgAT9/MHf+pTlyHQodEnGsIvdYysDWSJNRI0t7JSDiDZl61c k+jA== X-Gm-Message-State: ACrzQf03KiQsG4NmCvuPGTDhc3l5I7eA2/MQre07wY5srV69z25s/Zko OHmpLewCV9DwvtkVvLBOfXkWZQ== X-Received: by 2002:ac2:51ae:0:b0:4a2:4f37:451c with SMTP id f14-20020ac251ae000000b004a24f37451cmr1309615lfk.649.1664866432124; Mon, 03 Oct 2022 23:53:52 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id k2-20020a05651239c200b00499aefcf68esm1769029lfu.292.2022.10.03.23.53.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Oct 2022 23:53:51 -0700 (PDT) Message-ID: <9664a623-3c58-49e8-1b9a-69335d844448@linaro.org> Date: Tue, 4 Oct 2022 08:53:50 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH 1/5] dt-bindings: firmware: scm: Add QDU1000/QRU1000 compatibles Content-Language: en-US To: Dmitry Baryshkov , Melody Olvera Cc: Andy Gross , Bjorn Andersson , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Ulf Hansson , Bhupesh Sharma , linux-arm-msm@vger.kernel.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221001030641.29354-1-quic_molvera@quicinc.com> <20221001030641.29354-2-quic_molvera@quicinc.com> <09f5d364-320e-9ecc-2c2b-68066c61f802@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Best regards, Krzysztof