67 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/arm/qcom-soc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm SoC compatibles naming convention8 9maintainers:10 - Bjorn Andersson <andersson@kernel.org>11 12description: |13 Guidelines for new compatibles for SoC blocks/components.14 When adding new compatibles in new bindings, use the format::15 qcom,SoC-IP16 17 For example::18 qcom,sdm845-llcc-bwmon19 20 When adding new compatibles to existing bindings, use the format in the21 existing binding, even if it contradicts the above.22 23select:24 properties:25 compatible:26 pattern: "^qcom,.*(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm|x1e)[0-9]+.*$"27 required:28 - compatible29 30properties:31 compatible:32 oneOf:33 # Preferred naming style for compatibles of SoC components:34 - pattern: "^qcom,(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm|x1e)[0-9]+(pro)?-.*$"35 - pattern: "^qcom,(sa|sc)8[0-9]+[a-z][a-z]?-.*$"36 37 # Legacy namings - variations of existing patterns/compatibles are OK,38 # but do not add completely new entries to these:39 - pattern: "^qcom,[ak]pss-wdt-(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm)[0-9]+.*$"40 - pattern: "^qcom,gcc-(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm)[0-9]+.*$"41 - pattern: "^qcom,mmcc-(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm)[0-9]+.*$"42 - pattern: "^qcom,pcie-(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm|x1e)[0-9]+.*$"43 - pattern: "^qcom,rpm-(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm)[0-9]+.*$"44 - pattern: "^qcom,scm-(apq|ipq|mdm|msm|qcm|qcs|q[dr]u|sa|sc|sd[amx]|sm|x1e)[0-9]+.*$"45 - enum:46 - qcom,dsi-ctrl-6g-qcm229047 - qcom,gpucc-sdm63048 - qcom,gpucc-sdm66049 - qcom,lcc-apq806450 - qcom,lcc-ipq806451 - qcom,lcc-mdm961552 - qcom,lcc-msm896053 - qcom,lpass-cpu-apq801654 - qcom,usb-ss-ipq4019-phy55 - qcom,usb-hs-ipq4019-phy56 - qcom,vqmmc-ipq4019-regulator57 58 # Legacy compatibles with wild-cards - list cannot grow with new bindings:59 - enum:60 - qcom,ipq806x-gmac61 - qcom,ipq806x-nand62 - qcom,ipq806x-sata-phy63 - qcom,ipq806x-usb-phy-ss64 - qcom,ipq806x-usb-phy-hs65 66additionalProperties: true67