]> git.baikalelectronics.ru Git - uboot.git/commitdiff
clk: rockchip: rk3568: add stubs for CLK_PCIEPHY_REF clocks
authorVasily Khoruzhick <anarsoul@gmail.com>
Wed, 8 Mar 2023 05:16:10 +0000 (21:16 -0800)
committerKever Yang <kever.yang@rock-chips.com>
Sun, 19 Mar 2023 06:12:00 +0000 (14:12 +0800)
Device tree contains assigned-clock-rates property for these,
but default value will work just fine

Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
drivers/clk/rockchip/clk_rk3568.c

index 253b69504f930f2cf37c55a520351a4c2ed46382..1c6adc56f91351bc8435b962fb12ac65a1a92a6b 100644 (file)
@@ -425,6 +425,9 @@ static ulong rk3568_pmuclk_set_rate(struct clk *clk, ulong rate)
        case PCLK_PMU:
                ret = rk3568_pmu_set_pmuclk(priv, rate);
                break;
+       case CLK_PCIEPHY0_REF:
+       case CLK_PCIEPHY1_REF:
+               return 0;
        default:
                return -ENOENT;
        }