Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3879760ybl; Mon, 9 Dec 2019 01:29:13 -0800 (PST) X-Google-Smtp-Source: APXvYqyTiSfWQudTDUoESn2/TKJXEHLx0x4zccuwxfhnBWPMKBjYVAN3Uae/1gRPTAk0MYx167QE X-Received: by 2002:a9d:7593:: with SMTP id s19mr19732551otk.219.1575883753101; Mon, 09 Dec 2019 01:29:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575883753; cv=none; d=google.com; s=arc-20160816; b=TjMEu5+3AfaDzjN2gRcZCWaZ4ffGHyF3itcBnpRLURRHVxZ+0IMGxugjnSxVoqeQBY XWOKJj+J+a3Q9uuuci0V15nEfwJ9DCDk/aZfEky/E5EDfX6hrYE3Ix+9hH9CamKk2jpi JCHA1KziOYCmCk91UAfPZE1lmg2V/1otBTfteWy7YU9H5w+Tn3DrFuQIM3ZOUm22mbkz 4srKOUh0zz8g90S2qcNke3IMeyLg2WSGJ6obx0KQ4HE6FHbYfdQ9t5nOeMm16fsr3Lbf BuPHA4VV/KNh0nnONhqFt4ylEpPVdj+VjmjkF53XhKx+wZaK8IHfGswkaK+bfIeHyEPj 44Pg== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=lqJVgjQKCy6het0XIZcH1KUXiX5frTvWuKvG86Gymsk=; b=rXL3ywBKZztDVoObhAOO9R1r+aAD9ct9aNxbtwFplKoVsdi0zfR9G/CcGvqmXR8n5K PHi4XQbFLh/vgdlNSnvA9tDed6I1381T2NCARYxnBoMiM4r9sfgUI2W21YBpVThbaVT3 xWUj9uzMnyVU8TF5jpId6u//igd0HPlChutTYjz3N9E8uc1j1ot+ecdrsbcf9oowXUQ5 a23JWfK0tERy7lPHos4zJq5dI60Fqx3Neq9K6gPuWuaoRx+G4HmHbiK190wMCZNm3iyk QNwWsDLgpYi+gQ7E34nlvOTAgbx2K8cb4jbvF9FNqnBy1gDrB1ojoXVjybVEDaI9qpGq 7fFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fJr+YRMo; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o6si6304963otk.201.2019.12.09.01.29.01; Mon, 09 Dec 2019 01:29:13 -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=@kernel.org header.s=default header.b=fJr+YRMo; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727437AbfLIJI4 (ORCPT + 99 others); Mon, 9 Dec 2019 04:08:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:43100 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726377AbfLIJI4 (ORCPT ); Mon, 9 Dec 2019 04:08:56 -0500 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6EEB82072D; Mon, 9 Dec 2019 09:08:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575882536; bh=QAsy6KYtyWoOffL4NFS3+5/Zh44sQt9mMpY2XhbERdM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fJr+YRMo1Rnw0+vTxF6gPpMdzFTFrIfbdML67vLN6jbyh5McznFgrIX0BjK9CA7iK dYFz9iFC0H8+/ml50izL4yc8S1EpANPnuREKYX0eAc4PdGphLzymmVskHnzECr1+Mu /+hwKeGGPVnWAKfkdb21nDvtwNEbJop3/VDxkcus= Date: Mon, 9 Dec 2019 17:08:42 +0800 From: Shawn Guo To: Michael Walle , Alison Wang Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Li Yang , Rob Herring , Mark Rutland Subject: Re: [PATCH] arm64: dts: ls1028a: put SAIs into async mode Message-ID: <20191209090840.GL3365@dragon> References: <20191129210937.26808-1-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191129210937.26808-1-michael@walle.cc> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org + Alison Wang On Fri, Nov 29, 2019 at 10:09:37PM +0100, Michael Walle wrote: > The LS1028A SoC has only unidirectional SAIs. Therefore, it doesn't make > sense to have the RX and TX part synchronous. Even worse, the RX part > wont work out of the box because by default it is configured as > synchronous to the TX part. And as said before, the pinmux of the SoC > can only be configured to route either the RX or the TX signals to the > SAI but never both at the same time. Thus configure the asynchronous > mode by default. > > Signed-off-by: Michael Walle Alison, Leo, Looks good to you? Shawn > --- > arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > index 379913756e90..9be33426e5ce 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > @@ -637,6 +637,7 @@ > dma-names = "tx", "rx"; > dmas = <&edma0 1 4>, > <&edma0 1 3>; > + fsl,sai-asynchronous; > status = "disabled"; > }; > > @@ -651,6 +652,7 @@ > dma-names = "tx", "rx"; > dmas = <&edma0 1 6>, > <&edma0 1 5>; > + fsl,sai-asynchronous; > status = "disabled"; > }; > > @@ -665,6 +667,7 @@ > dma-names = "tx", "rx"; > dmas = <&edma0 1 8>, > <&edma0 1 7>; > + fsl,sai-asynchronous; > status = "disabled"; > }; > > @@ -679,6 +682,7 @@ > dma-names = "tx", "rx"; > dmas = <&edma0 1 10>, > <&edma0 1 9>; > + fsl,sai-asynchronous; > status = "disabled"; > }; > > @@ -693,6 +697,7 @@ > dma-names = "tx", "rx"; > dmas = <&edma0 1 12>, > <&edma0 1 11>; > + fsl,sai-asynchronous; > status = "disabled"; > }; > > @@ -707,6 +712,7 @@ > dma-names = "tx", "rx"; > dmas = <&edma0 1 14>, > <&edma0 1 13>; > + fsl,sai-asynchronous; > status = "disabled"; > }; > > -- > 2.20.1 >