From: Philipp Tomsich Date: Thu, 26 Apr 2018 09:05:33 +0200 Subject: [U-Boot] rockchip: clk: rk3288: add clk_enable function and support USB HOST0/HSIC In-Reply-To: <1521473969-39054-1-git-send-email-w.egorov@phytec.de> References: <1521473969-39054-1-git-send-email-w.egorov@phytec.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 RK3288 and supports the > clocks mandatory for the EHCI controllers; as these are enabled by > default we simply return success. > > Signed-off-by: Wadim Egorov > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > --- > drivers/clk/rockchip/clk_rk3288.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > Applied to u-boot-rockchip, thanks!