clk: rk3399: Set empty for HCLK_SD assigned-clocks
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 28 Apr 2020 10:00:16 +0000 (15:30 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 1 May 2020 10:32:56 +0000 (18:32 +0800)
Due to v5.7-rc1 sync the SD controller nodes in rk3399.dtsi
have HCLK_SD assigned-clocks which are usually required for
Linux and don't require to handle them in U-Boot.

 assigned-clocks = <&cru HCLK_SD>;

So, mark them as empty in clock otherwise device probe on
those SD controllers would fail.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/clk/rockchip/clk_rk3399.c

index 1f623765956b861328fee4a965fbd1cbe66aeb01..d822acace14be9ba955c96f1c484e14ee0e8137f 100644 (file)
@@ -996,6 +996,7 @@ static ulong rk3399_clk_set_rate(struct clk *clk, ulong rate)
                break;
        case ACLK_VOP1:
        case HCLK_VOP1:
+       case HCLK_SD:
                /**
                 * assigned-clocks handling won't require for vopl, so
                 * return 0 to satisfy clk_set_defaults during device probe.