Received: by 10.223.176.46 with SMTP id f43csp400759wra; Fri, 26 Jan 2018 00:24:52 -0800 (PST) X-Google-Smtp-Source: AH8x225EBSfjmgeuaEPdpPcOWMJ822/nTfadlvtTDwt7Q6iWDWK8hOg6I2f/oGjXYCmcDOiKNPb/ X-Received: by 2002:a17:902:8e8a:: with SMTP id bg10-v6mr14119457plb.162.1516955092867; Fri, 26 Jan 2018 00:24:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516955092; cv=none; d=google.com; s=arc-20160816; b=OU36roAHnP/thfGxzC6viWXlV6szOK4i3iVtOs/OCSNVLbZC8PjVBeDZXD/G3CBh0w VTdJo3TjPDrNIyx+5l3Jr3vScKFJnZeC6lEyFBW2ZuOhJuBYOCAuRQHAgcZBtua/ffPK kHL2EbYDfUMwJF3eZVFK8BJXqBu3MeR0BxK8lsroL1+q1xsMk7spaZno0hXNeyKklCXJ CWje8dYo/PwYoolmIUz0eDvYz1//jUBu1f2MDVhDf2S8qbjbU8PSYboeG9FhdBSLFk4f QehhwmfFPE9uBMbTBpoIr1sdUY4VSbHYerA69S+Uxp3uNa/fO8hyJHeRCdzvz42+zKlu sPag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=dbVFbiq9EONpswwltD80xcKhlizn5+lGaAblOdw0a8Q=; b=G+6yJRdSu0vE64MdKVkhAlhy6JTErdQ/ZKxP5TkTtfcnsH3WC/+YUI3yVZqPYpAJZ/ d1vno5LTPOzUjwVcDOj37uvGr6kxUyY+8BXNmewU6wwKwQmGWg5ikQsAzFvk2xGnB4yP mTonSB7LyZko0PmDryinCqRHJ27ehGU8+Tqtk6YIPOCEvyhJOWTKQFJ+9EyA/ITnGtYd tWLoLK4ctyavP7r9Z+dtl7sKOwCdpeLBEEamU6r9b7rkCLfI6ZJo5D/LI0CNcjpKkIR4 X59DhYnHmdAX0v9A3a5SyWUmmlr/LRoYTbL43scj+rKTDfk11f9IYT4neykjnTBVzAz8 tEUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b20si2714201pgn.655.2018.01.26.00.24.38; Fri, 26 Jan 2018 00:24:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752342AbeAZIYI (ORCPT + 99 others); Fri, 26 Jan 2018 03:24:08 -0500 Received: from smtprelay05.ispgateway.de ([80.67.31.99]:54201 "EHLO smtprelay05.ispgateway.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752219AbeAZIYF (ORCPT ); Fri, 26 Jan 2018 03:24:05 -0500 Received: from [89.1.81.74] (helo=ipc1.ka-ro) by smtprelay05.ispgateway.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1eezIx-0003jb-9w; Fri, 26 Jan 2018 09:24:11 +0100 Received: from lothar by ipc1.ka-ro with local (Exim 4.84_2 #2 (Debian)) id 1eezIm-0005W9-GI; Fri, 26 Jan 2018 09:24:00 +0100 From: =?UTF-8?q?Lothar=20Wa=C3=9Fmann?= To: Shawn Guo , Sascha Hauer , Fabio Estevam , Rob Herring , Mark Rutland , Russell King , linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Cc: =?UTF-8?q?Lothar=20Wa=C3=9Fmann?= Subject: [PATCH 2/3] ARM: dts: imx6ull: add support for the esai interface Date: Fri, 26 Jan 2018 09:23:51 +0100 Message-Id: <1516955032-21167-3-git-send-email-LW@KARO-electronics.de> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1516955032-21167-1-git-send-email-LW@KARO-electronics.de> References: <1516955032-21167-1-git-send-email-LW@KARO-electronics.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Df-Sender: bHdAa2Fyby1lbGVjdHJvbmljcy5kZQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The address space taken by the UART8 on the i.MX6UL is used for the ESAI interface on i.MX6ULL. Since the ESAI unit on i.MX6ULL has two more bits in the TFCR register (TFIN, TAENB) it deserves to get its own compatible string, though the bits are currently not used by the driver. Signed-off-by: Lothar Waßmann --- Documentation/devicetree/bindings/sound/fsl,esai.txt | 4 ++-- arch/arm/boot/dts/imx6ull.dtsi | 17 +++++++++++++++++ sound/soc/fsl/fsl_esai.c | 1 + 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/fsl,esai.txt b/Documentation/devicetree/bindings/sound/fsl,esai.txt index cacd18b..4103f46 100644 --- a/Documentation/devicetree/bindings/sound/fsl,esai.txt +++ b/Documentation/devicetree/bindings/sound/fsl,esai.txt @@ -7,8 +7,8 @@ other DSPs. It has up to six transmitters and four receivers. Required properties: - - compatible : Compatible list, must contain "fsl,imx35-esai" or - "fsl,vf610-esai" + - compatible : Compatible list, must contain "fsl,imx35-esai", + "fsl,vf610-esai" or "fsl,imx6ull-esai" - reg : Offset and length of the register set for the device. diff --git a/arch/arm/boot/dts/imx6ull.dtsi b/arch/arm/boot/dts/imx6ull.dtsi index abc815f..8724fdb2 100644 --- a/arch/arm/boot/dts/imx6ull.dtsi +++ b/arch/arm/boot/dts/imx6ull.dtsi @@ -47,6 +47,23 @@ aips-bus@2000000 { spba-bus@2000000 { /delete-node/ serial@2024000; + + esai: esai@2024000 { + compatible = "fsl,imx6ull-esai", "fsl,imx35-esai"; + reg = <0x02024000 0x4000>; + interrupts = ; + clocks = <&clks IMX6ULL_CLK_ESAI_IPG>, + <&clks IMX6ULL_CLK_ESAI_MEM>, + <&clks IMX6ULL_CLK_ESAI_EXTAL>, + <&clks IMX6ULL_CLK_ESAI_IPG>, + <&clks IMX6UL_CLK_SPBA>; + clock-names = "core", "mem", "extal", + "fsys", "spba"; + dmas = <&sdma 0 21 0>, + <&sdma 47 21 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; }; }; diff --git a/sound/soc/fsl/fsl_esai.c b/sound/soc/fsl/fsl_esai.c index cef79a1..5b6a53f 100644 --- a/sound/soc/fsl/fsl_esai.c +++ b/sound/soc/fsl/fsl_esai.c @@ -910,6 +910,7 @@ static int fsl_esai_probe(struct platform_device *pdev) } static const struct of_device_id fsl_esai_dt_ids[] = { + { .compatible = "fsl,imx6ull-esai", }, { .compatible = "fsl,imx35-esai", }, { .compatible = "fsl,vf610-esai", }, {} -- 2.1.4