boards: stm23: Move IS pinmux to new DT API
Convert the board and clean up I2S driver from these symbols Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
0d59f63c0a
commit
7d1fc6d08c
6 changed files with 9 additions and 40 deletions
|
@ -920,20 +920,20 @@ static void i2s_stm32_irq_config_func_##index(struct device *dev) \
|
|||
|
||||
#if DT_HAS_NODE(DT_NODELABEL(i2s1))
|
||||
I2S_INIT(1, 2)
|
||||
#endif /* CONFIG_I2S_1 */
|
||||
#endif
|
||||
|
||||
#if DT_HAS_NODE(DT_NODELABEL(i2s2))
|
||||
I2S_INIT(2, 1)
|
||||
#endif /* CONFIG_I2S_2 */
|
||||
#endif
|
||||
|
||||
#if DT_HAS_NODE(DT_NODELABEL(i2s3))
|
||||
I2S_INIT(3, 1)
|
||||
#endif /* CONFIG_I2S_3 */
|
||||
#endif
|
||||
|
||||
#if DT_HAS_NODE(DT_NODELABEL(i2s4))
|
||||
I2S_INIT(4, 2)
|
||||
#endif /* CONFIG_I2S_4 */
|
||||
#endif
|
||||
|
||||
#if DT_HAS_NODE(DT_NODELABEL(i2s5))
|
||||
I2S_INIT(5, 2)
|
||||
#endif /* CONFIG_I2S_5 */
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue