diff --git a/bindings/soc/qcom/qcom,pmic-ecid.yaml b/bindings/soc/qcom/qcom,pmic-ecid.yaml new file mode 100644 index 00000000..9a037f07 --- /dev/null +++ b/bindings/soc/qcom/qcom,pmic-ecid.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/qcom/qcom,pmic-ecid.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm PMIC ECID Identification + +maintainers: + - Brindha T + +description: | + PMIC ECID (Exclusive Chip Identifier) device to provide information on PMIC specific part identification. + +properties: + compatible: + const: qcom,pmic-ecid + + reg: + description: Specifies the SPMI base address of PMIC ECID + maxItems: 1 + + qcom,pmic-name: + $ref: /schemas/types.yaml#/definitions/string + description: Specifies the PMIC name + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + pmic { + #address-cells = <1>; + #size-cells = <0>; + + qcom-pmic-ecid@100 { + compatible = "qcom,pmic-ecid"; + reg = <0x100>; + qcom,pmic-name = "pm8550"; + }; + }; +...