Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 136ce1b5 authored by Aditya Bavanari's avatar Aditya Bavanari
Browse files

ARM: dts: msm: Add support for USB type C audio in sdmmagpie



Add audio support for analog audio over USB type C
target variant of sdmmagpie. Enable usbc audio
supported flag in mbhc.

Change-Id: I9e8e48a30d0ef4f84de2315bf8246b0e2c73baf1
Signed-off-by: default avatarAditya Bavanari <abavanar@codeaurora.org>
parent 93449487
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
#include <dt-bindings/interrupt-controller/arm-gic.h>

#include "sdmmagpie-idp.dtsi"
#include "sdmmagpie-usbc-idp.dtsi"

/ {
	model = "USBC Audio IDP";
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@

#include "sdmmagpie.dtsi"
#include "sdmmagpie-idp.dtsi"
#include "sdmmagpie-usbc-idp.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. SDMMAGPIE PM6150 USBC Audio IDP";
+17 −0
Original line number Diff line number Diff line
/* Copyright (c) 2018, 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.
 */

#include "sdmmagpie-audio-overlay.dtsi"

&sm6150_snd {
	qcom,msm-mbhc-usbc-audio-supported = <1>;
};