From fba395ddc1ac246eee5cc89be1fbea7fc73fc11f Mon Sep 17 00:00:00 2001 From: Soumya Managoli Date: Wed, 13 Mar 2024 15:58:11 +0530 Subject: [PATCH] bindings: Add bindings for FSA4480 This device is required for enabling USB-C analog support. Change-Id: I2f7749a9562ef91f2c472bfeb8dfb1df145e1677 Signed-off-by: Soumya Managoli --- bindings/soc/qcom/qcom,fsa4480-i2c.yaml | 38 +++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 bindings/soc/qcom/qcom,fsa4480-i2c.yaml diff --git a/bindings/soc/qcom/qcom,fsa4480-i2c.yaml b/bindings/soc/qcom/qcom,fsa4480-i2c.yaml new file mode 100644 index 00000000..8ddbad08 --- /dev/null +++ b/bindings/soc/qcom/qcom,fsa4480-i2c.yaml @@ -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 + +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>; + }; +...