From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 E2A8F363C6F for ; Fri, 24 Jul 2026 16:35:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784910943; cv=none; b=Kv39i4GrymfJ9hfJgIWmhbmbuTFpoTXx/288budCTHa2sF6zbjCu9wVo3eBr1u3pOfeIzVj1kRZyF8JP2+7+1ypGzBX+gOkij1yGQ1bN2KgH7gl3tWljWhuVFSJJ8ng0cA9W41ucNXxSANtiHewVRJaw6Ke5av77O9nn0RiTYbM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784910943; c=relaxed/simple; bh=NdDk6TRCJ8iTt8ZTkH656PZ1Zteh18givIIw4CxVNUs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=NbS3+jSq7ZqlUTk1qOAuvWD8B3gs+eVUwXyjkgK4T2ShafOoKApChGWlhcbw1V+0lnTf+P56KPNR3OARG4wmRgvfliUg0nuVeMGIjsF7F1+SGJMluzyX9ufE0be1n33TMxFYcUuxqYGyBku6yNDMDveLouS8JJq9Y2jPpVttSuc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=coYUcgSk; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=MeQkCuHr; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="coYUcgSk"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="MeQkCuHr" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66ODbJOx3196123 for ; Fri, 24 Jul 2026 16:35:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= RTsl8qB80iEPbbNFk54NH1GiTbMjZD2d77uY8N78fyk=; b=coYUcgSkQ+r9pJVa 78l2TU3qcZ7fMlpLfsNnLHIxrAhvijlTYXNttu4YdIHAFUT/hcFPUZ44V1eLEI20 ETy1jF3QO9/lkGJ6k1IMyNN9xH5uPHpYG86tNPTpj4pBcIDhHRGJQmKnRyl3QLK3 HL+TUgw/GeOsI1ArLNRStKq9XpwP8YOw8pFeUvmLyMixkw/2ExiEyKvJjvZu7TZN EWsDYEAf4V7xABU0OvZx8cIEG1pmOhmd5vdPU2SsHdn8y4HCU/lJ+TfsgquWg3l9 mc3LU8f6cb9hYiM6WbL2OSDeLTIK7hbXwPrMteftNd5q5SQiSsZceszbXbdiIjvH zKDXrw== Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fm0p52n51-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 24 Jul 2026 16:35:39 +0000 (GMT) Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-51c0408254aso32573541cf.0 for ; Fri, 24 Jul 2026 09:35:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1784910939; x=1785515739; darn=vger.kernel.org; h=content-transfer-encoding:content-type: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 :content-type; bh=RTsl8qB80iEPbbNFk54NH1GiTbMjZD2d77uY8N78fyk=; b=MeQkCuHrVZJo/mqyIBd64Qt7W5EEcVIx4eqWeZI6XsjgdUW+jkz7hOpYL2mtT7RlCD VSaozUgN3yBKJka26k+14rD+qwl4xN8aDxR1j+mOBTlIM/pk9nvux3pCn5rLyXFy/xS9 q13stWLE5I9DmnqIEWI5tDLGicOCzRoYwQy6tOJB0FznC1OGdyNghecI9o7TiPswyLST ovZrl+/oxSh81ufpHHgalgMzkd5LMrL0gPM+yOJ8uKYlwjgZX1KGZmUGq1B2ro+UJG2O gfSOfZv5HZbICWnjTex/ZbP15LvOT8YJjZ75zelIYMPY1Hgosx8NOi8XVMI4rA7Q04Up 3uew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784910939; x=1785515739; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=RTsl8qB80iEPbbNFk54NH1GiTbMjZD2d77uY8N78fyk=; b=K6X+aCZg5zoOX/zZedlqmC8uTZb3mrPzFq1A6i0J3FT2RiKmyM0Z1Tm1xuxRlVArQ9 pP3MzUbM11e4PcCwzN6rwe/epNSSYjnrOVeckRcCFhe7eLaGsahMMbB4T55d7M22OEj6 bcZNZoshIAoL1pfv6G2QOZD92XeAmcrKYZG0up2KlK9SbjgGU75ugeEDyOSsEKA6Yh1R 4YC9hIWdCbPP5Hl5Kkx/PaswfVDdQj0Pji1vQDlB5M9YKIYNjasIrC/fn2RIZHFWFkKG KEUGmtRxTFVckA0awp9CmCsV1PeT6w2aitH4+yRgwBeuiDzX5O8cOdybdU/t7B+1vbwa 82xg== X-Forwarded-Encrypted: i=1; AHgh+Rol+dvmXnqkmKYHOXZtIwvEcQxDDcCvnlemlVhqGI9LMxOLVsyXlYOZ7aaa/UcRaB7WTVxHcm4Tg3yK/3Y=@vger.kernel.org X-Gm-Message-State: AOJu0YzygI+4Fl10GhzTeqaFyXHkJfHels+lDX2CGFG0Uy+s0JrDG/jK j6NxfAl69huCz0l2nu8LYUMiBGlsMVWhPS+8m5N4d3kHlBinYWVN0PkAozbW4JaOwps0RFW68sc 18B9RTGafDdOf1DdUSQT1RKlCE3ImJb50Zd4aHrSnW85Y45uDxDL6CiEQp/MyA3XFF5g= X-Gm-Gg: AR+sD11jYvMv3EeVC0G7gNM2v+vaL5WzULvVhxJlMWpvg+83h0XLFc11hrXaGjSrnoP 603TWDPqGnSrfWVSMD7Tz4xzNYlcdc3uoTDc5z/9CLcwL6TlrWCMKz1mCal92Ps1V1nJXhGmQR4 SzaO/J0pK29CLJtEx2whear/MrdFsBNuWXRHXPABTi0rxzCo30tzVXYN0kJTdOiDA/LWpTjDxri yYoeDDNv6yEVhmu4Y5dgwp5NY913lrUSaF0Y4I9jNFq+gRPMtHQeGstaBuxEPZQ4AvshgG7YMQA w/Hz4Wqy7JJUwnpmUymfRiSyEtCkuq7sRykiot7ffoTTOn7Ka3in+H21mVRPT27rK8SCEtqG9ue uCPCpTKhnb+BCl//Mt9nV/IYTN7Q= X-Received: by 2002:ac8:7f0d:0:b0:528:2709:5fc with SMTP id d75a77b69052e-52960640cd7mr15441181cf.35.1784910938742; Fri, 24 Jul 2026 09:35:38 -0700 (PDT) X-Received: by 2002:ac8:7f0d:0:b0:528:2709:5fc with SMTP id d75a77b69052e-52960640cd7mr15440761cf.35.1784910938312; Fri, 24 Jul 2026 09:35:38 -0700 (PDT) Received: from [192.168.68.114] ([5.133.47.210]) by smtp.googlemail.com with ESMTPSA id a640c23a62f3a-c1c32eb7066sm364205366b.42.2026.07.24.09.35.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Jul 2026 09:35:37 -0700 (PDT) Message-ID: Date: Fri, 24 Jul 2026 17:35:36 +0100 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: [RFC PATCH 1/8] ASoC: SDCA: hw_params: program upstream Input Terminals for OT DAI To: Charles Keepax Cc: Mark Brown , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Maciej Strozek , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla , Bard Liao , Pierre-Louis Bossart , Richard Fitzgerald , Jorijn van der Graaf , linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, patches@opensource.cirrus.com, linux-kernel@vger.kernel.org References: <20260722234221.884765-1-srinivas.kandagatla@oss.qualcomm.com> <20260722234221.884765-2-srinivas.kandagatla@oss.qualcomm.com> Content-Language: en-US From: Srinivas Kandagatla In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=Pq6jqQM3 c=1 sm=1 tr=0 ts=6a63945b cx=c_pps a=JbAStetqSzwMeJznSMzCyw==:117 a=ZsC4DHZuhs/kKio7QBcDoQ==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=mVrgL4efUa3KVtcFUKoA:9 a=QEXdDO2ut3YA:10 a=uxP6HrT_eTzRwkO_Te1X:22 X-Proofpoint-GUID: H0GyU4Op10xviB_Nk68dLUKMoARb4TLO X-Proofpoint-ORIG-GUID: H0GyU4Op10xviB_Nk68dLUKMoARb4TLO X-Proofpoint-Spam-Info: AW1haW4tMjYwNzI0MDE0OCBTYWx0ZWRfX1pcwNBXxRwNL T/s6eMNG9xyI+kF2Wi1YyU1E/QHJxw5325QgEBkr47SmI1SZyRIyikBHareuXaqWbSX0MDR+is4 ncge5AiJ/sM3AzSvjITpJsbLhftvhQs= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzI0MDE0OCBTYWx0ZWRfXykewgAYYFrLY N2qCnofjUi9yNR6HLLGQWvRDDrumyK06+FSFCCNTRLrjTJa4fVi8SRpwh4U7w+EtD6VOxIwQzWQ auKC4BGy5x8hZXmXH6xpw3FPwovI07MJ+DwgXy0QLLsjtwg+Ghd1+PpI6eytlxowTbi2GX5m9xa FP/+Gz9zkaczkE183q6HL3YQtynHgTesjGHQhaab7ekf6mqFcmloXMJUjcqUP5ake+MuPhqg36w ojzID9l/Hyet+uJVILCMoHvfwFS8da/Tc1/utDDETSMBHx2BhrP19IED7C1SccDgFc6y0LjzQNz KZJ5XgdD0Eskx/lZKUex6tvwiW/LFqA53Z93KVjkcdx3v9YMmv1VXaB0XSV07oluoQrMdRb+BRr bkMk+xu2h/GbeijGzQ/GNYPPnqmuATuj8xzGkjJlYCu5wujvFovT5N4WwgH/PSATOhsRzpyHN0E TDJZ6e8GpK4766QUg9w== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-24_03,2026-07-24_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 spamscore=0 lowpriorityscore=0 adultscore=0 bulkscore=0 clxscore=1015 impostorscore=0 suspectscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607240148 On 7/24/26 2:14 PM, Charles Keepax wrote: > On Thu, Jul 23, 2026 at 12:42:11AM +0100, Srinivas Kandagatla wrote: >> For a capture stream the DAI is the Output Terminal so >> sdca_asoc_hw_params() only programs the OT itself: cluster, clock >> and Usage. The upstream Input Terminals that actually source the >> audio never get their Usage, ClusterIndex or clock programmed, so >> the power domain comes up but no samples are produced. >> >> Walk the source graph from the OT and program every Input Terminal >> reachable through it. > > What was the thinking with respect to the units in the middle? As per $6.3.2.1 and 6.3.2.2 FUs does not modify the cluster, its transparent to cluster, Output Pin uses same cluster as input pin --srini > It's not clear to me things are quite as simple as we can copy the > cluster from the output terminal to the input terminal. Various > entities in the middle could change the cluster, such as CRUs, > MPFUs, UDMPUs. Also possibly SUs to consider too, since they > may change which ITs are actually connected at that point in time, > although potentially an argument to be made that programming the > unconnected ones would have no ill effects I guess. > > Any thoughts as well on the propogation of the clock and usage. > Its a little less clear to me from the spec that they are even > intended to propogate in this fashion, although it does seem > fairly logical to me. > > Thanks, > Charles