This series adds support for clk and reset controller defined by dts. It also
enables the hardware force mode for the gadget in case the
otg.mode="peripheral" is set.
Michael Grzeschik (5):
usb: dwc2: cleanup on error for deferred probing
usb: dwc2: add clk dependency for probe via oftree
The dwc2 dr_mode can be configured with otg.mode in otg mode. Currently
the mode will not be set with the users decision. This patch fixes this
by overwriting the mode with the one set by set_mode callback.
Signed-off-by: Michael Grzeschik
---
drivers/usb/dwc2/dwc2.c | 6 ++
1 file changed,
The driver needs to cleanup the resources if an error occurred. Otherwise,
on deferred probing, it will fail to take the resources for a second time.
Signed-off-by: Michael Grzeschik
---
drivers/usb/dwc2/dwc2.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
In case the driver is to be run in peripheral mode rather than otg, it
needs to be forced in hardware to the selected mode. This patch adds
support to set and clear that hardware override. The functions are
mostly copied from linux.
Signed-off-by: Michael Grzeschik
---
drivers/usb/dwc2/gadget.c
The dwc2 controller is connected to one reset controller which needs to be
triggered before it is able to operate. This patch adds the referenced reset
controller in the devicetree to be used.
Signed-off-by: Michael Grzeschik
---
drivers/usb/dwc2/dwc2.c | 5 +
1 file changed, 5
The dwc2 controller at least needs one core clock which needs to be
enabled before it is able to address the core registers. This patch adds
the referenced clock in the devicetree to be used.
Signed-off-by: Michael Grzeschik
---
drivers/usb/dwc2/core.h | 1 +
drivers/usb/dwc2/dwc2.c | 19
Signed-off-by: Steffen Trumtrar
---
arch/arm/mach-imx/include/mach/imx7-ccm-regs.h | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-imx/include/mach/imx7-ccm-regs.h
b/arch/arm/mach-imx/include/mach/imx7-ccm-regs.h
index de6eb1bbd10d..5c60794ca74f 100644
---
The 24cs64 is a 64-Kbit eeprom with 32 byte write pages.
Signed-off-by: Steffen Trumtrar
---
drivers/eeprom/at24.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/eeprom/at24.c b/drivers/eeprom/at24.c
index 568aa02a4c8c..8c04c5684b61 100644
--- a/drivers/eeprom/at24.c
+++
Signed-off-by: Steffen Trumtrar
---
drivers/net/phy/mdio-gpio.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/phy/mdio-gpio.c b/drivers/net/phy/mdio-gpio.c
index affa31ae2c9b..80d2394f4b11 100644
--- a/drivers/net/phy/mdio-gpio.c
+++
On Mon, Dec 14, 2020 at 06:53:08PM +0100, Ahmad Fatoum wrote:
> Hello Sascha,
>
> On 22.07.20 10:09, Ahmad Fatoum wrote:
> > Driver failed to release resources on failed probe so far, leading to
> > deferred probe failing with -EBUSY. Fix this.
> >
> > Signed-off-by: Ahmad Fatoum
>
> As we
On Thu, Dec 10, 2020 at 11:31:01AM +0100, Jules Maselbas wrote:
> Signed-off-by: Jules Maselbas
> ---
> drivers/usb/dwc2/core.h | 2 ++
> drivers/usb/dwc2/dwc2.c | 24
> drivers/usb/dwc2/dwc2.h | 1 +
> 3 files changed, 27 insertions(+)
Applied, thanks
Sascha
>
>
11 matches
Mail list logo