From patchwork Fri Mar 8 12:02:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 10844559 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 EE2901669 for ; Fri, 8 Mar 2019 12:02:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D1C9129E9C for ; Fri, 8 Mar 2019 12:02:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BF7682E2D6; Fri, 8 Mar 2019 12:02:34 +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 2FAB629E9C for ; Fri, 8 Mar 2019 12:02:34 +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=YicYfMKUtwAbzCbVyQJEvTYYpFlssirXriaE2GVcf4k=; b=FmiDLf9we0wkKb zh9xsDoINtgQdLahoyV84DwIB2mlKY0n4VUwKECMneysmliE0GyS0Wz54qWQRPpsh1CoqXOBCM7s4 cFnLDdSHQGPIEC+xppmH7yJFQBYaA6LbZ8tGh2OCATqHj9Y+rqmUl1hRDSgcRZEOON5NIYWnWV7ZW i/qhSerLCT3LQbq2VxDpLdSTZWU/92JqCcIgCxVpwmzu9bKEp3eIcpU1gGWElVV/HWjMZKI9yHJV5 6Vy1+TRtdTwXCBP/O2XKdo9o0ImQabTxjBToi9kCmKtZ63lwjgoPV0JjU9CpkLjssW53AcwBVmmEk vlcMdp8tcLmxMXiV0uew==; 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 1h2ECt-0002vt-Sy; Fri, 08 Mar 2019 12:02:31 +0000 Received: from mail-eopbgr10072.outbound.protection.outlook.com ([40.107.1.72] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h2ECp-0002vD-W4 for linux-arm-kernel@lists.infradead.org; Fri, 08 Mar 2019 12:02:29 +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=pEZq2TR3bJk00a3rJY2c3mwKVvWrjzYGswVhXCtpW7Y=; b=YeHqf1KP9R/6/0kXptWqjJ8mHZ5O/YzjZRVSrp9QH3x0C0xnTMG5duqFH2jHRN+K6VqDNRIGcTwug7HziKcu/w5ATZzD7RsmSmmlK8rb7cTUUmPSiwcqMy8rTMatnORaXQgju8etWffYrALGGQ89oz101wCdAa0U5hZd5kk300w= Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com (52.134.1.18) by VI1PR0402MB3776.eurprd04.prod.outlook.com (52.134.15.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.18; Fri, 8 Mar 2019 12:02:21 +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.1686.019; Fri, 8 Mar 2019 12:02:21 +0000 From: Daniel Baluta To: "shawnguo@kernel.org" Subject: [PATCH v6 0/4] Enable wm8524 on i.MX8MQ-EVK Thread-Topic: [PATCH v6 0/4] Enable wm8524 on i.MX8MQ-EVK Thread-Index: AQHU1abIRppiqmtEjUatHwfHKpgWzg== Date: Fri, 8 Mar 2019 12:02:21 +0000 Message-ID: <20190308120141.3698-1-daniel.baluta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM6P193CA0074.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:88::15) 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: 7e1c347a-2d18-4b18-c720-08d6a3bdeb14 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:VI1PR0402MB3776; x-ms-traffictypediagnostic: VI1PR0402MB3776: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; VI1PR0402MB3776; 23:kDxdaAKsOFpQ+ZEjx4fZ/4YIWgNCt6fHgDiYz?= =?iso-8859-1?q?wx8x6mD8KsvLbDZ9/?= =?iso-8859-1?q?Uax2qPCA51jcqV3/l6FR0HnrJz2U5SXvUuOt4hjtdM2fwKJYO6xjzxbL7zR+?= =?iso-8859-1?q?u/1ShaQTBW1nMKeAvaFAvUqbm+22qONUONc9/tKobCWrfvehJgcEoVyN1vqB?= =?iso-8859-1?q?tvXTf8ipwb/zDa+F49epGfGw3NNixFey+00jL+avj1Zzbnm/2VW4/DQ+wej9?= =?iso-8859-1?q?i2jiCmZPgr9ANj9CFZfOsB6dZJn/BXHmgzHqJROgfHEtx0euT6C8Dq9ZhEmR?= =?iso-8859-1?q?KyFxbJCd67xQq7NsYY8YX4ZTi0AkGYeHe0zLOVip/j9m+HQE2Q+8bIRODG4H?= =?iso-8859-1?q?c4519TH8gtwZyAQYlAiNUVftWnyjyZI9tQHf4KA1zN5LXmuHaXpV50WTtYmx?= =?iso-8859-1?q?WfEd/L+LEoDC5SzUo4+GHk5lQVyl7x5uWWlhwp9mSGbPhSC1k2qs5mnoe8gx?= =?iso-8859-1?q?v+YsUGctsKW07awPeAxifQSxB1tXsz6RAGG3aq6AHTSr323H+FE909RDuMUU?= =?iso-8859-1?q?TDmFLt8YKcUpu/Ok4b58hsaWI5izXAixRXBB8+JqaYPTCC/HsFcpvl/dIZDF?= =?iso-8859-1?q?/EF+h6TScXu6vHC9X38o9W8yizwPI9bhkWsTCrO4SAfNO7p71xNOz7RCA4Fn?= =?iso-8859-1?q?iHlzv7qtNc2Ojpcc6D3ApfTHu9aWUXeJx3A3eV29ZS9Xg2Na50SluXsJEaUo?= =?iso-8859-1?q?VBK7UGAGc4XHP6o33egGlsdxFifYNZAPXdJuSzeE29xTqeJpreGCTHowCfzh?= =?iso-8859-1?q?2Y3cqezehG9ol/ECHS9pahOBMDeAkw4hVRjTXh30/NZMTnqtMD21ZC036sHi?= =?iso-8859-1?q?/0b5+PDx89OjH3wXytWDo6IjEmxEDVe7eEgtzLxQ1i233oKgh8CUswjTkaFK?= =?iso-8859-1?q?es4RjwSZakhiKNpb4R9WcKGS7FHYGH1iH6J+odbyufJsIqjJvELRbMUYUKj2?= =?iso-8859-1?q?LAubsfHQoHeyt6W3mmRVzcMIJvbTFQeUuToXaZiCvaVkkzw9JBk9kYQEqbWh?= =?iso-8859-1?q?QWqEFZ5bUswbSXiZbkKzpf4GP5Veosy1N+bYDIPMCrjE0sqIRpvW3/fjMFUN?= =?iso-8859-1?q?gchunkr3J6jK7J+n6mGiRhSn4fQ6L+5F9uOSypwflnVFLpr9ObpzSzJOWXm+?= =?iso-8859-1?q?VHGdVvFKBKoO7mF2uyWmRwXYcpN5FdqS/xg/thgKm8rh7d5CdNSNOvUYfrzl?= =?iso-8859-1?q?kPiG/5LUIWhmxW86tTZHrZ+286c3Q1mpG6WbBJ2E60aufgHJTtV6xQFuN+6c?= =?iso-8859-1?q?IjnUs4jme1zN/9/m2tyAdBI5irw/pn141puUU+x2SYF1HIbg=3D=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 0970508454 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(396003)(366004)(376002)(136003)(39860400002)(199004)(189003)(36756003)(52116002)(2906002)(68736007)(6436002)(25786009)(7736002)(478600001)(305945005)(105586002)(1076003)(14454004)(2351001)(81166006)(106356001)(256004)(14444005)(6486002)(8676002)(8936002)(50226002)(6916009)(4326008)(102836004)(54906003)(3846002)(6506007)(26005)(66066001)(386003)(6116002)(316002)(486006)(1730700003)(81156014)(97736004)(44832011)(6512007)(476003)(186003)(7416002)(86362001)(5640700003)(71200400001)(71190400001)(99286004)(2616005)(53936002)(2501003)(5660300002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB3776; 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: RKfkElPOi18ATPNhRf2ygESJzwnx4zOIN9Ns1JewOEzDk70vQ+BjXKqkx1I2M7+iw/q7NQbvXILkpKr+fm3Pzia45NgglSqIQMJx7DxfvUt/GYkz04fJJzI8OtPs2tvkgtl+O7f6/TGERkbhTWhWxDSsxevST3mSTK9LerPxhc2ZjdRcW0O9xHYUW0xgrDII3Wsk/WIJw3qAQQuGO5CUcvo6nIZPbi8kxKjwhZZq4s0uWIlh6YXY2lLexn+zQ/jR6+VRMu4+9dO07YxSSJT2ou4c3mwVwJgWUI45Mw5erFd5v8wul/kuYdv1GYjJedIdeE1cawXF8fA8BqNXc5tn/RaLszbUFuhgwfo6dAR9pestR+YZB3SjUxTnE61e5+twsKv0Ut9JW13UkPQzLhkndTfLELuVWBXHLOPZPTZv+BQ= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7e1c347a-2d18-4b18-c720-08d6a3bdeb14 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Mar 2019 12:02:21.1360 (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-Transport-CrossTenantHeadersStamped: VI1PR0402MB3776 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190308_040228_108619_B784AC11 X-CRM114-Status: GOOD ( 11.17 ) 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 v5: - remove clocks and clock-names properties from wm8524 code node as they are not used. Changes since v4 (after Fabio's review) - removed mclk0 from sai2 node because it is not yet supported by SAI driver - s/audio-codec-0/audio-codec - squashed patches 4 and 5 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 (4): 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 audio codec wm8952 .../devicetree/bindings/dma/fsl-imx-sdma.txt | 1 + arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 46 +++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8mq.dtsi | 37 +++++++++++++++ 3 files changed, 84 insertions(+)