Merge "bindings: Add bindings for FSA4480"

This commit is contained in:
QCTECMDR Service
2024-07-02 06:45:15 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -0,0 +1,38 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/qcom/qcom,fsa4480-i2c.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Fairchild FSA4480 Device
maintainers:
- Soumya Managoli<quic_c_smanag@quicinc.com>
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 FSA4480 chip to change
orientation and also to set SBU1/SBU2 connections of USB-C.
properties:
compatible:
const: qcom,fsa4480-i2c
reg:
description: |
I2C device address of the device
required:
- compatible
- reg
additionalProperties: false
examples:
- |
fsa4480: fsa4480@43 {
compatible = "qcom,fsa4480-i2c";
reg = <0x43>;
};
...