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
|
@ -61,29 +61,4 @@ config I2S_STM32_PLLI2S_PLLR
|
|||
frequency is less than or equal to 192MHz.
|
||||
Allowed values: 2-7
|
||||
|
||||
config I2S_1
|
||||
bool "I2S port 1"
|
||||
help
|
||||
Enable I2S controller port 1.
|
||||
|
||||
config I2S_2
|
||||
bool "I2S port 2"
|
||||
help
|
||||
Enable I2S controller port 2.
|
||||
|
||||
config I2S_3
|
||||
bool "I2S port 3"
|
||||
help
|
||||
Enable I2S controller port 3.
|
||||
|
||||
config I2S_4
|
||||
bool "I2S port 4"
|
||||
help
|
||||
Enable I2S controller port 4.
|
||||
|
||||
config I2S_5
|
||||
bool "I2S port 5"
|
||||
help
|
||||
Enable I2S controller port 5.
|
||||
|
||||
endif # I2S_STM32
|
||||
|
|
|
@ -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