Merge "ARM: dts: msm: add node for msmcobalt hardware switches"

This commit is contained in:
Linux Build Service Account 2016-08-18 12:04:44 -07:00 committed by Gerrit - the friendly Code Review server
commit 22f4f2008a
2 changed files with 90 additions and 0 deletions

View file

@ -145,6 +145,9 @@
qcom,msm-mbhc-hphl-swh = <0>;
qcom,msm-mbhc-gnd-swh = <0>;
qcom,us-euro-gpios = <&tavil_us_euro_sw>;
qcom,hph-en0-gpio = <&tavil_hph_en0>;
qcom,hph-en1-gpio = <&tavil_hph_en1>;
qcom,tavil-mclk-clk-freq = <9600000>;
asoc-platform = <&pcm0>, <&pcm1>, <&pcm2>, <&voip>, <&voice>,
<&loopback>, <&compress>, <&hostless>,

View file

@ -34,6 +34,28 @@
gpio-controller;
#gpio-cells = <2>;
us_euro_sw_wcd_active: us_euro_sw_wcd_active {
mux {
pins = "gpio1";
};
config {
pins = "gpio1";
output-high;
};
};
us_euro_sw_wcd_sleep: us_euro_sw_wcd_sleep {
mux {
pins = "gpio1";
};
config {
pins = "gpio1";
output-low;
};
};
spkr_1_wcd_en_active: spkr_1_wcd_en_active {
mux {
pins = "gpio2";
@ -77,6 +99,50 @@
input-enable;
};
};
hph_en0_wcd_active: hph_en0_wcd_active {
mux {
pins = "gpio4";
};
config {
pins = "gpio4";
output-high;
};
};
hph_en0_wcd_sleep: hph_en0_wcd_sleep {
mux {
pins = "gpio4";
};
config {
pins = "gpio4";
output-low;
};
};
hph_en1_wcd_active: hph_en1_wcd_active {
mux {
pins = "gpio5";
};
config {
pins = "gpio5";
output-high;
};
};
hph_en1_wcd_sleep: hph_en1_wcd_sleep {
mux {
pins = "gpio5";
};
config {
pins = "gpio5";
output-low;
};
};
};
wsa_spkr_wcd_sd1: msm_cdc_pinctrll {
@ -92,5 +158,26 @@
pinctrl-0 = <&spkr_2_wcd_en_active>;
pinctrl-1 = <&spkr_2_wcd_en_sleep>;
};
tavil_us_euro_sw: msm_cdc_pinctrl_us_euro_sw {
compatible = "qcom,msm-cdc-pinctrl";
pinctrl-names = "aud_active", "aud_sleep";
pinctrl-0 = <&us_euro_sw_wcd_active>;
pinctrl-1 = <&us_euro_sw_wcd_sleep>;
};
tavil_hph_en0: msm_cdc_pinctrl_hph_en0 {
compatible = "qcom,msm-cdc-pinctrl";
pinctrl-names = "aud_active", "aud_sleep";
pinctrl-0 = <&hph_en0_wcd_active>;
pinctrl-1 = <&hph_en0_wcd_sleep>;
};
tavil_hph_en1: msm_cdc_pinctrl_hph_en1 {
compatible = "qcom,msm-cdc-pinctrl";
pinctrl-names = "aud_active", "aud_sleep";
pinctrl-0 = <&hph_en1_wcd_active>;
pinctrl-1 = <&hph_en1_wcd_sleep>;
};
};
};