clk: Move allwinner driver into the common directoryNo need to keep it under sys/arm/allwinner/clkngIt's easier to find which controller we support by looking under one directory.It will also be
clk: Move allwinner driver into the common directoryNo need to keep it under sys/arm/allwinner/clkngIt's easier to find which controller we support by looking under one directory.It will also be shared with Allwinner RiscV SoC.Sponsored by: Beckhoff Automation GmbH & Co. KGDifferential Revision: https://reviews.freebsd.org/D43188
show more ...
sys: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remov
sys: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/Remove /\n+#if.*\n#endif.*\n+/Remove /^#if.*\n#endif.*\n/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/Sponsored by: Netflix
sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
sys: Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
arm: allwinner: Fix padconf for interrupts informationAdd a eint_bank member to the allwinner_pins structure.On Allwinner SoCs not all pins can do interrupt.Older SoC (A10/A13 and A20) there is a
arm: allwinner: Fix padconf for interrupts informationAdd a eint_bank member to the allwinner_pins structure.On Allwinner SoCs not all pins can do interrupt.Older SoC (A10/A13 and A20) there is a maximum number of interruptsset to 32 and all the configuration is done in the same registers.While on "newer" SoCs (>=A31) interrupts registers are splitted perpin bank (i.e. all interrupts available in bank B will be configuredwith a sets of registers and the one in bank G in another set).While here set the names to all interrupts function topX_eintY where X is the bank name and Y the interrupt number.To whom ever in the future look at the H5 manual and notice that the bank Fhave interrupts support : This isn't true, trust me.MFC after: 1 month
Remove "all rights reserved" from copyright for the file I own.Some of the files have both me and Jared McNeill and he gave mepermission to remove it from his files too.
allwinner: A31: Add ccung driverThis adds clocks support for the aw_ccung on the A31 SoC.Newer DTS files require this.All the clocks except two CSI are defined and exported on the clock domain.
Add information about interrupts in the Allwinner padconf files andcorrect some pin numbering.While here switch to my freebsd mail address in the copyright.MFC after: 3 days
Remove the old Allwinner std.* files, these are not part of the commonAllwinner kernel configs.Sponsored by: ABT Systems Ltd
Add support for Allwinner A31/A31S R-GPIO (CPUs-PORT) controller.Submitted by: Emmanuel Vadot <manu@bidouilliste.com>Reviewed by: jmcneillDifferential Revision: https://reviews.freebsd.org/D5930
Replace the A20 kernel config with a generic ALLWINNER kernel config thatsupports A20, A31, and A31S. Adds support for the BananaPi M2 (A31S) board.Submitted by: Emmanuel Vadot <manu@bidouilliste
Replace the A20 kernel config with a generic ALLWINNER kernel config thatsupports A20, A31, and A31S. Adds support for the BananaPi M2 (A31S) board.Submitted by: Emmanuel Vadot <manu@bidouilliste.com>Reviewed by: jmcneillDifferential Revision: https://reviews.freebsd.org/D5580
Fix incorrect pin definitions for Allwinner A31.
Convert Allwinner port to extres clk/hwreset/regulator APIs.Reviewed by: andrew, gonzo, Emmanuel Vadot <manu@bidouilliste.com>Approved by: gonzo (mentor)Differential Revision: https://reviews.f
Convert Allwinner port to extres clk/hwreset/regulator APIs.Reviewed by: andrew, gonzo, Emmanuel Vadot <manu@bidouilliste.com>Approved by: gonzo (mentor)Differential Revision: https://reviews.freebsd.org/D5752
Add support for Allwinner A31/A31s EHCI controller and USB PHY.Reviewed by: andrew, Emmanuel Vadot <manu@bidouilliste.com>Approved by: gonzo (mentor)Differential Revision: https://reviews.freeb
Add support for Allwinner A31/A31s EHCI controller and USB PHY.Reviewed by: andrew, Emmanuel Vadot <manu@bidouilliste.com>Approved by: gonzo (mentor)Differential Revision: https://reviews.freebsd.org/D5467
Fix inverted test for lock status while waiting for PLL to become stable.Reviewed by: andrewApproved by: adrian (mentor)
Add the start of support for the Allwinner A31 clocks. It only addssupport for the i2c, mmc, and gmac clocks. Further clocks can be added asneeded.Submitted by: Emmanuel Vadot <manu@bidouilliste.
Add the start of support for the Allwinner A31 clocks. It only addssupport for the i2c, mmc, and gmac clocks. Further clocks can be added asneeded.Submitted by: Emmanuel Vadot <manu@bidouilliste.com>Reviewed by: jmcneillDifferential Revision: https://reviews.freebsd.org/D5339
Add the Allwinner A31 and A31s padconf support. It's currently unused, butwill be needed when we bring in further support for these SoCs.Submitted by: Emmanuel Vadot <manu@bidouilliste.com>Differ
Add the Allwinner A31 and A31s padconf support. It's currently unused, butwill be needed when we bring in further support for these SoCs.Submitted by: Emmanuel Vadot <manu@bidouilliste.com>Differential Revision: https://reviews.freebsd.org/D5340