Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5308079ybl; Tue, 27 Aug 2019 02:38:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqzdwKmVwXXOmgB6sCKkERSJ0WLfSGuad8KGW5l8dJVmIb2I31PNIP+R9stKJiOn6LluKoiv X-Received: by 2002:a17:90a:2069:: with SMTP id n96mr24146421pjc.4.1566898681587; Tue, 27 Aug 2019 02:38:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566898681; cv=none; d=google.com; s=arc-20160816; b=xrMQM1cFCXBZTbcgHSQqznSyb7qWtGoC0NiPVCWmd0J4pQoV6hsYNp/gR/jjgk5LuV 0ArjDmqSuFYSmNgN0rrYAmUexB+HXPIk+Y/n4sO3zGvDfHMbGxSbV+BYThQqlp/ileZr b5MooiYNFLyfTiOEs4Y9q0/dd3xi2D3+qSlqXqDxs5/MwTnoodb6kvTtk2jJ+iUgO3j7 af6hC2FETxrRSi976jgvvwlURDwQ/KZBDAcedOYtu4xY/2J93LVCbdkvTqHO6pgvbTZs ofyIUztKeAybpEc4u2phpHW875E2PggSQLRRoplWFS5WccECcdVggYjxuywRX2HeHhvr rttg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=FSG+AaBGe14xHikVAfhuIHy2QQMNY5+f/729yYBCeBQ=; b=yF0HdqmxUzJs8R7xLSeyMfkAtrNBMEI6vMrv2LUj1bG/s5uqjjbVAW6c4jYSVWrwq2 EmW3POxSL3v0qTm/mxJMSf+2SpDSloFRTGaHWy9IAlC/vhV07qOa7Z2P+B0up7U5uVjG DnoF9RM1T5W2JrB88IVNkr4UjxaLqSmD65qEgrKuz8eWEJfPQUvgFJ0kDaZ5kC6WeY6j wOxnVpWIP85Kjef2oiQkaaRpV5q6pYySb8zfKx0YMCguREQ1tXXWeiGiMU9P8DaaqHRN XT4EX8mLdL2cHZyzPtuS4LzQariEk2h/FB7S+EqrSzBWqDHa/ozcMPsAkBuYkvKPWP2E Oh3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IBElxmoU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e5si11762139pgk.96.2019.08.27.02.37.46; Tue, 27 Aug 2019 02:38:01 -0700 (PDT) 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=IBElxmoU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729859AbfH0Jfk (ORCPT + 99 others); Tue, 27 Aug 2019 05:35:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:57346 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726833AbfH0Jfk (ORCPT ); Tue, 27 Aug 2019 05:35:40 -0400 Received: from localhost (lfbn-1-17395-211.w86-250.abo.wanadoo.fr [86.250.200.211]) (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 5C22D2186A; Tue, 27 Aug 2019 09:35:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566898538; bh=QwBJ6oW0mDUbmXmBZq/xOiSb0AoEWSa+i67Fo2EQs3E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IBElxmoUKNRUm9l3uA8x2MyS+ZMpfcJG5jPMcXf/AbP8WeAt4AK0moq7YYtVCyMi3 +WABBe3yhR0HqCC4213+rKtjpwTL8ALAwhzGjnw5yiBdZrBXKUzg70rj1OhmcRmOM1 SBZPITCAS7sME54Y/kLDWZ6+0EI5Yz4Kn9JxqPu4= Date: Tue, 27 Aug 2019 11:35:36 +0200 From: Maxime Ripard To: Chen-Yu Tsai Cc: Mark Brown , Liam Girdwood , Linux-ALSA , linux-arm-kernel , Code Kipper , linux-kernel Subject: Re: [PATCH 00/21] ASoC: sun4i-i2s: Number of fixes and TDM Support Message-ID: <20190827093536.rl6fjuvctjwd33as@flea> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zfutohgftfydg3jy" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --zfutohgftfydg3jy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, On Tue, Aug 27, 2019 at 04:20:24PM +0800, Chen-Yu Tsai wrote: > Hi everyone, > > On Tue, Aug 20, 2019 at 3:25 AM Maxime Ripard wrote: > > > > From: Maxime Ripard > > > > Hi, > > > > This series aims at fixing a number of issues in the current i2s driver, > > mostly related to the i2s master support and the A83t support. It also uses > > that occasion to cleanup a few things and simplify the driver. Finally, it > > builds on those fixes and cleanups to introduce TDM and DSP formats support. > > > > Let me know what you think, > > Maxime > > > > Marcus Cooper (1): > > ASoC: sun4i-i2s: Fix the MCLK and BCLK dividers on newer SoCs > > > > Maxime Ripard (20): > > ASoC: sun4i-i2s: Register regmap and PCM before our component > > ASoC: sun4i-i2s: Switch to devm for PCM register > > ASoC: sun4i-i2s: Replace call to params_channels by local variable > > ASoC: sun4i-i2s: Move the channel configuration to a callback > > ASoC: sun4i-i2s: Move the format configuration to a callback > > ASoC: sun4i-i2s: Rework MCLK divider calculation > > ASoC: sun4i-i2s: Don't use the oversample to calculate BCLK > > ASoC: sun4i-i2s: Use module clock as BCLK parent on newer SoCs > > ASoC: sun4i-i2s: RX and TX counter registers are swapped > > ASoC: sun4i-i2s: Use the actual format width instead of an hardcoded one > > ASoC: sun4i-i2s: Fix LRCK and BCLK polarity offsets on newer SoCs > > ASoC: sun4i-i2s: Fix the LRCK polarity > > ASoC: sun4i-i2s: Fix WSS and SR fields for the A83t > > ASoC: sun4i-i2s: Fix MCLK Enable bit offset on A83t > > ASoC: sun4i-i2s: Fix the LRCK period on A83t > > ASoC: sun4i-i2s: Remove duplicated quirks structure > > Unfortunately the patches that "fix" support on the A83T actually break it. > The confusion stems from the user manual not actually documenting the I2S > controller. Instead it documents the TDM controller, which is very similar > or the same as the I2S controller in the H3. The I2S controller that we > actually support in this driver is not the TDM controller, but three other > I2S controllers that are only mentioned in the memory map. Support for this > was done by referencing the BSP kernel, which has separate driver instances > for each controller instance, both I2S and TDM. > > Now to remedy this I could send reverts for all the "A83t" patches, and > fixes for all the others that affect the A83t quirks. However the fixes > tags existing in the tree would be wrong and confusing. That might be a > pain for the stable kernel maintainers. > > Any suggestions on how to proceed? I've just sent two patches to address that (adding a comment in the process so that hopefully it doesn't happen again). Let me know if it works, and sorry for the mess :/ Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --zfutohgftfydg3jy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXWT5aAAKCRDj7w1vZxhR xdWcAP92UC8ohpBC1hEZ+YE9YtL68wqEMKjjgaiRbBPuMCI9tQEAvzYPAtyZtF9A o8AofY1070asyuWTmZNoBs4WWZOnHQ4= =P/nX -----END PGP SIGNATURE----- --zfutohgftfydg3jy--