Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: stm32: add hdmi audio support to stm32mp157a-dk1 board

Add HDMI audio support through Sil9022 HDMI transceiver
on stm32mp157a-dk1 board.

Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>

authored by

Olivier Moysan and committed by
Alexandre Torgue
376d5d86 4951d995

+26 -1
+26 -1
arch/arm/boot/dts/stm32mp157a-dk1.dts
··· 93 93 "Playback" , "MCLK", 94 94 "Capture" , "MCLK", 95 95 "MICL" , "Mic Bias"; 96 - dais = <&sai2a_port &sai2b_port>; 96 + dais = <&sai2a_port &sai2b_port &i2s2_port>; 97 97 status = "okay"; 98 98 }; 99 99 }; ··· 174 174 reset-gpios = <&gpioa 10 GPIO_ACTIVE_LOW>; 175 175 interrupts = <1 IRQ_TYPE_EDGE_FALLING>; 176 176 interrupt-parent = <&gpiog>; 177 + #sound-dai-cells = <0>; 177 178 status = "okay"; 178 179 179 180 ports { ··· 185 184 reg = <0>; 186 185 sii9022_in: endpoint { 187 186 remote-endpoint = <&ltdc_ep0_out>; 187 + }; 188 + }; 189 + 190 + port@3 { 191 + reg = <3>; 192 + sii9022_tx_endpoint: endpoint { 193 + remote-endpoint = <&i2s2_endpoint>; 188 194 }; 189 195 }; 190 196 }; ··· 375 367 watchdog { 376 368 compatible = "st,stpmic1-wdt"; 377 369 status = "disabled"; 370 + }; 371 + }; 372 + }; 373 + 374 + &i2s2 { 375 + clocks = <&rcc SPI2>, <&rcc SPI2_K>, <&rcc PLL3_Q>, <&rcc PLL3_R>; 376 + clock-names = "pclk", "i2sclk", "x8k", "x11k"; 377 + pinctrl-names = "default", "sleep"; 378 + pinctrl-0 = <&i2s2_pins_a>; 379 + pinctrl-1 = <&i2s2_pins_sleep_a>; 380 + status = "okay"; 381 + 382 + i2s2_port: port { 383 + i2s2_endpoint: endpoint { 384 + remote-endpoint = <&sii9022_tx_endpoint>; 385 + format = "i2s"; 386 + mclk-fs = <256>; 378 387 }; 379 388 }; 380 389 };