From 657dd03fe16fe4eeafc83823fc4cce89cfd08642 Mon Sep 17 00:00:00 2001 From: Meng Wang Date: Mon, 18 Nov 2019 16:08:04 +0800 Subject: [PATCH] dt-bindings: add devicetree binding for fsa4480 Add devicetree binding for fsa4480 chip which is used for analog type-c headset. Change-Id: I31a55c693340011ad2026e6a654a79d8bc569b98 --- bindings/soc/qcom/fsa4480-i2c.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 bindings/soc/qcom/fsa4480-i2c.txt diff --git a/bindings/soc/qcom/fsa4480-i2c.txt b/bindings/soc/qcom/fsa4480-i2c.txt new file mode 100644 index 00000000..ae128eb7 --- /dev/null +++ b/bindings/soc/qcom/fsa4480-i2c.txt @@ -0,0 +1,18 @@ +Qualcomm Technologies, Inc. + +Fairchild FSA4480 Device + +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. + +Required properties: + - compatible: Should be "qcom,fsa4480-i2c". + - reg: I2C device address of the device + +Example: + fsa4480: fsa4480@43 { + compatible = "qcom,fsa4480-i2c"; + reg = <0x43>; + };