From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DFE2FC43334 for ; Tue, 5 Jul 2022 17:40:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232935AbiGERkc (ORCPT ); Tue, 5 Jul 2022 13:40:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232881AbiGERkb (ORCPT ); Tue, 5 Jul 2022 13:40:31 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 712521759D for ; Tue, 5 Jul 2022 10:40:30 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id n15so15410048ljg.8 for ; Tue, 05 Jul 2022 10:40:30 -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=Rf+PUR5D5pZBIwyOSdcFqeRgcRBF7HX/FvmmUwl6cU8=; b=EwHCeFn6kVexzlg0spOMiDQXVDpp+Vtk9J7Q0+LYFILwADYNUdNesenbLctK7Vi7HD HC1WaNwOOs3v+iaSxMzIr3O96bgoCMby/nEli9mGcVYtbOWJ9SwkpUmTZcG55hrdB9iq cmJWLdKzU4WlWtiBKaG5N5OFxzPIh6sB7U1HsQ+nTabzdtk2ExmTNKQpamTaNLGjhksv TdwG08NKQ6x9WfHCCuAlrOQZAFCR9oJdzSwlnJPdpCeYRRFfcY4H7xFJCQgLfug9/SG5 nHuAS0PNixenp58Zq7Mo1Z27yDoI8COhlLVUxR7JQQz6lH7aZA0KfTgL57usWn86ds+x Vi+g== 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=Rf+PUR5D5pZBIwyOSdcFqeRgcRBF7HX/FvmmUwl6cU8=; b=BNi+qi6ChI/fA0Um8Es0P9szmND3Zxi0ZXpeV5WoTgyz0xujRHwRv9agDAjnJpszRq QSJoxSa0pD33YKak+GK6P7ItTwSjEk3ijx6SqkRWLC81t7C2/e4GQYusf/K5eaoCeGXL sBv7eEuAGeWdE7ZluBmfp8r5z4aL5HzJUL0Wv67X5b0Rlw0IsS2aCtr2uiz+cGwKoqMB DbUfeGYdvaiL7RW38t/v4GilcOR/J6j7tubJSS+DMoE7xhiFWZELyz/TJdrg3RnCkph6 e469o0N6MVeg7FV7X8gZRvNFhlH4UyoFvk9jtqooIudj6wXC0P1XKU4GOOu22omomley asSw== X-Gm-Message-State: AJIora9sWz6516dtL8Rsorh99FH57M9Uen5g0kYFP6jjcfrK7z/omasy lkAGnO6L1/FQbe3d71teJ2mUGQ== X-Google-Smtp-Source: AGRyM1utsUYanEwT5N/s7CyZQAyFSvDKoUZfQ77MggTrRm+yHhhuEHcO7uLN39wDA9XMrWd94D9zLQ== X-Received: by 2002:a2e:b94e:0:b0:25b:b99f:4f58 with SMTP id 14-20020a2eb94e000000b0025bb99f4f58mr19770803ljs.263.1657042828762; Tue, 05 Jul 2022 10:40:28 -0700 (PDT) Received: from [192.168.1.52] ([84.20.121.239]) by smtp.gmail.com with ESMTPSA id c17-20020a056512075100b00479112bb555sm5818285lfs.60.2022.07.05.10.40.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Jul 2022 10:40:28 -0700 (PDT) Message-ID: <004843a8-f4b8-1fe7-8d16-0d64c83c6998@linaro.org> Date: Tue, 5 Jul 2022 19:40:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v4] dt-bindings: qcom: document preferred compatible naming Content-Language: en-US To: Stephan Gerhold Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , 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: <20220705161301.493364-1-krzysztof.kozlowski@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 05/07/2022 19:19, Stephan Gerhold wrote: > On Tue, Jul 05, 2022 at 06:13:01PM +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 >> DT schema file documenting preferred policy and enforcing it for all new >> compatibles, except few existing patterns. >> >> Signed-off-by: Krzysztof Kozlowski > [...] >> diff --git a/Documentation/devicetree/bindings/arm/qcom-soc.yaml b/Documentation/devicetree/bindings/arm/qcom-soc.yaml >> new file mode 100644 >> index 000000000000..0be18c1d2961 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/arm/qcom-soc.yaml > [...] >> + pattern: "^qcom,.*(apq|ipq|mdm|msm|qcs|sa|sc|sdm|sdx|sm)[0-9]+.*$" > > FWIW: There is also the "qcm" prefix, used e.g. in "qcom,qcm2290-tlmm". > > Also, the APQ equivalent of "sdm" would be "sda", e.g. SDA845 which is > used in the DB845c. (Not sure if someone will ever use the SDA variant > in a compatible though.) I expect the list/pattern to grow, but of course I can add these now. Best regards, Krzysztof