Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: renesas: r8a77995: Remove non-existent SSP clocks

The R-Car Gen3 HardWare Manual Errata for Rev. 0.80 (Dec 22, 2017, and
Feb 28, 2018) removed the SSPSRC, SSP1, and SSP2 clocks on R-Car D3, as
this SoC does not have a Stream and Security Processor.

As these definitions were never used, they can just be removed.
The freed slots in the DT bindings header must not be reused, though.

Fixes: 714c53aa2e2d6d60 ("clk: renesas: Add r8a77995 CPG Core Clock Definitions")
Fixes: d71e851d82c6cfe5 ("clk: renesas: cpg-mssr: Add R8A77995 support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Stephen Boyd <sboyd@kernel.org>

+2 -3
-1
drivers/clk/renesas/r8a77995-cpg-mssr.c
··· 42 42 CLK_S2, 43 43 CLK_S3, 44 44 CLK_SDSRC, 45 - CLK_SSPSRC, 46 45 CLK_RINT, 47 46 CLK_OCO, 48 47
+2 -2
include/dt-bindings/clock/r8a77995-cpg-mssr.h
··· 35 35 #define R8A77995_CLK_CRD2 24 36 36 #define R8A77995_CLK_SD0H 25 37 37 #define R8A77995_CLK_SD0 26 38 - #define R8A77995_CLK_SSP2 27 39 - #define R8A77995_CLK_SSP1 28 38 + /* CLK_SSP2 was removed */ 39 + /* CLK_SSP1 was removed */ 40 40 #define R8A77995_CLK_RPC 29 41 41 #define R8A77995_CLK_RPCD2 30 42 42 #define R8A77995_CLK_ZA2 31