Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp3811999ybk; Tue, 19 May 2020 13:33:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyV/1pjjO0JgQ/VjWfsSAK4r8Ck8qnxJ5e9gXHT4x0mUTcLPdxoplNCW8FYJ3zY4OD5TzI9 X-Received: by 2002:a17:907:20d9:: with SMTP id qq25mr937385ejb.202.1589920435331; Tue, 19 May 2020 13:33:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589920435; cv=none; d=google.com; s=arc-20160816; b=TBZnfU/YkdJ22ouG4IfiezBMngydf7cZ6F8FBfPyrpW5QmiwpHqdQ02JzvArDMiMvj 2/kxkpJpnROo/sIZcSj0Owh1ywnG/cwNO+zLuTbF/F3bpO/HUWxoziwBMqX0OE9P8v4t hMqoQNIJdlAR+mg/rQilJqF+snllO3/YbzYFDta3Mtqwp7TTZQfS0Se4I5HYXMokKN/+ Tx9SvEeSIqimiUvOIJU4GMZHPAfOkztdYmv1+lZ2K1vkavq/3hT9nt8qvsys3X+UKYvH VMwG6RiFWt46qq+eFGupyiCNbiIjfJOm6btmnLw8TCRrGtSM6qeoUyOgKOobLjKHD7L5 rN+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Zpnctebz5JsG00b9dnvqrxDWPeUQwd+C1voSzStELVM=; b=sTx+S0Ma0iV0WUFySzdj9zNtcy3+OjXMOkNZb8jt+jaf8IYxvVJSuirt0g+YGyH7at YR71IeVTK1e7WuHbycTXlwAPyD+yesu4+ERTbWUZIS8ToyCQJWsxWcXVDmUrV6Bv83p6 fhtAo3dOljkcHiOV9+x7FbUPQbTeCqJ4bLbNhAck0utPGOFxJC1yLYfeuDP5JYgZKu8s 7thGvKRzFE3dWxEDDp1aZOZU3jDtcxOG0U/jzR9Dl64hKKMl7gitv5hzmC/PZ0H+Xa7i 5pmFZsraCBPzyxVS7xjz/xEN8HeyFfavQcE0BMXeg9PN5G0tUrD9hWEpWBef2R1R7Jyc KbtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gateworks-com.20150623.gappssmtp.com header.s=20150623 header.b=QjSNvkOc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j7si492252ejs.646.2020.05.19.13.33.31; Tue, 19 May 2020 13:33:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gateworks-com.20150623.gappssmtp.com header.s=20150623 header.b=QjSNvkOc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726425AbgESU3o (ORCPT + 99 others); Tue, 19 May 2020 16:29:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725885AbgESU3n (ORCPT ); Tue, 19 May 2020 16:29:43 -0400 Received: from mail-oi1-x244.google.com (mail-oi1-x244.google.com [IPv6:2607:f8b0:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 114ABC08C5C0 for ; Tue, 19 May 2020 13:29:43 -0700 (PDT) Received: by mail-oi1-x244.google.com with SMTP id d191so916060oib.12 for ; Tue, 19 May 2020 13:29:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gateworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Zpnctebz5JsG00b9dnvqrxDWPeUQwd+C1voSzStELVM=; b=QjSNvkOcDiUgtet0E/jVsZ4aMISulwLy3pXGNI7E4mn8PlM7rGR5Qcp5BR12gQJ7ES q9bz/acZ76nw3/sSl9O9epFdnx5bRtLu0JeyFqhyk7EkJ9vf7RPvOImYidQHe+N4Sxkj Bu35E45+R4+4Nw2LuGg6ZSI1ei7t1w/iNSJYEN6Hc0izoxlxIGGLeObcH35Vl+RNWkK4 VcBRhswbw+d7/MGgP4qpyBx8HMaM4TEyhfLbpICIbrLCl6jc++rGZv/ms4xFJ8iIVujQ 17p1QbzdwjtMhbMQhSwZ49HdKkx+l4/1qgf1ccyHqYFAvoSbmZze6hEKL149XRtTGNiZ RKZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Zpnctebz5JsG00b9dnvqrxDWPeUQwd+C1voSzStELVM=; b=VjmzgSIl2nim3AGB6E1nL7EOj/CTnble7Q7KwjzxieAVJpZGquSDvxslqLuBQQUo4C jK2w3v/S5py6If6RAlMCS64+YAxzzI/f/YfQWCY6C9LhhxHy3qswut9XqPHxwt5x3YZN Xn4dfUqQHu2UFaMh4+t1VtJgoD4ycwklVr9thAczgwcqLkqxWSVr6pC5mCOcQQBzrKfK pl/BV8GEv+zel3iEHJFwsg2TwJC2VXs9GulCE7CpVUMcupQb1P3MwtKB6F2t+Zx6RfhV 4OFJhfHnCM4/X0Gpq3ntPABM1sMLzOebLIMcJMuIIu7HmWP6NX7IFda74GJwvafbZckz Zcxg== X-Gm-Message-State: AOAM532cadgsdccnbP2ju097hWat5j479aJbAZOEKCO+Ju14HqVda/qW UShGK4kw3l/etHUQ63ABE8HDKWQT8rICqptOMe8JlQ== X-Received: by 2002:aca:e1d6:: with SMTP id y205mr950674oig.142.1589920182286; Tue, 19 May 2020 13:29:42 -0700 (PDT) MIME-Version: 1.0 References: <20191016103513.13088-1-shengjiu.wang@nxp.com> In-Reply-To: <20191016103513.13088-1-shengjiu.wang@nxp.com> From: Tim Harvey Date: Tue, 19 May 2020 13:29:31 -0700 Message-ID: Subject: Re: [PATCH] ARM64: dts: imx8mm-evk: Assigned clocks for audio plls To: "S.j. Wang" Cc: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , dl-linux-imx , Anson Huang , Jacky Bai , Jun Li , Leonard Crestez , Daniel Baluta , "daniel.lezcano@linaro.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 16, 2019 at 3:36 AM S.j. Wang wrote: > > 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 > --- > arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 2 ++ > arch/arm64/boot/dts/freescale/imx8mm.dtsi | 8 ++++++-- > 2 files changed, 8 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts > index f7a15f3904c2..13137451b438 100644 > --- 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>; > }; > Shengjiu, Can you explain the why dai-tdm-slot-width here is 32? I noticed when I assigned that for an imx8mm board I'm working on (that uses a tlv320aic3x codec) I ended up with the clock being off by a factor of 2 (audio playback was 2x too slow). Best Regards, Tim