From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 CE59A33C1BE for ; Wed, 17 Dec 2025 12:56:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765976168; cv=none; b=ptXlQcmbD01+htAvdAac8rskF0xmkR1ooYWEA8U5/S4rKGKYia99A7yrGNdn9TUF20Ii6faKTu0vkXDrce5Tdxen5iMMXgRuMYhw3vMAjZVYynKGYJJVRSQ3a3ukHUcwEWlEC727P2AfNqRfUqsg43MZzthdJrT4Hog4hEaQrJ4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765976168; c=relaxed/simple; bh=FxLM0KclIpi3ogEq/ocYeS8TWQmxPiqLN+3j26Yf23k=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=CenOwciO6bti/tSEPsL/regJLACtTWqhsK0fZNBfZPFEZ3p3i92gNsi8Aj9Q5oGEF3YitTL+J3itvwnV7cR8T8SrVV4H9QfMPQdDWon9sjP+2biy0gZwYnRoZr5FmKo6A5Kox4eN0EdFdJLWOcHgXt1WRBApKzqbZIrCayAeSTM= 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=DKVjtI5o; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Vjdv73ca; arc=none smtp.client-ip=205.220.168.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="DKVjtI5o"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Vjdv73ca" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BHCLkbf2676240 for ; Wed, 17 Dec 2025 12:56:06 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= WOPiNKiqFA0h11hftXo+Ki9WeMXiJkxt+xJYpeMO3iQ=; b=DKVjtI5okDRDUXPV JCqfmrCgI082GURlpjtedhuDxtRzwb5LEAbleYuoS2QCmyQ7wAyc3071zWqjG722 2PyFpv2dk6Sr+jZtpc/cf2jJwjCFYn4gd57Nw0iQNaXU/sKreCwzRxdvVKeErV7y hODjKmhYvaIAYCka05knlnX+2e5gsRiNhVO3PDvz/+7etN4LvHgd7DaowVHjNdqI ceFnRPVAQ+e6QWgvG3n2fCIgyfObBdiquKNMj6fJOk1cDeMcHhvvno4ZqGbgBFA2 dwend92NOd0zrXzpHFIk+E0Z9uYXSHA1lEySpSEORmMH/KGFGP6WkyR+SAu5rcpW JICRtQ== Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4b3myj1mst-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 17 Dec 2025 12:56:05 +0000 (GMT) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-8b2e235d4d2so2310424385a.3 for ; Wed, 17 Dec 2025 04:56:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1765976165; x=1766580965; 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=WOPiNKiqFA0h11hftXo+Ki9WeMXiJkxt+xJYpeMO3iQ=; b=Vjdv73caS3dl1j2TFKvbYrXYaWoHmcCf0UojJy5jr/fvLSxIRRM2BTCgjWOgdhC36X iN7Gb97PHymnlOGiPhfUT5wV8vfEyuzeFWtoQWEHQMiEQ9CGs1XxSwQph/8/e8S/rWbj 1HxHGajRx1yimRB9H66DsF59cnhbC3iDX1R1cLwP4tHy+TsokKXihY9iEWivQyM7XY9G qVkZtillxIg/1J306kW8rXCEAUn+ILSxOzkrZvpOfJfmefrScCxdriWDS98it34Y1Xzv ZHBUHvMok23oGC6e2bDSFMgOEjqJQrRjJwL0xfLdzpPKXqR78xXiRj5iotrZ8OvRLGxk 8zJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765976165; x=1766580965; h=content-transfer-encoding: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; bh=WOPiNKiqFA0h11hftXo+Ki9WeMXiJkxt+xJYpeMO3iQ=; b=iJmscfH4Et30p3fZlVNJ4s+9sQeX9Lp7YID9y/bW9EV16nLnHag6m9LhXNPMA2H2km 3WcJuV2HezPdd5j7GFT724Nux1fXGeKxv0Tb/gG54TOrjFOstZtyO3ewGqISgyD92r01 sNKgvU0jdL7JrjM9gN6zBic3fnlNy8BAYC1ky04tKqAqbfi0WrviVvtUxHX+v+x5UvbX Ud7z1Uo29QjauY7AsV4bym9QxmttwZbAi/eIbpdMvXQU1NXF9CecXShRGg+Z5DzVqWt/ H02gM1XGl5T4pncgVB6WdtG5PODOZ4JV2XdEurLGLo1yGaccphIWn/nQjWWU0QbpLjEB OWXA== X-Forwarded-Encrypted: i=1; AJvYcCXmZ3XSf/i4deZlF+ihN8AiiVHK0Rb5JWxMaCkmblgtIFFeLtlEQSs7e+mCZHiWYxXmsxjUlg8lQQsH1VY=@vger.kernel.org X-Gm-Message-State: AOJu0YwfwKZdewS+wYUd5xkylKS5A9A6/cJGvkeMzaU1h8bacoClez/N rHfN/1iOQeUk3QeN0f+/Zipi/3tbBdEEMrJTQwgn+z8r5EndF5m1vbY4uV3zj3A0RkvecfY3Ovd prtdo6eMYECAb5O1Bk+3T38WDhbLxqxE5eRvS8cTp2FM0WWDhXLESjbSgLeosoWof420= X-Gm-Gg: AY/fxX51RqoLKZQdNFofQkp1lxeXme0y6aYJ+GgAXbbtFQ/kXlZB3E7FO2iKh+/u9VG 0C/A12Db9nSVpQb4CbUyx0+1Ahrjsbbq6w+WMDm88Awkwq5GE/AW84wFCexSRlOzqEJwEDBuCFf sHo1WHhxxmumzlak9BMZ9Xuf0jdKjcrHgrYs8ZNl8DuzsPEunkQ4It5NoqMvf+DVyZqD36LlXqh n4yLlEPvbp8hZcz5Tt4zIB+OduNQT/yEGw2+9qiwgRcufzJFJvJeKpdopm4IEiCrb4H2p8PfX8D rKS/4ObeUHU7XCPC80GhChTdLbKdMxDesUCQ8rdhRnwSrGgRfCix3d3PdKFi+Fv+tDV9V2z0dmA bD6jyVVoE3onQ8oH30orWgJ+VVNofef1McYwd X-Received: by 2002:a05:622a:2286:b0:4ee:19d6:fadd with SMTP id d75a77b69052e-4f1d04770a6mr262595081cf.4.1765976164853; Wed, 17 Dec 2025 04:56:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IEMUuNr17Mfyov5u2N+6wQXww6mFEqvNtFZsN6hnrLUNMAp9We7iRc0kZfQeruCjmGbm5NMTg== X-Received: by 2002:a05:622a:2286:b0:4ee:19d6:fadd with SMTP id d75a77b69052e-4f1d04770a6mr262594811cf.4.1765976164463; Wed, 17 Dec 2025 04:56:04 -0800 (PST) Received: from [192.168.68.107] ([5.133.47.210]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-4310ade8063sm4664963f8f.23.2025.12.17.04.56.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 Dec 2025 04:56:03 -0800 (PST) Message-ID: Date: Wed, 17 Dec 2025 12:56:02 +0000 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 v2 0/2] ASoC: qcom: q6dsp-lpass-ports: Expand sampling rate and PCM format constraints To: Alexey Klimov , Ravi Hothi , Srinivas Kandagatla , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@oss.qualcomm.com, mohammad.rafi.shaik@oss.qualcomm.com, ajay.nandam@oss.qualcomm.com References: <20251210065157.2775514-1-ravi.hothi@oss.qualcomm.com> <370a9d69-1706-438a-bb36-01a22e5cf540@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-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjE3MDEwMCBTYWx0ZWRfXzK14+ku5OWJ3 YLW62ckAAwHxDnrmD2lZEHc9uBPQQJ1wv/3X6LWh2kyBotiMihOlM3eKjrT1911yQ5NWY6ES750 qOWMRXtezx3lC+UrVk/1HM3dP/xpzItThz3qiAm5t2gOgKCm6Qndrh3tv77fBtutX3M4zXPx+it /CYzlORnTqkfngvCjrvDRsbfu3GcHcUYkpGm1v6s7PVE/Z+/wjcnauGLPBjdkD1XqaskwcpEg1e H7GOE7MXjTiuGFh3vTLLTpyRn1mhgLVEV/Tcx5fcq6gskrOrzOBhiH0tU8RuqB69l+yYfmLaqkd 5N3yZOjtxn+3DYqkzhEZPw2gZGRKuSWenjFclNww2sUsR+JqBQ9WzXE/8dXOIt6xhsEHtntVQUW c3bXw92Vv2JhhDFOgvfLJygEdn3jKg== X-Proofpoint-ORIG-GUID: XrGaZV9Qj1rVhKDeSMWXw2zMdOZc7jnw X-Authority-Analysis: v=2.4 cv=CtOys34D c=1 sm=1 tr=0 ts=6942a865 cx=c_pps a=hnmNkyzTK/kJ09Xio7VxxA==:117 a=ZsC4DHZuhs/kKio7QBcDoQ==:17 a=IkcTkHD0fZMA:10 a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=Ee-W4yJ1yma90M8iBOkA:9 a=QEXdDO2ut3YA:10 a=PEH46H7Ffwr30OY-TuGO:22 X-Proofpoint-GUID: XrGaZV9Qj1rVhKDeSMWXw2zMdOZc7jnw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-17_01,2025-12-16_05,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 clxscore=1015 impostorscore=0 spamscore=0 phishscore=0 priorityscore=1501 bulkscore=0 lowpriorityscore=0 suspectscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2512170100 On 12/17/25 11:38 AM, Alexey Klimov wrote: > On Mon Dec 15, 2025 at 7:29 AM GMT, Ravi Hothi wrote: >> >> >> On 12/10/2025 7:26 PM, Alexey Klimov wrote: >>> On Wed Dec 10, 2025 at 6:51 AM GMT, Ravi Hothi wrote: >>>> This patch series expands the existing constraints in >>>> the q6dsp-lpass-ports driver to improve compatibility >>>> and flexibility for audio stream configurations. >>>> >>>> The first patch extends the supported sampling rates to cover a wider >>>> range, from 8000 Hz to 192000 Hz, ensuring better compatibility with >>>> diverse audio hardware and allowing more flexible audio stream setups. >>>> >>>> The second patch adds support for the 32-bit PCM format >>>> (SNDRV_PCM_FMTBIT_S32_LE) alongside the existing 16-bit >>>> and 24-bit formats, enabling handling of high-resolution >>>> audio streams and improving audio quality for supported hardware. >>> >>> Is q6dsp-lpass-ports involved in compress offloaded playback on >>> existing devices? If yes, then how is it gonna play with >>> explicitly setting format/sampling rate to s16le/48k in sndcards drivers? be_hw_params_fixup callback in machine drivers can select any format that fits the usecase. currently this is hardcoded for s16le samples and 48K rate, but its not limited to this. This patch is expanding the allowed range in the dais so that machine drivers should be able to select other options, ex: for HDMI its better to be at S24LE or S32LE. >>> >> Support for s16le/48k is already available; these patch will expand the >> existing constraint so that customers can use a wider range. > > Unfortunately, you didn't answer any of my questions or answered > a different one. > > Perhaps the main one: is q6dsp-lpass-ports involved in compress offloaded > playback on existing devices? lpass-ports are the Backend DAI ports, So yes, they will be involved in all the usecases that deal with handling sinks or sources irrespective of pcm or compressed content. --srini> > Thanks, > Alexey >