diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2018-01-26 13:52:53 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:30:24 +0800 |
commit | 4563a03a4b2033e6e558fc81c48bbb4b61b1d1af (patch) | |
tree | 331667cae85585fd8a667483fdff37f64bf65622 /arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-audio-tdm.dts | |
parent | 61f3d134b60070019197368ade149fb56fec364d (diff) |
MLK-17462-4: ARM64: dts : support TDM mode for audio board.
Use a separate dts for tdm mode for ak5558.
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-audio-tdm.dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-audio-tdm.dts | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-audio-tdm.dts b/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-audio-tdm.dts new file mode 100644 index 000000000000..772c77b61a23 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-audio-tdm.dts @@ -0,0 +1,51 @@ +/* + * Copyright 2017 NXP + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#include "fsl-imx8mq-evk.dts" + +/ { + sound-ak4458 { + status = "okay"; + }; + + sound-ak5558 { + fsl,tdm; + status = "okay"; + }; + + sound-ak4497 { + status = "disabled"; + }; +}; + +&sai1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sai1>; + assigned-clocks = <&clk IMX8MQ_CLK_SAI1_SRC>, + <&clk IMX8MQ_CLK_SAI1_DIV>; + assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>; + assigned-clock-rates = <0>, <49152000>; + status = "okay"; +}; + +&sai5 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sai5>; + assigned-clocks = <&clk IMX8MQ_CLK_SAI5_SRC>, + <&clk IMX8MQ_CLK_SAI5_DIV>; + assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>; + assigned-clock-rates = <0>, <49152000>; + fsl,sai-asynchronous; + status = "okay"; +}; |