arm64: dts: imx8mp-phyboard-pollux-peb-av-10: Fix SAI master assignment
Subsystems (2)
PATCH v2 1/1 arm64: dts: imx8mp-phyboard-pollux-peb-av-10: Fix SAI master assignment
The dailink_master label was placed on the codec sub-node instead of the CPU sub-node, configuring the codec as I2S bitclock/frame master with SAI2 as slave. On this board, BCLK and LRCLK are wired the other way around: SAI2 must be bus master, with the codec as I2S slave.
Move dailink_master to the CPU sub-node so SAI2 drives BCLK and LRCLK, fixing broken audio on the PHYTEC phyBOARD-Pollux-i.MX8MP board with PEB-AV-10 Audio/Video expansion board. Also remove the spurious clocks property from the codec sub-node, which had no effect in this topology.
---
Changes in v2:
- reword commit message to avoid topology confusion
Link to v1: https://lore.kernel.org/all/[email protected]/
.../boot/dts/freescale/imx8mp-phyboard-pollux-peb-av-10.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-peb-av-10.dtsi +2 -3
@@ -77,13 +77,12 @@ sound { "MIC3R", "Microphone Jack", "Microphone Jack", "Mic Bias"; - simple-audio-card,cpu { + dailink_master: simple-audio-card,cpu { sound-dai = <&sai2>; }; - dailink_master: simple-audio-card,codec { + simple-audio-card,codec { sound-dai = <&codec>; - clocks = <&clk IMX8MP_CLK_SAI2>; }; }; };
Signature · 1 line
2.34.1
Quoted 5 lines
The
dailink_masterlabel was placed on the codec sub-node instead of the CPU sub-node, configuring the codec as I2S bitclock/frame master with SAI2 as slave. On this board, BCLK and LRCLK are wired the other way around: SAI2 must be bus master, with the codec as I2S slave.
Quoted 7 lines
Move
dailink_masterto the CPU sub-node so SAI2 drives BCLK and LRCLK, fixing broken audio on the PHYTEC phyBOARD-Pollux-i.MX8MP board with PEB-AV-10 Audio/Video expansion board. Also remove the spurious clocks property from the codec sub-node, which had no effect in this topology.Fixes 7012f551081f ("arm64: dts: imx8mp pollux: add expansion board overlay")Signed-off-by Primoz Fiser <[email protected]>
Regards,
Chancel Liu
Quoted 29 lines
---
Changes in v2:
- reword commit message to avoid topology confusionLink to v1: https://lore.kernel.org/all/[email protected]/
.../boot/dts/freescale/imx8mp-phyboard-pollux-peb-av-10.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-peb-av-10.dtsi +2
-3@@ -77,13 +77,12 @@ sound { "MIC3R", "Microphone Jack", "Microphone Jack", "Mic Bias"; - simple-audio-card,cpu { + dailink_master: simple-audio-card,cpu { sound-dai = <&sai2>; }; - dailink_master: simple-audio-card,codec { + simple-audio-card,codec { sound-dai = <&codec>; - clocks = <&clk IMX8MP_CLK_SAI2>; }; }; };
[email protected]
AppliedFrom: Frank Li <[email protected]>
Quoted 11 lines · Primoz Fiser
The
dailink_masterlabel was placed on the codec sub-node instead of the CPU sub-node, configuring the codec as I2S bitclock/frame master with SAI2 as slave. On this board, BCLK and LRCLK are wired the other way around: SAI2 must be bus master, with the codec as I2S slave.Move
dailink_masterto the CPU sub-node so SAI2 drives BCLK and LRCLK, fixing broken audio on the PHYTEC phyBOARD-Pollux-i.MX8MP board with PEB-AV-10 Audio/Video expansion board. Also remove the spurious clocks property from the codec sub-node, which had no effect in this topology.[...]
Applied, thanks!
[1/1] arm64: dts: imx8mp-phyboard-pollux-peb-av-10: Fix SAI master assignment
commit: 1c3f5701bc0ff5cbe56bdae76157047d47051d44
Best regards,
Signature · 1 line
Frank Li <[email protected]>