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. This is a snapshot taken as of qcom-6.1 commit 956e9008b1cf ("bindings: Add altmode-glink") which was then converted to yaml. Change-Id: Iec1cf5e64ed9b4eb93fbfa6aacc998d4f4f730e7 Signed-off-by: David Collins <quic_collinsd@quicinc.com>
This commit is contained in:
41
bindings/soc/qcom/qcom,altmode-glink.yaml
Normal file
41
bindings/soc/qcom/qcom,altmode-glink.yaml
Normal file
@@ -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 <quic_subbaram@quicinc.com>
|
||||||
|
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
};
|
Reference in New Issue
Block a user