Message ID | 20190226070742.30551-5-daniel.baluta@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 A572517EF for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 26 Feb 2019 07:09:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8FCE62B384 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 26 Feb 2019 07:09:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 82F252B38A; Tue, 26 Feb 2019 07:09:03 +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 168E72B384 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 26 Feb 2019 07:09:03 +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=LmqP1lDewXjGKi 4pLuhYDVspcX1mLZ0/9TcY3RSg2khpcLdUoCRD71NBp2O76gttEaCJbEzKRnsWvuTfe+W2GEcZpNq UHvSUNd6lOyiW37s7TELmxb9eBZ0bfGawaGDht2MH9HMdnSsfgOuseI2p/2chrJYC67SD3jth/40I 88wFd0opAfPx89N1rlAwv6W6i+I1sJnsjZRHv4kPXmmPPE4amIM9czARQ+wnRqk4k9Blj9B6In6w1 0y+rDNXf2NWhIKYTsKSkuQx6EJjjuH8M/0Rk9AmEAxb5hiuwxZJY7POHdKJcdobuoTMPLgVGIcNbE 7WYX0vtp1+0lqQfHDs4w==; 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 1gyWrI-00088U-PW; Tue, 26 Feb 2019 07:08:56 +0000 Received: from mail-vi1eur04on0628.outbound.protection.outlook.com ([2a01:111:f400:fe0e::628] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gyWqj-0007MF-4S for linux-arm-kernel@lists.infradead.org; Tue, 26 Feb 2019 07:08:23 +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=aKuylAjQlYEpv0I5FLo3SE/VpO8h2ENeB3QM01nv70hwa5UbAMFO3T7QSv3/KE7BVyBALhc4RrHMcQD/B+24wcnEkZkx1W8wRpvB2YmLFDYAVBN039lzDPB1CyN47FrHH7qTUTNWzmJZzA/W/l0ztZXTNUftoTv7beZhrjGuNhw= 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; Tue, 26 Feb 2019 07:08:15 +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; Tue, 26 Feb 2019 07:08:15 +0000 From: Daniel Baluta <daniel.baluta@nxp.com> To: "shawnguo@kernel.org" <shawnguo@kernel.org> Subject: [PATCH v3 4/5] arm64: dts: imx8mq: Enable SAI2 for wm8524 codec Thread-Topic: [PATCH v3 4/5] arm64: dts: imx8mq: Enable SAI2 for wm8524 codec Thread-Index: AQHUzaILlyGCAEJNX0GZm0XebkNjIQ== Date: Tue, 26 Feb 2019 07:08:15 +0000 Message-ID: <20190226070742.30551-5-daniel.baluta@nxp.com> References: <20190226070742.30551-1-daniel.baluta@nxp.com> In-Reply-To: <20190226070742.30551-1-daniel.baluta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR04CA0102.eurprd04.prod.outlook.com (2603:10a6:803:64::37) 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: 6f99b7e5-1555-4652-21ab-08d69bb92d79 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: =?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tMzklNS?= =?iso-8859-1?q?KgiMfbSY2NYJnWTmKDKeeKg13cDidcj/vkDc2MCt5gbIuGX5avWjnBFy7h70?= =?iso-8859-1?q?pKrzTSH/AQfYsT2c7xRkOB9b+TZiBvPzW5nREP2SVx2Oqg2x1puCYubSehRw?= =?iso-8859-1?q?BbnCG3zZQJ+llnyGSbX7IHfI4sqTeqr55t3LYBZTW2HDxJ6BAlp83fGzIrkN?= =?iso-8859-1?q?JaornY9kjpmS7j78y8YcOi3W06Lyg6MP0xpoupauk1Jqpl1+NTL0KFU6galL?= =?iso-8859-1?q?rCVjX/RtTPGcZpb3jeQcgrFwyWExvjeyxiVKf/Zcj9GLeL14B1bi+RX08wOL?= =?iso-8859-1?q?b8U3Lo5E/DGbnVtO60DrGjdZ5wvmqL3aMBOb5aS5gXmKMTgr3IexImA/dG24?= =?iso-8859-1?q?+y5WjmJVGaWBHI5MKar7Bglaw1A7V0ZNcdHzTDPeIYTT0ZMudP5jtvjEjPsB?= =?iso-8859-1?q?8B4wKX9KeGx6yuHiIZy5jQrhcsTVHbcwgGF+yKH15at2KUgXvp8okKzkqqVx?= =?iso-8859-1?q?xwA9le7RTcRcad8sMn7hpXt2zOb2b5wrRQIPnkZ+0cE3Ghi5xlySP0kkk+mW?= =?iso-8859-1?q?eMuHn+3AvsrQ9jIBOr9eYwPGQFsnw01lJqAXmvQ2pMpGySw1ROcez3Pg=3D?= =?iso-8859-1?q?=3D?= x-microsoft-antispam-prvs: <VI1PR0402MB2848DA0565D4E34E2915330BF97B0@VI1PR0402MB2848.eurprd04.prod.outlook.com> x-forefront-prvs: 096029FF66 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(366004)(346002)(136003)(376002)(189003)(199004)(86362001)(2906002)(316002)(305945005)(6512007)(7736002)(81156014)(1730700003)(102836004)(50226002)(2351001)(5660300002)(8676002)(11346002)(53936002)(106356001)(105586002)(81166006)(486006)(446003)(71200400001)(71190400001)(476003)(2616005)(5640700003)(14444005)(6116002)(44832011)(54906003)(6436002)(1076003)(3846002)(2501003)(256004)(478600001)(6486002)(386003)(6916009)(4326008)(6346003)(66066001)(99286004)(68736007)(6506007)(36756003)(186003)(4744005)(8936002)(97736004)(25786009)(7416002)(26005)(52116002)(14454004)(76176011)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB2848; 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) authentication-results: spf=none (sender IP is ) smtp.mailfrom=daniel.baluta@nxp.com; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 62StNLE8vjpp9f8GIvOpXAgWUXs8QkDq0ByIYg4c2QJ41aSffhSvNzGjO71gvqWjzok0RbLAhrSRVl1MPA+5RLJicZdpYRAHp/Kc99V9rjF08s8C6ZxKWN5aqKUzUeB+ZDHCm74A0uJMPGWT/xgTbLMVvFw9tW2cwRTqSM+kWQnZwM3UC65pI9sMOF/B1e9LMShpE332uYwEa0S4lSGYER3VXMbXqYfs4iDY7RGX0t7jALnWgrzjzHca+sbJKqPyE0MrPaoENt28Hynaf5eTwFaRgjuvrcEtcxmbvl747C36asN+r4VzYs72157XuQJpksUfJGh8khZFS2HnS9BjM7yoJGSCj1SJgEsHjjOUIpihYyK4R6IUq7mV/NM64xUWzAilEKJTHN32OhKS5zaxWnt4ZMhZ6MMdH16mAFNX4ak= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6f99b7e5-1555-4652-21ab-08d69bb92d79 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Feb 2019 07:08:14.5776 (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_230821_365494_FC0411DE X-CRM114-Status: GOOD ( 10.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: "mark.rutland@arm.com" <mark.rutland@arm.com>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, "baruch@tkos.co.il" <baruch@tkos.co.il>, Abel Vesa <abel.vesa@nxp.com>, "kuninori.morimoto.gx@renesas.com" <kuninori.morimoto.gx@renesas.com>, "ccaione@baylibre.com" <ccaione@baylibre.com>, Daniel Baluta <daniel.baluta@nxp.com>, "S.j. Wang" <shengjiu.wang@nxp.com>, "angus@akkea.ca" <angus@akkea.ca>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "robh+dt@kernel.org" <robh+dt@kernel.org>, dl-linux-imx <linux-imx@nxp.com>, "kernel@pengutronix.de" <kernel@pengutronix.de>, Aisheng Dong <aisheng.dong@nxp.com>, "agx@sigxcpu.org" <agx@sigxcpu.org>, "festevam@gmail.com" <festevam@gmail.com>, "s.hauer@pengutronix.de" <s.hauer@pengutronix.de>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, "l.stach@pengutronix.de" <l.stach@pengutronix.de> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Enable wm8524 on i.MX8MQ
|
expand
|
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";
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 <daniel.baluta@nxp.com> --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 9 +++++++++ 1 file changed, 9 insertions(+)