From 3e335b2633faf375ff06a54bd156ddcccf765da1 Mon Sep 17 00:00:00 2001 From: Guru Das Srinagesh Date: Thu, 26 Dec 2019 16:53:35 -0800 Subject: [PATCH] bindings: Add altmode-glink The altmode mode 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. Change-Id: Iec1cf5e64ed9b4eb93fbfa6aacc998d4f4f730e7 --- bindings/soc/qcom/qcom,altmode-glink.txt | 34 ++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 bindings/soc/qcom/qcom,altmode-glink.txt diff --git a/bindings/soc/qcom/qcom,altmode-glink.txt b/bindings/soc/qcom/qcom,altmode-glink.txt new file mode 100644 index 00000000..5cc46292 --- /dev/null +++ b/bindings/soc/qcom/qcom,altmode-glink.txt @@ -0,0 +1,34 @@ +* QTI Type-C Alternate Mode over GLINK bindings + +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. + +Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,pmic-glink.txt +for information on the "qcom,pmic_glink" device used in the example below. + +REQUIRED PROPERTIES: + +- compatible: + Usage: required + Value type: + Definition: must be "qcom,altmode-glink" + +- qcom,altmode-name: + Usage: required + Value type: + Definition: must be "altmode_N" where N is [0-9] + +EXAMPLE: + +&soc { + qcom,pmic_glink { + ... + qcom,altmode { + compatible = "qcom,altmode-glink"; + qcom,altmode-name = "altmode_0"; + }; + ... + }; +};