ARM: dts: msm: add new clk for native playback on msmcobalt

MSM GPIO 69 is used as a clock for native playback
on msmcobalt. Add the GPIO 69 configuration along with
pinctrl information.

CRs-Fixed: 1066167
Change-Id: Icd3e82a754867c0f16035a5f3eb7f86ee57c7281
Signed-off-by: Meng Wang <mwang@codeaurora.org>
This commit is contained in:
Meng Wang 2016-09-12 14:53:43 +08:00 committed by Gerrit - the friendly Code Review server
parent b7bf6d2b63
commit c3d1fc7a13
2 changed files with 31 additions and 0 deletions

View file

@ -231,6 +231,9 @@
clocks = <&clock_gcc clk_div_clk1>;
qcom,node_has_rpm_clock;
#clock-cells = <1>;
pinctrl-names = "sleep", "active";
pinctrl-0 = <&spkr_i2s_clk_sleep>;
pinctrl-1 = <&spkr_i2s_clk_active>;
};
clock_audio_lnbb: audio_ext_clk_lnbb {

View file

@ -2715,5 +2715,33 @@
};
};
};
spkr_i2s_clk_pin {
spkr_i2s_clk_sleep: spkr_i2s_clk_sleep {
mux {
pins = "gpio69";
function = "spkr_i2s";
};
config {
pins = "gpio69";
drive-strength = <2>; /* 2 mA */
bias-pull-down; /* PULL DOWN */
};
};
spkr_i2s_clk_active: spkr_i2s_clk_active {
mux {
pins = "gpio69";
function = "spkr_i2s";
};
config {
pins = "gpio69";
drive-strength = <8>; /* 8 mA */
bias-disable; /* NO PULL */
};
};
};
};
};