Hikey - audio i2s input


#1

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


#2

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


#3

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


#4

dummy


#5

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?


#6

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


#7

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?


#8

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


#9

#10