From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (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 6BB1637F8B1 for ; Thu, 29 Jan 2026 09:53:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=209.85.214.173 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769680428; cv=pass; b=RVhEwtXFki0TjbJiDkriy6x/XYDo21vYCbb1lfc3RxCxnu3pxX2B+mJbTQaYliJtAoNJBnmxeu4oRInbwOigN3okOSme/ZS0oD4ANAZj/t4xpoIaca3z3p0SFlnxndwLofQt+Qf5NzsjgmwiwmVRosS5NKJDGk3hBKXG9BSkw9s= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769680428; c=relaxed/simple; bh=/7eUFYzBO0piSeiJwey3BFHh10mwh8sua4KhOGsFt8I=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=FSHmAV+fHNNYdSnoKxpS1X65N/AaJmboqBn+sjMbLDn34EhHMUz86cOPQYO9Tkn9njcCMphe/OK/7SkXUZHEi26f2yvWWTzqnkKxyKpVa0ZPYSvHT6TuMADtJsDTOnrRbR0xhqpPlxTv+Kh39acEOwJo4ssuZEZqJgNlNWIcCVU= ARC-Authentication-Results:i=2; 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=VVDln4t8; arc=pass smtp.client-ip=209.85.214.173 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VVDln4t8" Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-2a12ebe4b74so8940515ad.0 for ; Thu, 29 Jan 2026 01:53:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1769680427; cv=none; d=google.com; s=arc-20240605; b=iFTylAKgouiF3pBshL+APF80/vD4NuwCWr07ww20FYnV1a1uM0Pkkt49QW3yxDPoAb 9SukL5VTjrWkLRT7gUt7+J8NjMvOwoPNwfKq1QlL6JilGCREQ1A9C1ARKRE+dV6E9cah qb+fV+yJf8wdkWI91Pq9OKANEM/2fMQqbJHj5YRJh+8ia3iB//M+ifoWZi2Rboxq5jyk VTTr/QJ/SPxHEr/3yRVEvOJEduXl/Gwv/9pyYtrGs+8M8iewnB9yiBSfrviG2/Ifi+km QVFlvb+ttYaOi62uWhbeUIIFpnqgfbEDWitm5WWF59vr6wZeDuNjBIrpA1Ljv7H/8zvD XCeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=/7eUFYzBO0piSeiJwey3BFHh10mwh8sua4KhOGsFt8I=; fh=vpI1O84UJRkMkS+dlYxgoVBMfSrNU28ah25ELTu8CyM=; b=LiijV5ppjIfT6BCjoFeryvh97wNEjjyVrNhGVQ1IUiZpfoN5LhtNImLfhX9uWnfQOQ LwNePF3Qnl5h0A+WZo+nO+JlBEZ4dkUCtOuAelzd5wQmxqywdbvYNzP6Trv7bQ3LCDau ixDax5MQyVAToJ/kU55Q9RT2UWSRWi/NQneeYkp7FgIViMz0AbzalJr9kLhmZtUC/IBD 0WBr8kRpnadqypZcM0Sp1xZJMCxHeayp3Ohh0Qe8N+7b2KE8ieqW4IAFe26REfp8hfr4 8L3gySFCl/pbw4NGzTlNPeAHUovD8f3WJM7XosQKV7vbIOMOhWxhbAIL3WJuoIFfmcPf lplw==; darn=vger.kernel.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769680427; x=1770285227; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=/7eUFYzBO0piSeiJwey3BFHh10mwh8sua4KhOGsFt8I=; b=VVDln4t8gSR78q9W8H7dhnzty/dnpOHAIh36ebaajTIOicGBqd1AmkCmfx4v5MMe9G yh9OszJ5gzmL4II+FWH0O4Lz8hqcXme54WcsJOu2ninUG4Zi415HI3pHOqprkqLGsnzR UHKTTz8NmaISq0pjFp5MstPyqjcWMTC1RSLOUzHUf4nsVS5aqO3j2FR3MQaFu4QTzD5F YqNyB3+m10i6s0KyuIKAz/XsuAzSuVhG4+4l8j0ErsC1FC2aqEkHcufY5cKm4xOQS+1Z AG9p6IIBEIi6gaHQHhYfy2ZNyn9yUmkrTfTg3ACoR+I7+u5vQWZjdjggg+DoftpN20HB nqlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769680427; x=1770285227; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=/7eUFYzBO0piSeiJwey3BFHh10mwh8sua4KhOGsFt8I=; b=fLcRuYD7oJcPHpkekJjz13dpzRcL8doFQK3nosKnUC7mKYUdW1lKUmUW8thM7k9zMx XrgQX6J5SssVvBSNDsRL+OgOZAtcvo+hPV6iOxW2mLyqLx5pviRD2ejvTUXUpjd3uigF gdsl6AwMWH3KjbRHzvwVrZ+AChF9qxKobFchRnX/lCYnYYPdl3zQKMddDHbJS0q2FXjK V/qo0UPHzIjEUBwKfunj4aHmHS8FVU1Kj+h/r+7vX+u81jFnP6uV317Orpc7TpuH7ej3 MMFjuL1LOHmSwbKUgYjWT08CK60MIZDmdlDwqiKZFFka+FgVIsMJs5fp8vY3zJQOGoRP c7Bg== X-Forwarded-Encrypted: i=1; AJvYcCWQFOpIf9Oer6M6MixWUX1amEGoYcu6/OirF8F4PIDftkGDZYPAN8jP8fYNVy7mA4vxVfhgozP0bgr529s=@vger.kernel.org X-Gm-Message-State: AOJu0YwtdOh6fNRjrGi2s2y5g/H8BpVQAOOdJC6OhWi0hAOYo64i4wkY MG4V1wOLHJB6GKdjaYJ+H1MVTD8gf/rVFvkgkCg/Ckby0qXYRrmVikbFp6woj9vaBbdE5k4HLLx A4XMcapTzFfmjrBR0/rCq73N9xHEpmcc= X-Gm-Gg: AZuq6aJDa2sUy6VEV/FuhyMuV4V+/3o/zwEcovrWB+PkEUZiP/9diQeFlAvnWEphHfy ejo8S7RrFxPeVjdf2g5lnIKohd0ZA8YqAPA/l0nFXwMzMIoplP5A5GzLhYOqxx2xo3HHz3AXHel Zp2+58ghSmVgAB8XwKcu5CCVQgY8Hipu70k5VIYEecO6WsShShX3xgxWBe/L2Vm9wnqaLvZqg78 w5M4FetJWTlIjsA8EKvEHuJrZbFN/teXF5y+k+oVdgY0CxRIpK3oJNVoksPxElXZuWE02A= X-Received: by 2002:a17:903:40ca:b0:2a1:5d2:2e45 with SMTP id d9443c01a7336-2a870e7dbf0mr74134655ad.59.1769680426799; Thu, 29 Jan 2026 01:53:46 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20260128071853.2602784-1-shengjiu.wang@nxp.com> <20260128071853.2602784-3-shengjiu.wang@nxp.com> <36309f30-8b83-4eaa-842e-c663edd8a439@oss.nxp.com> In-Reply-To: <36309f30-8b83-4eaa-842e-c663edd8a439@oss.nxp.com> From: Shengjiu Wang Date: Thu, 29 Jan 2026 17:53:34 +0800 X-Gm-Features: AZwV_QhJaxBDlnFwwTXJVH6oDtpo891knd-s55tPdoqjkrrPNspPNZy-5Dfzq3s Message-ID: Subject: Re: [PATCH 2/3] ASoC: fsl_asrc: Add support for i.MX952 platform To: Daniel Baluta Cc: Shengjiu Wang , lgirdwood@gmail.com, broonie@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Xiubo.Lee@gmail.com, nicoleotsuka@gmail.com, perex@perex.cz, tiwai@suse.com, linuxppc-dev@lists.ozlabs.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jan 29, 2026 at 5:17=E2=80=AFPM Daniel Baluta wrote: > > On 1/28/26 09:18, Shengjiu Wang wrote: > > Add a compatible string and clock mapping table to support ASRC on the > i.MX952 platform. > > There is a limitation on i.MX952 that dma request is not cleared at the > end of conversion with dma slave mode. Which causes sample is dropped > from the input fifo on the second time if dma is triggered before the > client device and EDMA may copy wrong data from output fifo as the output > fifo is not ready in the beginning. > > So need to trigger asrc before dma on i.MX952, and add delay to wait > output data is generated then start the EDMA for output, otherwise the > m2m function has noise issues. > > Signed-off-by: Shengjiu Wang > > This patch does more than one logical change. > > I would split in two patches: > > - 1) introduce functionality to start ASRC before DMA. > > - 2) add imx952 support including clk_map and introduce fsl_asrc_imx952_d= ata Ok, will separate them. best regards Shengjiu Wang > > Thanks, > > Daniel. > >