Received: by 10.223.176.5 with SMTP id f5csp2153598wra; Sun, 4 Feb 2018 22:09:29 -0800 (PST) X-Google-Smtp-Source: AH8x224OJ637/Rtf40ZnQH7Sp2F/l2IPYSswSNkc9ZdI28/IyzA6p/4f2ZZ8l/2jL3hxivwvjC4g X-Received: by 2002:a17:902:40e:: with SMTP id 14-v6mr42276089ple.64.1517810969071; Sun, 04 Feb 2018 22:09:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517810969; cv=none; d=google.com; s=arc-20160816; b=J/h7xz35Vt/+WOk0qzhmmYJuZoMWrN+4DHZcvvaYRMy0G9r54whtQEZLkMNK/pl96v cWqeEtDLHHAgab2pRW5/uHV34r5krNusxCWdLnr0aIo/QaN9vMgFt7oDEBa753kpxmkr sd0Y/Ta0lODEaYHBseMR0KcyV3glm+RG8kh7Ijb16i5D70kZz1fK/TiHmgtoN3qS2wmX N/kygxesOiww+Uqe+NS3nBWRkS99k1nXFnYbyAATKIW+1F9vVmO+qZJhZ6Ixm77PqqQs u+e0BVjgriOnhnB3XIlFjVQ4fsKgcB22wyNZPkEifzpwS0A8Uq4RDQ/rv3acXAaVy5Fw XWSw== 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 :arc-authentication-results; bh=V1aA9DKQ9vh4Xz43CeLR6UHDYxFjzILVV72O28MBFUA=; b=SnvhMG4fogccs4FqLTiN+89b+zXtGOgUksPmK9G/JdMpdnTb4M0nm9Nk45eMJF4HcV M4RZSpsdVWk0IezDO2XEXGeB1q7kXtbGEUVVd5lcvvj1a3zGBO5UdrRJ8AQNqd+rWFNZ k9HoRO3CC/ocSOleYjXz91+qtpBnsjLNwfT+j5mcukgqlGWiECW3Rk0agdEwTKeduw0e TA1PCoGCBjfy5EjmcOhTUsIHraiQkw58ff+7zDSF79MNPa6LD62r9Uumq4LYTzKQ/yGf el0zwpbNNsfguTpdwvgHpDPsPVba9gtUe94SmGuABpX4A/7p+eReOduiZ44BsboXsZMf bQag== 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 b61-v6si6455244plc.265.2018.02.04.22.09.14; Sun, 04 Feb 2018 22:09:29 -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 S1752696AbeBEGHi (ORCPT + 99 others); Mon, 5 Feb 2018 01:07:38 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:39859 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752621AbeBEGHS (ORCPT ); Mon, 5 Feb 2018 01:07:18 -0500 Received: by mail-pg0-f68.google.com with SMTP id w17so17635422pgv.6; Sun, 04 Feb 2018 22:07:17 -0800 (PST) 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=V1aA9DKQ9vh4Xz43CeLR6UHDYxFjzILVV72O28MBFUA=; b=bVijA/99MzBnsrPFam7n9L+jPoy37iqPrGTlAUtNihIdtBGUknYojWsa7rl1Eo/la1 3VYhR01H2gtXXAJ5ET5Qd8mZoC4So8ZrsCLuGW1xQo1Zf509d/04d6rLobXQbz9Re5uO +1o6eZmv78YjlfFaESc31AAQ+tXhkfiNqHChG4eMW4EFcRAR5FnPrAXU3HJbboH8ps3B 0ABsM+XquG+2STlq1d29sAjQurGUEkqeLEQ1BqK0ObcIt+8YW1Saqn05iEdiYbrXazIY 7V6K6Ql7j56Dj2L7acD9F6v7+fUOF+KBZBbrNtxrr8uhUi47Y9/RXE6UX6+Qn7nJUmpA Hopw== X-Gm-Message-State: AKwxytcBASra431b71hJxYVXQOqxs4SqgE5ZbY5y6rW/QNT/BtqZzVio 6CoKMNHpjfRvax4BE9PvAA== X-Received: by 10.99.166.18 with SMTP id t18mr38068244pge.42.1517810837350; Sun, 04 Feb 2018 22:07:17 -0800 (PST) Received: from localhost ([50.225.178.238]) by smtp.gmail.com with ESMTPSA id t66sm11442469pgc.89.2018.02.04.22.07.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 04 Feb 2018 22:07:16 -0800 (PST) Date: Mon, 5 Feb 2018 00:07:16 -0600 From: Rob Herring To: Lothar =?iso-8859-1?Q?Wa=DFmann?= Cc: Shawn Guo , Sascha Hauer , Fabio Estevam , Mark Rutland , Russell King , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: Re: [PATCH 2/3] ARM: dts: imx6ull: add support for the esai interface Message-ID: <20180205020815.birkvwie45lcohjf@rob-hp-laptop> 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: NeoMutt/20170609 (1.8.3) 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 + > 3 files changed, 20 insertions(+), 2 deletions(-) As mentioned, this really should be 3 patches. At least split out the dts file. > > 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" Please reformat as on compatible per line. > > - 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"; Don't show status in examples. > + }; > }; > }; > > 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 >