Change I2S2 FS clock?


#1

Anybody know how to change the FS clock for i2s2? Its currently set to 48 kHz, I need to set it to 8 kHz, and for the life of me, I cant find where it is set.


#2

Resolved.

MCLK: https://android.googlesource.com/kernel/hikey-linaro/+/android-hikey-linaro-4.9/sound/soc/hisilicon/hisi-i2s.h#81
BCLK: https://android.googlesource.com/kernel/hikey-linaro/+/android-hikey-linaro-4.9/sound/soc/hisilicon/hisi-i2s.h#82
FSCLK: https://android.googlesource.com/kernel/hikey-linaro/+/android-hikey-linaro-4.9/sound/soc/hisilicon/hisi-i2s.h#83


#3

Hi @doitright, thanks a lot for sharing this.