arm64: dts: imx8mp-msc-sm2s: Add sound card
authorLuca Ceresoli <luca.ceresoli@bootlin.com>
Mon, 29 May 2023 09:57:28 +0000 (11:57 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sun, 4 Jun 2023 12:41:05 +0000 (20:41 +0800)
commitd874b9f7f28335809df27d6e0def4103e34c534a
treeb5c78705c53a1c5604fe47d05103543d6b3b7e1b
parentf5402fff11b00466b664ad75d951a06fe8e4a20d
arm64: dts: imx8mp-msc-sm2s: Add sound card

The MSC SM2-MB-EP1 carrier board for the SM2S-IMX8PLUS SMARC module has an
NXP SGTL5000 audio codec connected to I2S-0 (sai2).

This requires to:

 * add the power supplies (always on)
 * enable sai2 with pinmuxes
 * reparent the CLKOUT1 clock that feeds the codec SYS_MCLK to
   IMX8MP_CLK_24M in order it to generate an accurate 24 MHz rate

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s-ep1.dts