From: Matthias Schiffer <matthias.schiffer@ew.tq-group.com> To: Rob Herring <robh+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de> Cc: Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Matthias Schiffer <matthias.schiffer@ew.tq-group.com> Subject: [PATCH 09/13] ARM: dts: imx7-mba7: add audio support Date: Fri, 18 Sep 2020 13:29:38 +0200 [thread overview] Message-ID: <20200918112942.1367-9-matthias.schiffer@ew.tq-group.com> (raw) In-Reply-To: <20200918112942.1367-1-matthias.schiffer@ew.tq-group.com> The MBa7x is equipped with a TI TLV320AIC3204 audio codec. Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com> --- arch/arm/boot/dts/imx7-mba7.dtsi | 38 +++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx7-mba7.dtsi b/arch/arm/boot/dts/imx7-mba7.dtsi index 215730e0453e..9cfaf0a91100 100644 --- a/arch/arm/boot/dts/imx7-mba7.dtsi +++ b/arch/arm/boot/dts/imx7-mba7.dtsi @@ -170,6 +170,20 @@ regulator-max-microvolt = <3300000>; regulator-always-on; }; + + sound { + compatible = "fsl,imx-audio-tlv320aic32x4"; + model = "imx-audio-tlv320aic32x4"; + ssi-controller = <&sai1>; + audio-codec = <&tlv320aic32x4>; + audio-routing = + "IN3_L", "Mic Jack", + "Mic Jack", "Mic Bias", + "IN1_L", "Line In Jack", + "IN1_R", "Line In Jack", + "Line Out Jack", "LOL", + "Line Out Jack", "LOR"; + }; }; &adc1 { @@ -363,13 +377,25 @@ >; }; - pinctrl_pca9555: pca95550grp { fsl,pins = < MX7D_PAD_ENET1_TX_CLK__GPIO7_IO12 0x78 >; }; + pinctrl_sai1: sai1grp { + fsl,pins = < + MX7D_PAD_SAI1_MCLK__SAI1_MCLK 0x11 + MX7D_PAD_SAI1_RX_BCLK__SAI1_RX_BCLK 0x1c + MX7D_PAD_SAI1_RX_DATA__SAI1_RX_DATA0 0x1c + MX7D_PAD_SAI1_RX_SYNC__SAI2_RX_SYNC 0x1c + + MX7D_PAD_SAI1_TX_BCLK__SAI1_TX_BCLK 0x1c + MX7D_PAD_SAI1_TX_DATA__SAI1_TX_DATA0 0x14 + MX7D_PAD_SAI1_TX_SYNC__SAI1_TX_SYNC 0x14 + >; + }; + pinctrl_uart3: uart3grp { fsl,pins = < MX7D_PAD_UART3_RX_DATA__UART3_DCE_RX 0x7e @@ -487,6 +513,16 @@ status = "okay"; }; +&sai1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sai1>; + assigned-clocks = <&clks IMX7D_SAI1_ROOT_SRC>, + <&clks IMX7D_SAI1_ROOT_CLK>; + assigned-clock-parents = <&clks IMX7D_PLL_AUDIO_POST_DIV>; + assigned-clock-rates = <0>, <36864000>; + status = "okay"; +}; + &uart3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart3>; -- 2.17.1
WARNING: multiple messages have this Message-ID (diff)
From: Matthias Schiffer <matthias.schiffer@ew.tq-group.com> To: Rob Herring <robh+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de> Cc: devicetree@vger.kernel.org, Matthias Schiffer <matthias.schiffer@ew.tq-group.com>, linux-kernel@vger.kernel.org, NXP Linux Team <linux-imx@nxp.com>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, linux-arm-kernel@lists.infradead.org Subject: [PATCH 09/13] ARM: dts: imx7-mba7: add audio support Date: Fri, 18 Sep 2020 13:29:38 +0200 [thread overview] Message-ID: <20200918112942.1367-9-matthias.schiffer@ew.tq-group.com> (raw) In-Reply-To: <20200918112942.1367-1-matthias.schiffer@ew.tq-group.com> The MBa7x is equipped with a TI TLV320AIC3204 audio codec. Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com> --- arch/arm/boot/dts/imx7-mba7.dtsi | 38 +++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx7-mba7.dtsi b/arch/arm/boot/dts/imx7-mba7.dtsi index 215730e0453e..9cfaf0a91100 100644 --- a/arch/arm/boot/dts/imx7-mba7.dtsi +++ b/arch/arm/boot/dts/imx7-mba7.dtsi @@ -170,6 +170,20 @@ regulator-max-microvolt = <3300000>; regulator-always-on; }; + + sound { + compatible = "fsl,imx-audio-tlv320aic32x4"; + model = "imx-audio-tlv320aic32x4"; + ssi-controller = <&sai1>; + audio-codec = <&tlv320aic32x4>; + audio-routing = + "IN3_L", "Mic Jack", + "Mic Jack", "Mic Bias", + "IN1_L", "Line In Jack", + "IN1_R", "Line In Jack", + "Line Out Jack", "LOL", + "Line Out Jack", "LOR"; + }; }; &adc1 { @@ -363,13 +377,25 @@ >; }; - pinctrl_pca9555: pca95550grp { fsl,pins = < MX7D_PAD_ENET1_TX_CLK__GPIO7_IO12 0x78 >; }; + pinctrl_sai1: sai1grp { + fsl,pins = < + MX7D_PAD_SAI1_MCLK__SAI1_MCLK 0x11 + MX7D_PAD_SAI1_RX_BCLK__SAI1_RX_BCLK 0x1c + MX7D_PAD_SAI1_RX_DATA__SAI1_RX_DATA0 0x1c + MX7D_PAD_SAI1_RX_SYNC__SAI2_RX_SYNC 0x1c + + MX7D_PAD_SAI1_TX_BCLK__SAI1_TX_BCLK 0x1c + MX7D_PAD_SAI1_TX_DATA__SAI1_TX_DATA0 0x14 + MX7D_PAD_SAI1_TX_SYNC__SAI1_TX_SYNC 0x14 + >; + }; + pinctrl_uart3: uart3grp { fsl,pins = < MX7D_PAD_UART3_RX_DATA__UART3_DCE_RX 0x7e @@ -487,6 +513,16 @@ status = "okay"; }; +&sai1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sai1>; + assigned-clocks = <&clks IMX7D_SAI1_ROOT_SRC>, + <&clks IMX7D_SAI1_ROOT_CLK>; + assigned-clock-parents = <&clks IMX7D_PLL_AUDIO_POST_DIV>; + assigned-clock-rates = <0>, <36864000>; + status = "okay"; +}; + &uart3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart3>; -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-09-18 11:34 UTC|newest] Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-09-18 11:29 [PATCH 01/13] dt-bindings: arm: fsl: update TQ-Systems SoMs and boards based on i.MX7 Matthias Schiffer 2020-09-18 11:29 ` Matthias Schiffer 2020-09-18 11:29 ` [PATCH 02/13] ARM: dts: imx7-tqma7: add SPI-NOR flash Matthias Schiffer 2020-09-18 11:29 ` Matthias Schiffer 2020-10-28 7:38 ` Shawn Guo 2020-10-28 7:38 ` Shawn Guo 2020-09-18 11:29 ` [PATCH 03/13] ARM: dts: imx7-mba7: update compatible strings Matthias Schiffer 2020-09-18 11:29 ` Matthias Schiffer 2020-10-28 8:36 ` Shawn Guo 2020-10-28 8:36 ` Shawn Guo 2020-09-18 11:29 ` [PATCH 04/13] ARM: dts: imx7-mba7: drop incorrect num-chipselects property Matthias Schiffer 2020-09-18 11:29 ` Matthias Schiffer 2020-10-28 7:40 ` Shawn Guo 2020-10-28 7:40 ` Shawn Guo 2020-09-18 11:29 ` [PATCH 05/13] ARM: dts: imx7-mba7: remove unsupported PHY LED setup Matthias Schiffer 2020-09-18 11:29 ` Matthias Schiffer 2020-10-28 7:40 ` Shawn Guo 2020-10-28 7:40 ` Shawn Guo 2020-09-18 11:29 ` [PATCH 06/13] ARM: dts: imx7-mba7: disable ethernet PHY clock outputs Matthias Schiffer 2020-09-18 11:29 ` Matthias Schiffer 2020-10-28 7:41 ` Shawn Guo 2020-10-28 7:41 ` Shawn Guo 2020-09-18 11:29 ` [PATCH 07/13] ARM: dts: imx7-mba7: configure watchdog Matthias Schiffer 2020-09-18 11:29 ` Matthias Schiffer 2020-10-28 8:27 ` Shawn Guo 2020-10-28 8:27 ` Shawn Guo 2020-09-18 11:29 ` [PATCH 08/13] ARM: dts: imx7-mba7: update MMC aliases Matthias Schiffer 2020-09-18 11:29 ` Matthias Schiffer 2020-10-28 8:28 ` Shawn Guo 2020-10-28 8:28 ` Shawn Guo 2020-09-18 11:29 ` Matthias Schiffer [this message] 2020-09-18 11:29 ` [PATCH 09/13] ARM: dts: imx7-mba7: add audio support Matthias Schiffer 2020-10-28 8:30 ` Shawn Guo 2020-10-28 8:30 ` Shawn Guo 2020-09-18 11:29 ` [PATCH 10/13] ARM: dts: imx7-mba7: add default SPI-NOR flash partition layout Matthias Schiffer 2020-09-18 11:29 ` Matthias Schiffer 2020-09-18 11:29 ` [PATCH 11/13] ARM: dts: imx7-mba7: enable RS485 on UART7 Matthias Schiffer 2020-09-18 11:29 ` Matthias Schiffer 2020-10-28 8:33 ` Shawn Guo 2020-10-28 8:33 ` Shawn Guo 2020-09-18 11:29 ` [PATCH 12/13] ARM: dts: imx7-mba7: specify USB over-current polarity Matthias Schiffer 2020-09-18 11:29 ` Matthias Schiffer 2020-10-28 8:34 ` Shawn Guo 2020-10-28 8:34 ` Shawn Guo 2020-09-18 11:29 ` [PATCH 13/13] ARM: dts: imx7-mba7: set dr_mode to otg on usbotg1 Matthias Schiffer 2020-09-18 11:29 ` Matthias Schiffer 2020-10-28 8:36 ` Shawn Guo 2020-10-28 8:36 ` Shawn Guo 2020-09-23 20:50 ` [PATCH 01/13] dt-bindings: arm: fsl: update TQ-Systems SoMs and boards based on i.MX7 Rob Herring 2020-09-23 20:50 ` Rob Herring 2020-10-22 10:46 ` Matthias Schiffer 2020-10-22 10:46 ` Matthias Schiffer 2020-10-28 8:26 ` Shawn Guo 2020-10-28 8:26 ` Shawn Guo
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200918112942.1367-9-matthias.schiffer@ew.tq-group.com \ --to=matthias.schiffer@ew.tq-group.com \ --cc=devicetree@vger.kernel.org \ --cc=festevam@gmail.com \ --cc=kernel@pengutronix.de \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-imx@nxp.com \ --cc=linux-kernel@vger.kernel.org \ --cc=robh+dt@kernel.org \ --cc=s.hauer@pengutronix.de \ --cc=shawnguo@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.