Files
android_kernel_motorola_sm6225/qcom/bengal-guam-audio-overlay.dtsi
T
yaozm1 4d5bfb1fbb arm/dts:Add dts config for audio PA
Add config for fs1818;
For guam evb bringup.

Change-Id: I2f38a961665e915f123946be6b07b2c6531599fe
Signed-off-by: yaozm1 <yaozm1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1509789
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:00 -03:00

65 lines
2.0 KiB
Devicetree

/* 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 <dt-bindings/interrupt-controller/irq.h>
&qupv3_se1_i2c {
status = "ok"
fs16xx@34 {
compatible = "foursemi,fs16xx";
reg = <0x34>;
fs,fs-dev = "left";
/* 1V8 supplied by LDO */
vddcore-supply = <&L9A>;
status = "okay";
};
};
/* Add pinctrl for MI2S0 */
&soc {
cdc_pri_mi2s_gpios: msm_cdc_pinctrl_pri {
compatible = "qcom,msm-cdc-pinctrl";
pinctrl-names = "aud_active", "aud_sleep";
pinctrl-0 = <&lpi_i2s1_sck_active &lpi_i2s1_ws_active
&lpi_i2s1_sd0_active &lpi_i2s1_sd1_active>;
pinctrl-1 = <&lpi_i2s1_sck_sleep &lpi_i2s1_ws_sleep
&lpi_i2s1_sd0_sleep &lpi_i2s1_sd1_sleep>;
};
};
/* Configure MI2S0 SD0&SD1 */
&dai_mi2s0 {
/* SD0 line for playback */
qcom,msm-mi2s-rx-lines = <1>;
/* SD1 line for recording(SmartPA EC) */
qcom,msm-mi2s-tx-lines = <2>;
};
/* Modify btfmslim_codec's compatible */
&btfmslim_codec {
compatible = "btfmslim_slave";
status = "ok"
};
&bengal_snd {
qcom,model = "bengal-idp-snd-card";
qcom,mi2s-audio-intf = <1>;
qcom,pri-mi2s-gpios = <&cdc_pri_mi2s_gpios>;
/delete-property/ qcom,cdc-dmic01-gpios;
/delete-property/ qcom,cdc-dmic23-gpios;
qcom,wsa-max-devs = <0>;
qcom,wsa-devs = <0>;
};