From a52b4bbdb500694fb4958f67252824715d26f3ee Mon Sep 17 00:00:00 2001 From: Brindha T Date: Mon, 6 Jan 2025 15:59:15 +0530 Subject: [PATCH] dt-bindings: soc: qcom: Add qcom,pmic-ecid bindings Add bindings documentation for qcom,pmic-ecid. PMIC ECID provides the PMIC specific information for identification. Change-Id: I012670359ad1b1c4aea92f59b9430efc6e446f5f Signed-off-by: Brindha T --- bindings/soc/qcom/qcom,pmic-ecid.yaml | 45 +++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 bindings/soc/qcom/qcom,pmic-ecid.yaml 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"; + }; + }; +...