Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e335b26 authored by Guru Das Srinagesh's avatar Guru Das Srinagesh
Browse files

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
parent 6333ba36
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
* 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: <stringlist>
	Definition: must be "qcom,altmode-glink"

- qcom,altmode-name:
	Usage: required
	Value type: <string>
	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";
		};
		...
	};
};