linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Shawn Guo <shawnguo@kernel.org>
To: "Jörg Krause" <joerg.krause@embedded.rocks>
Cc: linux-arm-kernel@lists.infradead.org,
	Fabio Estevam <festevam@gmail.com>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	NXP Linux Team <linux-imx@nxp.com>
Subject: Re: [PATCH 1/1] ARM: dts: imx6ul: add spdif node
Date: Sat, 12 Jun 2021 15:21:19 +0800	[thread overview]
Message-ID: <20210612072118.GY29138@dragon> (raw)
In-Reply-To: <20210531100108.162056-1-joerg.krause@embedded.rocks>

On Mon, May 31, 2021 at 10:01:08AM +0000, Jörg Krause wrote:
> The i.MX6UL has a SPDIF located at start address 0x02004000 in the
> AIPS-1 memory region [1].
> 
> SPDIF is also available on i.MX6ULL [2], so imx6ull.dtsi is fine.
> 
> [1] i.MX 6UltraLite Applications Processor Reference Manual, Rev. 2,
>     03/2017, Table-2-2 AIPS-1 memory map, p. 158
> [2] i.MX 6ULL Applications Processor Reference Manual, Rev. 1,
>     11/2017, Table-2-2 AIPS-1 memory map, p. 178
> 
> Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
> ---
>  arch/arm/boot/dts/imx6ul.dtsi | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
> index afeec01f6522..f9c867e97b9a 100644
> --- a/arch/arm/boot/dts/imx6ul.dtsi
> +++ b/arch/arm/boot/dts/imx6ul.dtsi
> @@ -210,6 +210,30 @@ spba-bus@2000000 {
>  				reg = <0x02000000 0x40000>;
>  				ranges;
>  
> +				spdif: spdif@2004000 {
> +					compatible = "fsl,imx6ul-spdif", "fsl,imx35-spdif";

New compatible needs to be documented.

Shawn

> +					reg = <0x02004000 0x4000>;
> +					interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
> +					dmas = <&sdma 41 18 0>, <&sdma 42 18 0>;
> +					dma-names = "rx", "tx";
> +					clocks = <&clks IMX6UL_CLK_SPDIF_GCLK>,
> +						 <&clks IMX6UL_CLK_OSC>,
> +						 <&clks IMX6UL_CLK_SPDIF>,
> +						 <&clks IMX6UL_CLK_DUMMY>,
> +						 <&clks IMX6UL_CLK_DUMMY>,
> +						 <&clks IMX6UL_CLK_DUMMY>,
> +						 <&clks IMX6UL_CLK_IPG>,
> +						 <&clks IMX6UL_CLK_DUMMY>,
> +						 <&clks IMX6UL_CLK_DUMMY>,
> +						 <&clks IMX6UL_CLK_SPBA>;
> +					clock-names = "core", "rxtx0",
> +						      "rxtx1", "rxtx2",
> +						      "rxtx3", "rxtx4",
> +						      "rxtx5", "rxtx6",
> +						      "rxtx7", "spba";
> +					status = "disabled";
> +				};
> +
>  				ecspi1: spi@2008000 {
>  					#address-cells = <1>;
>  					#size-cells = <0>;
> -- 
> 2.31.1
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

      parent reply	other threads:[~2021-06-12  7:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-31 10:01 [PATCH 1/1] ARM: dts: imx6ul: add spdif node Jörg Krause
2021-05-31 21:32 ` Fabio Estevam
2021-06-03  8:23   ` Jörg Krause
2021-06-12  7:21 ` Shawn Guo [this message]

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=20210612072118.GY29138@dragon \
    --to=shawnguo@kernel.org \
    --cc=festevam@gmail.com \
    --cc=joerg.krause@embedded.rocks \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=s.hauer@pengutronix.de \
    /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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).