Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp497172lqh; Thu, 28 Mar 2024 08:01:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV1jmXklYOQq8OGsCxyKv46iSgYj9VacOQO6FdqM1FIl0PYYU83Owblx2XwfH1hd4tnL6YWVCkvmGL3Q7s7Gca/AC9EeLTSgLgGSTp4iQ== X-Google-Smtp-Source: AGHT+IFekzHTTIjfwMn6U6gKUn71GH0tK7sWZH2W7MCm3+WschTN95M78DmnD+Qn3qzFaqVkMNIx X-Received: by 2002:a17:906:fa89:b0:a4e:9d3:cc8b with SMTP id lt9-20020a170906fa8900b00a4e09d3cc8bmr1924603ejb.40.1711638082899; Thu, 28 Mar 2024 08:01:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711638082; cv=pass; d=google.com; s=arc-20160816; b=LlvBwqNUBIWh7zJl5ZU1bUJOZSLSw44Lek4KdKwPR0zlUqYBL/MUluQomDoFHjyWmc mGuSIfKUbSwH1I1P8555n23RkGH2MvvVVuPwn3fqmXd1hfaFstFsNEz/Qxr24J3YALJQ OJQvXuwM7ImtdC6HnJXuySGoDK9EjJSH8TLytKc2A/0h1Gnl8u+nNP/zOHskx0xtwrjE +oS2YYqO0lLa4IVfNRDO3D1MZWmUiysCrIrgbrHr+7krx4Aia8/vpyVvLffq4844K9dn zBWcWmIQYICS+nwYZlOjVtP8VGYN6zW77bNBT9Gp2EjYwyR+5EGLtbTSVnsfOSQ5okjG nbtg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:dkim-signature:date; bh=fwp1Qw0/EtEt4456dlzV/Bdcj7tMPkZXlkry1Wr4Z8Y=; fh=TshPkYAR51k0xTdscIrCjtxQxubJnvyVXDn+NOXDaKk=; b=xujWnCunUN66FwXG4Wcvy8D5xj+EWldFA3uztVeXI7dhU1fQOzCPadTBLhXvkNdBr9 MHHS6DDzCwkuChLyj3cxc57UIsV7AtmyIL6zABHkeOGOzBN/R6Bh33H6NsTbXCjG6Ihd e0IqdyEE+7tmsOMkjXYzTtt2bLS6t9MJNE5/t/uQggyjPjKkN18dTyNxqWuYS4YNS5OI y7UulEU3pYtk2eK2Y3Ffd9BtT6pzATlCmqTb4/rn+dmIdathUJypHwBg40SQtGxN/hKq nq1AD04J/kIErMvWAXy/ES2vfbAtwf2Jv/GAWTtXXZhMglkXPgOCdQ4Pd1P29FXyIMdT wnzA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@jookia.org header.s=key1 header.b=LGKHhnyS; arc=pass (i=1 dkim=pass dkdomain=jookia.org dmarc=pass fromdomain=jookia.org); spf=pass (google.com: domain of linux-kernel+bounces-123129-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123129-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jookia.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id o18-20020a170906359200b00a475145043bsi821077ejb.450.2024.03.28.08.01.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 08:01:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123129-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@jookia.org header.s=key1 header.b=LGKHhnyS; arc=pass (i=1 dkim=pass dkdomain=jookia.org dmarc=pass fromdomain=jookia.org); spf=pass (google.com: domain of linux-kernel+bounces-123129-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123129-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jookia.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 79E051F2526C for ; Thu, 28 Mar 2024 15:01:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2FC5312E1EE; Thu, 28 Mar 2024 15:00:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=jookia.org header.i=@jookia.org header.b="LGKHhnyS" Received: from out-176.mta1.migadu.com (out-176.mta1.migadu.com [95.215.58.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5E57912F398 for ; Thu, 28 Mar 2024 15:00:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711638047; cv=none; b=YJZG55Tz/HTxEZ2S6k3i9tLZMl3SefnhmMN5uUyFOkXpEszApV59V1cHr3YDvNkvHB7xBXwjAJBRXo/QQGfFq3ZplicPEW08iipQdGYAugiDNxyDbAliZKVnCb4bI/RYDj3diTZaRtyfX25Fn/wwh4pV/fNazqJBGMvWhgXOrjM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711638047; c=relaxed/simple; bh=EoHim42owK348cZhl/I9M1pymb0CHHmvTuAnkh/utqo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bXc7UNNj0QNbcY8op2f8VbVOv/K/vX0s1rE+vL9CmuIaL4Ov7BUFy1A9dsQx46ll6xzw9igKTA+x+UBrB/UY5YSygufZx9VRgMxXJCmn9g7ood8PbCQgcdndaxohj/ybCAOf6laWb+MD5bEc0jsfmeVTIGIAGm5Ja4Hy5ceJLFE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=jookia.org; spf=none smtp.mailfrom=jookia.org; dkim=pass (2048-bit key) header.d=jookia.org header.i=@jookia.org header.b=LGKHhnyS; arc=none smtp.client-ip=95.215.58.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=jookia.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=jookia.org Date: Fri, 29 Mar 2024 01:56:24 +1100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jookia.org; s=key1; t=1711638043; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fwp1Qw0/EtEt4456dlzV/Bdcj7tMPkZXlkry1Wr4Z8Y=; b=LGKHhnySkPwGebCdv/mVHphyxvQc8crAcv2Oui6bANMhmRHEJY6K/I2Ih6ly5HFvYpnUHr RaUk1/+0ZaAAyPuNk32vxYEQYx4aouN64DPVOXSzVM0WlRfOVF3VvetqnNrc7RB6mHZfUR inf9ihorMeBYe1/lMJsjrHpxhqHn/RM3fcBpIbCgRU5OFMhfta4Roy8pnpjHXNQhBSuCtA 0ZUlE2egI+t8HpZUXQuAiqiYiO023tOnBUL8Gs0BxbWGG2YGwH2bL9q89kJuOAViz0zvBS AEIE4C395ksCyP/I+kqd4xxYCwZBNHvU5GWaOirrFG3WcF3d3oxrDVehHlndWw== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: John Watts To: Mark Brown Cc: Jernej =?utf-8?Q?=C5=A0krabec?= , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Chen-Yu Tsai , Samuel Holland , linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: sunxi: sun4i-i2s: Enable 32-bit audio formats Message-ID: References: <20240326-sunxi_s32-v1-1-899f71dcb1e6@jookia.org> <23447395.6Emhk5qWAg@jernej-laptop> <9055efa5-8da6-47b2-b2db-d1f8e02d2267@sirena.org.uk> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9055efa5-8da6-47b2-b2db-d1f8e02d2267@sirena.org.uk> X-Migadu-Flow: FLOW_OUT On Thu, Mar 28, 2024 at 01:56:42PM +0000, Mark Brown wrote: > On Thu, Mar 28, 2024 at 01:21:21PM +1100, John Watts wrote: > > On Wed, Mar 27, 2024 at 08:53:32PM +0100, Jernej Škrabec wrote: > > > > I wish it would be that simple. SUN4I_FORMATS is cross section of all I2S > > > variants that are supported by this driver. If you check A10, you'll see that > > > it doesn't support S32. > > > > If you want to add support for S32, you'll have to add new quirk for each > > > variant. > > > Yes, A10 doesn't support it. But it should error out in hw_params due to > > get_sr not supporting 32-bit, no? > > The constraints shouldn't be advertising things that hw_params() will > error out on, sometimes there are contingent constraints that prevent > this but something that just doesn't work isn't one of those times. Oh right! I'm not sure how I forgot about this, given I went through this exact discussion for my wm8782 patch. I'll try and get v2 patch for this soon. :) John.