From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795015565; b=A9satBNPt/AFL7u162XRRXaUBdWOpZh840qohqk2PhkfJVbWA8aIPsxwBAKtUhXzREsd nrlXn0CJlFoqp1iOJZGeAG50ujfaNyQBJaRlSYVyAv+xTYBRrFq6p3EWwi3gAQE6P/SKm cd2UO2dC6jyH2svzwBFK/FulwujKBCj/kzJaEyvNoyd3mgqprPmh40R8gosFIRR6D0EAm Tziq8iesxsDzHAyBMApZJ0rMX7IXFz2amRHZuguV8cLw4n7QaFQjscvHCJcU8ylrgHFuq zSXkMrbSP9GC9EEWv3GVJuw4/qaE1jxhi+EkNRVmi/9+xoXLUt4rwvXQVPj2RnLeT3g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795015565; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=aZpabRV4pC4zkFgYY5F2J67kzGZ22vCD26Ttg7v5F+E=; b=f1QSoHGXO/nw62bBmpYCwcLkbNAsIYSP6Wkb+rN9qcRVXiPofnDDQmVnrsem1dJ8pEtL BmwnfdkL4t2L9lmYnrhIxi0XwCyh2Dv8eJI8UmXE/uFC9FZwxLZELt4cxK8CKCwE3LqQF hiBY5Na+GKQicDm3Heh7li3LxkH003Xr7BeCBJeeWEAb4NYeZ02XNdjwnnK9G+kTs9S8N CTHIJdIFESVj/neIhPFsBJKt64O26Q5EXURs3k1pZ9RY4Q9GUauOEsXaV5GwGkVpdElL4 tFHWfh+Pxkx8xSOZ+RfITJOdE5M7kTgfP/1oBdHvsc/CgZhlpIIh0KLZI9feSkzUq+g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=pE2JEDMh; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC34E60A260B; Wed, 18 Nov 2026 15:26:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=pE2JEDMh Received: by smtp.kernel.org (Postfix) with ESMTPSA id 116871F000C5; Wed, 18 Nov 2026 15:26:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795015565; bh=aZpabRV4pC4zkFgYY5F2J67kzGZ22vCD26Ttg7v5F+E=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=pE2JEDMh34WnQrKvaXEdrsfQgVn/P8fpHHlQCGYHTls8lv5IN3hwnrvkcXuVmBDos oIw6KEPcieR7h8EScAvczxyHYkxB8lzwBo0sISy5jAG2ufxsV3vbmP7UYKcABcsP5h pgnB5oLwuaFbF1XF8tCoy1bw5uGl9Gsw9UkItcUk= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jared McArthur , Moteen Shah , Sen Wang , Nishanth Menon , Sasha Levin Subject: [PATCH 7.3 0220/2651] arm64: dts: ti: k3-j722s-evm: Switch audio codec clock from audio_refclk1 to external clock Date: Wed, 18 Nov 2026 15:24:20 +0100 Message-ID: <20261118150255.787218734@linuxfoundation.org> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261118150247.972732815@linuxfoundation.org> References: <20261118150247.972732815@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 7.3-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jared McArthur [ Upstream commit 432bfc86fe62b654c74d9376b03cbe4d3513ac5f ] In revision PROC170E1 of the J722SXH01EVM [0], the audio codec's (TLV320AIC3106IRGZT [1]) MCLK was provided by the AUDIO_EXT_REFCLK1 (96MHz). Revisions PROC170E2 and later switched the MCLK's source to an external LMK6CE012288CDLFT [2] oscillator (12.288MHz). The PROC170E1 revision of the board is not publicly available. Fix the audio codec's clock by creating a new fixed clock node with a frequency of 12.288MHz, and switch the audio codec's clock from the audio_refclk1 to the new fixed clock. Remove pinmuxing and clock muxing for the audio_refclk1. [0] https://www.ti.com/lit/zip/SPRR495 [1] https://www.ti.com/lit/gpn/TLV320AIC3106 [2] https://www.ti.com/lit/gpn/lmk6c Fixes: 3a36c535dfd2 ("arm64: dts: ti: k3-j722s-evm: Enable analog audio support") Signed-off-by: Jared McArthur Tested-by: Moteen Shah Tested-by: Sen Wang Link: https://patch.msgid.link/20260804210558.1455777-1-j-mcarthur@ti.com Signed-off-by: Nishanth Menon Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts index e66330c71593a..90c3e3c9c496e 100644 --- a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts +++ b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts @@ -162,6 +162,12 @@ vsys_io_1v2: regulator-vsys-io-1v2 { regulator-boot-on; }; + tlv320_mclk: clock-12288000 { + compatible = "fixed-clock"; + clock-frequency = <12288000>; + #clock-cells = <0>; + }; + codec_audio: sound { compatible = "simple-audio-card"; simple-audio-card,name = "J722S-EVM"; @@ -187,7 +193,7 @@ simple-audio-card,cpu { sound_master: simple-audio-card,codec { sound-dai = <&tlv320aic3106>; - clocks = <&audio_refclk1>; + clocks = <&tlv320_mclk>; }; }; @@ -228,11 +234,6 @@ csi23_mux: mux-controller-1 { }; }; -&audio_refclk1 { - assigned-clocks = <&k3_clks 157 0>; - assigned-clock-parents = <&k3_clks 157 15>; -}; - &cpsw_mac_syscon { bootph-all; }; @@ -358,12 +359,6 @@ J722S_IOPAD(0x0084, PIN_INPUT, 2) /* (N21) GPMC0_ADVn_ALE.MCASP1_AXR2 */ >; }; - audio_ext_refclk1_pins_default: audio-ext-refclk1-default-pins { - pinctrl-single,pins = < - J722S_IOPAD(0x00a0, PIN_OUTPUT, 1) /* (N24) GPMC0_WPn.AUDIO_EXT_REFCLK1 */ - >; - }; - pmic_irq_pins_default: pmic-irq-default-pins { pinctrl-single,pins = < J722S_IOPAD(0x030, PIN_INPUT, 7) /* (K23) GPIO0_12 */ @@ -562,12 +557,6 @@ ldo3: ldo3 { }; }; -&k3_clks { - /* Configure AUDIO_EXT_REFCLK1 pin as output */ - pinctrl-names = "default"; - pinctrl-0 = <&audio_ext_refclk1_pins_default>; -}; - &main_i2c0 { pinctrl-names = "default"; pinctrl-0 = <&main_i2c0_pins_default>; -- 2.53.0