From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1792566513; b=1PsLiAmLAGhmWkb+DzosaLs4XLolSI75025oXtpjTzIMhkcT+2z++jEcf4PJSaEfmoCT VubKRqa+r5tnVqeqyH/6R2q2AK+jppShqmTb0qhhx0kMC+DOuQQABql7epAbHBRqzZT7D REKkYTftFkhyCgwo05f5aSfHeLyaCUY8NI2fzjaw44aCp5d9N4E9VRrY3KB9c6SbZsz50 4R046LN5b1yaSG/mJ/kBBl5n8M7JSWA5p5D7GD0lgb267ansSe7J7YMAWPa1h50ANeJK5 2+QOiodgUt6ulzOrL0R3LfSs9tu8GH7dP6St9R2cNwJg1RDJDwq4ikLYO8LCZDpkd2Q== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792566513; h=Received:DKIM-Signature:Received:From:Subject:Date:Message-Id: MIME-Version:Content-Type:Content-Transfer-Encoding:X-B4-Tracking: X-Change-ID:To:Cc:X-Mailer:X-Developer-Signature:X-Developer-Key: X-Endpoint-Received:X-Original-From:Reply-To; bh=CAZapmg+ij6DoDuuN0WapEdXyTNER/gsB6cKYFvO9h0=; b=sSgU0LoSRGk0C/7pY4Ttwy8N7NYM/BaiLoQr51+3DEEQSCKVmrrS2rFnfZzXQysUkdy7 gpkOPnN1vBdi2l2Y08AG6b2oFQlcpUonpnr6jXVrnUThckM3XP3qE2SuBJdT4lkQcek5d +U6lhldHwJfoMcwfCOPUQuAJVD1uFD5/0+b9vZ+PdgbJNi9TNsYgolMyDbA2sfcAmFVA0 Wm+S2rRcJlpDr6UN7MQ3DLbWAdal1nfUohXAXBotiMUwW7t/zUse/P+rvmJ/245dxViZP qkkmYuUJZCV0Tz+OKJn5GPM7YtbYNL/m6QHF2fFM4DKu4fsLwYhhsNBsNfMnTFFHW9w== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=CFJNfkeA; arc=pass header.oldest-pass=0 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 520AC606A32C; Wed, 21 Oct 2026 07:08:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=CFJNfkeA Authentication-Results: smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 ARC-Seal: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; cv=none; t=1792566513; b=hQioR0XPK3c9HienxU61MccZY4zRO0J6RaIIJZlyHnRSgaXlr1LdxuwO/0NbYsV8haLM OJx7otY3uuZTEl4kre6wlh0kMNwfGC6WCBS2TfOxVL+nmRHO509C898aEZenQhlTbzMWn 69Zs108wxjTdJsV2fM02ZE3fn2JWR9iZM3Xj3Isfdzv7GaQCyXfghLoHKgsYiCdGZYRPX wBxpbIah/dj3ASaV0nHXPUhPBtzzaf/915qB2ZXo6UxnyhFXu6KBx2e0zxMymkBWTYaTU htg8Mii9LOMbtMhoQC0Rh1mBuJ2TSA8GA3/pJeWHz12ToW0GJkeWKF+QwIgni8PGqkA== ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; c=relaxed/relaxed; t=1792566513; h=DKIM-Signature:Received:From:Subject:Date:Message-Id:MIME-Version: Content-Type:Content-Transfer-Encoding:X-B4-Tracking:X-Change-ID:To: Cc:X-Mailer:X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To; bh=CAZapmg+ij6DoDuuN0WapEdXyTNER/gsB6cKYFvO9h0=; b=TXU9qSxYDO5tEZQibaerYdGksVmbU3vuFEkS+85+1wfQGGkF249fk7kzG+T9X5ayLNOY /gm4BWWSp7fJErTCVK7nFY+LjCHsthPYQxbcfMbtlPDq9d060l2YpKgY50bZiCBK5+kSY uTTH1YB9kJJ7f3YBhU8rnoU9jhqkShkzdFOJx98Thf7+u2stK3zB4vkM1qKYDkhbVWA14 UZRV836A3LcEYT5XKAGufw2DVsrMG5mt64TwLfwo1BxxINSy9fr1U8643b1vAin+YyXFC 1E6e/mqNyWAQeUaB5EscCAOjqyHQPtB2oC8+20mRsjZZ55WOMtGQHafODFzZr2Ln62Q== ARC-Authentication-Results: i=1; smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 Received: from lkml.kernel.org (nexus.subspace.kernel.org [100.80.115.77]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id A638D1F000CC; Wed, 21 Oct 2026 07:08:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792566513; bh=CAZapmg+ij6DoDuuN0WapEdXyTNER/gsB6cKYFvO9h0=; h=From:Subject:Date:To:Cc:Reply-To; b=CFJNfkeAzgjMeXV5hx+wsLpSqkxUPv8ge1AjeUCCmOiHWdMMf3f2wICrrCD6nDBai uKrOlXE9fnJ6bbltv8ukEnwARQSCkOnPVuEQePcXqmd7wUje7xAS0Iel7hgCsBD0Ye BokJ64GKnzIoECzkg4n17ZVV//jF+0WUEhDxqQO147KWppNulhGCyk3YTA3L/LXUxA nPVE8f5mGaMycwqWThs3XetfHK+abj8JS6j5zK+aW1CYeyddo/PZfD8wRhx0VUWJjc N1HF2wrIXLZ8GXVW+pJLKxQvwjXbPe6XoKuNDlzMiL8zHhgmt4bQbKdJoW1o2wh0AJ FYNm+2tDTZMKQ== Received: from nexus.subspace.kernel.org (localhost [IPv6:::1]) by lkml.kernel.org (Postfix) with ESMTP id 05575432F0; Wed, 21 Oct 2026 07:08:31 +0000 (UTC) From: Jiebing Chen via B4 Relay Subject: [PATCH v7 0/5] Add support for S4 audio Date: Wed, 21 Oct 2026 15:08:27 +0800 Message-Id: <20261021-audio_drvier-v7-0-2b9aeae9cb8a@amlogic.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAOtk2GoC/2XQy2rDMBCF4VcJWtdlRreRsup7hFJkXRJBExc5F S3B7145ENzYaHUE3y/QjY2x5Diy/e7GSqx5zMOlDXrZMX9yl2PscmibceAKEKFz3yEPH6HUHEs H5JQw6KWVPWvkq8SUf+65w3vbpzxeh/J7r1ecbx8h8Ryq2EFnPEoiSMI4eHPnz+GY/asfzmxOV b5wjnLFeeOCjMHkBHkbt1z849ysuGg89CkIUEBR+i2XCxdoV1w2rk07lFwgtFuuFk7rT6xqfl2 iUgkjSS23XD+4BuR6xXXj1kahwCjVe/7Mp2n6A46+2ovlAQAA X-Change-ID: 20250110-audio_drvier-07a5381c494b To: Jerome Brunet , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , Neil Armstrong , Kevin Hilman , Martin Blumenstingl , Michael Turquette , Stephen Boyd Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, jian.xu@amlogic.com, shuai.li@amlogic.com, zhe.wang@amlogic.com, jiebing chen X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1792566509; l=3939; i=jiebing.chen@amlogic.com; s=20250110; h=from:subject:message-id; bh=92tlw/eLjbgUFICrONHVrpp0evhwHUkrfMNmLdgv62w=; b=Y49zpmumAFlrrAseuLzXViiU4ec+at/SA10D5ud27D2hjJNLQfEeDDySusQBR6sTZWaFv9Gn4 Tda5dtAjRuKBwoQJ55fGVjsUU5QoSecYHhQMVXNHf87izHtc0pAwP7O X-Developer-Key: i=jiebing.chen@amlogic.com; a=ed25519; pk=6rFvvF45A84pLNRy03hfUHeROxHCnZ+1KAGw/DoqKic= X-Endpoint-Received: by B4 Relay for jiebing.chen@amlogic.com/20250110 with auth_id=316 X-Original-From: Jiebing Chen Reply-To: jiebing.chen@amlogic.com This series completes the end-to-end audio support for S4 SoC from hardware bindings to driver implementation and system integration. 1 Device Tree Bindings Updates Added audio power domain and S4 audio clock support for S4 SoC. Added S4 audio tocodec binding support. 2 Driver Implementation Implemented S4 tocodec driver for G12A architecture. Added S4 audio clock support in AXG audio clock 3 Device Tree Integration Add Amlogic S4 audio subsystem support in arm64 DTS. Signed-off-by: jiebing chen --- Changes in v7: - Use the supply widget to manage the tocodec clock enable signal. - Remove redundant MPLL frequencies. - Fixed dt_binding warning - Link to v6: https://lore.kernel.org/r/20260126-audio_drvier-v6-0-99e350855bc2@amlogic.com Changes in v6: - Fix the problem of string for Documentation/devicetree/bindings/clock/amlogic,axg-audio-clkc.yaml - Remove clock pad register, and it will be submitted as an independent patch. - Redescribe sound/soc/meson/g12a-toacodec.c - Link to v5: https://lore.kernel.org/r/20250710-audio_drvier-v5-0-d4155f1e7464@amlogic.com Changes in v5: - Fix warning Documentation/devicetree/bindings/clock/amlogic,axg-audio-clkc.yam when make dt_binding_check - The audio reg is mounted below the APB bus in dts file. - Deal with pad clock in a distinct controller. - Fix warning for sound/soc/meson/g12a-toacodec.c - Link to v4: https://lore.kernel.org/r/20250319-audio_drvier-v4-0-686867fad719@amlogic.com Changes in v4: - fix dtb check warning - add maxItems of power domain for dt-bindings - fixed audio clock pads regmap base and reg offset - use dapm widget to control tocodec bclk and mclk enable - Link to v3: https://lore.kernel.org/r/20250228-audio_drvier-v3-0-dbfd30507e4c@amlogic.com Changes in v3: - remove g12a tocodec switch event - Modify the incorrect title for dt-bindings - Link to v2: https://lore.kernel.org/r/20250214-audio_drvier-v2-0-37881fa37c9e@amlogic.com Changes in v2: - remove tdm pad control and change tocodec base on g12a - change hifipll rate to support 24bit - add s4 audio clock - Link to v1: https://lore.kernel.org/r/20250113-audio_drvier-v1-0-8c14770f38a0@amlogic.com To: Neil Armstrong To: Jerome Brunet To: Michael Turquette To: Stephen Boyd To: Rob Herring To: Krzysztof Kozlowski To: Conor Dooley To: Liam Girdwood To: Mark Brown To: Jaroslav Kysela To: Takashi Iwai To: Kevin Hilman To: Martin Blumenstingl Cc: linux-amlogic@lists.infradead.org Cc: linux-clk@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-sound@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org --- Jiebing Chen (5): dt-bindings: clock: meson: Add audio power domain for S4 soc dt-bindings: Asoc: axg-audio: Add S4 audio tocodec ASoC: meson: g12a-toacodec: Add S4 tocodec driver clk: meson: axg_audio: add S4 support arm64: dts: amlogic: Add Amlogic S4 Audio .../bindings/clock/amlogic,axg-audio-clkc.yaml | 17 +- .../bindings/sound/amlogic,g12a-toacodec.yaml | 1 + .../boot/dts/amlogic/meson-s4-s805x2-aq222.dts | 219 +++++++++++++ arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 360 +++++++++++++++++++++ drivers/clk/meson/axg-audio.c | 165 ++++++++++ sound/soc/meson/g12a-toacodec.c | 49 +++ 6 files changed, 810 insertions(+), 1 deletion(-) --- base-commit: a0c666c25aeefd16f4b088c6549a6fb6b65a8a1d change-id: 20250110-audio_drvier-07a5381c494b Best regards, -- Jiebing Chen