]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: samsung: exynos4212-tab3: Add MCLK2 clock to WM1811 codec config
authorArtur Weber <aweber.kernel@gmail.com>
Fri, 16 Aug 2024 07:51:01 +0000 (09:51 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 29 Dec 2024 10:05:45 +0000 (11:05 +0100)
In the schematics, the MCLK2 pin is shown as connected to CODEC_CLK32K,
which is derived from the same 32KHZ_PMIC clock as Bluetooth/WiFi and
GPS clocks. 32KHZ_PMIC is connected to the BTCLK pin, represented in
mainline as S2MPS11_CLK_BT.

Add the MCLK2 clock to the WM1811 codec clock property to properly
describe the hardware.

Signed-off-by: Artur Weber <aweber.kernel@gmail.com>
Link: https://lore.kernel.org/r/20240816-midas-audio-tab3-v2-4-48ee7f2293b3@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi

index bbafd4ece5f72e9c522fced8e59d0e747b3427a3..5106bb752b7d5c66c3dd0e9ca74b03a493e13e5b 100644 (file)
        wm1811: audio-codec@1a {
                compatible = "wlf,wm1811";
                reg = <0x1a>;
-               clocks = <&pmu_system_controller 0>;
-               clock-names = "MCLK1";
+               clocks = <&pmu_system_controller 0>,
+                        <&s5m8767_osc S2MPS11_CLK_BT>;
+               clock-names = "MCLK1", "MCLK2";
                interrupt-controller;
                #interrupt-cells = <2>;
                interrupt-parent = <&gpx3>;