From d47fc40dc5e96ff4850a3aea35eac1eae53ee7ac Mon Sep 17 00:00:00 2001 From: yaozm1 Date: Sat, 7 Mar 2020 14:31:54 +0800 Subject: [PATCH] arm/dts:Add audio config for guam Add guam audio overlay config. This is for evb bringup. Change-Id: I5b6231a47f42e5d12c276da9b4b5a092aa9a6465 Signed-off-by: yaozm1 Reviewed-on: https://gerrit.mot.com/1508789 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- qcom/bengal-guam-audio-overlay.dtsi | 23 +++++++++++++++++++++++ qcom/bengal-guam-common-overlay.dtsi | 2 ++ qcom/bengal-guamp-common-overlay.dtsi | 2 ++ 3 files changed, 27 insertions(+) create mode 100644 qcom/bengal-guam-audio-overlay.dtsi diff --git a/qcom/bengal-guam-audio-overlay.dtsi b/qcom/bengal-guam-audio-overlay.dtsi new file mode 100644 index 000000000000..6522d95fbb5a --- /dev/null +++ b/qcom/bengal-guam-audio-overlay.dtsi @@ -0,0 +1,23 @@ +/* Copyright (c) 2019, 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 + +&bengal_snd { + qcom,model = "bengal-idp-snd-card"; + + /delete-property/ qcom,cdc-dmic01-gpios; + /delete-property/ qcom,cdc-dmic23-gpios; + + qcom,wsa-max-devs = <0>; + qcom,wsa-devs = <0>; +}; diff --git a/qcom/bengal-guam-common-overlay.dtsi b/qcom/bengal-guam-common-overlay.dtsi index aadde52e116c..9d40115cb21a 100644 --- a/qcom/bengal-guam-common-overlay.dtsi +++ b/qcom/bengal-guam-common-overlay.dtsi @@ -13,6 +13,8 @@ #include #include "bengal-moto-common-overlay.dtsi" #include "bengal-guam-display.dtsi" +#include "bengal-audio-overlay.dtsi" +#include "bengal-guam-audio-overlay.dtsi" &qupv3_se4_2uart { status = "ok"; diff --git a/qcom/bengal-guamp-common-overlay.dtsi b/qcom/bengal-guamp-common-overlay.dtsi index aadde52e116c..9d40115cb21a 100644 --- a/qcom/bengal-guamp-common-overlay.dtsi +++ b/qcom/bengal-guamp-common-overlay.dtsi @@ -13,6 +13,8 @@ #include #include "bengal-moto-common-overlay.dtsi" #include "bengal-guam-display.dtsi" +#include "bengal-audio-overlay.dtsi" +#include "bengal-guam-audio-overlay.dtsi" &qupv3_se4_2uart { status = "ok";