mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
Audio: enable BT pcm gpio [1/1]
PD#SWPL-178585 Problem: bt pcm not work Solution: enable BT pcm gpio Verify: use bl201 Change-Id: I32e8d985ed8c1090bf6b72082b7a49fd87ceec48 Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
This commit is contained in:
committed by
gerrit autosubmit
parent
f8806c14da
commit
097a7fda80
@@ -159,7 +159,7 @@
|
||||
#sound-dai-cells = <0>;
|
||||
|
||||
dai-tdm-lane-slot-mask-in = <1 0>;
|
||||
dai-tdm-lane-slot-mask-out = <0 1>;
|
||||
dai-tdm-lane-slot-mask-out = <1 0>;
|
||||
dai-tdm-clk-sel = <0>;
|
||||
clocks = <&clkaudio CLKID_AUDIO_MCLK_A
|
||||
&clkc CLKID_HIFI0_PLL
|
||||
@@ -522,6 +522,16 @@
|
||||
};
|
||||
};
|
||||
|
||||
bt_pcm_gpio_x_pins: gpio_x_pin {
|
||||
mux { /* GPIOX_8 GPIOX_9 GPIOX_10 GPIOX_11 */
|
||||
groups = "tdm_d1_x",
|
||||
"tdm_d0_x",
|
||||
"tdm_fs0_x",
|
||||
"tdm_sclk0_x";
|
||||
function = "tdm";
|
||||
};
|
||||
};
|
||||
|
||||
pdmin: pdminpins {
|
||||
mux { /* GPIOA9 GPIOA10*/
|
||||
groups = "pdm_dclk_a9",
|
||||
@@ -558,7 +568,7 @@
|
||||
};
|
||||
|
||||
&pinctrl_audio {
|
||||
tdm_d3_pins: tdm_d0_pin {
|
||||
tdm_d3_pins: tdm_d3_pin {
|
||||
mux {
|
||||
groups = "tdm_d3";
|
||||
function = "tdmoutc_lane0";
|
||||
@@ -579,6 +589,20 @@
|
||||
};
|
||||
};
|
||||
|
||||
tdm_d1_pins: tdm_d1_pin {
|
||||
mux {
|
||||
groups = "tdm_d1";
|
||||
function = "tdmina_lane0";
|
||||
};
|
||||
};
|
||||
|
||||
tdm_d0_pins: tdm_d0_pin {
|
||||
mux {
|
||||
groups = "tdm_d0";
|
||||
function = "tdmouta_lane0";
|
||||
};
|
||||
};
|
||||
|
||||
tdmc_clk_pins: tdmc_clk_pin {
|
||||
mux {
|
||||
groups = "tdm_sclk1", "tdm_lrclk1";
|
||||
|
||||
@@ -1182,6 +1182,14 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&tdma {
|
||||
pinctrl-names = "tdm_pins";
|
||||
pinctrl-0 = <&bt_pcm_gpio_x_pins
|
||||
&tdm_d1_pins
|
||||
&tdm_d0_pins
|
||||
&tdma_clk_pins>;
|
||||
};
|
||||
|
||||
&tdmc {
|
||||
pinctrl-names = "tdm_pins";
|
||||
pinctrl-0 = <&i2s_gpio_d_pins_1
|
||||
|
||||
Reference in New Issue
Block a user