Add I2c.
Correct two register name (APB1/2 versus APB0/1).
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Feb 21 2016
Feb 19 2016
Merge back into one function and split the diff bits into switch statement.
Use cp15_l2ctlr_get and CPUV7_L2CTLR_NPROC instead of inline assembly.
Split start_ap in two function, one of each supported SoC.
Fix style(9).
Remove un-existant pins in A31S as the code support this.
Fix a bug, the power off gating reg is in the prcm region in the a31.
Feb 18 2016
Fix style(9) on defines.
Add A10_WATCHDOG, A31_WATCHDOG defines and use them in the compat_data.
Set device desc based on the compat data which matched.
Use ofw_bus_search_compatible.
Rename A31_WDOG_CONFIG_RST_EN to A31_WDOG_CONFIG_RST_EN_SYSTEM.
Rename ifdef in aw_wdog.h
Fix indentation to reflect style(9).
Remove a10 var in softc as it is not needed anymore
Feb 17 2016
Rename SOC_A10/SOC_A20 to SOC_ALLWINNER_A10/SOC_ALLWINNER_A20
Add FBSDID to *_padconf.c files.
Feb 16 2016
Add SOC_A10 and SOC_A20 option and use them in A10/A20 kernel config.
Only use a10_padconf/a20_padconf is the options is defined.
Fix minor style(9) issue.
Also move a20_padconf.c into a20 subfolder.
We still haven't settled on the name convention (if we use SoC name or the allwinner code name sunXi), discussion is still open.
Feb 15 2016
Update diff due to recent changes in -HEAD.
Update diff because of recent -HEAD change.
Also add axp209 to A10 kernel config file.
Update diff to take care of andrew comments.
Update diff since the twsi device is now in -HEAD
Feb 14 2016
Feb 13 2016
Rename register define to have name instead of reg number. Fix style(9)
While converting to class the driver name changed from iichb so iic child device couldn't attach.
Fix that in this diff.
Convert twsi to a driver class and move generic function to dev/iicbus/twsi/ Add defines for allwinner and marvell controller reg offset. Move reg offset assignment to attach function. Add twsi driver to files.arm since it's used in more that one SoC.
In D4846#112237, @andrew wrote:I think the driver should be moved to be, e.g. sys/dev/iicbus/twsi/.
Update patch based on andrew comments.
Feb 12 2016
Update diff to add change introduce into rev 295567
Also now that A10 kernel config is into -HEAD, add iic and iicbus into it.
Feb 10 2016
Update diff due to recent -HEAD changes.
Feb 9 2016
Update diff based on andrew comments.
Update diff since the DTS from Linux have now been imported.
Feb 8 2016
Rename driver to axp209_pmu
As driver name ends with number it is not really pretty to have axp2090 in dmesg.
Fix silly mistake, gpio_max_pin must returns pin number - 1.
Fix if condition for str2int.
Return only the padname instead of "pin %number (%name)" for the gpio name.
Update diff to reflect imp@ suggestion.
Feb 6 2016
In D5201#111038, @gonzo wrote:I like the idea but I think -N switch is excessive. Just treat "pin" as pinspec: if it's valid number (i.e. str2num call was successful) - it's pinnum, if not - pinname. Just like ports and /etc/services. This is IMHO and I'd like to get second opinion from imp@ or loos@
Feb 5 2016
Feb 3 2016
Jan 27 2016
Fix style and remove _LAST
Last diff also include conversion for cubieboard2 to upstream DTS.
Confirmed by jmcneill.
Jan 25 2016
Update patch due to the last commit on mv_twsi.c and a10_clk.c on HEAD.
FDT_PLATFORM was commited.
This new diff:
- Update drivers to parse upstream compatible props
- Update our custom DTS to use the same compatible props
- Convert some driver to EARLY driver because of the order of the upstream DTS.
- Add a generic A10 kernel config
- Make A20 use generic_timer
- Update the upstream DTS.
Move timer.c to files.allwinner since A20 is still using it.
Jan 24 2016
Remove generic_timer for now as our custom DTS doesn't include the node.
Remove fdt compatible prop change.
Fix style(9).
Sorry wrong cherry-pick ...
Add answer to inline comments
Fix style(9) issues.
Update to latest DTS.
Merge machdep files so A10 and A20 could be compiled together.
Use ofw_bus_search_compatible where appropriate.
Next diff correct style(9) and all the comment above.
Jan 20 2016
Last comment are now fixed.
Add register defines
Remove dev from softc since we don't need it.
Jan 19 2016
The new diff handle all your remarks (I hope)
Only printf messages when in bootverbose.
Get our i2c addr in attach instead of probe.
Explain the bit logic to find the power source.
Jan 15 2016
Rename driver to iichb.
Add bus and ofw interface methods.
Jan 12 2016
Set the phy-mode of the gmac to rgmii-bpi so 1000bps link works better
Jan 10 2016
Move register offset into the softc struct.
Jan 7 2016
Jan 5 2016
In D4792#101671, @imp wrote:How far are we now from Linux dts files?