Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1584231lqt; Wed, 20 Mar 2024 08:13:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVvIWEJTaem/Ekle3V73KUg8Ee5KgR7R6NcY4at9rvHAk5B94yvNjpRDcmxcnabXX0QdM0a3ILffhL4t7g1j9DPeChNgkS4sQAgg4VTag== X-Google-Smtp-Source: AGHT+IEUifQ62IXAt4iyiYeSvV/3WC5Kqc18Hm7QZ7w3700wH9/Fp1dbc5mzgG488jZqHiZ8h51U X-Received: by 2002:a17:90a:b28a:b0:29c:791d:b5d5 with SMTP id c10-20020a17090ab28a00b0029c791db5d5mr6542004pjr.34.1710947597923; Wed, 20 Mar 2024 08:13:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710947597; cv=pass; d=google.com; s=arc-20160816; b=FNElSt+pDCIRQWOT/fB5HJrT2jcuYDkb+UIe6jqq16FbAf2P83jOodTV97CHmUcoIK 4pxptduF2cHAl/enV+KEc7dKHDwkAssJCHvJEQ8HtpQQ0Z7kNNtwwN9Bywry7aaAy94a zybax+rdFVklkgJrJP72hiP93XxK9ke+i4dg/14K3XuFlhMkvO5BELRhshTIgxqmGTzp qsYvJGVw/xu9Ft4PbXLHx6SwDHvR02wem4wd/BI4q8Pn7vwVDhea7XmSZGx+6RYydB9x BonDhChzz5Ws3RBiaBLDeYumZM9SFc/JDf6NM9bcfGahmPtLFpjrw64VN77NRROYf7Z+ ROPQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=VKDCvcnWgS98kbw0fYidYmjqYC/LQ8RqbNoxwppD2oU=; fh=jgArhrZB0+jJKI9dT/nydUzlflPhMrDRPwaHH+tlgto=; b=o/FWZ0VCtptdIa+nDKdWtlBIczNwWWjz9GjCRW1lG2V5pBtxJSzoDYFN1JJjyBbENQ SSl/r+XMNVkU9OBhF73gukC+21Fmj1NHQiUgJWJjqlFHsg5UuMbQzpUuoF1+wV/mWRwO 5qH5FWZmeadcJQTG0d+/SVSHLKMZSIhVL06N2cPRNnSKKQSRAnycl2leUGEClpJj/bxd Db1a0ALPM1Jg3PkCN2PhE8ElOc/ppa9hodknNEj2U8oiN54ChqTRhe5v09XtTzeNBgck pFnOkyAq8JTEOxyhs8P684YgIeEKwPtfsbm8FsC7LExv8sLCLb8TZeS7uAYxpiPCveNM pJSg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bd8HcGUC; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-109068-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109068-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id h189-20020a6383c6000000b005dbd0d798a7si12244159pge.558.2024.03.20.08.13.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 08:13:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-109068-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bd8HcGUC; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-109068-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109068-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D39A1B21AAE for ; Wed, 20 Mar 2024 15:13:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 937314EB45; Wed, 20 Mar 2024 15:12:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bd8HcGUC" Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 220D6524B7; Wed, 20 Mar 2024 15:12:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710947566; cv=none; b=KC0anEdz6P07IgA8alQM9ftOGYI9B4ZHorbQPzFDx6XQqRmXF42+BEI1Lxu9SBIoahveSllEKSOV/i8Jna3w+FcTig5OJcUQQPr37rR2RD5egUbBAmuSq2LNG6f3J4jrzI5i9vY1uZvyJnsAUeXusvduaZUf4LwVWskK9/JDBpw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710947566; c=relaxed/simple; bh=lujk9lU125wCesb290Yfcege4U2BvoIEq9CjFfIpdGo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=PL9a9zllMnnt2qzZGeVYPlO/6kndWqAA2tqoeOcENlI5eVF1JXb1dcelq4tdp4swD7ejWOUVJjt9gFDlgg3k9MK+DY7ljxGuMiglLOY2AxIe3XEMvMMjgCPKa1IC4batwIh8ahmHVZRVnj+UmMc7trio52SGrdyuXp8tEscRHDU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=bd8HcGUC; arc=none smtp.client-ip=209.85.208.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-2d29aad15a5so84005451fa.3; Wed, 20 Mar 2024 08:12:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710947563; x=1711552363; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=VKDCvcnWgS98kbw0fYidYmjqYC/LQ8RqbNoxwppD2oU=; b=bd8HcGUCNjxPwF27y6YU5P4iKp7np6yt2qd3MfucgS0fAFj1TqD+w+ggkbx44VZhWX Gs0sE7zy2D+9+p9+bV2q9O7sj55pMpIxxYpPfqOSeBfoTX9oqGxtf3X2k27nGL0EU96t tAUb5l3erIUTMwcPcCn/x4pSGPAQi5cV+v0xB39pz8Jmhk3IaC03bAEWpmKBX7rnKiCu qtyERWlHZ6eKAlaC5MHJ5m4ajDVwjktsHxlyRW60aQyzvakbbvNlcKAPoo2dftmM1jzK tSOJDlUzzfZJjBJhwHjOtKU+jrhMrhVbPCz9t5ea9SM5dSP4WorvbzTp2wdqx54ilbz0 7c7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710947563; x=1711552363; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VKDCvcnWgS98kbw0fYidYmjqYC/LQ8RqbNoxwppD2oU=; b=MaUeNkWmg1AgOMmNnucX/dXXnJuMAqlO3p0cYMf7TuTU550gvzPdVLNhm2ObWDVdx6 VK/jaBB26BDuR3a1CXSefFnzvwqVsdSa+3535ppaXUvpTfmoAT+NjR2CpyN0Mz4U3xB5 x/7M5KuE2kEXnQnm8sIyt8XWkOZ09LSf5zhCtrf4zNiD6YlNUJ8rAuOSndTLJ4YzcSFo J/45zTAEPCFJhrmeDGS/lsh4uZblyBmCessxYOLwh5f21HYeL2sjoVNv83Emw2To+iFe RbViFJvcd4oeWtl1ItFZeeKREA/sANUc41joUklaRik5Oyj+a35XqL+D0vPiFf6muJTM XFTg== X-Forwarded-Encrypted: i=1; AJvYcCX+o3MWR+62eGWPBBO30G952fzM2NjjUx1+mfo6pfTBGu3FETXh3WW3Xgnr1ypu0NNp2VeA1jPn5e8Zmin0z//1VZ1tdZJtllaxBoWQwhJe/gBN5rshpxFl72oH/LsBEjztPVznJI0ozA== X-Gm-Message-State: AOJu0YyQAzf76AqrZDLladr1LRXgGgxfIw/Fff3Wa8MeP9WjCoZNI2Kv tr9V5/LFYtrW8yz6oUkb+VgWuJUtJdT3Z08yqs2DyQBQUS9j6UI9 X-Received: by 2002:a2e:be09:0:b0:2d3:f095:ff2a with SMTP id z9-20020a2ebe09000000b002d3f095ff2amr12648201ljq.47.1710947563034; Wed, 20 Mar 2024 08:12:43 -0700 (PDT) Received: from ?IPV6:2001:999:708:5b57:30d6:2195:bb7b:bb94? ([2001:999:708:5b57:30d6:2195:bb7b:bb94]) by smtp.gmail.com with ESMTPSA id u22-20020a2e8456000000b002d51e0b73aesm825619ljh.25.2024.03.20.08.12.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Mar 2024 08:12:42 -0700 (PDT) Message-ID: <24792e21-afcf-489f-a47b-01f88721ea5a@gmail.com> Date: Wed, 20 Mar 2024 17:14:23 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 07/13] ASoC: ti: davinci-i2s: Add TDM support To: Bastien Curutchet , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Thomas Petazzoni , herve.codina@bootlin.com, christophercordahi@nanometrics.ca References: <20240315112745.63230-1-bastien.curutchet@bootlin.com> <20240315112745.63230-8-bastien.curutchet@bootlin.com> <9d123584-1feb-404b-890f-2da694cf56d5@gmail.com> Content-Language: en-US From: =?UTF-8?Q?P=C3=A9ter_Ujfalusi?= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit HI Bastien, On 20/03/2024 09:31, Bastien Curutchet wrote: >>> +    if ((dev->tdm_slots || dev->slot_width) && >>> +        ((fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) != >>> SND_SOC_DAIFMT_BP_FC)) { >>> +        dev_err(dev->dev, "TDM is only supported for BP_FC format\n"); >>> +        return -EINVAL; >> >> I think this is not a valid statement, Fsync can be generated internally >> or coming from external source in TDM mode also. >> > > My hardware allow me to only test BP_FC so I wished to put some > 'barriers' in front of untested things. I don't see restrictions on the other changes affecting this to be lifted. I would allow TDM for full clock provider mode also. > > > Best regards, > Bastien -- Péter