Hey guys,
I am trying to enable the i2s lines that are exposed on the low-speed expansion header on the hikey.
I tweaked the i2s driver and enabled the s3 intereface clock by writing into a register and did few configurations related to the s3 i2s. By doing that it should generate the clock (BCLK and LRCLK).
I am not bothering about the data in and data out currently.
The thing that I want to know is, I am not getting any signals from the low-speed expansion header.
What I need to do to enable the low-speed exapsion header lines.
If I can enable I may get the clock.
Current i2s settings in the dtsi
i2s0: hi6210_i2s {
compatible = "hisilicon,hi6210-i2s";
reg = <0x0 0xf7118000 0x0 0x8000>, /* i2s unit */
<0x0 0xf7030000 0x0 0x400>, /* syscon */
<0x0 0xf7032000 0x0 0x400>; /* pmctrl */
interrupts = <0 123 0x4>; /* 155 "DigACodec_intr" - 32 */
pinctrl-names = "default";
pinctrl-0 = <&bt_pmx_func &bt_cfg_func>;
clocks = <&sys_ctrl HI6220_DACODEC_PCLK>,
<&sys_ctrl HI6220_BBPPLL0_DIV>;
clock-names = "dacodec", "i2s-base";
dmas = <&dma0 15 &dma0 14>;
dma-names = "rx", "tx";
};
The thing that I am doubting here is about the pinctrl-0 = <&bt_pmx_func &bt_cfg_func>;
What I need to change to enable the lines on the low-speed expansion header.
Or Any suggestions on debugging this can help alot.