From patchwork Mon Feb 25 13:17:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Baluta X-Patchwork-Id: 10828549 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 45E231399 for ; Mon, 25 Feb 2019 13:18:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E65A28574 for ; Mon, 25 Feb 2019 13:18:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1D1152868C; Mon, 25 Feb 2019 13:18:40 +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 BA65928574 for ; Mon, 25 Feb 2019 13:18:39 +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=HLmtrRzLoN/hFH ASfhUq7Rr6voVy2CjDwoq+PQ8S26R+oCfGoPGYwaldF9NpfidhFa06GnKSPCIit3c+GxKpi76dd9Q qaHmhyPomKpWAp5LFovo32QC07nfdsfji/bT+PQSuVdoyd7j8hNKsp7uaP8jqlpjZWoJgyVtg/boa QwZvMk5c9aT3mN9jGpH6y6/Lhlt7r2DYJVWGaAV+e/EXGfUPGIZOrlU4z6+0+lUnHWczij2Dv/Q94 ISxbeFShES6bASn6eurCPE6/NGPsfraogc8/JvIXDdz51msxDyJHPOFeHtMDXLyqi9NgIOwCT1/im mfLLofiEO96Ckau29snA==; 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 1gyG9Q-0008Qr-LG; Mon, 25 Feb 2019 13:18:32 +0000 Received: from mail-he1eur04on0625.outbound.protection.outlook.com ([2a01:111:f400:fe0d::625] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gyG8v-0007j5-Lg for linux-arm-kernel@lists.infradead.org; Mon, 25 Feb 2019 13:18:04 +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=TsQdB731nsW2TlRIk0dccCE5t0QTg1Wi5kCvObYYG8yvU3116NXrPYGTOoGerpG8nvvJhXKelvpazHVFjyfjV9a+Kvb4TiexURsMCo3mwZ+3FopaMSIGmFRMo/UpbKZbbymlxm/+OGHN2gvdg1NmjjUmhJqONyIz0BSTeUCiFf8= Received: from VI1PR0402MB3357.eurprd04.prod.outlook.com (52.134.1.18) by VI1PR0402MB2895.eurprd04.prod.outlook.com (10.175.24.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.14; Mon, 25 Feb 2019 13:17:49 +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; Mon, 25 Feb 2019 13:17:49 +0000 From: Daniel Baluta To: "shawnguo@kernel.org" Subject: [PATCH 4/5] arm64: dts: imx8qm: Enable SAI2 for wm8524 codec Thread-Topic: [PATCH 4/5] arm64: dts: imx8qm: Enable SAI2 for wm8524 codec Thread-Index: AQHUzQyBzEGOEHUWikCrHaOsHwuZKg== Date: Mon, 25 Feb 2019 13:17:49 +0000 Message-ID: <20190225131722.10253-4-daniel.baluta@nxp.com> References: <20190225131722.10253-1-daniel.baluta@nxp.com> In-Reply-To: <20190225131722.10253-1-daniel.baluta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR08CA0202.eurprd08.prod.outlook.com (2603:10a6:800:d2::32) 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: cf41c4e1-6539-4ffd-40b3-08d69b23a394 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:VI1PR0402MB2895; x-ms-traffictypediagnostic: VI1PR0402MB2895: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; VI1PR0402MB2895; 23:0SzUT/fPm/+mNDOR7F+nQ3AMzk4pSOKrRwT9S?= =?iso-8859-1?q?czUf2qTKc+MSdVStN?= =?iso-8859-1?q?vBBT217ur4tGHJv7m6pK9bxoU2DSD6ug22kpSlb2NOiNgDXHWnfpfMjmAp4E?= =?iso-8859-1?q?sOyw/s6bNlwpzz2DDiS3an/zW2qarqHQZvVeFjy5Cm5sqTZY+oDUdnbQRJU2?= =?iso-8859-1?q?GWR19vvzb11h7RnMzcCp9kO1nP3MPsBjEA5Z+QUEuPly6fweuDgXYb+kqtoy?= =?iso-8859-1?q?BlwJtrcrhYppODVngeJaBq8t9rW2qBUoJZm1TujU0J9CyX6pltQvUPaCNqvJ?= =?iso-8859-1?q?geGOqU19r01eJrb6gavtpRMKR4UTaQN5Duz8kaAE8vGLnFTsC+ye5JB8t5Mh?= =?iso-8859-1?q?L2vGs0LQac+7UFUMrVs0/47SyyFghix7tJEOoYyD7GB3h1/wl/p4ER6La2A4?= =?iso-8859-1?q?7BJ675wwouP4KYe7sPHPGEZ1yxybyirE0VpdpgVmFLrXSIKavmWMjjqu71lj?= =?iso-8859-1?q?4Y7VYyjfkLQ2n0OGrSdvOnrFhKhpwdlzBF04NEkfmuWzNd1ALm20FIs7/ztv?= =?iso-8859-1?q?RBDoO8wRukWMeAa9vlB8B72/9MiwO2mvd+pIC8vFKHrcIG3JooVhSF/ifquH?= =?iso-8859-1?q?WHa/hQ1G9XRRW8mdR7dmbXiA/RUi/n2EnjoYolm+jH9DnCMTQaWN0uasq1xf?= =?iso-8859-1?q?+Z659vkUadZKbqRRieJmf9UuI953QTqsXseJU5JZ+OSFBCP+QMPYvcE1Rofu?= =?iso-8859-1?q?aww6cnY7wgtYDMHb4gkMGcDmmhqnh/69BSgoINzv1d9Zsev4sKBmsJG+UWdS?= =?iso-8859-1?q?+i4XhOkWofryRSYRFOiU4FoJsrYYX5LmbGOw0ks3tePvfowObxl6MLu5dx9V?= =?iso-8859-1?q?oCGUgE+mZWuTwyAD7j7Z+y2GnTxh0+0EMOSPCGEMGh3dABFItzFvv5HZVfj5?= =?iso-8859-1?q?pNJVsLYylDA6z7GF7bLckzQf5cttFtU1UOBZSCDeG00zj6B16Bl0dC9re0rz?= =?iso-8859-1?q?x5dl5lQMxfDZfHEoiQHwmdvr7wSkCveIpkNoNfPOXPo8zM6FqFlGnymmPQkG?= =?iso-8859-1?q?PPJgY0Lz4jcvkVtcnhHfn0bVguPngHsOkiuIed2VxrkD7AmW0P25E0gPPZR9?= =?iso-8859-1?q?QifQwaLvzexXO5x0vnS6XrMfUix2+yOW8a1eY9TUJB/b0IctWm4BCyxf992l?= =?iso-8859-1?q?TxmCl/GEoHot4MeJVxeg/FK626caOAIhOmnDJzvba4bt31ivvTOVOHCU3EgL?= =?iso-8859-1?q?9B+unGYn2t8BN1tm9s17AXbEeEv7/odoLm4Vu/S6Uut0cDMuci467K/IYQY/?= =?iso-8859-1?q?8TczwuSmeQk1l7i/p5yyIc/pEGqKzYWkd5SzVa7alY8ciLozurui5BXkUWjw?= =?iso-8859-1?q?oXBhIlXgKtOJICPJRpeCSahALHbvMIKumUyOyTsWyEjy4m6e4JzcsbSK3z7N?= =?iso-8859-1?q?SXANeWZFW9a1ldEYfCbpPI89VPOeVl/SlD?= x-microsoft-antispam-prvs: x-forefront-prvs: 095972DF2F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(136003)(346002)(376002)(396003)(366004)(199004)(189003)(8676002)(81166006)(1730700003)(2351001)(81156014)(446003)(6486002)(6116002)(3846002)(2616005)(476003)(186003)(44832011)(36756003)(305945005)(11346002)(486006)(7736002)(7416002)(106356001)(26005)(105586002)(14454004)(5640700003)(4326008)(6916009)(25786009)(256004)(14444005)(6512007)(97736004)(50226002)(2906002)(478600001)(386003)(8936002)(54906003)(102836004)(66066001)(71190400001)(71200400001)(4744005)(316002)(1076003)(68736007)(6436002)(86362001)(99286004)(6506007)(5660300002)(76176011)(52116002)(53936002)(2501003)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB2895; 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: IJM+rPfGXnezR8T/aPo3/v8jHxNkSYh4yuv4mpXX788W4DP/LwpQo4olFTwnY2+eeSOR0Axxi6yvHNgrGRownT+eHrOovIps0TbInu5QTojIQktnrQ+QzQayXfhnt1iwa7HIzrDEbxDtS36L9FI0WvLTbYbSFJLTMV+oU08+PFaZnbBA+HKTQupuWpXhyMzmUtgRNZ/wWvLcX/anP9OKw4eaUq/+Kimj5J9GFrAZl6DOYDcOEyCCFX+wlYf/4I7UaUolH3u/wKx0khRY76uSlahlQBqKk2aSoti19L7hiZpdxMy63cX7/vYz6ivTUNP3qvYanVtmh96BPfUYDDIw4rEP85k+x2tj/ZiOX/mDySyryDiN5+VwfUAXCPVDFVDfRTW1X0zxWGp64pX+V+XEZXF0izY5zh4YlcIPaFwGULg= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cf41c4e1-6539-4ffd-40b3-08d69b23a394 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Feb 2019 13:17:48.2291 (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: VI1PR0402MB2895 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190225_051802_058499_472C342D X-CRM114-Status: UNSURE ( 9.93 ) 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 , "ccaione@baylibre.com" , Daniel Baluta , "S.j. Wang" , "angus@akkea.ca" , "linux-kernel@vger.kernel.org" , "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 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 --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 9 +++++++++ 1 file changed, 9 insertions(+) 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";