Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1586604img; Tue, 19 Mar 2019 10:50:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5GcM/60GJeswHYJhNrkrq3rVgXli49/QQL7tixCditP+H459GRbq5ighA78jzgwYLS/EP X-Received: by 2002:a63:e554:: with SMTP id z20mr10280533pgj.234.1553017841991; Tue, 19 Mar 2019 10:50:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553017841; cv=none; d=google.com; s=arc-20160816; b=0JqnPQUmxobfIPphJSyEmrLXIZNs1Poz4wO3hbqMwaH2mEI9vENUg+glL99Qk5FrDF PkBA4WJgo6hwSzaarmkQUzns1F8dmdH2wC7ZIcG6B15zM0HulPcIhnhqbzH2n1Mk07ml Tnq89Hd387lmffmV7aBWbS2w5ko43fwy2jwyDEmCK9PvsHPnxYVmsTaBGt8NBI/iRSLj t9Z6rE3Bl7y1VRHqsDnAgqkPQpjAXbxHhoiBjGXvOCL5edLCoD9pRMt2HezVCZIR1MNk 8VUQDYsEWsS/yBRj/+d+O6i8hW3muTwzJwAJJC/3qG3QlHDuqxYuUiGgVqNCIUvhOknL o8DQ== ARC-Message-Signature: i=1; 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:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=My72lGxSEqZBkPVoDnC1Hjb0EUnuyuF1unkpg+bn0us=; b=Td16i2wjG50WjIR/wS9ThR3NXp/SYtDa8vHbzwkTE5ted/st3tJ+IufZCOd+SjtexT Ylwu7wsTyjIpHTYuDzOD16fpidmK3HUb3OWP9XEe2qoaaJYsK3Pg5KTmg+wP1dqpE1gJ XoTxBoSFinKQP0pl56fVDRCHroWQDjUipDr1rgLfTdiRBv7F1mFiZixyQBP5xUrYu/O/ BUYCm7CbcGlsIPgAI2nGB/UrQtjCIUuLn2urtdY/ryIOb6fpVc/BWdDsHld3TohUxWvC DNcGDZ5/VKte4OVHwww1eTp29zmMTTLEyoqjqyZM/Lh6nW/zvUPSoW9Wlk6ACzdpA692 UMuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=Ygf2SpNz; 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 101si12725919pld.334.2019.03.19.10.50.26; Tue, 19 Mar 2019 10:50:41 -0700 (PDT) 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=selector1 header.b=Ygf2SpNz; 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 S1727368AbfCSRsk (ORCPT + 99 others); Tue, 19 Mar 2019 13:48:40 -0400 Received: from mail-eopbgr40084.outbound.protection.outlook.com ([40.107.4.84]:40659 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726612AbfCSRsj (ORCPT ); Tue, 19 Mar 2019 13:48:39 -0400 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" CC: "angus@akkea.ca" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "l.stach@pengutronix.de" , "ccaione@baylibre.com" , "baruch@tkos.co.il" , "agx@sigxcpu.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx , Aisheng Dong , "kuninori.morimoto.gx@renesas.com" , "spencercw@gmail.com" , Daniel Baluta 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= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) --=20 2.17.1