diff options
| author | Neeraj Upadhyay <neeraju@codeaurora.org> | 2017-02-21 11:29:09 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-02-21 06:30:38 -0800 |
| commit | cc87fca66904085f1db39260f337328752ae0de8 (patch) | |
| tree | 742fd1da142890d8d2ad694a2424663c91872a44 | |
| parent | b3b8bcbb9aa759107ddaf6d6bb4088ad623f2bab (diff) | |
ARM: dts: msm: Add support for audio over USBC for SDM630
Add device tree file for analog audio over USBC support
for MTP platform of SDM630.
Change-Id: I71559108a94890cdb1cbdf4ac76eab92a56ff953
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
| -rw-r--r-- | arch/arm/boot/dts/qcom/Makefile | 1 | ||||
| -rw-r--r-- | arch/arm/boot/dts/qcom/sdm630-usbc-audio-mtp.dts | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makefile index c50ca36af42c..db37dc6f31bb 100644 --- a/arch/arm/boot/dts/qcom/Makefile +++ b/arch/arm/boot/dts/qcom/Makefile @@ -189,6 +189,7 @@ dtb-$(CONFIG_ARCH_SDM660) += sdm660-sim.dtb \ dtb-$(CONFIG_ARCH_SDM630) += sdm630-rumi.dtb \ sdm630-pm660a-rumi.dtb \ sdm630-mtp.dtb \ + sdm630-usbc-audio-mtp.dtb \ sdm630-cdp.dtb \ sdm630-rcm.dtb \ sdm630-internal-codec-mtp.dtb \ diff --git a/arch/arm/boot/dts/qcom/sdm630-usbc-audio-mtp.dts b/arch/arm/boot/dts/qcom/sdm630-usbc-audio-mtp.dts new file mode 100644 index 000000000000..eb089b524fef --- /dev/null +++ b/arch/arm/boot/dts/qcom/sdm630-usbc-audio-mtp.dts @@ -0,0 +1,31 @@ +/* Copyright (c) 2017, The Linux Foundation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 and + * only version 2 as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + + +/dts-v1/; + +#include "sdm630.dtsi" +#include "sdm630-mtp.dtsi" +#include "sdm660-external-codec.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. SDM 630 PM660 + PM660L, USBC Audio MTP"; + compatible = "qcom,sdm630-mtp", "qcom,sdm630", "qcom,mtp"; + qcom,board-id = <8 2>; + qcom,pmic-id = <0x0001001b 0x0101011a 0x0 0x0>, + <0x0001001b 0x0201011a 0x0 0x0>; +}; + +&tavil_snd { + qcom,msm-mbhc-moist-cfg = <0>, <0>, <3>; + qcom,msm-mbhc-usbc-audio-supported = <1>; +}; |
