Merge "dt-bindings: Add documentation for wcd usbss"

This commit is contained in:
qctecmdr
2023-09-14 12:52:12 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -0,0 +1,39 @@
# 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>;
};
...