From patchwork Tue Mar 19 17:48:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 10860093 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 A06B6922 for ; Tue, 19 Mar 2019 17:48:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 77F13288A2 for ; Tue, 19 Mar 2019 17:48:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6BB2C29486; Tue, 19 Mar 2019 17:48:55 +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=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 00A72288A2 for ; Tue, 19 Mar 2019 17:48:54 +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=Qnxxf0PlfdZZbA30t9j7vxScMErtYdKXWt/PgDvB0Io=; b=Tg5cFhUT+1K+oI +uDU0WWxT+2iulOs5Ix2rbYKS/uObPsh8jfFPfqD+xaaT4QAi8untmdXkiUSry8cjSEFAtZnJqpAd nscd+BDyo5svL3DxSiL8rLoQL5uzLKqIQfpXU+Y7paK1h77WfOMuw6ucGkGCKkSl2YaVw+faZUXXn EBnks/dgFlaJoJsz7ZFVxyVfpkHbZGjXjnuIcMVk4s2KDpdLUZMzNP7L4CnjrWOLm78xpA3EbIzTT pMGRI7zYXXjPIcKFxT/2ojEQ1y84Atn6URZPP+NPnZ4I9Pduvng1boTIcakT2D/pBwPwIZICwNpa9 +/ZcIs9w+wiTwkiRGL+A==; 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 1h6Ir0-0005ul-Je; Tue, 19 Mar 2019 17:48:46 +0000 Received: from mail-eopbgr40078.outbound.protection.outlook.com ([40.107.4.78] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6Iqw-0005tJ-MY for linux-arm-kernel@lists.infradead.org; Tue, 19 Mar 2019 17:48:44 +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=My72lGxSEqZBkPVoDnC1Hjb0EUnuyuF1unkpg+bn0us=; b=Ygf2SpNzrY4quCXa1/SQJZvVRAUuuPMkkGaQLIkudTXQ4YO3ZhzsTImPh8D9ym/CPxwiviEheneryDVDpFzhORakvhjYtRQX3fhLv6yA/qkzWeQGH0hmzsoMNGE2QArXAFWvR/3Bb8pcoJRBVj6RYBHgam0AJwnrYdggvbXrC0w= Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com (52.134.1.18) by VI1SPR01MB025.eurprd04.prod.outlook.com (52.134.2.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Tue, 19 Mar 2019 17:48:35 +0000 Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::ddb1:9613:3e6d:eac5]) by VI1PR0402MB3357.eurprd04.prod.outlook.com ([fe80::ddb1:9613:3e6d:eac5%3]) with mapi id 15.20.1709.015; Tue, 19 Mar 2019 17:48:35 +0000 From: Daniel Baluta To: "S.j. Wang" , "shawnguo@kernel.org" Subject: [PATCH v7 0/4] Enable wm8524 on i.MX8MQ-EVK Thread-Topic: [PATCH v7 0/4] Enable wm8524 on i.MX8MQ-EVK Thread-Index: AQHU3nv5N1V3CLAcF0WzFz78dteY+A== Date: Tue, 19 Mar 2019 17:48:35 +0000 Message-ID: <20190319174823.29467-1-daniel.baluta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P189CA0003.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:2a::16) 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: [212.146.100.6] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 22309d1d-0802-4ae2-a3b3-08d6ac931c22 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:VI1SPR01MB025; x-ms-traffictypediagnostic: VI1SPR01MB025: x-microsoft-antispam-prvs: x-forefront-prvs: 0981815F2F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(136003)(396003)(366004)(376002)(39860400002)(199004)(189003)(36756003)(8936002)(6506007)(102836004)(305945005)(52116002)(6116002)(97736004)(26005)(2501003)(7736002)(68736007)(386003)(3846002)(99286004)(25786009)(476003)(486006)(2616005)(186003)(66066001)(44832011)(1076003)(106356001)(86362001)(50226002)(105586002)(2906002)(81166006)(81156014)(6436002)(14454004)(6486002)(478600001)(6512007)(54906003)(53936002)(71190400001)(110136005)(316002)(256004)(8676002)(4326008)(14444005)(5660300002)(71200400001)(7416002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1SPR01MB025; 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: dEdbwHayFlPBYI9SmOEsZGaH4v/nI/b2LWe3W03/3wsxzoiyDbopJ7tA9oUNqNKO5YvW8XsWyQKVFxwu5YyqRa6mXBmr0um4f46tlyzXaPpQo5QY6+9jJ8MhtObXgTUmm7uFKwjy3ggvXipGXJkL3fIm0dslTnM4+cuTU2AppitjYPu8t2x6fZ4FLqE1d53kn7ov+WMIyQZDpBCz61c4JICJ9eneA4q3PU6Acm5PjjbD3j64KGdyA+omTbCjDbGVblSX67JdjOwGCWIttu9Mlp9ylFGqsBF/E6LTGstw3Wi+W6uNLpWjTXgCxK9moj7aYCTNX8xdSaRuCWbwXDXvfCdiqcOP0lSj82oiU1XAobp0Sn3TN1X94x9eGC82AkEjc/ObIQjcsgu45MOMrxyy3iJEEXNS6Rv+qkHucdZp6HQ= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 22309d1d-0802-4ae2-a3b3-08d6ac931c22 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2019 17:48:35.4057 (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: VI1SPR01MB025 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190319_104842_739177_22BECBBD X-CRM114-Status: GOOD ( 11.00 ) 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" , "kuninori.morimoto.gx@renesas.com" , "ccaione@baylibre.com" , "spencercw@gmail.com" , "s.hauer@pengutronix.de" , "angus@akkea.ca" , "linux-kernel@vger.kernel.org" , Daniel Baluta , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Aisheng Dong , "festevam@gmail.com" , "agx@sigxcpu.org" , "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 v6: (after Shawn's comments) - rebased on latest Shawn's for-next branch - added new lines between properties and child nodes - added new lines between child nodes - keep pinctrl nodes sorted - added reviewed by after SoBs in commit message 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 wm8524 .../devicetree/bindings/dma/fsl-imx-sdma.txt | 1 + arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 48 +++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8mq.dtsi | 37 ++++++++++++++ 3 files changed, 86 insertions(+)