diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-09-12 17:30:56 +0200 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-09-18 20:40:37 +0200 |
commit | 2f01a2b2149c4c38467eeeddde09ac48d379aed3 (patch) | |
tree | 1ec2c857e02d1894ac3e98c0af129572c51e4dde /net | |
parent | 8ac884974a46ae2f206b4053ea32814303912b08 (diff) |
rockchip: clk: rk3399: add clk_enable function and support USB HOST0/1
The generic ehci-driver (ehci-generic.c) will try to enable the clocks
listed in the DTSI. If this fails (e.g. due to clk_enable not being
implemented in a driver and -ENOSYS being returned by the clk-uclass),
the driver will bail our and print an error message.
This implements a minimal clk_enable for the RK3399 and supports the
clocks mandatory for the EHCI controllers; as these are enabled by
default we simply return success.
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions