From patchwork Mon May 31 10:01:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 12289105 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4976CC47082 for ; Mon, 31 May 2021 10:03:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 11DE761028 for ; Mon, 31 May 2021 10:03:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 11DE761028 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=embedded.rocks Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=/kYTZgt6cjf64WzRnVcFollxfJ/wMEb4z6OBIA9EySM=; b=Ju0ONOPKQqPjnx Ako9921Vf+KIOvnQcQMg2oNRQ2jVQIhlc1bI1Q7CxqzWGqMqsc3DU91wydgdFPIVEJoDhlev30Gw5 0tmYL+OxaHUYdtC54MuwZFtfc49PMdv0awQcI7g/zISb8OaUJAzCM8KxFxOsY0hT/OFpxNP3sFJra jYhfpi1ccxn7w0AltOJoCtZGWvUsQ3Y/nNmi6QH+MORrRe60Zs/xekTsyRZuNJb0r+dZoFiCst5+n bt5XkAiiUPlCDdpk6DY5ZEhxAiUhknwBNxcVpmUZfBqP9TH8JN86lsP+2cUhIoHBgM+oSerz2YXMl miaUet7a0BHElXDkopMg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lnejq-00BmEm-8q; Mon, 31 May 2021 10:01:39 +0000 Received: from mout01.posteo.de ([185.67.36.141]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lneji-00Bm9e-5y for linux-arm-kernel@lists.infradead.org; Mon, 31 May 2021 10:01:31 +0000 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 2A24A24003B for ; Mon, 31 May 2021 12:01:22 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FtrQy5pR3z9ryP; Mon, 31 May 2021 12:01:14 +0200 (CEST) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:x-mailer:message-id:date:date:subject:subject:from :from:received:received; s=default; t=1622455273; x=1623060074; bh=OIuWI7AhbBemmlHcFj5/7L7xmO3NrDLr6D02tHl7jF4=; b=Z8J1D02iopDI dcCaN/n27B+wsbz+IPpPDVICTZ72hicEr8zbb+zBMyFiO8P6buWt7wnXD/eoEFnA SOkSsANfT/rEF02xZorbPFqmfFP3GqnYhgKDuXxgHyN5hRerGumuxIt6cw3Tcz2+ oJoZol5Xz9FNUfvKNxUwmdeS3ow9nLqFFaCDJ6Do7dL+23JiT9A+asG8GQ6Z6jCE kiKJrSdNH6AX2bOd0WWJz8fMvqJp3Th3+Km9Tk2CDPgAvlHQzUkYz+RqDtW2hi5A PLRHZMJgQ8YJZ7Nry1LFICb5VA3UqOlOlYk/6lrrZGO7d3nDO47CA5jJ7ht5pHLY dpMfQjGnMA== Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 5WiBOl99k325; Mon, 31 May 2021 12:01:13 +0200 (CEST) Received: from nzxt.fritz.box (port-92-195-13-167.dynamic.as20676.net [92.195.13.167]) (Authenticated sender: joerg.krause@embedded.rocks) by mail.embedded.rocks (Postfix) with ESMTPSA; Mon, 31 May 2021 12:01:13 +0200 (CEST) From: =?utf-8?q?J=C3=B6rg_Krause?= To: linux-arm-kernel@lists.infradead.org Cc: Fabio Estevam , Shawn Guo , Sascha Hauer , NXP Linux Team , =?utf-8?q?J=C3=B6rg_Krause?= Subject: [PATCH 1/1] ARM: dts: imx6ul: add spdif node Date: Mon, 31 May 2021 10:01:08 +0000 Message-Id: <20210531100108.162056-1-joerg.krause@embedded.rocks> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210531_030130_454998_4D133305 X-CRM114-Status: GOOD ( 11.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- 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"; + reg = <0x02004000 0x4000>; + interrupts = ; + 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>;