Received: by 2002:ac0:cd04:0:0:0:0:0 with SMTP id w4csp230004imn; Fri, 1 Jul 2022 13:51:19 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t2xu+rkGGgeklaR1nFmO0dX2hyvtZ7xy/ONiBr2zcSvpEMhaWu/kgr8rLM3/LSTJhFXj4+ X-Received: by 2002:a05:6402:4385:b0:435:9104:955b with SMTP id o5-20020a056402438500b004359104955bmr21014796edc.45.1656708678926; Fri, 01 Jul 2022 13:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656708678; cv=none; d=google.com; s=arc-20160816; b=koEdZ9bor3ty4/Ljf1JRowI2YcLTgaA5P/chVFvXiXu41U5+yPB2+G3iWNlV/RtEcH MBgfpqMU1Ljl2GcORF2h7jsr5Qs+Pl4A9Dv3MCwxCYQCg+UFXM/u1eLULqGX1yf45gfv YtBcpn+2NFRgQfDeTqt5lIuVo6kjmheLz6KBt+lyyBh/GQTPPcWis6Y/pauepa3J5aHG fWWtAsQVDZp2wdFCHfmLagoJuPA/scMRi/OvEyQf5biqR6r0bD5i0wx9aRPtwmSXVDJu aOwtYimuJ4LQEz87tW4mBWN0ge2HN5AY10MYDp0fZcW/KEtUziJeF9pHkoHyAok2dZiB jIkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=vM/upYcwOh1+SZ1rqeo3tt3B3M86DMnseUqG48wZe5k=; b=hSSJJhL0+Ra/WUH6oK7vcN3KI+zOwGHeX0JOZTODmVqMmDslYq5ljRL4FP5CbCPUi/ 2RyT42OcpFUsHi1IrvFkbwN8ZV7wQAK3BjnnnxcAhHQIbFHg/iAfjOgS2hwiNaV/ZTus 14o2PF1KvoH6wbTGEwoogPrVVSqlW0EcKjCYOUIo5jbawiQqRIKgLbsXfTcgzRPkhF6m eaXJr0jAcHAkF+nBX3/RHyPDfZ0shHHCos5OiuZYy+4iowR27Gq4spTEBYSa75qqGJkG f8H2ulGsGpGa1acx+1sy9woS786x49bgGTl+TJj/aZn0yiyk4AFpKATOaK2nBENAIWkt ZvKw== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v24-20020a509558000000b0043576e473dcsi1773797eda.535.2022.07.01.13.50.54; Fri, 01 Jul 2022 13:51:18 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231995AbiGAUmc (ORCPT + 99 others); Fri, 1 Jul 2022 16:42:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229768AbiGAUmW (ORCPT ); Fri, 1 Jul 2022 16:42:22 -0400 Received: from mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7172F5A2EC; Fri, 1 Jul 2022 13:42:21 -0700 (PDT) Received: by mail-io1-f44.google.com with SMTP id l24so3315561ion.13; Fri, 01 Jul 2022 13:42:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=vM/upYcwOh1+SZ1rqeo3tt3B3M86DMnseUqG48wZe5k=; b=7xG7mc92qYmhyXmNXYy5Hqs2QuctA89zwan3DdDemet+/Viry344T8gzqWsdr1WL+J VaMsRHMDK2RNY2OFkxD3wcKaea7hhiIiSI0d3GvnVQdFXe1EJDpPXNfTdAnk1io1fTp9 lvvSXZonWxNgXrT/IS603DyaXB0ql5fHh38VgpbK3dUDPich6dT2l6nyYjY4rbzPVmtd oqiMzxmbIyF8zaNxYDXXb7f6TjgV7f6D4TIL4WW//Q3yk1iSN5capaXyHCp8FuQ+3F1N TlVIgetM8GPSmmP/Ml/81AvkkqOoIp4pwYDojeZfPLdz42c9ha5/vxb2a3eEsLhH8Vr7 pc+g== X-Gm-Message-State: AJIora+bBkpPV2Gs2cSTuMeebBL2aAlH8c8UGpQqsFF/vPVFst8Iux+j vo6mkG5K/uXt7K4yqir9SMRFRPVtbg== X-Received: by 2002:a05:6602:1409:b0:5e7:487:133c with SMTP id t9-20020a056602140900b005e70487133cmr8708481iov.196.1656708140714; Fri, 01 Jul 2022 13:42:20 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id a14-20020a056638018e00b00335d7c314b1sm10199730jaq.53.2022.07.01.13.42.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Jul 2022 13:42:20 -0700 (PDT) Received: (nullmailer pid 1490617 invoked by uid 1000); Fri, 01 Jul 2022 20:42:18 -0000 Date: Fri, 1 Jul 2022 14:42:18 -0600 From: Rob Herring To: Krzysztof Kozlowski Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla , Dmitry Baryshkov , Vinod Koul , Alex Elder , Robert Foss , Bhupesh Sharma Subject: Re: [PATCH] dt-bindings: qcom: readme: document preferred compatible naming Message-ID: <20220701204218.GA1478943-robh@kernel.org> References: <20220701074659.12680-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220701074659.12680-1-krzysztof.kozlowski@linaro.org> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Fri, Jul 01, 2022 at 09:46:59AM +0200, Krzysztof Kozlowski wrote: > Compatibles can come in two formats. Either "vendor,ip-soc" or > "vendor,soc-ip". Qualcomm bindings were mixing both of usages, so add a > readme file documenting preferred policy. Is this all I needed to do to stop this from QCom? This convention is not QCom specific, though the error mostly is. Perhaps this should be documented generically. > Signed-off-by: Krzysztof Kozlowski > > --- > > Cc: Srinivas Kandagatla > Cc: Dmitry Baryshkov > Cc: Vinod Koul > Cc: Alex Elder > Cc: Robert Foss > Cc: Bhupesh Sharma > --- > .../devicetree/bindings/soc/qcom/README.rst | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/qcom/README.rst > > diff --git a/Documentation/devicetree/bindings/soc/qcom/README.rst b/Documentation/devicetree/bindings/soc/qcom/README.rst > new file mode 100644 > index 000000000000..322b329ac7c1 > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/qcom/README.rst > @@ -0,0 +1,16 @@ > +.. SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > + > +Qualcomm SoC compatibles naming convention > +========================================== > +1. When adding new compatibles in new bindings, use the format: > + :: > + > + qcom,SoC-IP > + > + For example: > + :: > + > + qcom,sdm845-llcc-bwmon Assuming the list of possible SoCs was maintained, you could make this a schema. Though there might be false positives. > + > +2. When adding new compatibles to existing bindings, use the format > + in the existing binding, even if it contradicts the above. > -- > 2.34.1 > >