mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
ARM: dts: qcom: add audio device tree source files
Add audio device tree source files for A + S. Add gpio for A + S. Change-Id: I666b45cc261f5a641c3c6f6ddb1626e5bdff8c35
This commit is contained in:
parent
c765d8b9a5
commit
be6ba36c16
5 changed files with 181 additions and 0 deletions
|
|
@ -126,6 +126,36 @@
|
|||
};
|
||||
};
|
||||
|
||||
quat_mi2s_sd1 {
|
||||
quat_mi2s_sd1_sleep: quat_mi2s_sd1_sleep {
|
||||
mux {
|
||||
pins = "gpio3";
|
||||
function = "func2";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio3";
|
||||
drive-strength = <2>; /* 2 mA */
|
||||
bias-pull-down; /* PULL DOWN */
|
||||
input-enable;
|
||||
};
|
||||
};
|
||||
|
||||
quat_mi2s_sd1_active: quat_mi2s_sd1_active {
|
||||
mux {
|
||||
pins = "gpio3";
|
||||
function = "func2";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio3";
|
||||
drive-strength = <8>; /* 8 mA */
|
||||
bias-disable; /* NO PULL */
|
||||
output-high;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
tx_swr_clk_sleep: tx_swr_clk_sleep {
|
||||
mux {
|
||||
pins = "gpio0";
|
||||
|
|
@ -373,5 +403,125 @@
|
|||
input-enable;
|
||||
};
|
||||
};
|
||||
|
||||
lpi_i2s1_sck {
|
||||
lpi_i2s1_sck_sleep: lpi_i2s1_sck_sleep {
|
||||
mux {
|
||||
pins = "gpio6";
|
||||
function = "func2";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio6";
|
||||
drive-strength = <2>; /* 2 mA */
|
||||
bias-pull-down; /* PULL DOWN */
|
||||
input-enable;
|
||||
};
|
||||
};
|
||||
|
||||
lpi_i2s1_sck_active: lpi_i2s1_sck_active {
|
||||
mux {
|
||||
pins = "gpio6";
|
||||
function = "func2";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio6";
|
||||
drive-strength = <8>; /* 8 mA */
|
||||
bias-disable; /* NO PULL */
|
||||
output-high;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
lpi_i2s1_ws {
|
||||
lpi_i2s1_ws_sleep: lpi_i2s1_ws_sleep {
|
||||
mux {
|
||||
pins = "gpio7";
|
||||
function = "func2";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio7";
|
||||
drive-strength = <2>; /* 2 mA */
|
||||
bias-pull-down; /* PULL DOWN */
|
||||
input-enable;
|
||||
};
|
||||
};
|
||||
|
||||
lpi_i2s1_ws_active: lpi_i2s1_ws_active {
|
||||
mux {
|
||||
pins = "gpio7";
|
||||
function = "func2";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio7";
|
||||
drive-strength = <8>; /* 8 mA */
|
||||
bias-disable; /* NO PULL */
|
||||
output-high;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
lpi_i2s1_sd0 {
|
||||
lpi_i2s1_sd0_sleep: lpi_i2s1_sd0_sleep {
|
||||
mux {
|
||||
pins = "gpio8";
|
||||
function = "func2";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio8";
|
||||
drive-strength = <2>; /* 2 mA */
|
||||
bias-pull-down; /* PULL DOWN */
|
||||
input-enable;
|
||||
};
|
||||
};
|
||||
|
||||
lpi_i2s1_sd0_active: lpi_i2s1_sd0_active {
|
||||
mux {
|
||||
pins = "gpio8";
|
||||
function = "func2";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio8";
|
||||
drive-strength = <8>; /* 8 mA */
|
||||
bias-disable; /* NO PULL */
|
||||
output-high;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
lpi_i2s1_sd1 {
|
||||
lpi_i2s1_sd1_sleep: lpi_i2s1_sd1_sleep {
|
||||
mux {
|
||||
pins = "gpio9";
|
||||
function = "func2";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio9";
|
||||
drive-strength = <2>; /* 2 mA */
|
||||
bias-pull-down; /* PULL DOWN */
|
||||
input-enable;
|
||||
};
|
||||
};
|
||||
|
||||
lpi_i2s1_sd1_active: lpi_i2s1_sd1_active {
|
||||
mux {
|
||||
pins = "gpio9";
|
||||
function = "func2";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio9";
|
||||
drive-strength = <8>; /* 8 mA */
|
||||
bias-disable; /* NO PULL */
|
||||
output-high;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
3
qcom/monaco-slate-amic-audio-overlay.dtsi
Normal file
3
qcom/monaco-slate-amic-audio-overlay.dtsi
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
&monaco_snd {
|
||||
qcom,model = "monaco-idp-slate_amic-snd-card";
|
||||
};
|
||||
3
qcom/monaco-slate-audio-overlay.dtsi
Normal file
3
qcom/monaco-slate-audio-overlay.dtsi
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
&monaco_snd {
|
||||
qcom,model = "monaco-idp-slate-snd-card";
|
||||
};
|
||||
22
qcom/monaco-slate-audio.dtsi
Normal file
22
qcom/monaco-slate-audio.dtsi
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#include <dt-bindings/clock/qcom,audio-ext-clk.h>
|
||||
#include "msm-audio-lpass.dtsi"
|
||||
|
||||
&soc {
|
||||
spf_core_platform: spf_core_platform {
|
||||
compatible = "qcom,spf-core-platform";
|
||||
};
|
||||
};
|
||||
|
||||
#include "monaco-lpi.dtsi"
|
||||
|
||||
&spf_core_platform {
|
||||
monaco_snd: sound {
|
||||
compatible = "qcom,monaco-asoc-snd";
|
||||
qcom,mi2s-audio-intf = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
&msm_audio_ion {
|
||||
iommus = <&apps_smmu 0x01c1 0x0>;
|
||||
qcom,smmu-sid-mask = /bits/ 64 <0xf>;
|
||||
};
|
||||
3
qcom/monaco-slate-wsa-audio-overlay.dtsi
Normal file
3
qcom/monaco-slate-wsa-audio-overlay.dtsi
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
&monaco_snd {
|
||||
qcom,model = "monaco-idp-slate_wsa-snd-card";
|
||||
};
|
||||
Loading…
Reference in a new issue