Hikey - audio i2s input

Hi,

I’d like to understand this quote from the Hikey user hardware manual :
“[about i2s signals] the optional DI signal is not implemented on the HiKey board.”

According to the HW schematics it seems this pin is wired from the hi6220 to the LS
expansion port. What’s missing ?

I should be able to test it myself in a few weeks but I’m gathering as much info as I can beforehand.

Thanks

1 Like

The HW schematics is correct. I2S on LS expansion port has all four ports:
MODEM_PCM_XFS
MODEM_PCM_XCLK
MODEM_PCM_DO
MODEM_PCM_DI

-Guodong

Hi,

I am trying to use below pins to connect an I2S device.

MODEM_PCM_XFS
MODEM_PCM_XCLK
MODEM_PCM_DO
MODEM_PCM_DI

Is there any instruction on how to enable this interface?
Device tree entry for I2S and audio platform driver details would be helpful.
I am currently using linaro 4.4 kernel

Regards,
Sharada

dummy

Hi @sharada @skumar,
Can you make it work?

You can see the dts file of the hikey ie hi6220.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 */
#sound-dai-cells = <1>;
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”;
};

Can you able to make the audio working on ur device?

How to enable that interface to get the audio i2s data?

Are the i2s lines that exposed at the low-speed expansion header configured for the PCM lines or I need to configure them?

I tried understanding those but no use.

It seems I am missing something.

Can anyone understand about those lines that exposed at the low-speed expansion header on the hikey board?

Do I need to add any pinctrl info in the dts file?

https://discuss.96boards.org/t/any-configuration-that-i-need-to-enable-the-pcm-lines-on-the-low-speed-expansion-header