audio: Add support for POCO F5 Pro/Redmi K60 (mondrian|M11A)

Change-Id: I2cc8164b81ae4eec289b22543ef337055b1f0b20
This commit is contained in:
Arian
2024-03-13 00:29:36 +01:00
parent b0dc9a02ad
commit 784e89ac7e
2 changed files with 52 additions and 1 deletions

View File

@@ -57,7 +57,8 @@ dtbo-$(CONFIG_ARCH_CAPE) += cape-audio.dtbo \
ukee-audio-cdp.dtbo \
unicorn-audio.dtbo \
thor-audio.dtbo \
mayfly-audio.dtbo
mayfly-audio.dtbo \
mondrian-audio.dtbo
always-y := $(dtb-y) $(dtbo-y)
subdir-y := $(dts-dirs)

View File

@@ -0,0 +1,50 @@
/dts-v1/;
/plugin/;
#include "xiaomi-sm8450-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Cape MTP";
compatible = "qcom,cape-mtp", "qcom,cape", "qcom,mtp";
qcom,msm-id = <530 0x10000>, <531 0x10000>, <540 0x10000>;
qcom,board-id = <0x10008 0>;
xiaomi,miboard-id = <0xE 0>;
};
&soc {
sbu_uart_en: msm_cdc_pinctrl@12 {
compatible = "qcom,msm-cdc-pinctrl";
pinctrl-names = "aud_active", "aud_sleep";
pinctrl-0 = <&sbu_uart_en_active_dit>;
pinctrl-1 = <&sbu_uart_en_idle_dit>;
#gpio-cells = <0>;
};
};
&tlmm {
sbu_uart_en_idle_dit: uart_audio_en_idle_dit {
mux {
pins = "gpio12";
function = "gpio";
};
config {
pins = "gpio12";
drive-strength = <2>;
bias-pull-down;
output-low;
};
};
sbu_uart_en_active_dit: uart_audio_en_active_dit {
mux {
pins = "gpio12";
function = "gpio";
};
config {
pins = "gpio12";
drive-strength = <2>;
bias-disable;
output-high;
};
};
};