bindings: Add bindings for FSA4480

This device is required for enabling USB-C analog support.

Change-Id: I2f7749a9562ef91f2c472bfeb8dfb1df145e1677
Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com>
This commit is contained in:
Soumya Managoli
2024-03-13 15:58:11 +05:30
committed by Ramireddy KrishnaKanth Reddy
parent 057667bb21
commit fba395ddc1

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>;
};
...