使用的芯片是rk3228h,在使用芯片的i2s接口实现8通道PCM输入时,只能从i2s1_sdi引脚获取到 2 路mic输入的数据,请问在配置的时候是否需要配置其他三个pin(i2s1_sdio1、i2s1o2、i2s1_sdio3)的功能?如果需要的话如何配置呢?
当前i2s1功能的pin脚在设备树中的配置如下:
i2s1 {
i2s1_mclk: i2s1-mclk {
rockchip,pins =
;
};
i2s1_sclk: i2s1-sclk {
rockchip,pins =
<2 GPIO_C2 RK_FUNC_1 &pcfg_pull_none>;
};
i2s1_lrckrx: i2s1-lrckrx {
rockchip,pins =
<2 GPIO_C0 RK_FUNC_1 &pcfg_pull_none>;
};
i2s1_lrcktx: i2s1-lrcktx {
rockchip,pins =
<2 GPIO_C1 RK_FUNC_1 &pcfg_pull_none>;
};
i2s1_sdi: i2s1-sdi {
rockchip,pins =
<2 GPIO_C3 RK_FUNC_1 &pcfg_pull_none>;
};
i2s1_sdo: i2s1-sdo {
rockchip,pins =
<2 GPIO_C7 RK_FUNC_1 &pcfg_pull_none>;
};
i2s1_sdio1: i2s1-sdio1 {
rockchip,pins =
<2 GPIO_C4 RK_FUNC_1 &pcfg_pull_none>;
};
i2s1_sdio2: i2s1-sdio2 {
rockchip,pins =
<2 GPIO_C5 RK_FUNC_1 &pcfg_pull_none>;
};
i2s1_sdio3: i2s1-sdio3 {
rockchip,pins =
<2 GPIO_C6 RK_FUNC_1 &pcfg_pull_none>;
};
i2s1_sleep: i2s1-sleep {
rockchip,pins =
<2 GPIO_B7 RK_FUNC_GPIO &pcfg_input_high>,
<2 GPIO_C0 RK_FUNC_GPIO &pcfg_input_high>,
<2 GPIO_C1 RK_FUNC_GPIO &pcfg_input_high>,
<2 GPIO_C2 RK_FUNC_GPIO &pcfg_input_high>,
<2 GPIO_C3 RK_FUNC_GPIO &pcfg_input_high>,
<2 GPIO_C4 RK_FUNC_GPIO &pcfg_input_high>,
<2 GPIO_C5 RK_FUNC_GPIO &pcfg_input_high>,
<2 GPIO_C6 RK_FUNC_GPIO &pcfg_input_high>,
<2 GPIO_C7 RK_FUNC_GPIO &pcfg_input_high>;
};
};
请问 rockchip,pins = ; 各个值代表的含义是什么,怎样去确认?