]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: renesas: beacon-renesom: Fix audio clock rate
authorAdam Ford <aford173@gmail.com>
Sat, 14 Jan 2023 22:56:47 +0000 (16:56 -0600)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 27 Jan 2023 09:41:15 +0000 (10:41 +0100)
The WM8962 is configured so the SoC is driving the clock, and it's
currently set to 24 MHz.  However, when playing audio it shows the
following message:
    wm8962 5-001a: Unsupported sysclk ratio 500

While not harmful, a better clock ratio is 512.  It makes the
message disappear, and it still plays sound.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230114225647.227972-3-aford173@gmail.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi

index 3f8b6d7b21240522ab446cd3ce6181036eb24c8c..2e9927b97732dc36c9d24c58ec5ecb726aa503f4 100644 (file)
 
                assigned-clocks = <&versaclock6_bb 1>, <&versaclock6_bb 2>,
                                  <&versaclock6_bb 3>, <&versaclock6_bb 4>;
-               assigned-clock-rates = <24000000>, <24000000>, <24000000>,
+               assigned-clock-rates = <24000000>, <24000000>, <24576000>,
                                       <24576000>;
 
                OUT1 {