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 13F9344607D; Tue, 21 Jul 2026 20:27:08 +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=1784665630; cv=none; b=c+Yj8N74GeICh8ykxa4GKxib2PZZBFMODyTf3RvowGVC4vg8/itYrfVGeTZCGbH+J1o3FJ5hZTY4Hrrwk9ghtrgF8eVhtZmfyCpseStrsKcF63BWzNZhfP7YwQ60Lf/ffZGoM2XmG4oPuYMsZ8iyR0OXN3s8+xwPLONx6zVI0xc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784665630; c=relaxed/simple; bh=X0LW5QZkZ+PHqzOYI3AowkdL58j9w8R6OIhvRbIEU9A=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OxyGxnRlAlL4dsY2vEETSKVEMtYPDEfYk4KjIw3S0uKY2vDUfbrbz/5baO36exjqV5g37RQPsCNS9W3iO8+3pftAhvyYrwBUaKV5WQoBMyKcRoGXibZ5b/Y4c2CZByU2883JrASAXoDAn+ap5goKsLR0XVhwPhwv+m7sjeguybQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aNzmRznS; 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="aNzmRznS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35D9E1F00A3A; Tue, 21 Jul 2026 20:27:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784665628; bh=gpFfF9MhvhS1R/hxn7qSfDlRhBr0CICrlCa2q5AQuI8=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=aNzmRznS/7NL4xUPTmTxfb8TPEWLcJpcwZbqluNoAnQN50Cz9ApZ7xyxVuPGxHgoE ECYmSX8mIrl/qTgVhxkq28G5M/C6P9TABMybGop6Qd5E6PSGh80lGvZA9fBusn49jd SO08Ed1qabmhpIa5vyZC4QeBHEwQe9kYmNAWpCio= 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 6.6 0377/1266] ARM: dts: am335x-sl50: Fix audio bitclock and frame master endpoint Date: Tue, 21 Jul 2026 17:13:34 +0200 Message-ID: <20260721152450.263199087@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260721152441.786066624@linuxfoundation.org> References: <20260721152441.786066624@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 6.6-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/ti/omap/am335x-sl50.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/ti/omap/am335x-sl50.dts b/arch/arm/boot/dts/ti/omap/am335x-sl50.dts index 1115c812f6c8be..b22e5c6453314d 100644 --- a/arch/arm/boot/dts/ti/omap/am335x-sl50.dts +++ b/arch/arm/boot/dts/ti/omap/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