Add documentation for wcd usbss bindings. Change-Id: I2f53c5d9cffbd33d73ed21b400bf1a96e8c8cf1a Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
39 lines
866 B
YAML
39 lines
866 B
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/soc/qcom/qcom,wcd939x-i2c.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Qualcomm Technologies, Inc. (QTI) WCD9395 Device
|
|
|
|
description: This device is used for switching orientation of USB-C
|
|
analog and for display. It uses I2C communication to set the
|
|
registers to configure the switches inside the WCD9395 chip to
|
|
change orientation and also to set SBU1/SBU2 connections of USB-C.
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- qcom,wcd939x-i2c
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
vdd-usb-cp-supply:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- vdd-usb-cp-supply
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
wcd9395_i2c@e {
|
|
compatible = "qcom,wcd939x-i2c";
|
|
reg = <0xe>;
|
|
vdd-usb-cp-supply = <&L15B>;
|
|
};
|
|
... |