From patchwork Mon Feb 25 13:26:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 10828583 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6FBE91575 for ; Mon, 25 Feb 2019 13:26:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5BD362B223 for ; Mon, 25 Feb 2019 13:26:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D1512B255; Mon, 25 Feb 2019 13:26:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EA0C72B223 for ; Mon, 25 Feb 2019 13:26:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SJ/mCjYDLQnaLMfwA8Onipp4We+g6vHFJ/yzjYtCzgY=; b=OIZ2EXaNHpnp+m Ms3ds+8d+eGwbiO9X+7ISAu7/yayqEiqVaQ00tPL3Es7m8MjhhbQehM1vFU9p6WdePpaGyXLcY+RE dxCY75DNmFnx3PJdLmlEW9gOjz05r3LGsIkdLk3lDF4HuqUOlz7RVlpCWdCWY+kIQaTASI3SLRFs/ CkGL697uzcdE4OQ3AVsTSYbCQ1s0zFluBOuQTnGEOvezIuyIwmaid6EAVAriM1/ekdQbK68XpExeg ONdixQzSWweHOzFPHPCaFZcsghziKtytgajQOTIQBfC0/Paro6zxPh6QNfKGRJTDzIUMF5WWy9H+n ypCprn+JWQWJuHEeIzqw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gyGHY-0004GD-91; Mon, 25 Feb 2019 13:26:56 +0000 Received: from mail-eopbgr10056.outbound.protection.outlook.com ([40.107.1.56] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gyGHJ-00040W-I6 for linux-arm-kernel@lists.infradead.org; Mon, 25 Feb 2019 13:26:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oEzK5phlpib4oVDmbwHn7ERuei4f3lDtTX1M7w5TjBY=; b=Ju4JTy/ydsgROevdu8jhOpJ4LexR/mgkIszVUp/cfMswDV/VZcyyF1kS+BH78PWagc/U3zyd+LlQWBlZkhuxILo+vSozLiwDwborBdmJSz9w3N7s93FSn1cy9sHfTyxSr0MCtZeuf8jaQuucw5RnxBrMq+JheaCR0f20XMUe9iY= Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com (52.134.1.18) by VI1PR0402MB3485.eurprd04.prod.outlook.com (52.134.3.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.15; Mon, 25 Feb 2019 13:26:36 +0000 Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::f80e:d03f:57bc:aced]) by VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::f80e:d03f:57bc:aced%2]) with mapi id 15.20.1643.019; Mon, 25 Feb 2019 13:26:36 +0000 From: Daniel Baluta To: "shawnguo@kernel.org" Subject: [PATCH 1/5 v2] arm64: dts: imx8mq: Add SDMA nodes Thread-Topic: [PATCH 1/5 v2] arm64: dts: imx8mq: Add SDMA nodes Thread-Index: AQHUzQ27VwyrqBjULE6jzjMEsSVMiw== Date: Mon, 25 Feb 2019 13:26:36 +0000 Message-ID: <20190225132617.10987-2-daniel.baluta@nxp.com> References: <20190225132617.10987-1-daniel.baluta@nxp.com> In-Reply-To: <20190225132617.10987-1-daniel.baluta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR08CA0192.eurprd08.prod.outlook.com (2603:10a6:800:d2::22) To VI1PR0402MB3357.eurprd04.prod.outlook.com (2603:10a6:803:2::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=daniel.baluta@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [95.76.156.53] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 597d0d5a-93e2-494a-6845-08d69b24ddab x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600110)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR0402MB3485; x-ms-traffictypediagnostic: VI1PR0402MB3485: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; VI1PR0402MB3485; 23:cJRr27zSCwqGb0+hWzL/9fJ/MtsU+CWCx754c?= =?iso-8859-1?q?mlLz95mELaNsLs4zK?= =?iso-8859-1?q?pEM26qiLXU0Eq+PojvVV4yYsKY8beGWpP/GloyfLljXnca7QIlKJ7jhCzOV4?= =?iso-8859-1?q?WSn2fK+QD/8UA8d9OEqprSNphsykb4S5Yrj9Xgsbq7kISntRx6y+EGlAsFsx?= =?iso-8859-1?q?KHCXHSHWIAPNQ+qwQofhmBc/0+WPdQMm0uVp4WjzVmRJQBcWTKSuj36+PloS?= =?iso-8859-1?q?KXrXn1akP486L3jlpZeH7XNqBz1z++Cgg4W7Zv4xCn52buWeBH3DcHyLqt18?= =?iso-8859-1?q?smFkMogmhv0k3P4rOT8DyK0DV57n9+UGxtSv+q+gA3V2TMEtWTqhW/nXcld3?= =?iso-8859-1?q?G/BoWfRoXYTdt4NO5yL4zi8LZkyDpf7UyFUkLgd6fIa8Pz7ANbSXk7NNpR0F?= =?iso-8859-1?q?3RlHIQflaEjqhcQuRi3f6EEGIwYYHVGqYFCpm3lD+/Cup07Mq6J8MspqkMfO?= =?iso-8859-1?q?t6bGy1JBl5BZxBKdLaIfh0u6tTNoz2q3cv7Kv+2Fg9W1gUIJGmskdrr4ERDy?= =?iso-8859-1?q?WErj7F+TxMkwYt2hZqCz2oTmSx2GxdpOfNj4TzlwOxGGS7bP4vL8FgJGMaT7?= =?iso-8859-1?q?k9xhP08diNgwdK6E3XfdFzDrcTI5CqovTbNXUJkmCid5aA9QhlN+ouSPpvEY?= =?iso-8859-1?q?dsdNWFcRZSRPJRc+iTr6l9BcgdFCB9BVKAMr8/+wAESlYo/+JyFTUIlQt+ie?= =?iso-8859-1?q?WLirt6tQ0qPVf9zTAk5UkUMWm4R0fDC9ZbdlZGf5JxqTpszgt+pzsGdrVRbz?= =?iso-8859-1?q?gQsO+NwKkAkJ4+vO8S2gmZOBtdwbQOqfsmYtgYth2Zg/Go8HkcDve++VlHrS?= =?iso-8859-1?q?3cTpYn3Rtqcg3MZaMCjd+qE5m2FTdgV/gQWqvz+pGMdde7OQhfZnbntt8n+A?= =?iso-8859-1?q?0bfSMk6GjTy2VBn9fjfbhRtlvfIuF6NRw35qQzxArfce6y+eK5Xhu3tGq5+n?= =?iso-8859-1?q?Y2vUbCHRocgNYAEHF9QfUe5qnzArNk7rrZoSJcP/VUhbx8Acflme1m+U2Pyv?= =?iso-8859-1?q?Hi3ExiHq+AiK3AIS4JdK6lWf+twBbW/txorPvwU/NqR9mV4MgQHwNSp2NDON?= =?iso-8859-1?q?G1AtyJtm6kXeei/laFMDsgJBi5Y1CWOjw7JOITjBcj7PwwWPLRdwVqSwi30V?= =?iso-8859-1?q?fbAJAaTe1CAWrozOnqvzsYYuo3oXbPjODNzAz11us0rtX/ReBzvVHnbsXinM?= =?iso-8859-1?q?HCVrBHDZO1ue6bQM2bp35zSua88CCTI5bPh/OzzV7gunyzbdP4RP+Y4H4ku2?= =?iso-8859-1?q?UsheyHbpokpKDwPs0HEy3rKpSEzxiRkzrCA7LpOWfDtwYh6uXBpMYjRwp7AH?= =?iso-8859-1?q?TNPNsWQF1EfHF7nq7d2e9D+j5d/LKPiioykskcAwbX8pcDxL4STg1xLsqJj1?= =?iso-8859-1?q?Ih0hoJmAEQbUE=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 095972DF2F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(376002)(346002)(136003)(366004)(39860400002)(199004)(189003)(6116002)(105586002)(106356001)(5660300002)(81166006)(71190400001)(81156014)(2351001)(97736004)(1730700003)(71200400001)(66066001)(478600001)(8676002)(14444005)(2906002)(3846002)(305945005)(86362001)(14454004)(7416002)(7736002)(6486002)(6436002)(316002)(5640700003)(6916009)(6512007)(36756003)(256004)(26005)(476003)(54906003)(4326008)(486006)(2501003)(50226002)(446003)(68736007)(11346002)(44832011)(99286004)(52116002)(76176011)(2616005)(1076003)(8936002)(53936002)(102836004)(386003)(6506007)(186003)(25786009)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB3485; H:VI1PR0402MB3357.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-message-info: 6zHg7E+XNnxGApjc7DVdzr/I9UEj+a5YAxmFIm99Ifosj/WQZynkxSptkdVBBelWhI4gcYyepxC1VksjEOzfp9KWfKaDS7IUBgcLEvKdvzQmYjN6CQgeQMehLaxetAmuDiS5TTupPPbim60hX4CUIK/g/kZvpaLhKJ+lyIk5K6nN5g9TH54xz/LKYiTBw27DqA8B9t/s0E7Bq8RL3NSfqVZSZ9buFNgCDr4aCyneZvI8lls6/5omGukkulRwgkviMW856awyDE1mzsxecNpQps12WhCI9mbY5iLtqZWCaOOLiXKAlYPz8XL74S1AfzU21Cvm0Egzoc2clEy7KGZzdbXPhLZsVJrSzWA84uUXQNgee3T1f209GgP3h5wbh2un1iITUBsx/MBboC5FQaeyC4eiNyAOMroGFqxUkEd8UcM= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 597d0d5a-93e2-494a-6845-08d69b24ddab X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Feb 2019 13:26:35.1684 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3485 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190225_052641_595772_3D3EAB8C X-CRM114-Status: GOOD ( 10.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "mark.rutland@arm.com" , "devicetree@vger.kernel.org" , "baruch@tkos.co.il" , Abel Vesa , Anson Huang , "ccaione@baylibre.com" , Daniel Baluta , "S.j. Wang" , "angus@akkea.ca" , "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Aisheng Dong , "agx@sigxcpu.org" , "festevam@gmail.com" , "s.hauer@pengutronix.de" , "linux-arm-kernel@lists.infradead.org" , "l.stach@pengutronix.de" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP SDMA1 is part of AIPS-3 region and SDMA2 is part of AIPS-1 region. Signed-off-by: Anson Huang [initial submit in i.MX internal tree] Signed-off-by: Daniel Baluta [adaptation for linux-next] --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 9155bd4784eb..8cafec17726b 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -234,6 +234,17 @@ status = "disabled"; }; + sdma2: sdma@302c0000 { + compatible = "fsl,imx7d-sdma"; + reg = <0x302c0000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MQ_CLK_SDMA2_ROOT>, + <&clk IMX8MQ_CLK_SDMA2_ROOT>; + clock-names = "ipg", "ahb"; + #dma-cells = <3>; + fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; + }; + iomuxc: iomuxc@30330000 { compatible = "fsl,imx8mq-iomuxc"; reg = <0x30330000 0x10000>; @@ -575,6 +586,17 @@ status = "disabled"; }; + sdma1: sdma@30bd0000 { + compatible = "fsl,imx7d-sdma"; + reg = <0x30bd0000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MQ_CLK_SDMA1_ROOT>, + <&clk IMX8MQ_CLK_SDMA1_ROOT>; + clock-names = "ipg", "ahb"; + #dma-cells = <3>; + fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; + }; + fec1: ethernet@30be0000 { compatible = "fsl,imx8mq-fec", "fsl,imx6sx-fec"; reg = <0x30be0000 0x10000>; From patchwork Mon Feb 25 13:26:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 10828587 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C28EE1399 for ; Mon, 25 Feb 2019 13:27:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE1972B223 for ; Mon, 25 Feb 2019 13:27:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A22412B255; Mon, 25 Feb 2019 13:27:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 419312B223 for ; Mon, 25 Feb 2019 13:27:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=x4+VQNu3HJJlnS8NGl58SP/QIau66hOFF61NOwQx7r4=; b=QvEihGIby6dDix bvT61MWca/wYSigbfjXrzYRrc0g8/xBlxvqtXxaIDsgRPK7wfOT5jea/EN3/K3jG5HSjcDi7wds5y poMQ9ZJmPnA25kgP227ij0hH88U8O/bzzSdqGY3x8i0t1F55l4Bv8/lee8HPqW0JyN/jBPfb4QXD9 ax6DookPGYDCoLEentR7goyDm8I/dDhOQPIBJQpeb4GkgZcSLyFSFW8t5B5uGyfngmyeWD0wtCLvv R5ge4VV6uJ8q9qFuoV6UzqJ2yHtUKrys1bwJ5XSdwiz6BsZi+ntrJVzjMOzHPZucXThr40ia21SJq 3lAE/UUOz3KbNCRKzZMQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gyGHs-0004fc-RJ; Mon, 25 Feb 2019 13:27:16 +0000 Received: from mail-eopbgr10056.outbound.protection.outlook.com ([40.107.1.56] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gyGHL-00040W-At for linux-arm-kernel@lists.infradead.org; Mon, 25 Feb 2019 13:26:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jWftcf8SrJsOU5X4AznxrONSgEEntkz25eTzgABEEhY=; b=Qxz2gqdjQ8p1jL5S0x2xmUkRA2Vpmxx6Df2HuhycQKbjU11vtZ32521TqBa51XITgGAbodcGbF56V33ZB6Wq0U8oCgXOpscud+JEtWLWxfsBBi5hAM3xycJVuZODMtPA/fCFe7oue03nkFTggaB8YVzlUEmm3P/nIIo+rvXqwAI= Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com (52.134.1.18) by VI1PR0402MB3485.eurprd04.prod.outlook.com (52.134.3.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.15; Mon, 25 Feb 2019 13:26:37 +0000 Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::f80e:d03f:57bc:aced]) by VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::f80e:d03f:57bc:aced%2]) with mapi id 15.20.1643.019; Mon, 25 Feb 2019 13:26:37 +0000 From: Daniel Baluta To: "shawnguo@kernel.org" Subject: [PATCH 2/5 v2] arm64: dts: imx8mq: Add SAI2 node Thread-Topic: [PATCH 2/5 v2] arm64: dts: imx8mq: Add SAI2 node Thread-Index: AQHUzQ27PdTDp/7b7EyAA+4Bj+dPfQ== Date: Mon, 25 Feb 2019 13:26:37 +0000 Message-ID: <20190225132617.10987-3-daniel.baluta@nxp.com> References: <20190225132617.10987-1-daniel.baluta@nxp.com> In-Reply-To: <20190225132617.10987-1-daniel.baluta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR08CA0192.eurprd08.prod.outlook.com (2603:10a6:800:d2::22) To VI1PR0402MB3357.eurprd04.prod.outlook.com (2603:10a6:803:2::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=daniel.baluta@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [95.76.156.53] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2e1a1c1b-be6e-4ed2-dfbe-08d69b24de4d x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600110)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR0402MB3485; x-ms-traffictypediagnostic: VI1PR0402MB3485: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; VI1PR0402MB3485; 23:fOPq/8CFFpANXlPYabPjqXGEHFg/BUMCYhBwq?= =?iso-8859-1?q?riLlz7/dTYqO82T7E?= =?iso-8859-1?q?gQAFDKd8bf9enW9JqRDKcMqf06PVY9YcnZAoQaZ9/I+FKlNaFVA06Wu6PkFT?= =?iso-8859-1?q?4ptEbC2jimOK6ybD0Z0q9WbBgNTuPLoGUT3M8R42dWibcR+ejfon4IK/PNIo?= =?iso-8859-1?q?4XHGA1Aw0uhoUbGrtdwBDKCt0GUaStmuGsC1gyQb6QObva8nWHaEFGXpm7a2?= =?iso-8859-1?q?wYnFJ7asuMC0HDUQ63T9IPpgtPpI3idYe3LBsq4jVp454J0u0YJfv5IaSv7K?= =?iso-8859-1?q?4xjxDGCVKBRjRl6I6JTeBDIFbffQWSxAiezOOEQ6GUiMuI8LLMNiqrWEjaSh?= =?iso-8859-1?q?0DVOqiBKpbZkBQ1Shw9ozdBhXOKPszaj9UDFzeDKF2SCBebEXy1e9fi1IKay?= =?iso-8859-1?q?/KtSSeU7a3uNi31LrgLsZAgIABpdK72xQhAGYVpesPgHPvZtra1Tb9mnCA/e?= =?iso-8859-1?q?jNVMeq7oXz2Zl09tF5rooVlmqBpt45ieTqsJUvS4N9d3c6KZMvzoqdA0HTc5?= =?iso-8859-1?q?O0hSEH5SCvKKj08RTz/M5IZu5kL6gV8y1xmLbYkvKAqjSVEDg+FYdbHNjrfv?= =?iso-8859-1?q?F+ICBAz9UDfygmVtx2vmFc4CeqLfbLKRanIYO2aFkVwYhCvhph9Bge30sfJX?= =?iso-8859-1?q?VT84C30QLv+1DmueELdsl2aXHBPrFCaxIMPFOQ0PvCnB70sGzx+gU6ym7TaQ?= =?iso-8859-1?q?uEMIn7nO0CRegnOQDG3tiGdJAWZypnPDbWbb5tn+ZOrDze1BNBT9xWaP4q8o?= =?iso-8859-1?q?0kDLnro+iCN6+OBYdx0NyKf8HqjQDFXonN8preDTFiJYUSnVWVPPNzSjWpw8?= =?iso-8859-1?q?vdQgWd8P0NZ1jDNv/IZFwUlHLMvUaanfWlb0RL6pJHcczhbqUHnwZ6l0UwqK?= =?iso-8859-1?q?xldR9Y8iwXvI5LQlo4CaG68dm17DjBLAgFpmrm0Yw/9hw0d69Dp4tNrCAp5+?= =?iso-8859-1?q?/7e7u/fWxj9NbpyGmoHgje4gxcjTq40HoXmxljUXu4/48PNsfdIfYu2CQ87p?= =?iso-8859-1?q?wDtyUMmSiHTyaPaD19VZYH14dtItzE4EAyhDkcoKBYAIXG4JdC9uIT5r2xzn?= =?iso-8859-1?q?GgZbIgFFbJuEhoPqbguSsbP6ZO2Rfp+88+iJRm0d5Jka1oVNkaHUR66Jdvul?= =?iso-8859-1?q?8qaUMOqG+rcblQwSysqFsystgH2BGiSrOOGt4uPuGhqGnt/uHgweXJ688Z0/?= =?iso-8859-1?q?nPMf/WsaA2ZfocifKwiXs9GjoALS+R037/q3LKzNon5UnCosz4pZyKplaRwv?= =?iso-8859-1?q?rpgxkN8ilkFhDIkw1HdkeoMlpZsSqDUs9dCrY0BTwXCdp9p1Ux7NeFfllDCd?= =?iso-8859-1?q?2ObYLnWASOWQ2Z7aXFCC95ucz2mnjFf1dkuAlx+EacE1ZeY5KFmkq794fF3Z?= =?iso-8859-1?q?99u+rUaF2vk78=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 095972DF2F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(376002)(346002)(136003)(366004)(39860400002)(199004)(189003)(6116002)(105586002)(106356001)(5660300002)(81166006)(71190400001)(81156014)(2351001)(97736004)(1730700003)(71200400001)(66066001)(478600001)(8676002)(14444005)(2906002)(3846002)(305945005)(86362001)(14454004)(7416002)(7736002)(6486002)(6436002)(316002)(5640700003)(6916009)(6512007)(36756003)(256004)(26005)(476003)(54906003)(4326008)(486006)(2501003)(50226002)(446003)(68736007)(11346002)(44832011)(99286004)(52116002)(76176011)(2616005)(1076003)(8936002)(53936002)(102836004)(386003)(6506007)(186003)(25786009)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB3485; H:VI1PR0402MB3357.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-message-info: iqTxSechP18UD6N5eB4mY3kTA8uc5fQsQyEKkMMRPA7nkHRp1s/ZmMwEKSG+kFrX9iB3J3l0iMD/4JU3cPqQJX1wOynlwIpi81MZuzXUYebPdbpsFC7uumhbJZ3RAvFxa9NcA+n/cM7bswvxE2NcPP7K0BpQdguPL/sjgDdjZSupZOmUSfojlCJL9AK9rHv+f3EYmEyADf1nM96sQ55xY4xBkCx15YJzBpfEclOhtDOAHptmOEqexDdzCKSJAvJssO6Ehos/7cnPiVHNsx08i7UtIwbphAK/LUR7P7SDiVfplha8+npME9xOvOfllV5/ehp5J3cnK1Ej8zEyav+0F7GIdQO2UE5ri/1CgowN6QybpGI8zNdfo/RJSL6n9AdCHu4Sux1yM73U/HeVDr6jsOi0tac0+AiHwIkKOp3Phx0= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2e1a1c1b-be6e-4ed2-dfbe-08d69b24de4d X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Feb 2019 13:26:36.2621 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3485 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190225_052643_570861_3E0E173E X-CRM114-Status: GOOD ( 10.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "mark.rutland@arm.com" , "devicetree@vger.kernel.org" , "baruch@tkos.co.il" , Abel Vesa , "ccaione@baylibre.com" , Daniel Baluta , "S.j. Wang" , "angus@akkea.ca" , "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Aisheng Dong , "agx@sigxcpu.org" , "festevam@gmail.com" , "s.hauer@pengutronix.de" , "linux-arm-kernel@lists.infradead.org" , "l.stach@pengutronix.de" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP SAI2 is part of AIPS-3 memory region and it's the DAI through which the wm8524 codec gets its data. Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 8cafec17726b..6fe5798afd2d 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -489,6 +489,22 @@ status = "disabled"; }; + sai2: sai@308b0000 { + #sound-dai-cells = <0>; + compatible = "fsl,imx8mq-sai", + "fsl,imx6sx-sai"; + reg = <0x308b0000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MQ_CLK_SAI2_IPG>, + <&clk IMX8MQ_CLK_DUMMY>, + <&clk IMX8MQ_CLK_SAI2_ROOT>, + <&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_CLK_DUMMY>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&sdma1 10 24 0>, <&sdma1 11 24 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + i2c1: i2c@30a20000 { compatible = "fsl,imx8mq-i2c", "fsl,imx21-i2c"; reg = <0x30a20000 0x10000>; From patchwork Mon Feb 25 13:26:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 10828585 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DB4131575 for ; Mon, 25 Feb 2019 13:27:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C7BE92B223 for ; Mon, 25 Feb 2019 13:27:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B8A452B573; Mon, 25 Feb 2019 13:27:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A6E1E2B223 for ; Mon, 25 Feb 2019 13:27:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hfzjJGlzGA88Ny7wMmFpwA/msKsqvjELi1ZJjEWzOjg=; b=XXAoS8D3uEreMs omEJA+9Zv91vu5W55qL1FLbXv/Ocp5jolmiT0DgeTR82BHI6CuxwCkBsz0haDDDX87mvme8NUm9jM xNgSDGRyRYWOePYeOaKxNLPii3hvpe3PEZG76jZOMxEEXZrlW+OlmeWNzzkltkj9gYAeuvuUs60MA /avbJTdACKuFAy0OdX/gAChJCthbidt8MnoyLs4Z+9j5iP3OtbyqXgHPPrtf9CIeQg3ToeO5h5qBH YPsuPTUvy7X215a6imYPgya2OvtkotWwROpYRkAc0pu7Zr7AcyJRCFOEh+y8w1auo70zT8gaDfYIu E4YR1bPPXBSpeIc0OzwQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gyGHg-0004Q8-S5; Mon, 25 Feb 2019 13:27:04 +0000 Received: from mail-eopbgr80050.outbound.protection.outlook.com ([40.107.8.50] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gyGHJ-00040i-Qh for linux-arm-kernel@lists.infradead.org; Mon, 25 Feb 2019 13:26:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+NVjQ5W4YBNYBcdkZZgEi3CaQg9mWST4R9OGsHO+J9I=; b=G6l+KmtizOMm6Zv1/48peT8QnHZTmZSLRa7Z4KMs9BSDN5kweDs1d5s4syUIhcvNZZ1EdDR5CyJJRX9v1tgrZdgIWf5olNIZDFlLm5hLbKwiGslKxxvCZyE2Bb1R2F9J280fiwMycq0osEFCvMJXHHYRqyfkyIMX5lDqvI3J4vI= Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com (52.134.1.18) by VI1PR0402MB2848.eurprd04.prod.outlook.com (10.175.23.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.14; Mon, 25 Feb 2019 13:26:38 +0000 Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::f80e:d03f:57bc:aced]) by VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::f80e:d03f:57bc:aced%2]) with mapi id 15.20.1643.019; Mon, 25 Feb 2019 13:26:38 +0000 From: Daniel Baluta To: "shawnguo@kernel.org" Subject: [PATCH 3/5 v2] arm64: dts: imx8qm: Add SAI pinctrl configuration Thread-Topic: [PATCH 3/5 v2] arm64: dts: imx8qm: Add SAI pinctrl configuration Thread-Index: AQHUzQ28wXrAHNk/4Uyx2h+Q8brW8w== Date: Mon, 25 Feb 2019 13:26:38 +0000 Message-ID: <20190225132617.10987-4-daniel.baluta@nxp.com> References: <20190225132617.10987-1-daniel.baluta@nxp.com> In-Reply-To: <20190225132617.10987-1-daniel.baluta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR08CA0192.eurprd08.prod.outlook.com (2603:10a6:800:d2::22) To VI1PR0402MB3357.eurprd04.prod.outlook.com (2603:10a6:803:2::18) x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [95.76.156.53] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8694eaa0-7251-4f2b-3a24-08d69b24def5 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0402MB2848; x-ms-traffictypediagnostic: VI1PR0402MB2848: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; VI1PR0402MB2848; 23:8sJyYBJS3nd6fvl7RuDJEm17hSBzNq89cpYth?= =?iso-8859-1?q?zVsvPaHgBcZcws05V?= =?iso-8859-1?q?ek8HfbgcCLM0QPG6Ytvcyt8KSKtCiDmQO3EolTUMECMMJAXjXUJ110V5nL6r?= =?iso-8859-1?q?DO/L4lewYwBrf6tXg/CB7feZhiRLQspkk6+VpRjiu/1WDv6AmuERZedr38Hm?= =?iso-8859-1?q?DCftDzned4gjUjuA8J+rm91wOTCBr4mmFu4e/sv5dzhelY4WasbSQkobPESJ?= =?iso-8859-1?q?Ho8BlAbCO/G06DqDMt33ti7roPAaHt6Q3LaiyIXhUd5dCpP4u0C/EwkXVSTw?= =?iso-8859-1?q?0HH0lB7F7KZnQpUdfQcIVYwZHq3o9pLjTJkZL8s/b7KNMr4VhZYtSo/jQBO6?= =?iso-8859-1?q?el6YFEZBIQg3Gps/VDpY59ZOVuLcr+pMrDF69Djy4SW20g3RvQIUtvGakQEg?= =?iso-8859-1?q?cEgnp9bBZspw+Xw8i1RinfsntipqppH/RQrsVj9C/yCuLwpdFZ/4x0V5DFDu?= =?iso-8859-1?q?1vdjepM11rqlZNPDabqQhMlq0EGNJxK3ZvhHznZ+AZTZmrxK6WogZHK15WGo?= =?iso-8859-1?q?qxJLWlfzvaOFLDTVuS982n5DeIvCnjHhnIjOlOeMnzRiJKYWE7IkIFtLJz9w?= =?iso-8859-1?q?rgfVO+MTG2GgSBWYxLGTj/rwzk/UHc4ViDfrzvcbolp3SAgb3I3pTYo/6p3J?= =?iso-8859-1?q?eyJa/eCI+LkYpzZDKxW02LHSnzqXMbwmMPyj1cpS4MWLK9yKacuTdER61CEt?= =?iso-8859-1?q?YVBvuyOLlS1VDP+bwtRhv7QCR4wITwhqgyysaQdno28mx2taVuNLbXieU6jC?= =?iso-8859-1?q?Mt2McwwfdfFy2McEqIMJp+rFlsXTchrbpM6Mf4x7pzPJMzmIggVas5S1iCJG?= =?iso-8859-1?q?syUVHQC4wlAMtC1DBvibEi5eWJjgtUGrXWKoWL+yTj6OfvzR2HjhfCAId7SR?= =?iso-8859-1?q?aD5y8QDajdQza5Hz3vIKVD9BAJWt6cdO9Ww53aUO1uEXEVcO/ScW2F49PZ6v?= =?iso-8859-1?q?dnFpCGIJasvDFq/vnWJqZN0S7gZCz6Sp8WsmwBJw+lQ6UW7J9GOaVcb5uAPC?= =?iso-8859-1?q?94I1jGcUnELOcTb36w7g7JtaBF1iqQZpWmu75OzeMvP/JPtQ+5lTEZ0IKZ8m?= =?iso-8859-1?q?43qxSaRvfExHGgbygnew6ed4a3CKu7IvQSB2E0vSZXYGmi/dFAkdVGe2iJSB?= =?iso-8859-1?q?cEa1ztoa9Wc32yqadbq5JWwuk3ujfcnnOKhTae1hTqt+l7JDfuEwQL8VlBcc?= =?iso-8859-1?q?PKMZt+YlCvl/4hL8G/2U9ktXBGlYXghzRrI8HyJj7ld6j2szGNAa9iIUqM+o?= =?iso-8859-1?q?dhUK535pJPUCwQkX4cKpOkg/ZBGfUFwj4QLNcRAQWL8Ryt/yShLb3RbXk07N?= =?iso-8859-1?q?dbHXcGdaD6KA/eBpw2UxgvTUe97DuQOoop/w5F9XzokKWqBcuQzJMz5vSpcy?= =?iso-8859-1?q?MBYCEMforW7v9EN2w3lHRRHyM2ayiXwSfq?= x-microsoft-antispam-prvs: x-forefront-prvs: 095972DF2F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(366004)(346002)(136003)(376002)(199004)(189003)(6346003)(66066001)(4326008)(68736007)(76176011)(99286004)(6916009)(256004)(478600001)(7416002)(386003)(97736004)(25786009)(6486002)(2501003)(26005)(8936002)(6506007)(14454004)(52116002)(36756003)(186003)(4744005)(50226002)(102836004)(8676002)(81156014)(1730700003)(53936002)(2351001)(11346002)(106356001)(5660300002)(81166006)(316002)(86362001)(6512007)(7736002)(305945005)(71190400001)(2906002)(6116002)(5640700003)(3846002)(6436002)(54906003)(1076003)(44832011)(486006)(446003)(105586002)(2616005)(476003)(71200400001)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB2848; H:VI1PR0402MB3357.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) authentication-results: spf=none (sender IP is ) smtp.mailfrom=daniel.baluta@nxp.com; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: OjPi85spDeL1Fth8iN/k35hMQ/sbq/WNK3kp2qaT5k4tuMiPDv2+ESRqM1LIOyVQ8BgvA4JAAvVZ3G5c2HOLwksMMsnUILZB7DmffvlkmmcM3HX0cEUiELu17JqTfHRtsLsbJb7X0MW7OGZOh1qeLYfUWa20aeEFjsv4eL/QctamVqCszS3pAUzws4/bBtrL1bOOEc+bOj7/beimkCnsKJVMrVNtY/slBg8pXD48TrV7dEYQMuUnQd+BRgqVXXfgSdU9kEyTj2BMz4TOmqvvEMc+xJ+PWmcDK0GuGZXDkrT8edsp3i/viKXab4T2P2I9hnO4tZrGVEIpM2eQ1PewX35PRkn0hB2Q8iz5vzq3oKUW2Pmjrccx8KFuK3pJ1QqUnDKh0+Md7ybgofES1fLffoq/3xt6uPXS6lKbQ83ERoU= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8694eaa0-7251-4f2b-3a24-08d69b24def5 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Feb 2019 13:26:37.3679 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB2848 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190225_052641_862622_0D300A0B X-CRM114-Status: GOOD ( 11.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "mark.rutland@arm.com" , "devicetree@vger.kernel.org" , "baruch@tkos.co.il" , Abel Vesa , "ccaione@baylibre.com" , Daniel Baluta , "S.j. Wang" , "angus@akkea.ca" , "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Aisheng Dong , "agx@sigxcpu.org" , "festevam@gmail.com" , "s.hauer@pengutronix.de" , "linux-arm-kernel@lists.infradead.org" , "l.stach@pengutronix.de" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This sets the pin configuration for SAI pins BLCK/MCLK/FSYNC/DATA. GPIO_01 is used for mute. Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index 54737bf1772f..d21ee2a5312c 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts @@ -223,6 +223,16 @@ >; }; + pinctrl_sai2: sai2grp { + fsl,pins = < + MX8MQ_IOMUXC_SAI2_TXFS_SAI2_TX_SYNC 0xd6 + MX8MQ_IOMUXC_SAI2_TXC_SAI2_TX_BCLK 0xd6 + MX8MQ_IOMUXC_SAI2_MCLK_SAI2_MCLK 0xd6 + MX8MQ_IOMUXC_SAI2_TXD0_SAI2_TX_DATA0 0xd6 + MX8MQ_IOMUXC_GPIO1_IO08_GPIO1_IO8 0xd6 + >; + }; + pinctrl_i2c1: i2c1grp { fsl,pins = < MX8MQ_IOMUXC_I2C1_SCL_I2C1_SCL 0x4000007f From patchwork Mon Feb 25 13:26:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 10828589 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 85FCE1805 for ; Mon, 25 Feb 2019 13:27:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 76F102B223 for ; Mon, 25 Feb 2019 13:27:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A0AE2B255; Mon, 25 Feb 2019 13:27:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1613F2B223 for ; Mon, 25 Feb 2019 13:27:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4gw/cfm1sPI+rzG/6rlfgGt+6oPlmnM7UyJLMOntFwM=; b=rZ0f76kqyXZdo4 Z3SlCwukefoogEnqcPJv2K08wLpeXUN0bEZxhPijINJijL4JMBjB50TYhX5KwPH+ujN4kEyL8RHlR 9k7xhd0M2J+DtGDR/yPqCtHmYWKDZZOYhcx8iAqc7vDpK3x3ILCyeenIFJRP/tsvna1qqCDZZVcWn c/MyZzlAtWzVMrlVtf7qw/t19Ts8vdwaxbIPiw72LN8zKRAAg7XaAR/jGRI7riLXXRZHW/Ld2k3Oc C+vhH1M0iwlH86toQOUbCfEYXNlGaHP6VdSUqtLyyPWbjOqJo5jFr0l0slQzv6J6q485oTnpVZI/9 sXZhYqK4drEM9S/Ukl5w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gyGI3-0004uP-MA; Mon, 25 Feb 2019 13:27:27 +0000 Received: from mail-eopbgr80050.outbound.protection.outlook.com ([40.107.8.50] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gyGHL-00040i-KM for linux-arm-kernel@lists.infradead.org; Mon, 25 Feb 2019 13:26:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OX6q6lc+tbP1OZ3w/LXO0CGKRYLxDEuL2tCmm+8URqk=; b=c28tySfHqhNrh4S2HhpdLUYgaWLsG45xsS0fDXVunxqqtG2w774SbJktj2fTrif/7/dXZ/jQ74R7f95LwVs5ZppYSJCTf45u6p93r38mWp0SyDGCeeFJyiUtmcDW2wu5Zuab6FzkOejNwlolRjOz8eZyKNRXceQpCbat9J0c8sE= Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com (52.134.1.18) by VI1PR0402MB2848.eurprd04.prod.outlook.com (10.175.23.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.14; Mon, 25 Feb 2019 13:26:39 +0000 Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::f80e:d03f:57bc:aced]) by VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::f80e:d03f:57bc:aced%2]) with mapi id 15.20.1643.019; Mon, 25 Feb 2019 13:26:39 +0000 From: Daniel Baluta To: "shawnguo@kernel.org" Subject: [PATCH 4/5 v2] arm64: dts: imx8qm: Enable SAI2 for wm8524 codec Thread-Topic: [PATCH 4/5 v2] arm64: dts: imx8qm: Enable SAI2 for wm8524 codec Thread-Index: AQHUzQ297yImCNxuE0SjFgDwYcA5Nw== Date: Mon, 25 Feb 2019 13:26:39 +0000 Message-ID: <20190225132617.10987-5-daniel.baluta@nxp.com> References: <20190225132617.10987-1-daniel.baluta@nxp.com> In-Reply-To: <20190225132617.10987-1-daniel.baluta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR08CA0192.eurprd08.prod.outlook.com (2603:10a6:800:d2::22) To VI1PR0402MB3357.eurprd04.prod.outlook.com (2603:10a6:803:2::18) x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [95.76.156.53] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fc0825b7-51db-4f30-c349-08d69b24df98 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0402MB2848; x-ms-traffictypediagnostic: VI1PR0402MB2848: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; VI1PR0402MB2848; 23:2bqlfVPLcIm+oe9OxLQWdmRdaMyZ5ezxbIdk2?= =?iso-8859-1?q?By9L4X+PHYmn/0Kzw?= =?iso-8859-1?q?YSxEiH92DSz5/erGZ7yfSX1Uzm8EEe/jEZKcsuRxQl1/yy5DnEi5xhcihh3w?= =?iso-8859-1?q?mNvf1MUcHgj//FvAaqai/41nWoFxEVl9eYnIm06Ug33iuW2Ktwn9tua4q8KZ?= =?iso-8859-1?q?yxQvUzVCYBdhp9ynmcB99pyhStgrXQwMkzcFd/yxvbocRv3sdTgui7M+g8HB?= =?iso-8859-1?q?k9xlUxR12jwoaGa7Eu6kfH8yauZ11pQa8ik5whKKOUnj7mijn+obEj/IuV/b?= =?iso-8859-1?q?KTn/lJ9nUejpFSeFE/UvvqowOAD1UZPZqBIONZv1YOZ4bNYS1SZZp6dkZuhn?= =?iso-8859-1?q?OQodqxIMA0zlWv0BDHEENAXU/ufc69nkYffzM1fOlK4l7kCZwA8hvQW8xcXs?= =?iso-8859-1?q?WMRxn3T3z4iUMJsppbMFFpcEXcpoy5rDMWI4+bPt97nWm52yd1u8a5YyN6Uq?= =?iso-8859-1?q?7CSBom5PLjbv1++HVccCPFWR2gFRu2eyf2Ie5upaFF3+NfhyuUl2Gq0e9H3p?= =?iso-8859-1?q?EIloFTa69TfWJzh/9qCEFfKwNLfXB0bBTh4Dml6O0k47bFMC+WYATW5DaAdk?= =?iso-8859-1?q?xgLUHB/R6YkkdCw8oehBrkDKwBARxOAY/5B403uulAAxI1Go1N0FVggTn75Q?= =?iso-8859-1?q?+9UOfaiIKss/t5dcjIq7BlvkmOVslJMPUJYbStQwcCMGMTmq5vAWrhEUHaQF?= =?iso-8859-1?q?reuVyT9Vu8LRVDJhuij+K1Fp8C0GUvRyPBnzpu8bsaylvqG+gT4aA/ny6hGT?= =?iso-8859-1?q?r8vs5UZT+GsJ5W/T2z9cHO99QY/NHf7abLG8dRMgsF0EM+Zqxl4dDYDCzt91?= =?iso-8859-1?q?TKNNWg9tbebMGfBy8QzOrxL2YaHzBd76VHEF9N3ZhikrxF6+A/XqxAaoOocF?= =?iso-8859-1?q?sgj92KHOQ4rx0tL/+MeK+KrmWAH0fXbLE9E/Ijgo2V/EOt0hdtKLciFMjMmi?= =?iso-8859-1?q?qiWOWlZZ8XW0t4/pqtLR4OVqBEeLZ8NhesFrdm7gid5wvrvYPIuCd6ipW7os?= =?iso-8859-1?q?ct681PGwOVUMuDxrSjn918k8NW+GRJP7ITivdrjQTO27MnzlSQSefak60t3X?= =?iso-8859-1?q?8xUrfa4PL461EsafxJbPOFeBktCl+Hw9HWpYMttrMw6JRFwZ1GynTPRCmW4G?= =?iso-8859-1?q?c6zcf2ieisgcWzYU8T4ZpfAUnyMj0QGVXHi5HfN9ZteJkjTfd4+ZNSLjy8IJ?= =?iso-8859-1?q?oSlW6HPnGoAgREA5fPCKW/qUTgrof7iDMAqepdcQBOSYYpTIyYbck4UI3eQK?= =?iso-8859-1?q?PeEZTak2gkSaF5xo7DpbB+9TnZyNV19O7S+JjJR6V8JdJFbKVhFshME7oBU0?= =?iso-8859-1?q?f2Z+RSdxaCeZg7RyiME1yQQ7ngzOYcF0M0CqMdyw+cjIGgu8OxxduJJh4kjT?= =?iso-8859-1?q?SzkxzduYIDZLP+CLkHInPRn9VXvzVkgR4AbUKQgGlnXdTEr4KYAImvrw=3D?= =?iso-8859-1?q?=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 095972DF2F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(366004)(346002)(136003)(376002)(199004)(189003)(6346003)(66066001)(4326008)(68736007)(76176011)(99286004)(6916009)(256004)(478600001)(7416002)(386003)(97736004)(25786009)(6486002)(2501003)(26005)(8936002)(6506007)(14454004)(52116002)(36756003)(186003)(4744005)(50226002)(102836004)(8676002)(81156014)(1730700003)(53936002)(2351001)(11346002)(106356001)(5660300002)(81166006)(316002)(86362001)(6512007)(7736002)(305945005)(71190400001)(2906002)(6116002)(14444005)(5640700003)(3846002)(6436002)(54906003)(1076003)(44832011)(486006)(446003)(105586002)(2616005)(476003)(71200400001)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB2848; H:VI1PR0402MB3357.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) authentication-results: spf=none (sender IP is ) smtp.mailfrom=daniel.baluta@nxp.com; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 2C3qVw3ly5rhYyQLlNaP70G2IEqIhhK/cO1jvmYJQQrCHSBnUQS9GZrgk0xA4VALj/rME34IuUIIJTyBqM92+lTjGh56H8P4/g5rxa7f3t1sT+sy3RTkyFjEcJXJxf9Q/ZzWCLk5RJTTNESRz1Mheqc8G6vEX3xY7Ve4c+UQI54l4WALia+n3XvxnCdODUAwYABwLllPAxcS2LzwVAHI1v/E2zzblNTXTRkEAd0GGbdjWfcHNYFL//9M720LxCp7vjvN8weCG3Ebpce/Vy2CifzbjcmKX/N6OwnaiSnbhSgGBts3RC8FbpMzmeRHoQQGIoc2f5hWfRCQJOkRVnGfDS0swBriNlxm2NWEeHDnJi/gYiL4NpMWDtHAqAN0Er2b55NR/RvI2JjfrUeJth8MyDtYwi5B0LFTj36r/rJSpP8= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fc0825b7-51db-4f30-c349-08d69b24df98 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Feb 2019 13:26:38.4247 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB2848 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190225_052643_964674_81010CEC X-CRM114-Status: UNSURE ( 9.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "mark.rutland@arm.com" , "devicetree@vger.kernel.org" , "baruch@tkos.co.il" , Abel Vesa , "ccaione@baylibre.com" , Daniel Baluta , "S.j. Wang" , "angus@akkea.ca" , "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Aisheng Dong , "agx@sigxcpu.org" , "festevam@gmail.com" , "s.hauer@pengutronix.de" , "linux-arm-kernel@lists.infradead.org" , "l.stach@pengutronix.de" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This enables SAI2 digital audio interface to be used with wm8524 codec. wm8524 works only in slave mode, so we make sure that IMX8MQ_CLK_SAI2 has an appropriate frequency in order to easily derive rates divisible with 8000. Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index d21ee2a5312c..58de4a3d6029 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts @@ -52,6 +52,15 @@ }; }; +&sai2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sai2>; + assigned-clocks = <&clk IMX8MQ_CLK_SAI2>; + assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>; + assigned-clock-rates = <24576000>; + status = "okay"; +}; + &i2c1 { clock-frequency = <100000>; pinctrl-names = "default"; From patchwork Mon Feb 25 13:26:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 10828591 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 15CBD1399 for ; Mon, 25 Feb 2019 13:27:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0487E2B223 for ; Mon, 25 Feb 2019 13:27:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EB6A52B255; Mon, 25 Feb 2019 13:27:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 95C592B223 for ; Mon, 25 Feb 2019 13:27:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pY7yZxLoz+3MGIohqLIDJNT+O6kDZ5NaIaLr1mtGvQY=; b=SO7V5oF3a/kZBj lrRiRVmqOMqyzd1ICHmvfmtIpQscaf2z955ajrEVwsuYXlRMPUob3sVfpEYwF+DBJ6BBmazRZnPMV cd+YxIHwaeb1s4dyl3QmxW6sJEUFo99vDzq4C4pGpv1YMzWnzIQNNIG7iAdXugU8SUQme8T7loePb EiUy3rza4j982TGB/Q9MQvheqmZXBz/E8OG2mKMgzxc27Nn9liWqnM5uu3jXq0opGrTdDz2dlG0X1 zpGExOJU5mStk/I9dJshTUn5Xsj9YgI0axrOjNrG+jsi2NSZgP4u4HeYgCttKholagrazVNQtIkTj HruipUT+2M+AEbNA3lUw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gyGIE-00058x-MW; Mon, 25 Feb 2019 13:27:38 +0000 Received: from mail-eopbgr80050.outbound.protection.outlook.com ([40.107.8.50] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gyGHP-00040i-Sr for linux-arm-kernel@lists.infradead.org; Mon, 25 Feb 2019 13:26:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Znr2T6ovlH7mTq+u1NnPVFs5YNm/YXTxwScDcqrMY/A=; b=MH0/iRTQoacyupeIbl+9Sk24RtLhug750TIbWCiOw9IBg0NTZbTeYvsuZRI3xGw/iNegat++o+U7ijubb/HHMxKQHrEpr6TkBaX0tYMgcKYr6noTcpmaPiEvMPb21peR75vGJkglK7JT0pqd67uvdZWM7LW5bnJLjLqFoomm8hI= Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com (52.134.1.18) by VI1PR0402MB2848.eurprd04.prod.outlook.com (10.175.23.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.14; Mon, 25 Feb 2019 13:26:40 +0000 Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::f80e:d03f:57bc:aced]) by VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::f80e:d03f:57bc:aced%2]) with mapi id 15.20.1643.019; Mon, 25 Feb 2019 13:26:40 +0000 From: Daniel Baluta To: "shawnguo@kernel.org" Subject: [PATCH 5/5 v2] arm64: dts: imx8qm: Enable wm8524 codec Thread-Topic: [PATCH 5/5 v2] arm64: dts: imx8qm: Enable wm8524 codec Thread-Index: AQHUzQ29rxqqHbREuU2MYYiTHMV1fg== Date: Mon, 25 Feb 2019 13:26:40 +0000 Message-ID: <20190225132617.10987-6-daniel.baluta@nxp.com> References: <20190225132617.10987-1-daniel.baluta@nxp.com> In-Reply-To: <20190225132617.10987-1-daniel.baluta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR08CA0192.eurprd08.prod.outlook.com (2603:10a6:800:d2::22) To VI1PR0402MB3357.eurprd04.prod.outlook.com (2603:10a6:803:2::18) x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [95.76.156.53] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9aa39755-d38e-41cb-1b66-08d69b24e037 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0402MB2848; x-ms-traffictypediagnostic: VI1PR0402MB2848: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; VI1PR0402MB2848; 23:nTkk5W/BJG+RF/Er7wMgruVmAC06D3F4q/FuO?= =?iso-8859-1?q?b9cGP2qpV/hwTXkYt?= =?iso-8859-1?q?2eMRE+M9NVYIk3JrWNySuNWIEjZQ1r5eyJ2BHdjLYbzddKEwOUyo2+LAXN5k?= =?iso-8859-1?q?Iz+KCqqgMMbCna9Jta+trI790x7qGiqwV+4Ne1t8p47sgkiYD8EHUV9gGp4X?= =?iso-8859-1?q?27L9lLUKH/x2IpQHMw7UNYHbCBG6FYywXok3Vxh+xDikmlSp+E3H76I0W2D+?= =?iso-8859-1?q?YYG3o0QoqaSF0mCMJGpxcPNk0aI/kEoOAIPe31YeqiOTXY0feRuQcFO4h71m?= =?iso-8859-1?q?lzQR1DJEVfLV+uS32GZtlwevDZIwaldwUbi2+u2i7N+2we/9CIMitJXG1KJh?= =?iso-8859-1?q?RyaS5kNgkPOwiJYyejHJDv7pDxCa5tHt3FnD6Snkn3u1VodTTL3vocbGw2Fs?= =?iso-8859-1?q?mIkffTMW1PTJVVoEUwnbBrK4U6QZWpBlrMWt1NIebonJ4Zlmfb6lniA1P/JB?= =?iso-8859-1?q?AVFEv8l+ls62E6AYWj3LwuGP1s/ffBB6EXKW4M46dwkutRVxw0LzrRH4HzO4?= =?iso-8859-1?q?T0e0BlO9jeVvP9n80sHw+/nhKBH9/XzO8SiEDKk1XJHY2Zz4eVDex2lNS0dC?= =?iso-8859-1?q?vEpXnyubZocnXrSOKH+Y3/mRTkMZ5gfTPU5M7BnQmfHrWG9l16QZMUTfAmNW?= =?iso-8859-1?q?g9JwKbhJ04ZkK3LfUdT2zLPb2Ao401r4HJF+q1qs+1FvYwm3Rzz+1Lu27Ah5?= =?iso-8859-1?q?XoZePKJGXQ9AqYwudbKm2xGXHSVCfByv8PszXm3xSAhpQdt0it9wpt0CT7+S?= =?iso-8859-1?q?5shimRDts6RJc9L2tDx0HxfV9lGh5YYtjey45xSlKAWG7OlZwmKUBBzupfkW?= =?iso-8859-1?q?0wTI1+sGBmPAanNRRVVy4WRiv3sTerovPUDKafSTl1ZfbAmHgUwmBZoM/yq5?= =?iso-8859-1?q?gvdh1z0Vrykz5wQPhpM6Wym848bRRVrtLLelTEm5IfoLyd6gIMWhsbJVhOay?= =?iso-8859-1?q?/onHQLw2kRatDl3nDsC0o6btxX+8jyRwVVhkhFeUb5Q3OpQImz/6eTweFQj0?= =?iso-8859-1?q?95e03tN95Fv3BWfpmCXVC96BkxOE/z4pVHA6LKtqnlnnf7vZ115/hbq09RlA?= =?iso-8859-1?q?K4JwymVupbvS39eLBwDSpejCSh8HJKNGwUArCftvhdGhWnK6vUWBWRAe/IYk?= =?iso-8859-1?q?2Mavs081xacApFICiSfifs9EBZpMMKHNpMxryHWJy24cd3omLvQ1GF7sGk6u?= =?iso-8859-1?q?hWDbExq7MOXc/cdocNnp6drFwlZ7Imh38rXbOJSd3hZ6n2C5lj87psPTGlsw?= =?iso-8859-1?q?jGpTyb/YaqABOfXRKoDTf12BNMOAgrMUYqcAlzU2TQkFTPJ/Bz1JNsv2a87D?= =?iso-8859-1?q?YooogcK3DC5zlZynXnzNwl5Q+FkX6YfiPQ30WdkVa5kqoQoURfDj5qI/WaxT?= =?iso-8859-1?q?Pwb5q8oK33YUk=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 095972DF2F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(366004)(346002)(136003)(376002)(199004)(189003)(6346003)(66066001)(4326008)(68736007)(76176011)(99286004)(6916009)(256004)(478600001)(7416002)(386003)(97736004)(25786009)(6486002)(2501003)(26005)(8936002)(6506007)(14454004)(52116002)(36756003)(186003)(50226002)(102836004)(8676002)(81156014)(1730700003)(53936002)(2351001)(11346002)(106356001)(5660300002)(81166006)(316002)(86362001)(6512007)(7736002)(305945005)(71190400001)(2906002)(6116002)(5640700003)(3846002)(6436002)(54906003)(1076003)(44832011)(486006)(446003)(105586002)(2616005)(476003)(71200400001)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB2848; H:VI1PR0402MB3357.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) authentication-results: spf=none (sender IP is ) smtp.mailfrom=daniel.baluta@nxp.com; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: jB5cFgSyGf3xWXjjg/EwBu0r/sSga4K448npyy6o+LLwxoBCjUhEfxZhLuNRcDTsRckUO8GKq6/dV7UoHqQEFwXlCgcqzM5tBoKtzKmQUCKtV2JTLTEuAozuA2/40pC5DMmy46lOQ7XWUu/o3vYkAO54Sn2PdWcdn74gsAJhTd4Ofi0l1Kyli/zDj6B9C1RLqRu3npeyU7gosBsTT0Wn2zk1P/HQKBgjidtGwD7XewREZnKi2aoNgp+F2pkC24iEenVCC9Xy5SyHM+YIiFkpbarW2jTpYWstjMXLboun3VPVuFaaGPRqQ4Q1JNH+dJg+G/0Udod3+g5sNegaOY6Ba91pOvNRUcfVDxltCn6C5xiPIZwVArzq58AX1zpI5aKblJ4+n5W870bqFOwQTaHD87mcEL9PJFkhS9fgEAeWbn8= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9aa39755-d38e-41cb-1b66-08d69b24e037 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Feb 2019 13:26:39.4664 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB2848 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190225_052648_233360_2352DFD9 X-CRM114-Status: UNSURE ( 9.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "mark.rutland@arm.com" , "devicetree@vger.kernel.org" , "baruch@tkos.co.il" , Abel Vesa , "ccaione@baylibre.com" , Daniel Baluta , "S.j. Wang" , "angus@akkea.ca" , "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Aisheng Dong , "agx@sigxcpu.org" , "festevam@gmail.com" , "s.hauer@pengutronix.de" , "linux-arm-kernel@lists.infradead.org" , "l.stach@pengutronix.de" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This uses simple-audio-card machine driver adding 1 CPU DAI and 1 Codec DAI. Signed-off-by: Daniel Baluta --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index 58de4a3d6029..77f590c13ee0 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts @@ -31,6 +31,35 @@ gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; enable-active-high; }; + + wm8524: audio-codec-0 { + #sound-dai-cells = <0>; + compatible = "wlf,wm8524"; + clocks = <&clk IMX8MQ_CLK_SAI2_ROOT>; + clock-names = "mclk"; + wlf,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; + }; + + sound-wm8524 { + compatible = "simple-audio-card"; + simple-audio-card,name = "wm8524-audio"; + simple-audio-card,format = "i2s"; + simple-audio-card,frame-master = <&cpudai>; + simple-audio-card,bitclock-master = <&cpudai>; + simple-audio-card,widgets = + "Line", "Left Line Out Jack", + "Line", "Right Line Out Jack"; + simple-audio-card,routing = + "Left Line Out Jack", "LINEVOUTL", + "Right Line Out Jack", "LINEVOUTR"; + cpudai: simple-audio-card,cpu { + sound-dai = <&sai2>; + }; + link_codec: simple-audio-card,codec { + sound-dai = <&wm8524>; + clocks = <&clk IMX8MQ_CLK_SAI2_ROOT>; + }; + }; }; &fec1 {