OMAP4 removal

2024-11-15 Thread Andreas Kemnade
Hi, to my horror I found out that omap4 support is removed. I have some code waiting for a brush here for the Epson Moverio BT-200. There is some support for it in postmarketOS. It has a devicetree in mainline kernel. I did not manage to get hold of the vendor u-boot source, so when I distribute s

[PATCH v2 2/2] musb-new: omap2430: fix compiling in DM_USB_GADGET config

2023-01-08 Thread Andreas Kemnade
Add the separate IRQ handling function and change the registration. Signed-off-by: Andreas Kemnade --- drivers/usb/musb-new/omap2430.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/usb/musb-new/omap2430.c b/drivers/usb/musb-new/omap2430.c index 0d1fb03727

[PATCH v2 1/2] musb-new: omap2430: no host data access in gadget mode

2023-01-08 Thread Andreas Kemnade
Avoid accessing structures (usb_bus_priv) only present when musb is in host mode. Signed-off-by: Andreas Kemnade --- drivers/usb/musb-new/omap2430.c | 34 - 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/drivers/usb/musb-new/omap2430.c b/drivers

[PATCH v2 0/2] musb-new: fix omap peripheral support

2023-01-08 Thread Andreas Kemnade
DM_GADGET did not compile at all, probe was not called in non-gadget mode. Tested on an omap4 board with ums and fastboot command. Changes in V2: - split up former 2/2 patch into two. - do not break non-DM_USB_GADGET compile further Andreas Kemnade (2): musb-new: omap2430: no host data access

Re: [PATCH 2/2] musb-new: omap2430: fix musb probing in gadget mode

2022-12-13 Thread Andreas Kemnade
Hi, just noticed I am doing two things in one patch. better do it with just some patches On Mon, 12 Dec 2022 14:00:57 -0500 Tom Rini wrote: > On Sat, Nov 26, 2022 at 11:30:10PM +0100, Andreas Kemnade wrote: > > > Host mode structures were accessed but not initialized

Re: [PATCH 2/2] musb-new: omap2430: fix musb probing in gadget mode

2022-12-13 Thread Andreas Kemnade
Hi, On Mon, 12 Dec 2022 14:00:57 -0500 Tom Rini wrote: > On Sat, Nov 26, 2022 at 11:30:10PM +0100, Andreas Kemnade wrote: > > > Host mode structures were accessed but not initialized > > and gadget dm did not compile at all. > > > > Signed-off-by: Andreas Kem

[PATCH 2/2] musb-new: omap2430: fix musb probing in gadget mode

2022-11-27 Thread Andreas Kemnade
Host mode structures were accessed but not initialized and gadget dm did not compile at all. Signed-off-by: Andreas Kemnade --- drivers/usb/musb-new/omap2430.c | 42 - 1 file changed, 25 insertions(+), 17 deletions(-) diff --git a/drivers/usb/musb-new/omap2430.c

[PATCH 1/2] omap4: make musb probeable by simple bus

2022-11-27 Thread Andreas Kemnade
Like other peripherals important for booting, do not rely on ti-sysc compatibility alone Signed-off-by: Andreas Kemnade --- arch/arm/dts/omap4-u-boot.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/omap4-u-boot.dtsi b/arch/arm/dts/omap4-u-boot.dtsi index e33b3722e1

[PATCH 0/2] musb-new: fix omap peripheral support

2022-11-27 Thread Andreas Kemnade
DM_GADGET did not compile at all, probe was not called in non-gadget mode. Tested on an omap4 board with ums and fastboot command Andreas Kemnade (2): omap4: make musb probeable by simple bus musb-new: omap2430: fix musb probing in gadget mode arch/arm/dts/omap4-u-boot.dtsi | 8