usb: renesas_usbhs: Add multiple clocks management
R-Car Gen3 needs to enable clocks of both host and peripheral. Since [eo]hci-platform disables the reset(s) when the drivers are removed, renesas_usbhs driver doesn't work correctly. To fix this issue, this patch adds multiple clocks management on this renesas_usbhs driver. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
8e0d368a59
commit
3df0e240ca
@@ -8,6 +8,7 @@
|
||||
#ifndef RENESAS_USB_DRIVER_H
|
||||
#define RENESAS_USB_DRIVER_H
|
||||
|
||||
#include <linux/clk.h>
|
||||
#include <linux/extcon.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/reset.h>
|
||||
@@ -279,6 +280,7 @@ struct usbhs_priv {
|
||||
|
||||
struct phy *phy;
|
||||
struct reset_control *rsts;
|
||||
struct clk *clks[2];
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user