rockchip: clk: rk3399: handle clk_enable requests for USB3
authorMark Kettenis <kettenis@openbsd.org>
Sun, 30 Jun 2019 16:01:53 +0000 (18:01 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 19 Jul 2019 03:11:09 +0000 (11:11 +0800)
commit555ceca0886ccf24116bd32f3b5fc550ef592188
tree6c9e96230da4409c96ea5e0cff4eeae1c5063ee3
parent0de815356474912ef5bef9a69f0327a5a93bb2c2
rockchip: clk: rk3399: handle clk_enable requests for USB3

The "simple" OF glue layer for the Designware USB3 core enables
all refernced clocks.  These need to be need to be implemented
otherwise the driver fails to probe.  A dummy implementation
that simply returns success is sufficient since the RK3399 comes
out of reset with all clock gates open.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/clk/rockchip/clk_rk3399.c