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 2E963C43334 for ; Tue, 5 Jul 2022 17:20:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231150AbiGERUA (ORCPT ); Tue, 5 Jul 2022 13:20:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229807AbiGERT7 (ORCPT ); Tue, 5 Jul 2022 13:19:59 -0400 Received: from mo4-p01-ob.smtp.rzone.de (mo4-p01-ob.smtp.rzone.de [81.169.146.165]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E30DE12770; Tue, 5 Jul 2022 10:19:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1657041595; s=strato-dkim-0002; d=gerhold.net; h=In-Reply-To:References:Message-ID:Subject:Cc:To:From:Date:Cc:Date: From:Subject:Sender; bh=DWdmOEUN7mDmynzMuz93XOiDV62jdDAWm6NP6/a8yDU=; b=fo4p/8OeYNNYHAfBih3AVtm9kQM2E9Vn4jDnT56W8ubhGSFSA+megqLSF/OqhQe80C T+ywhLJSgBZWATxBixehCo4sd9iteUFbCE5ZLNPkzY4gLibAopKav2GsevOyupyLugkd cQr0p/eOzjhcO8DvUerdp7dHjpuIxrWcRt1h0lX7OzFhuJuZtaGIoFAGNSDJypTz+w04 +4VfWEajNMb3FvNDohNtvH9pKhG1xcfSUDh4CXoi6vd7ZBJ1UYNvzp11nGF6xM/zTU+v GH7c4CliPhqflh6tcj5rO87PPGgE2gUYHHXafC36t+xGkRriBI2E7XrINehmzGqy7/qm M25w== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":P3gBZUipdd93FF5ZZvYFPugejmSTVR2nRPhVOQ/OcYgojyw4j34+u267FZF9PwpcNKLVrK85/aY=" X-RZG-CLASS-ID: mo00 Received: from gerhold.net by smtp.strato.de (RZmta 47.46.1 AUTH) with ESMTPSA id yfdd30y65HJtJ4o (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 5 Jul 2022 19:19:55 +0200 (CEST) Date: Tue, 5 Jul 2022 19:19:46 +0200 From: Stephan Gerhold To: Krzysztof Kozlowski 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 Subject: Re: [PATCH v4] dt-bindings: qcom: document preferred compatible naming Message-ID: References: <20220705161301.493364-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220705161301.493364-1-krzysztof.kozlowski@linaro.org> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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.) Thanks, Stephan