[linux-sunxi] Re: Mainlining Linux Sunxi SoC AW USB
On Sat, Jul 24, 2021 at 03:41:42PM +0200, Petr Vorel wrote: > > Why is this even a driver at all, it looks like you can write a small > > userspace program using libusb to do everything it does, right? What > > exactly is this driver needed for? > > I'm sorry for not providing more info at the beginning. This is a driver for > host computer (i.e. developers laptop) used by LiveSuit tool [2] to flash > Images > to the NAND of Allwinner devices. LiveSuit itself [3] is unfortunately > provided > only in binary form. The only open source code with GPL v2 license is awusb > driver. Thus I thought I could ease my life with upstreaming at least the > kernel driver. But maybe it's not a good idea. I'm using LiveSuit for flashing > Allwinner A31, but it requires quite old distro due libqtgui4. Maybe sunxi > folks > use something newer nowadays, but I haven't found anything in their wiki. Ah, that's not going to be good then. Really, this doesn't seem to need to be a driver at all, and the ioctls are really strange so we would need to change them anyway before it could be merged. But with no access to userspace code, that will be quite difficult, so I would push back on allwinner and have them work on resolving this. thanks, greg k-h -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/YPwhAsK/rDkVeK0y%40kroah.com.
[linux-sunxi] Re: [PATCH 1/2 (linux-stable-4.5.y)] Revert "stmmac: Fix 'eth0: No PHY found' regression"
On Mon, May 23, 2016 at 03:17:42PM +0200, Giuseppe Cavallaro wrote: > From: Giuseppe CAVALLARO > > This reverts commit 88f8b1bb41c6208f81b6a480244533ded7b59493. > due to problems on GeekBox and Banana Pi M1 board when > connected to a real transceiver instead of a switch via > fixed-link. > > Signed-off-by: Giuseppe Cavallaro > Cc: Gabriel Fernandez > Cc: Andreas Färber > Cc: Frank Schäfer > Cc: Dinh Nguyen > Cc: David S. Miller > Signed-off-by: David S. Miller > --- > drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 11 ++- > drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 9 + > 2 files changed, 11 insertions(+), 9 deletions(-) This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[linux-sunxi] Re: [PATCH 2/2 (linux-stable-4.5.y)] stmmac: fix MDIO settings
On Mon, May 23, 2016 at 03:17:43PM +0200, Giuseppe Cavallaro wrote: > Initially the phy_bus_name was added to manipulate the > driver name but it was recently just used to manage the > fixed-link and then to take some decision at run-time. > So the patch uses the is_pseudo_fixed_link and removes > the phy_bus_name variable not necessary anymore. > > The driver can manage the mdio registration by using phy-handle, > dwmac-mdio and own parameter e.g. snps,phy-addr. > This patch takes care about all these possible configurations > and fixes the mdio registration in case of there is a real > transceiver or a switch (that needs to be managed by using > fixed-link). > > Signed-off-by: Giuseppe Cavallaro > Reviewed-by: Andreas Färber > Tested-by: Frank Schäfer > Cc: Gabriel Fernandez > Cc: Dinh Nguyen > Cc: David S. Miller > Cc: Phil Reid > --- > drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 11 +-- > drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 19 + > .../net/ethernet/stmicro/stmmac/stmmac_platform.c | 84 > +- > 3 files changed, 70 insertions(+), 44 deletions(-) This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[linux-sunxi] Re: [PATCH 0/2 (linux-stable-4.5.y)] net: stmmac: MDIO fixes
On Mon, May 23, 2016 at 03:17:41PM +0200, Giuseppe Cavallaro wrote: > These patches port some recent fixes for linux-4.5.y stable branch. > They fix the MDIO settings trying to cover the all possible scenario > when the stmmac is connected to a real transceiver or a switch. > > These patches are needed for Kernel 4.5 where Lime2, BananaPi and Cubieboard2 > show problems when use the stmmac: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823493 What are the git commit id for these patches in Linus's tree? thanks, greg k-h -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.