Skip to content

Commit

Permalink
soundcard
Browse files Browse the repository at this point in the history
  • Loading branch information
M0Rf30 committed Apr 28, 2023
1 parent 26a4732 commit 47d9da3
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8953-xiaomi-vince.dts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,31 @@
status = "okay";
};

&sound_card {
status = "okay";

model = "xiaomi-vince";

pinctrl-names = "default", "sleep";
pinctrl-0 = <&cdc_pdm_lines_act &cdc_pdm_lines_2_act &cdc_pdm_comp_lines_act &pri_tlmm_default>;
pinctrl-1 = <&cdc_pdm_lines_sus &cdc_pdm_lines_2_sus &cdc_pdm_comp_lines_sus &pri_tlmm_default>;

// quinary-mi2s-dai-link {
// link-name = "Quinary MI2S";
// cpu {
// sound-dai = <&q6afedai QUINARY_MI2S_RX>;
// };

// platform {
// sound-dai = <&q6routing>;
// };

// codec {
// sound-dai = <&tas2557_codec>;
// };
// };
};

&tas2557_codec {
status = "okay";
};
Expand All @@ -157,6 +182,13 @@
drive-strength = <2>;
bias-pull-up;
};

pri_tlmm_default: pri-tlmm-pins {
pins = "gpio88", "gpio91", "gpio93";
function = "pri_mi2s";
drive-strength = <8>;
bias-disable;
};
};

&uart_0 {
Expand Down

0 comments on commit 47d9da3

Please sign in to comment.