clk: renesas: rcar-gen3: Remove outdated SD_SKIP_FIRST
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 10 Nov 2021 19:15:55 +0000 (20:15 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 19 Nov 2021 10:32:39 +0000 (11:32 +0100)
We handle it differently meanwhile.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20211110191610.5664-7-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/rcar-gen3-cpg.c

index 941dadf07230a08a5b0a43000d4550dc4677310f..e668f23c75e7d8a08628429696faa391ee5515ed 100644 (file)
@@ -312,29 +312,20 @@ static u32 cpg_quirks __initdata;
 
 #define PLL_ERRATA     BIT(0)          /* Missing PLL0/2/4 post-divider */
 #define RCKCR_CKSEL    BIT(1)          /* Manual RCLK parent selection */
-#define SD_SKIP_FIRST  BIT(2)          /* Skip first clock in SD table */
 
 
 static const struct soc_device_attribute cpg_quirks_match[] __initconst = {
        {
                .soc_id = "r8a7795", .revision = "ES1.0",
-               .data = (void *)(PLL_ERRATA | RCKCR_CKSEL | SD_SKIP_FIRST),
+               .data = (void *)(PLL_ERRATA | RCKCR_CKSEL),
        },
        {
                .soc_id = "r8a7795", .revision = "ES1.*",
-               .data = (void *)(RCKCR_CKSEL | SD_SKIP_FIRST),
-       },
-       {
-               .soc_id = "r8a7795", .revision = "ES2.0",
-               .data = (void *)SD_SKIP_FIRST,
+               .data = (void *)(RCKCR_CKSEL),
        },
        {
                .soc_id = "r8a7796", .revision = "ES1.0",
-               .data = (void *)(RCKCR_CKSEL | SD_SKIP_FIRST),
-       },
-       {
-               .soc_id = "r8a7796", .revision = "ES1.1",
-               .data = (void *)SD_SKIP_FIRST,
+               .data = (void *)(RCKCR_CKSEL),
        },
        { /* sentinel */ }
 };