Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp8589493ybc; Fri, 29 Nov 2019 13:13:31 -0800 (PST) X-Google-Smtp-Source: APXvYqxp2+dHxx+S7bJ4HPbm9UnNY0aC03FFQhu/mYTAyyENg7g9jq6AzgAVEyF0KG/iJs8TTxn1 X-Received: by 2002:a17:907:104a:: with SMTP id oy10mr3695845ejb.324.1575062011018; Fri, 29 Nov 2019 13:13:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575062011; cv=none; d=google.com; s=arc-20160816; b=Un6N4oifw6gO1xj6Y1FNrrJpLPUCOovj2/DoOs5Q2J7RegxNjcLt37gwunfs2pntuV WFI7lADQzVwK72gRhJw+ZFAPLgScwRb6VPLAEdCgHmpQXBobwEfvrjz/EDFhxcGZr9ug 3KI+Pr0gT7NRbXrdirGoEB2tXjS0/EOhSXYmBzo/uGVEcBWZ1goeiasCWogkUDd+b7hx y0Imxvo53982qCbdgDyZ8iwo7t+rnCjLRb0WJecYnnx4Wzan7bqFidaOEbyRLTu1/Q7d Qv0jzL7LT55X6R8c6260GEOaM7Srcc9rWtiJ4zFX8Y2sx2+xatDnkayBEfRCovzSfNOd V7tA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=vBGH4Is8jTUA/hpecRwlSpOFBZJJLpBTculd0msTkEU=; b=oby4mzEWl5dqleWi59Q0pdm8jxriK7vYO0Sh6Soj1Qi5KMTnwshQdPwdN83gC3KIkT XIn5qSGIBeK+YRIH00db5tR7JAfp0OkrYMXumP3Ub2YIErEZwfKJNotfzh/qOOY339k4 XwbzepvuFPQT85kLmHEGfxsO7W/S0iOmf/Iez8KkJ0XeV25PzmieRsWwtJTDHMJU9DQi KONGVNVnBYL39H+Y/uORuYTyPsW5fAMXgnQWgC4YhYmzr6tPqHJMgUNn2rvhqGFVjNLS LDENzRLZJ01cbDcLb3Cg89ZVp2On+CeXm3Wa9F88U/WzA42Kfck+Wqkk8UZq12RgmZV4 zSrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=EaG70I7R; 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 c18si9163888edt.390.2019.11.29.13.13.06; Fri, 29 Nov 2019 13:13:31 -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=@walle.cc header.s=mail2016061301 header.b=EaG70I7R; 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 S1727133AbfK2VJx (ORCPT + 99 others); Fri, 29 Nov 2019 16:09:53 -0500 Received: from ssl.serverraum.org ([176.9.125.105]:36051 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727073AbfK2VJx (ORCPT ); Fri, 29 Nov 2019 16:09:53 -0500 Received: from apollo.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:6257:18ff:fec4:ca34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id D75B723059; Fri, 29 Nov 2019 22:09:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1575061791; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=vBGH4Is8jTUA/hpecRwlSpOFBZJJLpBTculd0msTkEU=; b=EaG70I7RiyaiHNh/CcggLrwsnJYaFUU7+ulXZv6r7uax/uYOh4rlcOeqMH/3n3wvENoJIZ gN0VCKL7LHsbbJ8/s8YolS1WJTPmr/1amTZIigQC6/FpyBMa2hlTszvhPrVMarKnhtzWJb tC92UluXLeJUc8T3/mXoYXM5wBXYhyw= From: Michael Walle To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Shawn Guo , Li Yang , Rob Herring , Mark Rutland , Michael Walle Subject: [PATCH] arm64: dts: ls1028a: put SAIs into async mode Date: Fri, 29 Nov 2019 22:09:37 +0100 Message-Id: <20191129210937.26808-1-michael@walle.cc> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: ++++++ X-Spam-Level: ****** X-Rspamd-Server: web X-Spam-Status: Yes, score=6.40 X-Spam-Score: 6.40 X-Rspamd-Queue-Id: D75B723059 X-Spamd-Result: default: False [6.40 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_MISSING_CHARSET(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[dt]; MIME_GOOD(-0.10)[text/plain]; BROKEN_CONTENT_TYPE(1.50)[]; DKIM_SIGNED(0.00)[]; RCPT_COUNT_SEVEN(0.00)[8]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM(-0.00)[-0.607]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:31334, ipnet:2a02:810c::/31, country:DE]; SUSPICIOUS_RECIPS(1.50)[] X-Spam: Yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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