Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4995259ybl; Mon, 9 Dec 2019 21:36:39 -0800 (PST) X-Google-Smtp-Source: APXvYqy2NvH8dT8f/cmQ+eLb8PlNGJ15fWoFJlTAFS4BvllY/v67Ys8uGgCiatQjChYmkwkCUmLo X-Received: by 2002:a9d:4d99:: with SMTP id u25mr19338711otk.56.1575956199560; Mon, 09 Dec 2019 21:36:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1575956199; cv=pass; d=google.com; s=arc-20160816; b=jvl6YIhUzk50JzD0tmt8uM6SuKA3tH1kfZGmWJgYXRsVXXVPFJtKpw4u+kvI0KYJSr 0CoOuS3HfUfsp5AhAgr/swQsdDIdBWVCzQkgNkOLuwey5MMbDVvX2GuYw4q5fBnRix60 8SSdKxKVqYOP0u9fG9ZO8InOPH8Kt6n1v0IS4c26wsgpOoOwp+PH/dGvyw2Z20URb8Yl 7tw4d+vpHl2YNwWq4Usyvzag8qTPiqtufODyABjA9zSfLxkrEBrh3CYrPCLiepOsdJBU d579VT74geVTxZDyXciFYDRwhPFrU1mcs8kGdppuJSy5Q3pkMGhPk+anvBrTD4sivwFy z6vg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=eoLphrgcIgUvwXIyNEiif2G62B+fBFXDJLcg6FTi+sY=; b=aTsHcp8k06J2l5/P8ww2bGwkG4vdzOUhCAhBaKF6R5znaYZQwY0pJNk/8vcWLToDI3 et/XzIPQwQtQri4V+qUKeJvue9KvJRMctZyBEtdrPG9WFw6Q6FbcPzc5FIiO0SeJnLQr NDGCxkfxRTmsu56rpHOKC5Ff5o2um41A4By+pxQzJziJzyJw5Qy9QIZ7tIEADCgCtTlv 66CsgkjPZwsVnNAvr7lxt9usPmVheNo3LXgMwzCZBKoTc/M2/R2BIg/xtlJcJgfZ5T9R +W+45XfOudkV4jU0+ZMl3KzQ6ICah5GTZGbsxg8rDMljpihNAzyh7MxwQdBWyp7WvikT qQaA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=bKCVfVBR; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n7si1330383otk.277.2019.12.09.21.36.26; Mon, 09 Dec 2019 21:36:39 -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=@nxp.com header.s=selector2 header.b=bKCVfVBR; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726955AbfLJFfe (ORCPT + 99 others); Tue, 10 Dec 2019 00:35:34 -0500 Received: from mail-eopbgr130085.outbound.protection.outlook.com ([40.107.13.85]:31457 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725857AbfLJFfe (ORCPT ); Tue, 10 Dec 2019 00:35:34 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g74MvtDMUrGS0OKT2BHFt5/5ARzsGdLvqGxSNxttmgxcMEwbK+j9V1Zuwej/d/C6YgKJyuXSbbiUJs2coRqtoTUFujdLxM/hcB6ewKgJTJrwAI+SFYBy3i3mtlePVyXlPd6IpK26eYudpfvzLK82TcB200ftS0gWZJTEgu609aY6rG/c48Dbv9wSx3a6eF2ujOVh0wtSkhSsnnbmN2c4ugupsip7/oc3XVTX6VIMOwDv6dje6fdGFUTt5yUla6LaKStfszth6rgDL63+LrUOHLK9ubSTatNKPmvpVUscxDM5J42tjD7nsKnq5xHv8bMS1H0JhGcaVjB0OvpE8URjew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eoLphrgcIgUvwXIyNEiif2G62B+fBFXDJLcg6FTi+sY=; b=nUi37zhFwa0h9vYQAojwSn1sYhBRNWs/UMlNupiBAstErkExCQPzr51v7qMNyEW7c4wQm/y4ugVXgUtJuaRCOjfR/njDdE9brf+30ioVugMP1NU8J5w1iQZbs6+VI6SPP8LFsna3qasr+n+QO/3Zn9ERgDgcDxKcNlBgJlKi7tfb1zpF2wQsir/rJvuaQeoOezcoDWJ4+WX1CphY+iX5RaBU/rNRW6ZYggi+LQXOxHBQUgkck7rc8PqYVUyYTsoyUwBp16MTuPYHMprOOgRzDTDNpI2KttzDN+0r8dsUNNczT/bl5gJ8WmbszZyBo29s5tmNEOJQZDSJsnukH2h6HA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eoLphrgcIgUvwXIyNEiif2G62B+fBFXDJLcg6FTi+sY=; b=bKCVfVBRkyU+yNypt2A8mKYII+Xx8X1fo7AoQ6jb/ga0ZorrfIpCePCis42EhGy5RPooI3/P5GdagpxnXBqkoIJ6e+/npzDSREfhPANFAik72prZ092RmT2xUMYVXINqkStSMPB3uYMUgRKS73quQNdK3otxojRvd5ekrFKqcWA= Received: from VI1PR04MB4062.eurprd04.prod.outlook.com (52.133.12.32) by VI1PR04MB5359.eurprd04.prod.outlook.com (20.178.122.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.17; Tue, 10 Dec 2019 05:35:28 +0000 Received: from VI1PR04MB4062.eurprd04.prod.outlook.com ([fe80::20fe:3e38:4eec:ea03]) by VI1PR04MB4062.eurprd04.prod.outlook.com ([fe80::20fe:3e38:4eec:ea03%7]) with mapi id 15.20.2516.018; Tue, 10 Dec 2019 05:35:28 +0000 From: Alison Wang To: Shawn Guo , Michael Walle CC: "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Leo Li , Rob Herring , Mark Rutland Subject: RE: [EXT] Re: [PATCH] arm64: dts: ls1028a: put SAIs into async mode Thread-Topic: [EXT] Re: [PATCH] arm64: dts: ls1028a: put SAIs into async mode Thread-Index: AQHVrnBLtaYchIru+E6aNXw66ImuFqeyq8zw Date: Tue, 10 Dec 2019 05:35:27 +0000 Message-ID: References: <20191129210937.26808-1-michael@walle.cc> <20191209090840.GL3365@dragon> In-Reply-To: <20191209090840.GL3365@dragon> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=alison.wang@nxp.com; x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 1e3008b5-fd42-4342-93ee-08d77d32c39f x-ms-traffictypediagnostic: VI1PR04MB5359:|VI1PR04MB5359: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3631; x-forefront-prvs: 02475B2A01 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(346002)(366004)(39860400002)(136003)(396003)(376002)(13464003)(199004)(189003)(8676002)(86362001)(81156014)(81166006)(54906003)(44832011)(9686003)(305945005)(53546011)(66946007)(66446008)(4326008)(66556008)(6506007)(71190400001)(71200400001)(66476007)(33656002)(64756008)(76116006)(186003)(26005)(52536014)(478600001)(5660300002)(110136005)(316002)(2906002)(7696005)(229853002)(55016002)(8936002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB5359;H:VI1PR04MB4062.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: T6bJhkiIitZn93LDTn8JTu6iUIHPOy+erWCHoHNSYOuIv8QRdQWv1mL+Lml2MxrMOjAZdsMqv6PiwZhhTaFElRZebTjZrtGeuzEvrkAZTlRhjn2zZYbrBOI3dGCkznQpArntvSCa5c0T24XHB7JlgxybZeZSqhah9Vtl7JIIyTsaA3QwJ0J7A0IrD78h3qwvixAQGmMtX0rYd8oB0rJE3kiUA90MHkKfR6tsrpNEuv2o6AfdxfuzvFJ6qaLV834FgRwnikp0E7dSWVZhbBa1pV1jjeK3JEtRLKXBbKfLPy7YCd1nujfo0vy6Ap2G9wA2+S3DzFo3slRA7Z3vRHGKXtxrsy+k8ksPGIIfa/vBara+R3TzAO9SCNPtIdNgnrp93bw2dUhfOAN2+8pcMC9lKwPisWkOkYsKFcenWq8pUToj4DbRXbEmFzVNhyHFXbEPwwJjwN57lBzoU5qbI/Ol+0ZEtkm7fFNiuJnxPJHWa9JYdKALIy8yacuBJQTWUf5I Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1e3008b5-fd42-4342-93ee-08d77d32c39f X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Dec 2019 05:35:27.8357 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: DzKc3oyDR4oVUyzpANVD7YIJN1KAmiAqelwh2qzO0srqf5JQhSwT/j2deauIO0it0ORoN2IctfAZeUXIuogROQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5359 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Michael, In most of our cases, TX and RX are using the same BCLK and SYNC clocks. So= the default synchronous mode (sync Rx with Tx) is used, which means both t= ransmitter and receiver will send and receive data by following clocks of t= ransmitter. It is verified on our boards. Best Regards, Alison Wang > -----Original Message----- > From: Shawn Guo > Sent: Monday, December 9, 2019 5:09 PM > To: Michael Walle ; Alison Wang > Cc: linux-arm-kernel@lists.infradead.org; devicetree@vger.kernel.org; > linux-kernel@vger.kernel.org; Leo Li ; Rob Herring > ; Mark Rutland > Subject: [EXT] Re: [PATCH] arm64: dts: ls1028a: put SAIs into async mode >=20 > Caution: EXT Email >=20 > + Alison Wang >=20 > 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 >=20 > Alison, Leo, >=20 > Looks good to you? >=20 > Shawn >=20 > > --- > > 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 =3D "tx", "rx"; > > dmas =3D <&edma0 1 4>, > > <&edma0 1 3>; > > + fsl,sai-asynchronous; > > status =3D "disabled"; > > }; > > > > @@ -651,6 +652,7 @@ > > dma-names =3D "tx", "rx"; > > dmas =3D <&edma0 1 6>, > > <&edma0 1 5>; > > + fsl,sai-asynchronous; > > status =3D "disabled"; > > }; > > > > @@ -665,6 +667,7 @@ > > dma-names =3D "tx", "rx"; > > dmas =3D <&edma0 1 8>, > > <&edma0 1 7>; > > + fsl,sai-asynchronous; > > status =3D "disabled"; > > }; > > > > @@ -679,6 +682,7 @@ > > dma-names =3D "tx", "rx"; > > dmas =3D <&edma0 1 10>, > > <&edma0 1 9>; > > + fsl,sai-asynchronous; > > status =3D "disabled"; > > }; > > > > @@ -693,6 +697,7 @@ > > dma-names =3D "tx", "rx"; > > dmas =3D <&edma0 1 12>, > > <&edma0 1 11>; > > + fsl,sai-asynchronous; > > status =3D "disabled"; > > }; > > > > @@ -707,6 +712,7 @@ > > dma-names =3D "tx", "rx"; > > dmas =3D <&edma0 1 14>, > > <&edma0 1 13>; > > + fsl,sai-asynchronous; > > status =3D "disabled"; > > }; > > > > -- > > 2.20.1 > >