diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-06-07 16:34:42 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2022-07-19 12:54:39 +0300 |
commit | 7677ed11e9fa895b0d9b807b671082355b0de716 (patch) | |
tree | 2d20a672ec49ed4ffd729e5d58cfbb124ea757ec /Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml | |
parent | 66ee379d743c69c726b61d078119a34d5be96a35 (diff) | |
download | linux-7677ed11e9fa895b0d9b807b671082355b0de716.tar.xz |
dt-bindings: mfd: qcom,tcsr: Convert to dtschema
Convert the Qualcomm Top Control and Status Register to DT Schema.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220607133443.182468-1-krzysztof.kozlowski@linaro.org
Diffstat (limited to 'Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml new file mode 100644 index 000000000000..428973f97a72 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/qcom,tcsr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Top Control and Status Register + +maintainers: + - Bjorn Andersson <bjorn.andersson@linaro.org> + +description: + Qualcomm devices have a set of registers that provide various control and + status functions for their peripherals. + +properties: + compatible: + oneOf: + - items: + - enum: + - qcom,tcsr-apq8064 + - qcom,tcsr-apq8084 + - qcom,tcsr-ipq8064 + - qcom,tcsr-msm8660 + - qcom,tcsr-msm8916 + - qcom,tcsr-msm8953 + - qcom,tcsr-msm8960 + - qcom,tcsr-msm8974 + - const: syscon + - items: + - const: qcom,tcsr-ipq6018 + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscon@1a400000 { + compatible = "qcom,tcsr-msm8960", "syscon"; + reg = <0x1a400000 0x100>; + }; |