clk: renesas: r8a779f0: Fix SCIF parent clocks
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 3 Nov 2022 14:34:38 +0000 (15:34 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 8 Nov 2022 13:23:59 +0000 (14:23 +0100)
commit2e0d7d3eabce3babae1fd66d7650e00c848a3b45
treefc8da9e89d57a8b2027109547a05610dc68b0aba
parentc258e3ab639112d8f5ae9df9a873750ae2623ce2
clk: renesas: r8a779f0: Fix SCIF parent clocks

As serial communication requires a clean clock signal, the Serial
Communication Interfaces with FIFO (SCIF) are clocked by a clock that is
not affected by Spread Spectrum or Fractional Multiplication.

Hence change the parent clocks for the SCIF modules from the S0D12_PER
clock to the SASYNCPERD4 clock (which has the same clock rate), cfr.
R-Car S4-8 Hardware User's Manual rev. 0.81.

Fixes: 24aaff6a6ce4 ("clk: renesas: cpg-mssr: Add support for R-Car S4-8")
Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20221103143440.46449-3-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/r8a779f0-cpg-mssr.c