Received: by 10.223.176.46 with SMTP id f43csp436784wra; Fri, 26 Jan 2018 01:06:02 -0800 (PST) X-Google-Smtp-Source: AH8x225ZAYDWKMz6RGcp+TosPMAUoS7KYQbjk68i9wdzznjh6e/hEwv4Yo/fHaeiF0lHN3lUcW2w X-Received: by 10.101.92.9 with SMTP id u9mr15110914pgr.440.1516957562471; Fri, 26 Jan 2018 01:06:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516957562; cv=none; d=google.com; s=arc-20160816; b=MKBuIcafwyqB1fbKIGDV4qAGlUPUVUfZXR9wtC5/vjaPOVJTmOes/TxnxyxtojtyUp 57Z04ZxWsjyimn7HwmTw0rOAERxgjAJMupGP7AjwIOHybr+4hSU32i6mWS+MD4+lPEYY khRIsgHOe73n6P0yesPLzZrzc6wGIRXFZMXMSSBV/mIjDGrTXoDjndO3oTu3lap+Du77 kG44lzfu6mujAm6CMN5bgVYL15BjBg+IYAceIWpNWEzXV2ZM7qnAQQmWwYHUXvhYRnkF ulpV9c9EwExUnjhXNwcKIXC04Lqd9KSEUfEHTM4ujmM5wGJz5IfjYpwCN27G5hW5upVX vZzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=rFIRDE4NQmM4gwG9mwWLqXaL2Q3csl6l0Chyq9Szrss=; b=IIWYO/xxBJlSjqFevNynZ/b60Nlo/+00m0fIseKsOkm0HurDqAKFw/vNJNUh6eTQlt k8qYXlMElnUMRemO1pDVC9V+2RpiPxFQon++opr8I++GrTKpA9KioWtDQvL/zsvFG2Eq jr04abXd1yBb0cUib4r1/G/iaZQr/zvfpQsc4011JMGXu+i0gP5BWHUlPeXKT6+/e6Hi s0842PGCEkGxqfyLoCaQuWLXzyf8icmvqjda5AmAgNe7waHDDzWcGEoxqUHT2QvnlfS0 n8tlACat9pvuQOCLnmlRIqQ0a/Zb1xrrQ+6tMXYNlEMoKdmusqiPBikNS791/WR9C4GG nbmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=b2KIaLd6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t2-v6si3452524plm.26.2018.01.26.01.05.48; Fri, 26 Jan 2018 01:06:02 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=b2KIaLd6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752652AbeAZJFL (ORCPT + 99 others); Fri, 26 Jan 2018 04:05:11 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:43668 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752557AbeAZJFG (ORCPT ); Fri, 26 Jan 2018 04:05:06 -0500 Received: by mail-pg0-f66.google.com with SMTP id n17so6886497pgf.10; Fri, 26 Jan 2018 01:05:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=rFIRDE4NQmM4gwG9mwWLqXaL2Q3csl6l0Chyq9Szrss=; b=b2KIaLd6Y3JHAtAT0rwyDg5K/kFlUNdSnyac4kyuPnjL+xtCFBZ+kqUOPsNjYlUdzp RbEhUsk+MWP3aEohGUD/SVGdvwnFhch/fgqSiLkjRPFEXIhojArgc8r36JNRkN2RppVf 9vyWnyes9JEi6IKfn23bvLn6V1q6YaTCRe552+eFmarN5OsjXC2679KHaqlKSY4BxV0O wNnE1R6FDbwMNYxPIpV0yav7XelRST5WXHl7qTMeMh5MOhGRNicvIzaa+PkuLm4XptYV 6oqGoF6/1FsQnEjm7eGJtf2av/4w+8UTZp+mFYcXZ54VWFvr+qehqELJZe683S7dmACJ x8ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=rFIRDE4NQmM4gwG9mwWLqXaL2Q3csl6l0Chyq9Szrss=; b=rcfyKu+kb2H3uxUyc7gpxNjTNmlD2/fW+NM04lE2R5kZucU9GUIJ74yZqOAgUjQy2U rDimmrkEnDor8R88pAUm+LiYS9vdU/RunupLSIA+4wH8wHdydYcvJtjWURVBfo8H5r88 89hnaluuAxGltAR2qBAJOa4GxytE4p2n3dnw10Fytc6UixT9UqaiR/znNruTkGo9dyy1 SrXx/FX6aSJOOkLv6icAvLNvkylue2WzPsVgSLOwXYZwM+6SL8pnsLW38D8ix1Q12jBo QN958f2uHNZndUrF6WXrrtuwFmuMLs4c/C09MWmUktQmbvLj/t6ZP7+KBUiuudB7ALRG jTvw== X-Gm-Message-State: AKwxytcKVPim0Lu1ya3Q+dzdVYan+LrxbHqlSxO8zrAvp2MmELVNzsWF evHeI/sTVEJ8CuOzKkdZBeQ= X-Received: by 2002:a17:902:6ec5:: with SMTP id l5-v6mr14129662pln.443.1516957505382; Fri, 26 Jan 2018 01:05:05 -0800 (PST) Received: from b29396-OptiPlex-7040 (gate-zmy3.freescale.com. [192.88.167.1]) by smtp.gmail.com with ESMTPSA id t6sm23503790pfl.174.2018.01.26.01.05.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jan 2018 01:05:04 -0800 (PST) Date: Fri, 26 Jan 2018 17:04:56 +0800 From: Dong Aisheng To: Lothar =?iso-8859-1?Q?Wa=DFmann?= Cc: Shawn Guo , Sascha Hauer , Fabio Estevam , Rob Herring , Mark Rutland , Russell King , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list , linux-imx@nxp.com Subject: Re: [PATCH 2/3] ARM: dts: imx6ull: add support for the esai interface Message-ID: <20180126090456.GC14058@b29396-OptiPlex-7040> References: <1516955032-21167-1-git-send-email-LW@KARO-electronics.de> <1516955032-21167-3-git-send-email-LW@KARO-electronics.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1516955032-21167-3-git-send-email-LW@KARO-electronics.de> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 26, 2018 at 09:23:51AM +0100, Lothar Wa?mann wrote: > 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 + Should them be separate patches? Otherwise this patch is ok to me. Acked-by: Dong Aisheng Regards Dong Aisheng > 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 >