- User Since
- Jul 15 2015, 12:00 AM (239 w, 5 d)
Jul 3 2016
I'll submit a new one after 11 is branched.
I will submit this into bugzilla.
I will provide a new one once 11 is branched.
Submitted into bugzilla.
May 15 2016
Add generic_ohci.c and generic_usb_if.m in files.allwinner instead of sys/conf/files
Make them depend on ohci instead of generic_ohci.
Apr 27 2016
Make the driver optional with intrng
Remove some leftover of the convertion
Apr 26 2016
Update diff since INTRNG interface changed.
Apr 23 2016
Update since ARM_INTRNG was renamed to INTRNG
Apr 22 2016
Remove duplicate line ...
Apr 21 2016
Simplify the inclusion of the r-gpio padconf.
Put the padconf in the compat_data struct.
Apr 20 2016
Protect a31_r_padconf with ifdefs
Move if_gmac.c to aw_if_dwc.c
Add options SOC_ALLWINNER_A31S into ALLWINNER kernel
Apr 14 2016
Patch tested on A10, kernel compile and boots fine. Will test A20 later.
So now, how should I calibrate the value ?
Apr 12 2016
There is still some stuff to do on A10 (INTRNG and DELAY) so update now.
This generic ALLWINNER kernel works on my A20-SOM-EVB, BananaPi M1 (A20) and Bananapi M2 (A31s)
Apr 10 2016
Save ext_resources in softc to release them correctly.
Make a10_intr_eoi inline.
In a10_intr loop until irq == -1 to dispatch all irq
Apr 9 2016
Split the EOI part of intr_unmask and call it when irq == 0 (NMI)
Print that we have a spurious interrupt if no interrupt is pending.
Update diff to last INTR changes.
Apr 7 2016
I'll update this rev once I've reworked D5573 to work with latest INTRNG bits so when we introduce the ALLWINNER kernel it will be for all Allwinner supported SoC.
Changes have already been commited
Apr 2 2016
Even if the overlay isn't standard it would be nice to commit the ubldr support.
And maybe provide a ports/pkg for the non-standard dtc ?
Mar 30 2016
Rename to generic_ohci
Add support for clocks/reset if compiled with EXT_RESOURCES
Remove subclassed driver aw_ohci as this work with D5752
Mar 27 2016
Mar 26 2016
Only use a10_aintc_sc variable if not compiled with ARM_INTRNG
Remove unneeded lock
Release resources if fails to attach
Rename aintc.c to a10/a10_intc.c
Mar 23 2016
Mar 21 2016
Mar 18 2016
Fix a few words/sentences.
Fixes a few sentences.
Mar 17 2016
Mar 12 2016
After a discussion with jmcneill@ we decided to remove the A20 and A31 specific kernel config. It will be a pain to maintain as we adds more allwinner soc support.
Update release file to use the ALLWINNER kernel instead of the A20.
Mar 8 2016
Rename driver generic_ohci_fdt
Rename the interface generic_usb_fdt_if as it could be use for an upcoming generic_ehci.
Fix a few style(9) issues.
Add myself to copyright.
Mar 7 2016
Change xref to phandle_t and cast it to intptr_t for intr_pic_register.
Fix some style(9) issues.
See aw_ohci.c for subclassed driver.
Mar 6 2016
Mar 5 2016
Remove clocking bits as they have been commited to HEAD.
Fix a few style(9) issues.
Remove ohci_fdt device and use "ohci fdt" in sys/conf/files
Mar 4 2016
Fix space/tab in kernel config files.
This current diff doesn't change netbooting for me, it's even worse because as it can't open the network device in exclusive mode it cannot netboot.
Andrew sent me this patch to test instead : http://www.pastebin.ca/3379018
This works for netbooting my HP laptop and definitly increase the speed.
Mar 3 2016
Mar 2 2016
Add defines for previously hardcoded value.
Fix minor style(9) issues.
Rename generic_ohci to ohci_fdt.
Merge last head and rename a10_clk_usb_activate to a10_clk_ehci_activate in a10_ehci.
Setting the autoswitch on.
If switching to the external oscillator fails the RTC will use the internal one (less precise).
Mar 1 2016
Respect optional pin polarity.
Simplify the active_low logic.
Do not fail if we can't use the external oscillator.
Report in boot verbose which oscillator we are using.
Feb 29 2016
Remove unneeded check.
Do not lock in usb/usbphy, assert instead.
Pass sc to usb/usbphy functions.
Split clock function for USBPHY
Rename USBPHY reg.
Update diff to use PLATFORM_SMP bits.
Feb 28 2016
Fix variable name.
Forgot one comment.
Update patch to reflect jmcneill comments.
I'll wait till D5466 is commited to update this review.
Feb 27 2016
USB now works for me on A10, A20 and A31S.
Mhm, don't really know what 'Accept" does. I thought this was to reflect a positive review from my side but I guess it's more general than that.
Restore back str2int function.
Should we rename now a10_ehci.c to aw_ehci.c ?
And start doing incremental renaming file for when we change the drivers ?
Feb 26 2016
Fix if condition.
Add timeout to pll6_enable.
Add soft reset for TWI and SD.
Fix style(9) and remove unused code.
Feb 25 2016
Return ENXIO for mmcbr_update_ios
Fix style(9) in a31_clk.c
Add ifdefs for A10/A20 and default case if we don't know which SoC we are running on.
Fix a few style(9) errors.
Feb 24 2016
Add ifdef on SOC_ALLWINNER_A31/S to a31 clk function.
Add option SOC_ALLWINNER_A31S to options.arm and only use data from a31s_padconf.c if it is defined.
Use nitems instead of sizeof divs directly.