Received: by 2002:ac0:de83:0:0:0:0:0 with SMTP id b3csp1455895imk; Mon, 4 Jul 2022 03:30:36 -0700 (PDT) X-Google-Smtp-Source: AGRyM1upWVDsSXg+f/fOZAAniwp5SgLr2fTJ3+zo41eRhUKfLM+pY4QtXBc02MFknnAbr1p7mQfE X-Received: by 2002:a63:3c1e:0:b0:40d:2747:4016 with SMTP id j30-20020a633c1e000000b0040d27474016mr24947347pga.372.1656930636116; Mon, 04 Jul 2022 03:30:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656930636; cv=none; d=google.com; s=arc-20160816; b=WCTly5nh4D0TNlJIr50mqJzXCqQuD9fRTEl8lvDDqXk9/tsayieFE+TXlN4xxa2Pia QruXvbA5XxFeQt8Ehdo5f0GCgflb+uQ1ZFMU6D/oHjZiov1QEX6ZsgQp3qAW79yCukFu upiKTHeOoBR8uJZaAl5lPrK/5zOitQc+xBgX3CVD3N1FI2ekxbuoAc71pYLfTIQpIAxT o6l78qGIeam1mqJYeJ+FSiDEXDC1hXyVjG6N0KjCwOnnSmtQMs0yBnYjmZvsJ068cAjJ NIvLJWvDZ5KGnVFO2/08BJBd1T6lCm4YPU4+3CGBqg4X+jwLrkU3U1IaWkhHP3bX5fRA qdpQ== 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=ErZw4wls9zjNOFCXIe6EDDFh4ab3lDZZmmtoZlWR0dY=; b=LMYllqva6oVYr5XOCMMKf81JvSQTXHrS6iHB4JF0c52cIQD3uUcjGtUNJwH/MoJKC6 XUGT+IQ+6BezLgcZdzwxPoSb328ZCpZzan5zW2JknrMrB6NM94k4Do1tewEzhl9XNWG3 rmA9QoxBLyiTyGuau078PSRPen9EJn6a+YWeztAqeqmIJen1+BNiE1HTK7LFb+dgZQb7 rMgK2Pjt6M9ZijV9A88fQG8B0//7AdPLDlLtjE20ndlDN+ILEnaFL179oCUIuk+SOstT mJpcNnRWpCULQcbGKa9OmCkJS3pnEYuHAxsvkfpwuTM0c3bmDb+bc9e92GIxRMUmejmO wrUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=w9LmTd0j; 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 u12-20020a170903124c00b00164ade949b8si51386778plh.301.2022.07.04.03.30.23; Mon, 04 Jul 2022 03:30:36 -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=w9LmTd0j; 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 S234220AbiGDKEK (ORCPT + 99 others); Mon, 4 Jul 2022 06:04:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234121AbiGDKDv (ORCPT ); Mon, 4 Jul 2022 06:03:51 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5778B1D7 for ; Mon, 4 Jul 2022 03:03:11 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id k15so14864947lfv.11 for ; Mon, 04 Jul 2022 03:03:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=ErZw4wls9zjNOFCXIe6EDDFh4ab3lDZZmmtoZlWR0dY=; b=w9LmTd0jhX810gGtspBgYoFJvLQMTTIvGy0sHKVh78nBe332rOAuFrYBVunrIBsPkg d5EfUKJxoQ8S8/v/G9LR7vXzCf3Cg9+qMproAQnX27mkaBzgVlzSwJzIALLGrtgmiKB2 8UEOdKaykVSSim8/D2n+F2VJ/ErZ24EDb5l8lq9OmVvsUyINLrfKT0CMTaQ3LAMEAutl sJwByWinXftKaocsvU7ONzpWe1/9I20wZzhklPJLJpjYhvewa+RddER9zPq0Cb8UUhW0 jeBEWNaP+1Um10fFIvtjpJD/oGuTFoZ0FOiuMzV5uutKQU16FLIATbpNBL6txv+2OcHK +lvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=ErZw4wls9zjNOFCXIe6EDDFh4ab3lDZZmmtoZlWR0dY=; b=DBa3y0MJJbiRb4dHnCVAXuJakzIHoKvpmtrGFHWpsNZI1l0F3+Xwmu6DOBBs6vKxy0 BIH8mq2rRWA1fr7bn2kazDdF4SbqeFXMw9XbJ6cUbKCF/FJk188jctEbN/ikQVWxhtbQ bEVW7YdL/WLW8VmsQYL5QPFxFIQ2To4Hh0kM6EvBqyAwWEEH4vrZnR9vUxPOSNvO1ink 76OaUiTasSQtYNa8avv9MrKqOsukRRWGK++Ng+Ean9JzzVtAkzVLbpWdVCRN+WHcY2Hn 171DM8VDii4IiuxXjOERtBI4lfPGiOxUMpdwEEcUF+WbYRZFNiCVxLT94dXG2bI/KKzl ZLUg== X-Gm-Message-State: AJIora8GC38BR4IRRfiVlHPbJW1ShGLttrYNR8MYlbjQLjUxjnZKJ0S4 XTPRkX5O6HWjazSQkXJxJGZqAg== X-Received: by 2002:a05:6512:61:b0:47f:7f37:fad3 with SMTP id i1-20020a056512006100b0047f7f37fad3mr18847722lfo.318.1656928990188; Mon, 04 Jul 2022 03:03:10 -0700 (PDT) Received: from [192.168.1.52] ([84.20.121.239]) by smtp.gmail.com with ESMTPSA id b13-20020a2eb90d000000b0025aa03fba32sm4851141ljb.12.2022.07.04.03.03.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 Jul 2022 03:03:09 -0700 (PDT) Message-ID: <9303ad19-b047-9710-8c35-9911e9a47bc9@linaro.org> Date: Mon, 4 Jul 2022 12:03:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH] dt-bindings: qcom: readme: document preferred compatible naming Content-Language: en-US To: Rob Herring 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 References: <20220701074659.12680-1-krzysztof.kozlowski@linaro.org> <20220701204218.GA1478943-robh@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20220701204218.GA1478943-robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 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,T_SCC_BODY_TEXT_LINE 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 01/07/2022 22:42, Rob Herring wrote: > 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. Good point. I can this to writing-bindings.rst. > >> 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. Indeed it works, although I need some exceptions for existing compatibles. Best regards, Krzysztof