Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4826498ybl; Wed, 22 Jan 2020 05:28:39 -0800 (PST) X-Google-Smtp-Source: APXvYqwfy3WmxSwAgtXNm5MgkPIBoGztGGMS/wlNrEx+AveQ6dwx+PkB2EuZifNUYVLz/P/Ay6iA X-Received: by 2002:a9d:6557:: with SMTP id q23mr7065777otl.368.1579699719036; Wed, 22 Jan 2020 05:28:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579699719; cv=none; d=google.com; s=arc-20160816; b=FhHfDzmWrhYXcFKhgsdXON5t7ImXbtl7gKRJ1fu9mupWKG4zY2s2xkmtqP3H1PvBdL 5N0kinr6HFG2U0JOplYq7Vh/zRqLjj/NF5YDe4DazAoQyvPyzSYUQcMjJRiGgHXFJpPy hyJ4d4gt3E3Eb2sJR3+cJhTeR7ogtXGK2bETHKfmgnJaeg8ljUMZWZbJhT7dMFTrp2fo 1akVPVO3jXa5e9us4e8wZLSiYbbzaXtpygRM83ym4swcPJfqIFnim4rMvmT45L61aBtB xBVmW303T/WXkUEGtzugQ5TcxqgAI+lvJZsO3BNt8B3yp75unSWKOVka3DW8AR4InupT xUkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=izCg2tYa0rDLlfFIKaAB4yxuOoaNrE1N3M3vXBL0mt4=; b=c00IzRhq2zfdgQYdbv2l9j9ETWTVU3y/t4ZJKakol2nzd63IZu/ielUL4Ch+VSImMK ZDDMl6fu+6vbXdubMUyxaAZ2R9zA+kz2ZezDqtJrLqxbwArf48fqYKLQXsoTElE3WpGb hOIosJip8p8sqNXaiefy4fzs40sq6jddmLu47I8TwHLOOPivfNRBlFTGpThJLEY+a59a 90qUZ1ipo4A3keok2PkHmSjLgC65Pkf+XLz6HBlwv1mL8fNSA+yZh9fCJy2TGPW4AD2g 4p/p019IEOqNUn1RMukaUEslv9soPDGqNY44E72hceac7ikI9+eZ5rS94d5V2UanalmI u5hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=W7C+5VVm; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c10si23159752otr.88.2020.01.22.05.28.26; Wed, 22 Jan 2020 05:28:39 -0800 (PST) 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=@kernel.org header.s=default header.b=W7C+5VVm; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730913AbgAVN00 (ORCPT + 99 others); Wed, 22 Jan 2020 08:26:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:47050 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730845AbgAVN0V (ORCPT ); Wed, 22 Jan 2020 08:26:21 -0500 Received: from localhost (unknown [84.241.205.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7CAFE2467B; Wed, 22 Jan 2020 13:26:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579699581; bh=Q7t6sfTX9dJl8KPxGs9eW4J5qsuJ70qm/uUg4A9JZ0c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W7C+5VVmq8iVcLc3q7LFCmMeTk7w5twnavw8wmoPkPVb6ERg+CTcklSMPEfAoNX2O cDTnMHsDp9i5R4KQ6pQ3C4A7WArHY2S5tEquyw5xDT1oP0fORW4uFjnmDJbWBKIha6 cVGReFpEiwythJ/TPIjmSZIByoYc419cMk3/uZYE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Shengjiu Wang , Daniel Baluta , Shawn Guo Subject: [PATCH 5.4 185/222] arm64: dts: imx8mm-evk: Assigned clocks for audio plls Date: Wed, 22 Jan 2020 10:29:31 +0100 Message-Id: <20200122092846.933959096@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200122092833.339495161@linuxfoundation.org> References: <20200122092833.339495161@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: S.j. Wang commit e8b395b23643ca26e62a3081130d895e198c6154 upstream. Assign clocks and clock-rates for audio plls, that audio drivers can utilize them. Add dai-tdm-slot-num and dai-tdm-slot-width for sound-wm8524, that sai driver can generate correct bit clock. Fixes: 13f3b9fdef6c ("arm64: dts: imx8mm-evk: Enable audio codec wm8524") Signed-off-by: Shengjiu Wang Reviewed-by: Daniel Baluta Signed-off-by: Shawn Guo Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 2 ++ arch/arm64/boot/dts/freescale/imx8mm.dtsi | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts @@ -62,6 +62,8 @@ cpudai: simple-audio-card,cpu { sound-dai = <&sai3>; + dai-tdm-slot-num = <2>; + dai-tdm-slot-width = <32>; }; simple-audio-card,codec { --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -479,14 +479,18 @@ <&clk IMX8MM_CLK_AUDIO_AHB>, <&clk IMX8MM_CLK_IPG_AUDIO_ROOT>, <&clk IMX8MM_SYS_PLL3>, - <&clk IMX8MM_VIDEO_PLL1>; + <&clk IMX8MM_VIDEO_PLL1>, + <&clk IMX8MM_AUDIO_PLL1>, + <&clk IMX8MM_AUDIO_PLL2>; assigned-clock-parents = <&clk IMX8MM_SYS_PLL3_OUT>, <&clk IMX8MM_SYS_PLL1_800M>; assigned-clock-rates = <0>, <400000000>, <400000000>, <750000000>, - <594000000>; + <594000000>, + <393216000>, + <361267200>; }; src: reset-controller@30390000 {