From patchwork Wed Feb 27 06:38:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 10831267 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 573691575 for ; Wed, 27 Feb 2019 06:38:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3F49B2CDDC for ; Wed, 27 Feb 2019 06:38:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 321952CEB1; Wed, 27 Feb 2019 06:38:29 +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 B3A8A2CDDC for ; Wed, 27 Feb 2019 06:38:28 +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: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:In-Reply-To:References: List-Owner; bh=Q7xt88Dyo2/715tmFEsOWPl8mbeMAohJ/D/vvrdd4Do=; b=VvWgPdEpsXWnoS LRVu6tQQtfcYdRfuwaTpl7dZFBXk39IULA36XymlW162eM1o3nTnQ7Xx6ddTgX5t+T5QiD5aZqgoP cHG5Ns48IZ1p9nYHpu3usJ15spr5sY+SOilQI6kbrj4bPjt7zl898YhxbD/CjhngE/ELKYcXsBs3U vWdU9Tacd3QmqHkds7j4vJX5VKVYdW8lnoZilZiIEj/e2vllpR3dkX4OhJHWszVkxkzcXct+k5jc2 PyifCepz+Xxm5YPD2WtNGl93ggbGwwRAiPaHkk8AnFim1q6PNTn00f8yik1QRIh8KlSmaoslpuPCT 4kvHfeO3ixOALrMFwF/Q==; 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 1gysrE-00011e-F9; Wed, 27 Feb 2019 06:38:20 +0000 Received: from mail-eopbgr30068.outbound.protection.outlook.com ([40.107.3.68] helo=EUR03-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gysrA-00010h-Et for linux-arm-kernel@lists.infradead.org; Wed, 27 Feb 2019 06:38:18 +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=UJf8ZFnjY2PSGK0g2KWiF2gXwSc+8hhDJCQRava8+Xs=; b=nlnNcysbqgkbPWZEoLdBRz6g46fA+OVpHZVWV1Mf9hYUeYB/r9qnrKCxiVRCZMa6IhmqIImeKyR7jtR3gKuEH/R1LTg7juKCO4xZtzkWiUwA3jM8UJq6umMJ/hH+3AhKMXmRvYJCwF7v8LWjRnv98eEPh/+3DWXYYr1BhPiqbaQ= Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com (52.134.1.18) by VI1PR0402MB3615.eurprd04.prod.outlook.com (52.134.7.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.14; Wed, 27 Feb 2019 06:38:08 +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; Wed, 27 Feb 2019 06:38:08 +0000 From: Daniel Baluta To: "shawnguo@kernel.org" Subject: [PATCH v4 0/5] Enable wm8524 on i.MX8MQ-EVK Thread-Topic: [PATCH v4 0/5] Enable wm8524 on i.MX8MQ-EVK Thread-Index: AQHUzmcAW34J9B4cPUiudYtARhaiwA== Date: Wed, 27 Feb 2019 06:38:08 +0000 Message-ID: <20190227063737.24445-1-daniel.baluta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR07CA0152.eurprd07.prod.outlook.com (2603:10a6:802:16::39) 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: 9a61236c-cb90-4a87-738b-08d69c7e22e0 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:VI1PR0402MB3615; x-ms-traffictypediagnostic: VI1PR0402MB3615: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; VI1PR0402MB3615; 23:CqlPSv700h+hrl4TE3itfeibekWmqpsBeG7sV?= =?iso-8859-1?q?GFqsB2mvN67QtXSp7?= =?iso-8859-1?q?MSn171ipqtd01462Xpe9srWUAHSfZY3l2tfufh209q0QkWvpINOVOJnW5z4Y?= =?iso-8859-1?q?loaoLHjP6ptAYxwtChhnU4TDCKI/jkYCVEzbDA6zdB7xd26S+dBdZQlN/tjH?= =?iso-8859-1?q?zlPGEEYWk1w5O8FAZ3vI0TcqiIIX0EH9wkSNYdsH5WRRqa49psgNf1xZvFY1?= =?iso-8859-1?q?jIEuF5jkoKPjpTcTorN3NRq0osNgRr2k/WqztKo/ZX6bhkXsbUbHlQTlKTBu?= =?iso-8859-1?q?nepDCfOHnG54PfqgWlCD6gO8pcB/8HbABFUpxvFMG4WB6KGKZkvdKoz2yuFJ?= =?iso-8859-1?q?itobviqUgRcA63i4+b25rLjb15X4+QsThg8AAqI2/uvR33sYlKP3vxHPxBgT?= =?iso-8859-1?q?EPUGpXE+2KWpQTCyEdCV5ZuKOb629zmSgqV31eN+kl5XLnwITYM7AsmkYgHo?= =?iso-8859-1?q?jXa79I7dLystOvupkQM5FTNsSDWKcLZc4Rnii+iGLTH/tY9KhNC/NbL5oH8s?= =?iso-8859-1?q?rkiIgfzSu1iJuMIkO6FYkuB8NmcRfVIS2RakCnuo+7yErHsOVTw7pd2NIeLx?= =?iso-8859-1?q?MtB1f9AEAABVc/fA/un/Sjk0Rw+L2ouBXtg7W7f4SzRetOlk6OICVy39yR9a?= =?iso-8859-1?q?nomd7eYJ9706JwbD2DyiBU5j37wIXeFLvCHcGfYsP4ABcB29nTPaexau3iFw?= =?iso-8859-1?q?Nqp49dcpAPlMOBhdELgUtLuQrHc1dLdIw1zmIHQN/5oLQvRCL8hbMdAahMk6?= =?iso-8859-1?q?651Ql5ysWTSOMzgsPWgpTshnQCns6Up2ykIxymouquysUONXYQgPexMXl3dj?= =?iso-8859-1?q?/YCqEdPMLHotXaC5vE+s6cCw0MzQp31eacfgWRCEqKRkCFosMbTnTWyVIycI?= =?iso-8859-1?q?WmVw9Ct28oaFJXtX3oK4hpLSr0U4f86+UeLfqZm9wC8ODnf+WlENYdNROYer?= =?iso-8859-1?q?JRZoGbQHvlgzYwAad2MMXUtpto9EjYM0bvpNIjFzikn2+jFWzMXXzwswuRwf?= =?iso-8859-1?q?J5Lp6G+rn1Q23SYSAFm7wpwAF823FU9qenPwfU4uaNKrxhOzwDJQbi8l38MF?= =?iso-8859-1?q?G/cMPeD7M0jPiGGuSfRyJCC4SEg4WEjXziYbWQrShurNdO1rQt/viMTEkE2v?= =?iso-8859-1?q?bMZAiQMgMHxaN8ALCAtK1eVpaOktXmRqdIyeYcZXn2/r9vjzfyQYS4GoAKZM?= =?iso-8859-1?q?lhKq1t7dfVdD9iBikNqxBbsEJlY8Gtc9uqUKRrvVuPiRzv8ZW48ni+3cI2K6?= =?iso-8859-1?q?6qsmiAjbJVLaE5SuKeF+dCC+K9xfRqW0lt5u5ycA8ZifOy9A=3D=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 0961DF5286 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(136003)(346002)(376002)(396003)(366004)(189003)(199004)(2616005)(71190400001)(7736002)(97736004)(71200400001)(305945005)(66066001)(81166006)(81156014)(44832011)(7416002)(5660300002)(26005)(105586002)(486006)(68736007)(106356001)(6486002)(476003)(86362001)(1730700003)(8676002)(2351001)(1076003)(52116002)(8936002)(3846002)(2906002)(36756003)(99286004)(316002)(6116002)(25786009)(478600001)(53936002)(5640700003)(102836004)(6916009)(54906003)(186003)(6436002)(256004)(14444005)(6512007)(14454004)(50226002)(4326008)(6506007)(386003)(2501003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB3615; H:VI1PR0402MB3357.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: yAxYf/llN0tIBDsq6bXWDdH5Kc/AqkAMpgNc19r0H5HR7fbo8gj/T44Mpu7H/9YXzBuHCG16VwJ3wQ3V47WOTh2j7+1R7Hj5Mh+zGb4XByCyybOwauC29+TTdmb3MJbvW/DIR9Dt5oMm3Iy7Esg3cgEDu5zsdogTVmupiIqCISx7wP9zQ5tG2dRjcBhaCdNLQn3CK3ZCPJLb3SQo3kGgXO+u432FuzS7HYEKTIGA59nOvlN7J1yiuSG5GjqXIVVyfICYVtP6LPA+VZpyCy1hUh9W+9/SwYAhabIopdJntORg1tJWljcBkpSdbMcPIjaugqljxy4FIgLQ1Uw0PjqNnEDiIuluOsvPPzv+M2ouD3GWn/GW0Nj+rqSm6N3Xn3e2bJsGkxEdXZnvHaZ39N2jJKsXp3gOaa6oSn+JFXQNoW0= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9a61236c-cb90-4a87-738b-08d69c7e22e0 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Feb 2019 06:38:07.6305 (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: VI1PR0402MB3615 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190226_223816_626868_63980D79 X-CRM114-Status: UNSURE ( 9.80 ) 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 , "kuninori.morimoto.gx@renesas.com" , "ccaione@baylibre.com" , "spencercw@gmail.com" , "S.j. Wang" , "angus@akkea.ca" , "linux-kernel@vger.kernel.org" , Daniel Baluta , "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 On i.MX8MQ-EVK we can start the party using the wm8524 codec which gets it's data through the SAI2 interface. In order to make it work this patch series enables the SDMA nodes, sets the correct pinctrl configuration and uses the simple card machine driver to put everything together. Changes since v3: - use "arm64: dts: imx8mq-evk" prefix for patches specific to 8MQ-EVK - squash together patches for setting up SAI (previous 3/5 and 4/5) - add back and document "fsl, imx8mq-sdma" compatbile string Changes since v2: - s/QM/MQ after Chris comments Changes since v1: - added cover letter - remove "fsl,imx8mq-sdma" compatible for sdma. Daniel Baluta (5): arm64: dts: imx8mq: Add SDMA nodes bindings: fsl-imx-sdma: Document fsl,imx8mq-sdma compatbile string arm64: dts: imx8mq: Add SAI2 node arm64: dts: imx8mq-evk: Enable SAI2 node arm64: dts: imx8mq-evk: Enable wm8524 codec .../devicetree/bindings/dma/fsl-imx-sdma.txt | 1 + arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 48 +++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8mq.dtsi | 38 +++++++++++++++ 3 files changed, 87 insertions(+)