diff --git a/bindings/soc/qcom/qcom,altmode-glink.yaml b/bindings/soc/qcom/qcom,altmode-glink.yaml new file mode 100644 index 00000000..76dca762 --- /dev/null +++ b/bindings/soc/qcom/qcom,altmode-glink.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/qcom/qcom,altmode-glink.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. Type-C Alternate Mode GLINK device + +maintainers: + - Subbaraman Narayanamurthy + +description: | + The Qualcomm Technologies, Inc. Type-C Alternate (Alt) Mode GLINK device + provides an interface for Type-C alternate mode clients to receive data such + as Pin Assignment Notifications from the Type-C stack running on a remote + subsystem (e.g. DSP) via the PMIC GLINK interface. + +properties: + compatible: + const: qcom,altmode-glink + + qcom,altmode-name: + description: Alt-mode name + $ref: /schemas/types.yaml#/definitions/string + enum: [altmode_0, altmode_1, altmode_2, altmode_3, altmode_4, + altmode_5, altmode_6, altmode_7, altmode_8, altmode_9] + +required: + - compatible + - qcom,altmode-name + +additionalProperties: false + +examples: + - | + pmic_glink { + altmode { + compatible = "qcom,altmode-glink"; + qcom,altmode-name = "altmode_0"; + }; + };