From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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.subspace.kernel.org (Postfix) with ESMTPS id 6CA86606A32F for ; Thu, 3 Dec 2026 09:26:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=niu6xT0m; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.a=rsa-sha256 header.s=google header.b=VpVmygGg DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:References:In-Reply-To: Cc:To:From:Subject:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=LwUrtVd/nPu3dxytuDuN43Kh5E8xyvyJht7HNxSIHx8=; b=niu6xT0mH5kmgHZPyLK7h/JWhZ KxrZXwHhe7hkGj8vhf1atRhcj6nfr5YCu1WHl0Fq8vMDzu4nxYRJpISYP01PsXQQW7u2TsW7i5HU0 bQppongO7Yb7fDH0me/SmRpSDAdKFna7uG1qrDmUSZFiD63tZj7YuddIq5RXK7TULuDKN72qsXesh GcPgOtbLGCqT2mFG2MjBv1Xogynt6ooLQAAOqGjIvtM7wTuCMl2X6DG3NIUDn9r6PAGLttUhLeghO 0xoeccMelHeNMW8G0vQao4ZAIbZuvac4WTwr56Vk1mtrZmXjUnqhEklK4TRZcEb/1X+DTiVbpCWJM 09nqMW4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZ35O-0000000Dz5Y-0X2U; Thu, 03 Dec 2026 09:26:42 +0000 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZ35B-0000000Dz11-3wSw for linux-amlogic@lists.infradead.org; Thu, 03 Dec 2026 09:26:39 +0000 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-c5188e17487so1302189566b.2 for ; Thu, 03 Dec 2026 01:26:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1796289988; x=1796894788; darn=lists.infradead.org; h=message-id:date:references:in-reply-to:cc:to:from:subject :content-transfer-encoding:content-type:mime-version:from:to:cc :subject:date:message-id:reply-to:content-type; bh=50e5Z0V1MDOwFelPuD9wgXHYbgZG+8AHATGS9t3jUYs=; b=VpVmygGg+QZzW7zDTeOWGZOQaIV926PhR07y4FuhT0EtMg9sBpjCdnn1q4+hcC1IJs XFZo7H43ClmsSCqCHxx7JozLT6RfnmmTVk5y2wUdbw6oHujmPDoc2V6SM5hqHy/IdCe2 S2mdfSBnFF//Uq42JTaR3bnbMhRyhethPad85fAlMx8R/z8hda2zGP9ZqxmBRWXxL4T+ DVejJP1Ou7GrDCGRSvf3jByaPg98/cxWhosnxuypay1MA3rdNRZNPWCs0EW8ChKEXQnq RQ+GIrz1SmWISthgHzvOsFl6cq5XB8iKZxs8r8zn7EKNrcGff665+b4ITwS5HRFf05AA DQxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796289988; x=1796894788; h=message-id:date:references:in-reply-to:cc:to:from:subject :content-transfer-encoding:content-type:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=50e5Z0V1MDOwFelPuD9wgXHYbgZG+8AHATGS9t3jUYs=; b=b2pH1MI3p3BUfX3o+ofTJleyyI7ClVwM3NT6g61FgIMA0t0raorBKFlaWgqZ9iIzqe hQ5I+V05BETRKXimk67HNoMsAh6sf+dyLo2OyDDZ+M/d02J0iYSWD/uEbP23PNRabv2K rTwTbRi9WMGXaAXOF0omLTaM400D/UfdeTCuVzezArxIAkO3a5zPI/56JnEjiswy9ESl 9TmyTmTuRDh1jJg+14E1ldVIMeL3NyRYGjPfupcGrGt+rOd/Sa+GQIhk5i86QKol/c0o lsTo42gj9UZI5ftLbQhbla1m7RobrT8yIr1B1ndF0K2B41GeGn0V795b/L5sN8SwchPc 0MNw== X-Forwarded-Encrypted: i=1; AL+hErF1/otbAZAQHiSWXMg13RnYtrq0VSmUcwwOP02TfondO7EUwscaBRk+7h9e/I8JRmjC82cpBMjgGt7abYCr@lists.infradead.org X-Gm-Message-State: APuU4Z9/56A4LGGDe+YzNkwkTzlh2eFbetQ6mGVJRqugfXKZePWinCPp Y+kdCKEbmgpZfqptkrCLt15B1O8cv22LCxbw7DUof1Eh4s6NPv0a3A5A1a20kLQ6rTs= X-Gm-Gg: AZFdTZezCecCCx74wETEbbOV8EaADzsep8/Kw/N3d6QXgDlY+z2vVD5rjPsMpoQ8wOI MHb1iOcpb76BiSE0MndGbHqZx6KIXWRqr81UmwKC/yD2SKGGfY9kZvcEonu0IuPv3WfcyDRfrbZ NY1pqSI77hw3C2iOsxinYLGmp51F87uSWIS8scx72tA/9OyaZra5t/Xwf1CusAnS4KP53TViHIS eyZM6D8q6Vws+WPk40Q/lXOd75Aaz7j4H+2pVRHQ0JsHXHIDAD94E/IJpsU+vYNdzjZ738i1463 PR+nPGE9SGBdMWG7xy1jk8U1D6nGxQeJl9kPq5nlyNEh+u56qGjLAugespgTuecTTWC0ADt+CPP 0ca2ve9fiIAYG+VpnPPIXt5JpY0crC0ndaWotjkjfdjOCncQtCLYRjbhv1jRcqC5UwjGML56GeO zrSw6Itof3x7qzMRMWAsOufLc+bYVlujMJOAx1IA6jlW0aa0e1LpY3g1ljwT+KtZrR+KeGWnbmU wy18ezkjn+V21azeXf/a6lYXPWnCLxsq3kq6BUKc9GRC9SNybRAI9JLx06GDlgdoByg0Cg3C4FK pTzl8mzeHipbhe0I64BKB4X32mcTLa8uWbb48TKG20wzNPod X-Received: by 2002:a17:907:7f91:b0:c50:c04d:cbb4 with SMTP id a640c23a62f3a-c513ac9f641mr3675407066b.43.1796289987841; Thu, 03 Dec 2026 01:26:27 -0800 (PST) Received: from localhost (82-67-6-57.subs.proxad.net. [82.67.6.57]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c513ae68788sm1447984366b.29.2026.12.03.01.26.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2026 01:26:27 -0800 (PST) X-Archived-By: MIME-Version: 1.0 Subject: Re: [PATCH v9 0/2] Add Amlogic S4 audio clock controller support. From: Jerome Brunet To: Jiebing Chen Cc: 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 , 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, Krzysztof Kozlowski In-Reply-To: <20261201-audio_drvier-v9-0-cab2614f3807@amlogic.com> References: <20261201-audio_drvier-v9-0-cab2614f3807@amlogic.com> Date: Thu, 03 Dec 2026 10:26:26 +0100 Message-Id: <179628998637.3767986.5122953518460303253.b4-reply@b4> X-Mailer: b4 0.17-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=5608; i=jbrunet@baylibre.com; h=from:subject:message-id; bh=9UStglag9yUrT2BXwndw0tuf3fJlIZh5IMiGjH0gsXQ=; b=owGbwMvMwCW2VtK+WnvWU3HG02pJDNmCpof0819rd7npHFnXG6MyZ/HJo01s5rUWyaJMb9oZD m948+9iRykLgxgXg6yYIksNd7X4O0mtL7Om69yGmcPKBDKEgYtTACZSwMfI8Dl4UaqfplnRk/Xp RWIGKXMOrTPkryxKnxXGcEwj69kibkaGXk/Pvhdb/6RFZmeG/VPxNed/PvmL82cntc+cpgU3Liz kAQA= X-Developer-Key: i=jbrunet@baylibre.com; a=openpgp; fpr=F29F26CF27BAE1A9719AE6BDC3C92AAF3E60AED9 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261203_012636_069864_BE339D27 X-CRM114-Status: GOOD ( 24.95 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" X-Spam-Status: No, score=-11.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On 2026-12-01 11:14 +0800, Jiebing Chen wrote: > S4 uses the existing AXG audio clock driver and reuses the SM1 and > G12A clock hardware. Pad clock and data selection is done by pinmux, > so those pad clocks are not registered. The controller has an internal > reset line, like G12A and SM1, and an audio power domain that must be > enabled before use. The new compatible is amlogic,s4-audio-clkc; > power-domains is required for S4 and forbidden for the other > compatibles. > > Signed-off-by: jiebing chen > --- > Changes in v9: > - Separate out the clk-related patches for independent submission. . > - Link to v8: https://patch.msgid.link/20261110-audio_drvier-v8-0-1489241e4c83@amlogic.com > > Changes in v8: > - The S4 clock-enable macros now have an _S4 suffix, and S4 uses its own source mux at the correct bit instead of the SM1 one. > - Align the new CTRL0_BCLK_ENABLE_SHIFT and CTRL0_MCLK_ENABLE_SHIFT macros with the existing style: two spaces after #define, > and the values lined up with the other CTRL0_* macros. > - Rename the DAPM supplies from I2S BCLK Gate and I2S MCLK Gate to I2S BCLK EN and I2S MCLK EN. > - Connect both clock supplies directly to OUT EN. They are no longer chained, so the audio path does not pass through them. > OUT EN enables BCLK and MCLK when it is powered on. The audio path remains IN -> SRC -> OUT EN -> OUT Capture. > - 5 V regulator. Drop regulator-boot-on and regulator-always-on from vcc5v_reg. It stays the amplifier VCC-supply and is enabled only when the amplifier is in use. > - Unused codec. Remove the dmics node. Nothing referenced it. > - Amplifier name. Change sound-name-prefix from 10U2 to Analog_PA, and update the audio-routing entries to Analog_PA INL, > Analog_PA INR, Analog_PA OUTL, and Analog_PA OUTR. > - 64 kHz clocks. Keep CLKID_HIFI_PLL at 1179648000 for the 48 kHz family and CLKID_MPLL0 at 270950400 for the 44.1 kHz family. Add CLKID_MPLL1 at 393216000 for the 64 kHz family. > - Coaxial SPDIF output. Add spdif_out_h_pins in meson-s4.dtsi. GPIOH_4 is muxed as spdif_out_h / spdif_out, with a 3 mA drive and the bias disabled. > &spdifout_a uses that pinctrl so the coaxial output can be enabled. > - Disabled by default. Mark the audio controllers, the audio clock controller, and the audio arbiter as status = "disabled" in meson-s4.dtsi. AQ222 enables only the instances it uses. > - Codec supply. Move AVDD-supply = <&vddio_ao1v8> out of the SoC dtsi and onto the board-level &acodec node. > - Add the missing blank lines after the new power-domains property and after the new allOf conditional block. > - Link to v7: https://patch.msgid.link/20261021-audio_drvier-v7-0-2b9aeae9cb8a@amlogic.com > > 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 (2): > clk: meson: axg_audio: add S4 support > dt-bindings: clock: meson: Add audio power domain for S4 soc Please check Documentation/devicetree/bindings/submitting-patches.rst, bindings comes first. I've re-ordered while applying. -- Jerome _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic