lkml.org 
[lkml]   [2022]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4] dt-bindings: qcom: document preferred compatible naming
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 <krzysztof.kozlowski@linaro.org>
[...]
> 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

\
 
 \ /
  Last update: 2022-07-05 19:21    [W:1.745 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site