From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 C1B2342EEB8; Tue, 21 Jul 2026 22:04:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784671491; cv=none; b=ZBUipKvn2iOAXt7aNJYqJj32h106AZln7v9FMQBQCtPvPE44pdZk9NpXHXGmaHd6rxOMdE4id9+VBrymSCttROVWniXLIHIkWvPtJVuZMYxZZR9cU4wHbf5ZMDSRw/7/A4r4cSHZNIL17qj8VyxvBJKE26JuYYKezKbguh8ygAM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784671491; c=relaxed/simple; bh=H0WIfcGXm3A/GcFWOeVP8ud5JTCZaTojQNyx+01M29Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=krM8O20ETi/oE8mdAohaDXA2vHcUO0SETj61pyMlpK5dXigI2kigbN3dyGLd7XVsh7/yjhZk5xVQoVkkjWrc7Ahu9uD8ufwITPa66xHq9NkePunNH9Ugya9nNscNBmo7puU4tibJbaPB4oyUomjId09+17ViPUdi4GqCo7toLmw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hiYWOE7N; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="hiYWOE7N" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33F4B1F000E9; Tue, 21 Jul 2026 22:04:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784671490; bh=yQNmq7mBLRHqZBOomw7pHrC14yh79vc8OEFOge3Q28o=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=hiYWOE7NMk0/IGxu4kDWyY5XEUq4jTQq4TulFuKWW7zLMP9T3+qKzvS/59lC9jKGQ 5XNVWBI0TxZcEulS/aJLeRzbyHlPd/UMhrCPKHuxk6CsDn8ZjDrUUmq7c1X3adZo0+ 1A3+Nqod79PVT+a/DS2g7UJGK2HnFvBrMB0KZGeI= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jihed Chaibi , "Kevin Hilman (TI)" , Sasha Levin Subject: [PATCH 5.15 223/843] ARM: dts: am335x-sl50: Fix audio bitclock and frame master endpoint Date: Tue, 21 Jul 2026 17:17:38 +0200 Message-ID: <20260721152411.031279589@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260721152405.946368001@linuxfoundation.org> References: <20260721152405.946368001@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jihed Chaibi [ Upstream commit 2bc564f46b00dc4f4331fc337277ff3f5fac8a4e ] The cpu_endpoint in mcasp0 specifies the TLV320AIC3106 codec as the bitclock and frame master, but the phandles point to the codec's port node (codec_port) rather than its endpoint node (codec_endpoint). audio-graph-card calls simple_util_parse_daifmt() with ep_codec set to the endpoint node (codec_endpoint). The function resolves the bitclock-master phandle and checks whether it equals ep_codec. Since codec_port is the parent of codec_endpoint, not the endpoint itself, the comparison always evaluates to false. This causes the mcasp0 CPU side to be silently configured as bitclock and frame master instead of the codec, which is the opposite of the intended configuration. Fix by pointing bitclock-master and frame-master to codec_endpoint. Fixes: e5f89dbdebc5 ("ARM: dts: am335x-sl50: use audio-graph-card for sound") Signed-off-by: Jihed Chaibi Link: https://patch.msgid.link/20260325223411.123666-1-jihed.chaibi.dev@gmail.com Signed-off-by: Kevin Hilman (TI) Signed-off-by: Sasha Levin --- arch/arm/boot/dts/am335x-sl50.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/am335x-sl50.dts b/arch/arm/boot/dts/am335x-sl50.dts index 6516907ed579d4..a4beb46ecc095a 100644 --- a/arch/arm/boot/dts/am335x-sl50.dts +++ b/arch/arm/boot/dts/am335x-sl50.dts @@ -557,8 +557,8 @@ cpu_endpoint: endpoint { remote-endpoint = <&codec_endpoint>; dai-format = "dsp_b"; - bitclock-master = <&codec_port>; - frame-master = <&codec_port>; + bitclock-master = <&codec_endpoint>; + frame-master = <&codec_endpoint>; bitclock-inversion; clocks = <&audio_mclk>; }; -- 2.53.0