summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorPhani Kumar Uppalapati <phaniu@codeaurora.org>2016-12-02 11:44:10 -0800
committerPhani Kumar Uppalapati <phaniu@codeaurora.org>2017-01-18 09:39:24 -0800
commitf42b8d16251385e76fd4bc4cc8500dc12e19b604 (patch)
tree88f8bb01fa7d550f651513040a161d24db27300c /Documentation
parentd9ac8efbd96e3d5106203f5faab87a38f4f87860 (diff)
ASoC: wcd934x: Add support for USB Type-C analog audio
Add playback and capture support when an analog wired accessory is inserted into USB Type-C receptacle through an USB type-c to 3.5mm analog audio adapter. CRs-Fixed: 1102048 Change-Id: I36126ecdb0d2683d27d78dea9256bee0be67c1a6 Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/sound/qcom-audio-dev.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/qcom-audio-dev.txt b/Documentation/devicetree/bindings/sound/qcom-audio-dev.txt
index f79f49608743..8c550ff70b2b 100644
--- a/Documentation/devicetree/bindings/sound/qcom-audio-dev.txt
+++ b/Documentation/devicetree/bindings/sound/qcom-audio-dev.txt
@@ -2334,6 +2334,11 @@ Optional properties:
- qcom,wsa-devs : List of phandles for all possible WSA881x devices supported for the target
- qcom,wsa-aux-dev-prefix : Name prefix with Left/Right configuration for WSA881x device
- qcom,wcn-btfm : Property to specify if WCN BT/FM chip is used for the target
+- qcom,msm-mbhc-usbc-audio-supported : Property to specify if analog audio feature is
+ enabled or not.
+- qcom,usbc-analog-en1_gpio : EN1 GPIO to enable USB type-C analog audio
+- qcom,usbc-analog-en2_n_gpio : EN2 GPIO to enable USB type-C analog audio
+- qcom,usbc-analog-force_detect_gpio : Force detect GPIO to enable USB type-C analog audio
Example:
@@ -2407,6 +2412,10 @@ Example:
<&wsa881x_213>, <&wsa881x_214>;
qcom,wsa-aux-dev-prefix = "SpkrRight", "SpkrLeft",
"SpkrRight", "SpkrLeft";
+ qcom,msm-mbhc-usbc-audio-supported = <1>;
+ qcom,usbc-analog-en1_gpio = <&wcd_usbc_analog_en1_gpio>;
+ qcom,usbc-analog-en2_n_gpio = <&wcd_usbc_analog_en2n_gpio>;
+ qcom,usbc-analog-force_detect_gpio = <&wcd_usbc_analog_f_gpio>;
};
* MSMSTUB ASoC Machine driver