From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B98BAC4363A for ; Mon, 5 Oct 2020 11:35:40 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 67C1D2064C for ; Mon, 5 Oct 2020 11:35:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="vzPjk71z"; dkim=temperror (0-bit key) header.d=cerno.tech header.i=@cerno.tech header.b="M9X+L1pm"; dkim=temperror (0-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="rI+DRxbr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 67C1D2064C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=NR1JjF2U1bBpHc52QZxIiSdh9qEPT+37OmVfrigI6lE=; b=vzPjk71zL9PYA6Lzk+hBg0bXS dnl6RgRTNuCVjTD2IG/4jPpYW2sILzerpGeKc80HwXvwGfsebDkGwYd3d4vcgvpdgXov1VtSNmyDc u0wwFHON/q8L09fwKrJWUkaHmRDZJpXZPdMz7ogy+ENseYiuzQ+CrgUocPpW0Q2kk8X/rj1XY4wHB mByAInGHildvkAV4UexAxTmaaSfUmYrtVvv1bp2D4Bx0JlJWJS8uK1UBbYUTDeZeHqnXv55yqSXvM OpTO8UWDP6iG072Vcfn65ydX1XD1rly8wX45hxC0fuL5azlHU5B/nva6+e73sPiEYUYcjDhlAGWQO YL6xrTa/w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPOl2-0001Fj-60; Mon, 05 Oct 2020 11:34:20 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPOkz-0001Eo-Aa for linux-arm-kernel@lists.infradead.org; Mon, 05 Oct 2020 11:34:18 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id CD02E5C012B; Mon, 5 Oct 2020 07:34:16 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 05 Oct 2020 07:34:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=9iIjp37/XhLE+k5I1qJsgVwVqmw ywet6IjVcigOxNS0=; b=M9X+L1pmIK++lhVSejPaypeMI9cyxCGoyaAfU7Lvgl6 oXNOr+IJsTnRMltDQ5KxcR0CRefq4tZRq5XrdKN98pIoSFiSSXoRHENZAz31crRh anut5oPPVqPUAN7ZdXqkAKhGOpD5GYGUFMvxb/N6PVCIgLo47oYAXQI3CDln153o 4zzA1TgORP88QtvruTCWIpHXkHgS7ShMRQNBuFn1jLwqSk6mKNQvKOEW4i62yjpT KTRypUhlq5FkJg4cFVLnoYLVPWQuZLpw616JcuF+yX1/ZrexN6xHsOp48FdZQ2OM 8DZ5eb4ecu2eHWjtCdPqlgYieibdS7SH+5QkuPE4knw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=9iIjp3 7/XhLE+k5I1qJsgVwVqmwywet6IjVcigOxNS0=; b=rI+DRxbrK6+Dnexg5ebja4 MfuwzeW2CygVksd9JZ+WV3HU6ILmw9tvHi4rxhAa2gayLxt/6VCvSN/3M0K0yIaF /BnAvMqfXhFnbAWdiTMj62CNZslC7955Gh6n0apwi75GwCYNGiHTZpBfxV4pTxoj clsKXZhaaOgEaXu70U6w8Ou9/SMRt/jqeP1z19FRcKE6dfvVFFtlcUe7ufOoyCV/ AJYc4xP6SXoWzW2hBLHSFniFDzHi9gctkzaywuPHbkONPfffyCZAHWUtBZp1mjOH jEEJClwhA+/X9AOpIw5pn6Nq1Y1s6+5mZlBo4XJcfOxGQV7zxHfxH/+nD8fCNQIQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrgedvgdegfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeelkeeghefhuddtleejgfeljeffheffgfeijefhgfeufefhtdevteegheeiheeg udenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 04A4C3064687; Mon, 5 Oct 2020 07:34:14 -0400 (EDT) Date: Mon, 5 Oct 2020 13:34:13 +0200 From: Maxime Ripard To: Samuel Holland Subject: Re: [PATCH 14/25] ASoC: sun8i-codec: Correct the BCLK divisor calculation Message-ID: <20201005113413.5f6gcval7hs7t3jr@gilmour.lan> References: <20201001021148.15852-1-samuel@sholland.org> <20201001021148.15852-15-samuel@sholland.org> MIME-Version: 1.0 In-Reply-To: <20201001021148.15852-15-samuel@sholland.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201005_073417_400871_5B9A58B4 X-CRM114-Status: GOOD ( 12.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ondrej Jirman , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Takashi Iwai , Liam Girdwood , Chen-Yu Tsai , Mark Brown , Jaroslav Kysela , linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============0965040943961771094==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============0965040943961771094== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xhjd3ry3gdnm7vqm" Content-Disposition: inline --xhjd3ry3gdnm7vqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 30, 2020 at 09:11:37PM -0500, Samuel Holland wrote: > Previously, the BCLK divisor calculation assumed a power-of-two slot > width and exactly two slots. In order to support the TDM slot binding > and 20/24-bit word sizes, those assumptions must be removed. >=20 > Due to hardware limitations, the BCLK/LRCK ratio is not as simple as > "slot_width * slots". However, the correct value is already calculated > elsewhere in this function, since it must also be programmed into the > hardware. Reuse that value to calculate the correct SYSCLK/BCLK divisor. >=20 > Signed-off-by: Samuel Holland Acked-by: Maxime Ripard Maxime --xhjd3ry3gdnm7vqm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCX3sEtQAKCRDj7w1vZxhR xfxfAP0esmwfQCVq01Q98p9I/iUqCg9zaDuw6iXkxrg0ErmHoAD9E+T4urVQ6q4x a5FysRZMNc4J+LMqT6SWbTtm1gjZLQ8= =ONxU -----END PGP SIGNATURE----- --xhjd3ry3gdnm7vqm-- --===============0965040943961771094== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============0965040943961771094==--