History log of /netbsd-current/sys/arch/arm/sunxi/files.sunxi
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.72 20-Jul-2022 riastradh

drm: Use CPPFLAGS.drmkms in all local drm drivers too.

This way we don't pollute the NetBSD kernel namespace with all the
Linux compat shim definitions needed to build drm, except for the
local drm drivers that need the API.


# 1.71 28-Jun-2022 skrll

Add support for Lichee Pi Zero from Rui-Xiang Guo on port-arm


# 1.70 07-Nov-2021 jmcneill

sunxi: ccu: add support for basic "mux" clocks


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base
# 1.69 05-May-2021 jmcneill

Add support for Allwinner V3s, from Rui-Xiang Guo.


Revision tags: thorpej-cfargs-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406
# 1.68 24-Mar-2020 tnn

branches: 1.68.8;
ohci@fdt, ehci@fdt are machine independent; move from sunxi to sys/dev/fdt


Revision tags: is-mlppp-base ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base
# 1.67 09-Dec-2019 riastradh

Draft driver for Allwinner Crypto Engine.

Found on, e.g., the Pinebook.

Only used for TRNG at the moment, but hooking it up to opencrypto(9)
shouldn't be too hard if anyone still cares about that these days.

The distribution of the alleged TRNG is very nonuniform distributed
seems to alternate between toward runs with exceptionally high
fractions of 0 bits and runs with exceptionally high fractions of 1
bits -- initially all my samples were mostly 0's, and then all my
samples were mostly 1's, and now I'm seeing more oscillation between
these runs.

So I've wired it up as RND_TYPE_UNKNOWN, not RND_TYPE_RNG (it will
immediately flunk our rngtest and be disabled), and I estimated it to
provide at most one bit of entropy per byte of data -- which may
still be optimistic. I also added a sysctl node hw.sun8icryptoN.rng
to read out 1024-byte samples for analysis, and I left the driver
commented out in GENERIC64 for now.

(If anyone has contacts at Allwinner who can tell us about how the
alleged TRNG is supposed to work, please let me know!)


Revision tags: phil-wifi-20191119
# 1.66 03-Aug-2019 tnn

sun4i_spi: spi(4) driver for Allwinner A10/A20 platform


Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base
# 1.65 14-Jun-2019 tnn

branches: 1.65.2;
sunxihstimer: add support for Allwinner High-Speed Timer


Revision tags: phil-wifi-20190609
# 1.64 28-May-2019 jmcneill

Add A80 USB support.


# 1.63 27-May-2019 jmcneill

Add apb0 and cpus clock drivers for A80


# 1.62 08-May-2019 isaki

Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base
# 1.61 30-Jan-2019 jmcneill

branches: 1.61.2;
Add support for Allwinner A64's display pipeline.


Revision tags: pgoyette-compat-20190127
# 1.60 22-Jan-2019 jmcneill

Add drivers for DE2 bus and clock controllers.


Revision tags: pgoyette-compat-20190118
# 1.59 03-Jan-2019 jmcneill

Add Allwinner A80 SMP support.


# 1.58 03-Jan-2019 jmcneill

Add Allwinner A83T SMP support.


Revision tags: pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625
# 1.57 01-Jun-2018 jmcneill

branches: 1.57.2;
Move simplefb declaration to files.fdt


# 1.56 27-May-2018 jmcneill

Rename sunxi_com to dw_apb_uart and move it to dev/fdt since it is not
sunxi-specific.


Revision tags: pgoyette-compat-0521
# 1.55 10-May-2018 jmcneill

Add support for Allwinner A64 audio codec.


# 1.54 06-May-2018 jmcneill

Add driver for Allwinner PWM controller.


# 1.53 05-May-2018 jmcneill

Add driver for Allwinner A64 PRCM CCU


# 1.52 02-May-2018 jmcneill

Add driver for Allwinner NMI / R_INTC interrupt controller.


# 1.51 02-May-2018 jmcneill

Add driver for Allwinner H6 PRCM CCU.


Revision tags: pgoyette-compat-0502
# 1.50 01-May-2018 jmcneill

Add driver for Allwinner USB3 PHY.


# 1.49 01-May-2018 jmcneill

Add support for Allwinner H6 CCU.


Revision tags: pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407
# 1.48 03-Apr-2018 bouyer

work in progress on porting graphics drivers from arm/allwinner to fdt.
sunxidebe: display backend drivers
sunxitcon: lcd controller driver
sunxihdmi: hdmi controller driver
sunxidep: display engine pipeline driver. Its role is only to parse the
fdt display-engine node, and activate de backend drivers based on the
content of allwinner,pipelines

So far HDMI and lvds output works, in dual-framebuffer mode.
It has only been tested on A20. It should be OK on the A10 too, but
will likely need more work for other SoCs.
Console is not handled yet, and it conflicts with the simplefb driver if
it has been activated by u-boot.


# 1.47 01-Apr-2018 bouyer

Add a round_rate() callback for the sunxi clock domain.
Add a sunxi_ccu_display.c file with helpers for setting up display engine
clocks.
for fractional clocks, rename frac_en to div_en, I got the logic inverted.
Adjust tcon0-ch0, tcon0-ch1, tcon1-ch0 and tcon1-ch1 definitions to
automatically select a parent. tcon0 hardcoded to pll3 and tcon1 to pll7.
Define a round_rate() callback for these clocks, as well as fractional clocks.
Hardcode debe clocks parent to pll5.


# 1.46 01-Apr-2018 ryo

Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)


Revision tags: pgoyette-compat-0330 pgoyette-compat-0322
# 1.45 19-Mar-2018 bouyer

Add some more A10/A20 clocks definitions; related to display engines.
The video PLLs requires a new clock type, SUNXI_CCU_FRACTIONAL


# 1.44 17-Mar-2018 ryo

move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c,
and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag

no functional change. (preliminary changes for merging aarch64)


Revision tags: pgoyette-compat-0315
# 1.43 07-Mar-2018 bouyer

fdt-ise the allwinner can and lradc drivers.


Revision tags: pgoyette-compat-base
# 1.42 18-Feb-2018 jmcneill

branches: 1.42.2;
Add support for Allwinner H6 CPUX and CPUS port controllers.


# 1.41 14-Feb-2018 jakllsch

Adjust Allwinner emac(4) drivers to be compatible with root on NFS.


# 1.40 14-Feb-2018 jakllsch

Adjust comment; sun4i_emac is also used on sun5i.


# 1.39 31-Jan-2018 jakllsch

Add sun6i SPI driver.

Currently PIO-only.


Revision tags: tls-maxphys-base-20171202
# 1.38 10-Nov-2017 jmcneill

branches: 1.38.2;
Allwinner NAND Flash Controller driver. Work in progress.


# 1.37 23-Oct-2017 jmcneill

Change SUNXI_MMC_DEBUG to a bitmask, allowing for isolation of specific
device units. Useful for debugging sdio without seeing debug spam from the
SD card.


# 1.36 20-Oct-2017 jmcneill

Add driver for sun4i/sun7i 10/100 Fast Ethernet controller (EMAC).


# 1.35 11-Oct-2017 jmcneill

Add H5 (sun50i) support.


# 1.34 09-Oct-2017 jmcneill

Add driver for sun4i SRAM controller.


# 1.33 09-Oct-2017 jmcneill

sunxits needs sysmon_envsys


# 1.32 08-Oct-2017 jmcneill

Add Allwinner A80 (sun9i) support.


# 1.31 07-Oct-2017 jmcneill

Add A31 audio codec support.


# 1.30 07-Oct-2017 jmcneill

Add A10/A20 SATA support


# 1.29 07-Oct-2017 jmcneill

Add support for sun6i/sun7i ethernet


# 1.28 06-Oct-2017 jmcneill

Add sun4i (A10) and sun7i (A20) GPIO support.


# 1.27 06-Oct-2017 jmcneill

Add driver for sun4i (A10) and sun7i (A20) clock controller.


# 1.26 05-Oct-2017 jmcneill

Add driver for thermal sensor controller found in Allwinner H3, A64, and
A83T SoCs.


# 1.25 03-Oct-2017 jmcneill

Add a simple Security ID EFUSE driver.


# 1.24 30-Sep-2017 jmcneill

Add support for Allwinner H3 PRCM clock controller.


# 1.23 09-Sep-2017 jmcneill

Add support for USB OTG controllers in "host" mode.


# 1.22 07-Sep-2017 jmcneill

Add support for Allwinner A64 SoCs.


# 1.21 27-Aug-2017 jmcneill

branches: 1.21.2;
Remove the sunxi_debe driver in favour of the more generic simplefb.


# 1.20 27-Aug-2017 jmcneill

Add sun4i DMA and audio codec support.


# 1.19 27-Aug-2017 jmcneill

Add sun5i touchscreen driver.


# 1.18 26-Aug-2017 jmcneill

Add a basic sun5i FB driver. This assumes that firmware (U-Boot) has
already setup the chip and re-uses the same settings / FB memory.


Revision tags: nick-nhusb-base-20170825
# 1.17 25-Aug-2017 jmcneill

Add initial support for Allwinner A13 and R8 SoCs.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.2; 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.71 28-Jun-2022 skrll

Add support for Lichee Pi Zero from Rui-Xiang Guo on port-arm


# 1.70 07-Nov-2021 jmcneill

sunxi: ccu: add support for basic "mux" clocks


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base
# 1.69 05-May-2021 jmcneill

Add support for Allwinner V3s, from Rui-Xiang Guo.


Revision tags: thorpej-cfargs-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406
# 1.68 24-Mar-2020 tnn

branches: 1.68.8;
ohci@fdt, ehci@fdt are machine independent; move from sunxi to sys/dev/fdt


Revision tags: is-mlppp-base ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base
# 1.67 09-Dec-2019 riastradh

Draft driver for Allwinner Crypto Engine.

Found on, e.g., the Pinebook.

Only used for TRNG at the moment, but hooking it up to opencrypto(9)
shouldn't be too hard if anyone still cares about that these days.

The distribution of the alleged TRNG is very nonuniform distributed
seems to alternate between toward runs with exceptionally high
fractions of 0 bits and runs with exceptionally high fractions of 1
bits -- initially all my samples were mostly 0's, and then all my
samples were mostly 1's, and now I'm seeing more oscillation between
these runs.

So I've wired it up as RND_TYPE_UNKNOWN, not RND_TYPE_RNG (it will
immediately flunk our rngtest and be disabled), and I estimated it to
provide at most one bit of entropy per byte of data -- which may
still be optimistic. I also added a sysctl node hw.sun8icryptoN.rng
to read out 1024-byte samples for analysis, and I left the driver
commented out in GENERIC64 for now.

(If anyone has contacts at Allwinner who can tell us about how the
alleged TRNG is supposed to work, please let me know!)


Revision tags: phil-wifi-20191119
# 1.66 03-Aug-2019 tnn

sun4i_spi: spi(4) driver for Allwinner A10/A20 platform


Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base
# 1.65 14-Jun-2019 tnn

branches: 1.65.2;
sunxihstimer: add support for Allwinner High-Speed Timer


Revision tags: phil-wifi-20190609
# 1.64 28-May-2019 jmcneill

Add A80 USB support.


# 1.63 27-May-2019 jmcneill

Add apb0 and cpus clock drivers for A80


# 1.62 08-May-2019 isaki

Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base
# 1.61 30-Jan-2019 jmcneill

branches: 1.61.2;
Add support for Allwinner A64's display pipeline.


Revision tags: pgoyette-compat-20190127
# 1.60 22-Jan-2019 jmcneill

Add drivers for DE2 bus and clock controllers.


Revision tags: pgoyette-compat-20190118
# 1.59 03-Jan-2019 jmcneill

Add Allwinner A80 SMP support.


# 1.58 03-Jan-2019 jmcneill

Add Allwinner A83T SMP support.


Revision tags: pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625
# 1.57 01-Jun-2018 jmcneill

branches: 1.57.2;
Move simplefb declaration to files.fdt


# 1.56 27-May-2018 jmcneill

Rename sunxi_com to dw_apb_uart and move it to dev/fdt since it is not
sunxi-specific.


Revision tags: pgoyette-compat-0521
# 1.55 10-May-2018 jmcneill

Add support for Allwinner A64 audio codec.


# 1.54 06-May-2018 jmcneill

Add driver for Allwinner PWM controller.


# 1.53 05-May-2018 jmcneill

Add driver for Allwinner A64 PRCM CCU


# 1.52 02-May-2018 jmcneill

Add driver for Allwinner NMI / R_INTC interrupt controller.


# 1.51 02-May-2018 jmcneill

Add driver for Allwinner H6 PRCM CCU.


Revision tags: pgoyette-compat-0502
# 1.50 01-May-2018 jmcneill

Add driver for Allwinner USB3 PHY.


# 1.49 01-May-2018 jmcneill

Add support for Allwinner H6 CCU.


Revision tags: pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407
# 1.48 03-Apr-2018 bouyer

work in progress on porting graphics drivers from arm/allwinner to fdt.
sunxidebe: display backend drivers
sunxitcon: lcd controller driver
sunxihdmi: hdmi controller driver
sunxidep: display engine pipeline driver. Its role is only to parse the
fdt display-engine node, and activate de backend drivers based on the
content of allwinner,pipelines

So far HDMI and lvds output works, in dual-framebuffer mode.
It has only been tested on A20. It should be OK on the A10 too, but
will likely need more work for other SoCs.
Console is not handled yet, and it conflicts with the simplefb driver if
it has been activated by u-boot.


# 1.47 01-Apr-2018 bouyer

Add a round_rate() callback for the sunxi clock domain.
Add a sunxi_ccu_display.c file with helpers for setting up display engine
clocks.
for fractional clocks, rename frac_en to div_en, I got the logic inverted.
Adjust tcon0-ch0, tcon0-ch1, tcon1-ch0 and tcon1-ch1 definitions to
automatically select a parent. tcon0 hardcoded to pll3 and tcon1 to pll7.
Define a round_rate() callback for these clocks, as well as fractional clocks.
Hardcode debe clocks parent to pll5.


# 1.46 01-Apr-2018 ryo

Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)


Revision tags: pgoyette-compat-0330 pgoyette-compat-0322
# 1.45 19-Mar-2018 bouyer

Add some more A10/A20 clocks definitions; related to display engines.
The video PLLs requires a new clock type, SUNXI_CCU_FRACTIONAL


# 1.44 17-Mar-2018 ryo

move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c,
and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag

no functional change. (preliminary changes for merging aarch64)


Revision tags: pgoyette-compat-0315
# 1.43 07-Mar-2018 bouyer

fdt-ise the allwinner can and lradc drivers.


Revision tags: pgoyette-compat-base
# 1.42 18-Feb-2018 jmcneill

branches: 1.42.2;
Add support for Allwinner H6 CPUX and CPUS port controllers.


# 1.41 14-Feb-2018 jakllsch

Adjust Allwinner emac(4) drivers to be compatible with root on NFS.


# 1.40 14-Feb-2018 jakllsch

Adjust comment; sun4i_emac is also used on sun5i.


# 1.39 31-Jan-2018 jakllsch

Add sun6i SPI driver.

Currently PIO-only.


Revision tags: tls-maxphys-base-20171202
# 1.38 10-Nov-2017 jmcneill

branches: 1.38.2;
Allwinner NAND Flash Controller driver. Work in progress.


# 1.37 23-Oct-2017 jmcneill

Change SUNXI_MMC_DEBUG to a bitmask, allowing for isolation of specific
device units. Useful for debugging sdio without seeing debug spam from the
SD card.


# 1.36 20-Oct-2017 jmcneill

Add driver for sun4i/sun7i 10/100 Fast Ethernet controller (EMAC).


# 1.35 11-Oct-2017 jmcneill

Add H5 (sun50i) support.


# 1.34 09-Oct-2017 jmcneill

Add driver for sun4i SRAM controller.


# 1.33 09-Oct-2017 jmcneill

sunxits needs sysmon_envsys


# 1.32 08-Oct-2017 jmcneill

Add Allwinner A80 (sun9i) support.


# 1.31 07-Oct-2017 jmcneill

Add A31 audio codec support.


# 1.30 07-Oct-2017 jmcneill

Add A10/A20 SATA support


# 1.29 07-Oct-2017 jmcneill

Add support for sun6i/sun7i ethernet


# 1.28 06-Oct-2017 jmcneill

Add sun4i (A10) and sun7i (A20) GPIO support.


# 1.27 06-Oct-2017 jmcneill

Add driver for sun4i (A10) and sun7i (A20) clock controller.


# 1.26 05-Oct-2017 jmcneill

Add driver for thermal sensor controller found in Allwinner H3, A64, and
A83T SoCs.


# 1.25 03-Oct-2017 jmcneill

Add a simple Security ID EFUSE driver.


# 1.24 30-Sep-2017 jmcneill

Add support for Allwinner H3 PRCM clock controller.


# 1.23 09-Sep-2017 jmcneill

Add support for USB OTG controllers in "host" mode.


# 1.22 07-Sep-2017 jmcneill

Add support for Allwinner A64 SoCs.


# 1.21 27-Aug-2017 jmcneill

branches: 1.21.2;
Remove the sunxi_debe driver in favour of the more generic simplefb.


# 1.20 27-Aug-2017 jmcneill

Add sun4i DMA and audio codec support.


# 1.19 27-Aug-2017 jmcneill

Add sun5i touchscreen driver.


# 1.18 26-Aug-2017 jmcneill

Add a basic sun5i FB driver. This assumes that firmware (U-Boot) has
already setup the chip and re-uses the same settings / FB memory.


Revision tags: nick-nhusb-base-20170825
# 1.17 25-Aug-2017 jmcneill

Add initial support for Allwinner A13 and R8 SoCs.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.2; 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.70 07-Nov-2021 jmcneill

sunxi: ccu: add support for basic "mux" clocks


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base
# 1.69 05-May-2021 jmcneill

Add support for Allwinner V3s, from Rui-Xiang Guo.


Revision tags: thorpej-cfargs-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406
# 1.68 24-Mar-2020 tnn

branches: 1.68.8;
ohci@fdt, ehci@fdt are machine independent; move from sunxi to sys/dev/fdt


Revision tags: is-mlppp-base ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base
# 1.67 09-Dec-2019 riastradh

Draft driver for Allwinner Crypto Engine.

Found on, e.g., the Pinebook.

Only used for TRNG at the moment, but hooking it up to opencrypto(9)
shouldn't be too hard if anyone still cares about that these days.

The distribution of the alleged TRNG is very nonuniform distributed
seems to alternate between toward runs with exceptionally high
fractions of 0 bits and runs with exceptionally high fractions of 1
bits -- initially all my samples were mostly 0's, and then all my
samples were mostly 1's, and now I'm seeing more oscillation between
these runs.

So I've wired it up as RND_TYPE_UNKNOWN, not RND_TYPE_RNG (it will
immediately flunk our rngtest and be disabled), and I estimated it to
provide at most one bit of entropy per byte of data -- which may
still be optimistic. I also added a sysctl node hw.sun8icryptoN.rng
to read out 1024-byte samples for analysis, and I left the driver
commented out in GENERIC64 for now.

(If anyone has contacts at Allwinner who can tell us about how the
alleged TRNG is supposed to work, please let me know!)


Revision tags: phil-wifi-20191119
# 1.66 03-Aug-2019 tnn

sun4i_spi: spi(4) driver for Allwinner A10/A20 platform


Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base
# 1.65 14-Jun-2019 tnn

branches: 1.65.2;
sunxihstimer: add support for Allwinner High-Speed Timer


Revision tags: phil-wifi-20190609
# 1.64 28-May-2019 jmcneill

Add A80 USB support.


# 1.63 27-May-2019 jmcneill

Add apb0 and cpus clock drivers for A80


# 1.62 08-May-2019 isaki

Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base
# 1.61 30-Jan-2019 jmcneill

branches: 1.61.2;
Add support for Allwinner A64's display pipeline.


Revision tags: pgoyette-compat-20190127
# 1.60 22-Jan-2019 jmcneill

Add drivers for DE2 bus and clock controllers.


Revision tags: pgoyette-compat-20190118
# 1.59 03-Jan-2019 jmcneill

Add Allwinner A80 SMP support.


# 1.58 03-Jan-2019 jmcneill

Add Allwinner A83T SMP support.


Revision tags: pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625
# 1.57 01-Jun-2018 jmcneill

branches: 1.57.2;
Move simplefb declaration to files.fdt


# 1.56 27-May-2018 jmcneill

Rename sunxi_com to dw_apb_uart and move it to dev/fdt since it is not
sunxi-specific.


Revision tags: pgoyette-compat-0521
# 1.55 10-May-2018 jmcneill

Add support for Allwinner A64 audio codec.


# 1.54 06-May-2018 jmcneill

Add driver for Allwinner PWM controller.


# 1.53 05-May-2018 jmcneill

Add driver for Allwinner A64 PRCM CCU


# 1.52 02-May-2018 jmcneill

Add driver for Allwinner NMI / R_INTC interrupt controller.


# 1.51 02-May-2018 jmcneill

Add driver for Allwinner H6 PRCM CCU.


Revision tags: pgoyette-compat-0502
# 1.50 01-May-2018 jmcneill

Add driver for Allwinner USB3 PHY.


# 1.49 01-May-2018 jmcneill

Add support for Allwinner H6 CCU.


Revision tags: pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407
# 1.48 03-Apr-2018 bouyer

work in progress on porting graphics drivers from arm/allwinner to fdt.
sunxidebe: display backend drivers
sunxitcon: lcd controller driver
sunxihdmi: hdmi controller driver
sunxidep: display engine pipeline driver. Its role is only to parse the
fdt display-engine node, and activate de backend drivers based on the
content of allwinner,pipelines

So far HDMI and lvds output works, in dual-framebuffer mode.
It has only been tested on A20. It should be OK on the A10 too, but
will likely need more work for other SoCs.
Console is not handled yet, and it conflicts with the simplefb driver if
it has been activated by u-boot.


# 1.47 01-Apr-2018 bouyer

Add a round_rate() callback for the sunxi clock domain.
Add a sunxi_ccu_display.c file with helpers for setting up display engine
clocks.
for fractional clocks, rename frac_en to div_en, I got the logic inverted.
Adjust tcon0-ch0, tcon0-ch1, tcon1-ch0 and tcon1-ch1 definitions to
automatically select a parent. tcon0 hardcoded to pll3 and tcon1 to pll7.
Define a round_rate() callback for these clocks, as well as fractional clocks.
Hardcode debe clocks parent to pll5.


# 1.46 01-Apr-2018 ryo

Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)


Revision tags: pgoyette-compat-0330 pgoyette-compat-0322
# 1.45 19-Mar-2018 bouyer

Add some more A10/A20 clocks definitions; related to display engines.
The video PLLs requires a new clock type, SUNXI_CCU_FRACTIONAL


# 1.44 17-Mar-2018 ryo

move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c,
and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag

no functional change. (preliminary changes for merging aarch64)


Revision tags: pgoyette-compat-0315
# 1.43 07-Mar-2018 bouyer

fdt-ise the allwinner can and lradc drivers.


Revision tags: pgoyette-compat-base
# 1.42 18-Feb-2018 jmcneill

branches: 1.42.2;
Add support for Allwinner H6 CPUX and CPUS port controllers.


# 1.41 14-Feb-2018 jakllsch

Adjust Allwinner emac(4) drivers to be compatible with root on NFS.


# 1.40 14-Feb-2018 jakllsch

Adjust comment; sun4i_emac is also used on sun5i.


# 1.39 31-Jan-2018 jakllsch

Add sun6i SPI driver.

Currently PIO-only.


Revision tags: tls-maxphys-base-20171202
# 1.38 10-Nov-2017 jmcneill

branches: 1.38.2;
Allwinner NAND Flash Controller driver. Work in progress.


# 1.37 23-Oct-2017 jmcneill

Change SUNXI_MMC_DEBUG to a bitmask, allowing for isolation of specific
device units. Useful for debugging sdio without seeing debug spam from the
SD card.


# 1.36 20-Oct-2017 jmcneill

Add driver for sun4i/sun7i 10/100 Fast Ethernet controller (EMAC).


# 1.35 11-Oct-2017 jmcneill

Add H5 (sun50i) support.


# 1.34 09-Oct-2017 jmcneill

Add driver for sun4i SRAM controller.


# 1.33 09-Oct-2017 jmcneill

sunxits needs sysmon_envsys


# 1.32 08-Oct-2017 jmcneill

Add Allwinner A80 (sun9i) support.


# 1.31 07-Oct-2017 jmcneill

Add A31 audio codec support.


# 1.30 07-Oct-2017 jmcneill

Add A10/A20 SATA support


# 1.29 07-Oct-2017 jmcneill

Add support for sun6i/sun7i ethernet


# 1.28 06-Oct-2017 jmcneill

Add sun4i (A10) and sun7i (A20) GPIO support.


# 1.27 06-Oct-2017 jmcneill

Add driver for sun4i (A10) and sun7i (A20) clock controller.


# 1.26 05-Oct-2017 jmcneill

Add driver for thermal sensor controller found in Allwinner H3, A64, and
A83T SoCs.


# 1.25 03-Oct-2017 jmcneill

Add a simple Security ID EFUSE driver.


# 1.24 30-Sep-2017 jmcneill

Add support for Allwinner H3 PRCM clock controller.


# 1.23 09-Sep-2017 jmcneill

Add support for USB OTG controllers in "host" mode.


# 1.22 07-Sep-2017 jmcneill

Add support for Allwinner A64 SoCs.


# 1.21 27-Aug-2017 jmcneill

branches: 1.21.2;
Remove the sunxi_debe driver in favour of the more generic simplefb.


# 1.20 27-Aug-2017 jmcneill

Add sun4i DMA and audio codec support.


# 1.19 27-Aug-2017 jmcneill

Add sun5i touchscreen driver.


# 1.18 26-Aug-2017 jmcneill

Add a basic sun5i FB driver. This assumes that firmware (U-Boot) has
already setup the chip and re-uses the same settings / FB memory.


Revision tags: nick-nhusb-base-20170825
# 1.17 25-Aug-2017 jmcneill

Add initial support for Allwinner A13 and R8 SoCs.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.2; 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.69 05-May-2021 jmcneill

Add support for Allwinner V3s, from Rui-Xiang Guo.


Revision tags: thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406
# 1.68 24-Mar-2020 tnn

ohci@fdt, ehci@fdt are machine independent; move from sunxi to sys/dev/fdt


Revision tags: is-mlppp-base ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base
# 1.67 09-Dec-2019 riastradh

Draft driver for Allwinner Crypto Engine.

Found on, e.g., the Pinebook.

Only used for TRNG at the moment, but hooking it up to opencrypto(9)
shouldn't be too hard if anyone still cares about that these days.

The distribution of the alleged TRNG is very nonuniform distributed
seems to alternate between toward runs with exceptionally high
fractions of 0 bits and runs with exceptionally high fractions of 1
bits -- initially all my samples were mostly 0's, and then all my
samples were mostly 1's, and now I'm seeing more oscillation between
these runs.

So I've wired it up as RND_TYPE_UNKNOWN, not RND_TYPE_RNG (it will
immediately flunk our rngtest and be disabled), and I estimated it to
provide at most one bit of entropy per byte of data -- which may
still be optimistic. I also added a sysctl node hw.sun8icryptoN.rng
to read out 1024-byte samples for analysis, and I left the driver
commented out in GENERIC64 for now.

(If anyone has contacts at Allwinner who can tell us about how the
alleged TRNG is supposed to work, please let me know!)


Revision tags: phil-wifi-20191119
# 1.66 03-Aug-2019 tnn

sun4i_spi: spi(4) driver for Allwinner A10/A20 platform


Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base
# 1.65 14-Jun-2019 tnn

branches: 1.65.2;
sunxihstimer: add support for Allwinner High-Speed Timer


Revision tags: phil-wifi-20190609
# 1.64 28-May-2019 jmcneill

Add A80 USB support.


# 1.63 27-May-2019 jmcneill

Add apb0 and cpus clock drivers for A80


# 1.62 08-May-2019 isaki

Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base
# 1.61 30-Jan-2019 jmcneill

branches: 1.61.2;
Add support for Allwinner A64's display pipeline.


Revision tags: pgoyette-compat-20190127
# 1.60 22-Jan-2019 jmcneill

Add drivers for DE2 bus and clock controllers.


Revision tags: pgoyette-compat-20190118
# 1.59 03-Jan-2019 jmcneill

Add Allwinner A80 SMP support.


# 1.58 03-Jan-2019 jmcneill

Add Allwinner A83T SMP support.


Revision tags: pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625
# 1.57 01-Jun-2018 jmcneill

branches: 1.57.2;
Move simplefb declaration to files.fdt


# 1.56 27-May-2018 jmcneill

Rename sunxi_com to dw_apb_uart and move it to dev/fdt since it is not
sunxi-specific.


Revision tags: pgoyette-compat-0521
# 1.55 10-May-2018 jmcneill

Add support for Allwinner A64 audio codec.


# 1.54 06-May-2018 jmcneill

Add driver for Allwinner PWM controller.


# 1.53 05-May-2018 jmcneill

Add driver for Allwinner A64 PRCM CCU


# 1.52 02-May-2018 jmcneill

Add driver for Allwinner NMI / R_INTC interrupt controller.


# 1.51 02-May-2018 jmcneill

Add driver for Allwinner H6 PRCM CCU.


Revision tags: pgoyette-compat-0502
# 1.50 01-May-2018 jmcneill

Add driver for Allwinner USB3 PHY.


# 1.49 01-May-2018 jmcneill

Add support for Allwinner H6 CCU.


Revision tags: pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407
# 1.48 03-Apr-2018 bouyer

work in progress on porting graphics drivers from arm/allwinner to fdt.
sunxidebe: display backend drivers
sunxitcon: lcd controller driver
sunxihdmi: hdmi controller driver
sunxidep: display engine pipeline driver. Its role is only to parse the
fdt display-engine node, and activate de backend drivers based on the
content of allwinner,pipelines

So far HDMI and lvds output works, in dual-framebuffer mode.
It has only been tested on A20. It should be OK on the A10 too, but
will likely need more work for other SoCs.
Console is not handled yet, and it conflicts with the simplefb driver if
it has been activated by u-boot.


# 1.47 01-Apr-2018 bouyer

Add a round_rate() callback for the sunxi clock domain.
Add a sunxi_ccu_display.c file with helpers for setting up display engine
clocks.
for fractional clocks, rename frac_en to div_en, I got the logic inverted.
Adjust tcon0-ch0, tcon0-ch1, tcon1-ch0 and tcon1-ch1 definitions to
automatically select a parent. tcon0 hardcoded to pll3 and tcon1 to pll7.
Define a round_rate() callback for these clocks, as well as fractional clocks.
Hardcode debe clocks parent to pll5.


# 1.46 01-Apr-2018 ryo

Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)


Revision tags: pgoyette-compat-0330 pgoyette-compat-0322
# 1.45 19-Mar-2018 bouyer

Add some more A10/A20 clocks definitions; related to display engines.
The video PLLs requires a new clock type, SUNXI_CCU_FRACTIONAL


# 1.44 17-Mar-2018 ryo

move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c,
and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag

no functional change. (preliminary changes for merging aarch64)


Revision tags: pgoyette-compat-0315
# 1.43 07-Mar-2018 bouyer

fdt-ise the allwinner can and lradc drivers.


Revision tags: pgoyette-compat-base
# 1.42 18-Feb-2018 jmcneill

branches: 1.42.2;
Add support for Allwinner H6 CPUX and CPUS port controllers.


# 1.41 14-Feb-2018 jakllsch

Adjust Allwinner emac(4) drivers to be compatible with root on NFS.


# 1.40 14-Feb-2018 jakllsch

Adjust comment; sun4i_emac is also used on sun5i.


# 1.39 31-Jan-2018 jakllsch

Add sun6i SPI driver.

Currently PIO-only.


Revision tags: tls-maxphys-base-20171202
# 1.38 10-Nov-2017 jmcneill

branches: 1.38.2;
Allwinner NAND Flash Controller driver. Work in progress.


# 1.37 23-Oct-2017 jmcneill

Change SUNXI_MMC_DEBUG to a bitmask, allowing for isolation of specific
device units. Useful for debugging sdio without seeing debug spam from the
SD card.


# 1.36 20-Oct-2017 jmcneill

Add driver for sun4i/sun7i 10/100 Fast Ethernet controller (EMAC).


# 1.35 11-Oct-2017 jmcneill

Add H5 (sun50i) support.


# 1.34 09-Oct-2017 jmcneill

Add driver for sun4i SRAM controller.


# 1.33 09-Oct-2017 jmcneill

sunxits needs sysmon_envsys


# 1.32 08-Oct-2017 jmcneill

Add Allwinner A80 (sun9i) support.


# 1.31 07-Oct-2017 jmcneill

Add A31 audio codec support.


# 1.30 07-Oct-2017 jmcneill

Add A10/A20 SATA support


# 1.29 07-Oct-2017 jmcneill

Add support for sun6i/sun7i ethernet


# 1.28 06-Oct-2017 jmcneill

Add sun4i (A10) and sun7i (A20) GPIO support.


# 1.27 06-Oct-2017 jmcneill

Add driver for sun4i (A10) and sun7i (A20) clock controller.


# 1.26 05-Oct-2017 jmcneill

Add driver for thermal sensor controller found in Allwinner H3, A64, and
A83T SoCs.


# 1.25 03-Oct-2017 jmcneill

Add a simple Security ID EFUSE driver.


# 1.24 30-Sep-2017 jmcneill

Add support for Allwinner H3 PRCM clock controller.


# 1.23 09-Sep-2017 jmcneill

Add support for USB OTG controllers in "host" mode.


# 1.22 07-Sep-2017 jmcneill

Add support for Allwinner A64 SoCs.


# 1.21 27-Aug-2017 jmcneill

branches: 1.21.2;
Remove the sunxi_debe driver in favour of the more generic simplefb.


# 1.20 27-Aug-2017 jmcneill

Add sun4i DMA and audio codec support.


# 1.19 27-Aug-2017 jmcneill

Add sun5i touchscreen driver.


# 1.18 26-Aug-2017 jmcneill

Add a basic sun5i FB driver. This assumes that firmware (U-Boot) has
already setup the chip and re-uses the same settings / FB memory.


Revision tags: nick-nhusb-base-20170825
# 1.17 25-Aug-2017 jmcneill

Add initial support for Allwinner A13 and R8 SoCs.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.2; 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.68 24-Mar-2020 tnn

ohci@fdt, ehci@fdt are machine independent; move from sunxi to sys/dev/fdt


Revision tags: ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base
# 1.67 09-Dec-2019 riastradh

Draft driver for Allwinner Crypto Engine.

Found on, e.g., the Pinebook.

Only used for TRNG at the moment, but hooking it up to opencrypto(9)
shouldn't be too hard if anyone still cares about that these days.

The distribution of the alleged TRNG is very nonuniform distributed
seems to alternate between toward runs with exceptionally high
fractions of 0 bits and runs with exceptionally high fractions of 1
bits -- initially all my samples were mostly 0's, and then all my
samples were mostly 1's, and now I'm seeing more oscillation between
these runs.

So I've wired it up as RND_TYPE_UNKNOWN, not RND_TYPE_RNG (it will
immediately flunk our rngtest and be disabled), and I estimated it to
provide at most one bit of entropy per byte of data -- which may
still be optimistic. I also added a sysctl node hw.sun8icryptoN.rng
to read out 1024-byte samples for analysis, and I left the driver
commented out in GENERIC64 for now.

(If anyone has contacts at Allwinner who can tell us about how the
alleged TRNG is supposed to work, please let me know!)


Revision tags: phil-wifi-20191119
# 1.66 03-Aug-2019 tnn

sun4i_spi: spi(4) driver for Allwinner A10/A20 platform


Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base
# 1.65 14-Jun-2019 tnn

sunxihstimer: add support for Allwinner High-Speed Timer


Revision tags: phil-wifi-20190609
# 1.64 28-May-2019 jmcneill

Add A80 USB support.


# 1.63 27-May-2019 jmcneill

Add apb0 and cpus clock drivers for A80


# 1.62 08-May-2019 isaki

Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base
# 1.61 30-Jan-2019 jmcneill

branches: 1.61.2;
Add support for Allwinner A64's display pipeline.


Revision tags: pgoyette-compat-20190127
# 1.60 22-Jan-2019 jmcneill

Add drivers for DE2 bus and clock controllers.


Revision tags: pgoyette-compat-20190118
# 1.59 03-Jan-2019 jmcneill

Add Allwinner A80 SMP support.


# 1.58 03-Jan-2019 jmcneill

Add Allwinner A83T SMP support.


Revision tags: pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625
# 1.57 01-Jun-2018 jmcneill

branches: 1.57.2;
Move simplefb declaration to files.fdt


# 1.56 27-May-2018 jmcneill

Rename sunxi_com to dw_apb_uart and move it to dev/fdt since it is not
sunxi-specific.


Revision tags: pgoyette-compat-0521
# 1.55 10-May-2018 jmcneill

Add support for Allwinner A64 audio codec.


# 1.54 06-May-2018 jmcneill

Add driver for Allwinner PWM controller.


# 1.53 05-May-2018 jmcneill

Add driver for Allwinner A64 PRCM CCU


# 1.52 02-May-2018 jmcneill

Add driver for Allwinner NMI / R_INTC interrupt controller.


# 1.51 02-May-2018 jmcneill

Add driver for Allwinner H6 PRCM CCU.


Revision tags: pgoyette-compat-0502
# 1.50 01-May-2018 jmcneill

Add driver for Allwinner USB3 PHY.


# 1.49 01-May-2018 jmcneill

Add support for Allwinner H6 CCU.


Revision tags: pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407
# 1.48 03-Apr-2018 bouyer

work in progress on porting graphics drivers from arm/allwinner to fdt.
sunxidebe: display backend drivers
sunxitcon: lcd controller driver
sunxihdmi: hdmi controller driver
sunxidep: display engine pipeline driver. Its role is only to parse the
fdt display-engine node, and activate de backend drivers based on the
content of allwinner,pipelines

So far HDMI and lvds output works, in dual-framebuffer mode.
It has only been tested on A20. It should be OK on the A10 too, but
will likely need more work for other SoCs.
Console is not handled yet, and it conflicts with the simplefb driver if
it has been activated by u-boot.


# 1.47 01-Apr-2018 bouyer

Add a round_rate() callback for the sunxi clock domain.
Add a sunxi_ccu_display.c file with helpers for setting up display engine
clocks.
for fractional clocks, rename frac_en to div_en, I got the logic inverted.
Adjust tcon0-ch0, tcon0-ch1, tcon1-ch0 and tcon1-ch1 definitions to
automatically select a parent. tcon0 hardcoded to pll3 and tcon1 to pll7.
Define a round_rate() callback for these clocks, as well as fractional clocks.
Hardcode debe clocks parent to pll5.


# 1.46 01-Apr-2018 ryo

Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)


Revision tags: pgoyette-compat-0330 pgoyette-compat-0322
# 1.45 19-Mar-2018 bouyer

Add some more A10/A20 clocks definitions; related to display engines.
The video PLLs requires a new clock type, SUNXI_CCU_FRACTIONAL


# 1.44 17-Mar-2018 ryo

move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c,
and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag

no functional change. (preliminary changes for merging aarch64)


Revision tags: pgoyette-compat-0315
# 1.43 07-Mar-2018 bouyer

fdt-ise the allwinner can and lradc drivers.


Revision tags: pgoyette-compat-base
# 1.42 18-Feb-2018 jmcneill

branches: 1.42.2;
Add support for Allwinner H6 CPUX and CPUS port controllers.


# 1.41 14-Feb-2018 jakllsch

Adjust Allwinner emac(4) drivers to be compatible with root on NFS.


# 1.40 14-Feb-2018 jakllsch

Adjust comment; sun4i_emac is also used on sun5i.


# 1.39 31-Jan-2018 jakllsch

Add sun6i SPI driver.

Currently PIO-only.


Revision tags: tls-maxphys-base-20171202
# 1.38 10-Nov-2017 jmcneill

branches: 1.38.2;
Allwinner NAND Flash Controller driver. Work in progress.


# 1.37 23-Oct-2017 jmcneill

Change SUNXI_MMC_DEBUG to a bitmask, allowing for isolation of specific
device units. Useful for debugging sdio without seeing debug spam from the
SD card.


# 1.36 20-Oct-2017 jmcneill

Add driver for sun4i/sun7i 10/100 Fast Ethernet controller (EMAC).


# 1.35 11-Oct-2017 jmcneill

Add H5 (sun50i) support.


# 1.34 09-Oct-2017 jmcneill

Add driver for sun4i SRAM controller.


# 1.33 09-Oct-2017 jmcneill

sunxits needs sysmon_envsys


# 1.32 08-Oct-2017 jmcneill

Add Allwinner A80 (sun9i) support.


# 1.31 07-Oct-2017 jmcneill

Add A31 audio codec support.


# 1.30 07-Oct-2017 jmcneill

Add A10/A20 SATA support


# 1.29 07-Oct-2017 jmcneill

Add support for sun6i/sun7i ethernet


# 1.28 06-Oct-2017 jmcneill

Add sun4i (A10) and sun7i (A20) GPIO support.


# 1.27 06-Oct-2017 jmcneill

Add driver for sun4i (A10) and sun7i (A20) clock controller.


# 1.26 05-Oct-2017 jmcneill

Add driver for thermal sensor controller found in Allwinner H3, A64, and
A83T SoCs.


# 1.25 03-Oct-2017 jmcneill

Add a simple Security ID EFUSE driver.


# 1.24 30-Sep-2017 jmcneill

Add support for Allwinner H3 PRCM clock controller.


# 1.23 09-Sep-2017 jmcneill

Add support for USB OTG controllers in "host" mode.


# 1.22 07-Sep-2017 jmcneill

Add support for Allwinner A64 SoCs.


# 1.21 27-Aug-2017 jmcneill

branches: 1.21.2;
Remove the sunxi_debe driver in favour of the more generic simplefb.


# 1.20 27-Aug-2017 jmcneill

Add sun4i DMA and audio codec support.


# 1.19 27-Aug-2017 jmcneill

Add sun5i touchscreen driver.


# 1.18 26-Aug-2017 jmcneill

Add a basic sun5i FB driver. This assumes that firmware (U-Boot) has
already setup the chip and re-uses the same settings / FB memory.


Revision tags: nick-nhusb-base-20170825
# 1.17 25-Aug-2017 jmcneill

Add initial support for Allwinner A13 and R8 SoCs.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.2; 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.67 09-Dec-2019 riastradh

Draft driver for Allwinner Crypto Engine.

Found on, e.g., the Pinebook.

Only used for TRNG at the moment, but hooking it up to opencrypto(9)
shouldn't be too hard if anyone still cares about that these days.

The distribution of the alleged TRNG is very nonuniform distributed
seems to alternate between toward runs with exceptionally high
fractions of 0 bits and runs with exceptionally high fractions of 1
bits -- initially all my samples were mostly 0's, and then all my
samples were mostly 1's, and now I'm seeing more oscillation between
these runs.

So I've wired it up as RND_TYPE_UNKNOWN, not RND_TYPE_RNG (it will
immediately flunk our rngtest and be disabled), and I estimated it to
provide at most one bit of entropy per byte of data -- which may
still be optimistic. I also added a sysctl node hw.sun8icryptoN.rng
to read out 1024-byte samples for analysis, and I left the driver
commented out in GENERIC64 for now.

(If anyone has contacts at Allwinner who can tell us about how the
alleged TRNG is supposed to work, please let me know!)


Revision tags: phil-wifi-20191119
# 1.66 03-Aug-2019 tnn

sun4i_spi: spi(4) driver for Allwinner A10/A20 platform


Revision tags: netbsd-9-0-RC1 netbsd-9-base
# 1.65 14-Jun-2019 tnn

sunxihstimer: add support for Allwinner High-Speed Timer


Revision tags: phil-wifi-20190609
# 1.64 28-May-2019 jmcneill

Add A80 USB support.


# 1.63 27-May-2019 jmcneill

Add apb0 and cpus clock drivers for A80


# 1.62 08-May-2019 isaki

Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base
# 1.61 30-Jan-2019 jmcneill

branches: 1.61.2;
Add support for Allwinner A64's display pipeline.


Revision tags: pgoyette-compat-20190127
# 1.60 22-Jan-2019 jmcneill

Add drivers for DE2 bus and clock controllers.


Revision tags: pgoyette-compat-20190118
# 1.59 03-Jan-2019 jmcneill

Add Allwinner A80 SMP support.


# 1.58 03-Jan-2019 jmcneill

Add Allwinner A83T SMP support.


Revision tags: pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625
# 1.57 01-Jun-2018 jmcneill

branches: 1.57.2;
Move simplefb declaration to files.fdt


# 1.56 27-May-2018 jmcneill

Rename sunxi_com to dw_apb_uart and move it to dev/fdt since it is not
sunxi-specific.


Revision tags: pgoyette-compat-0521
# 1.55 10-May-2018 jmcneill

Add support for Allwinner A64 audio codec.


# 1.54 06-May-2018 jmcneill

Add driver for Allwinner PWM controller.


# 1.53 05-May-2018 jmcneill

Add driver for Allwinner A64 PRCM CCU


# 1.52 02-May-2018 jmcneill

Add driver for Allwinner NMI / R_INTC interrupt controller.


# 1.51 02-May-2018 jmcneill

Add driver for Allwinner H6 PRCM CCU.


Revision tags: pgoyette-compat-0502
# 1.50 01-May-2018 jmcneill

Add driver for Allwinner USB3 PHY.


# 1.49 01-May-2018 jmcneill

Add support for Allwinner H6 CCU.


Revision tags: pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407
# 1.48 03-Apr-2018 bouyer

work in progress on porting graphics drivers from arm/allwinner to fdt.
sunxidebe: display backend drivers
sunxitcon: lcd controller driver
sunxihdmi: hdmi controller driver
sunxidep: display engine pipeline driver. Its role is only to parse the
fdt display-engine node, and activate de backend drivers based on the
content of allwinner,pipelines

So far HDMI and lvds output works, in dual-framebuffer mode.
It has only been tested on A20. It should be OK on the A10 too, but
will likely need more work for other SoCs.
Console is not handled yet, and it conflicts with the simplefb driver if
it has been activated by u-boot.


# 1.47 01-Apr-2018 bouyer

Add a round_rate() callback for the sunxi clock domain.
Add a sunxi_ccu_display.c file with helpers for setting up display engine
clocks.
for fractional clocks, rename frac_en to div_en, I got the logic inverted.
Adjust tcon0-ch0, tcon0-ch1, tcon1-ch0 and tcon1-ch1 definitions to
automatically select a parent. tcon0 hardcoded to pll3 and tcon1 to pll7.
Define a round_rate() callback for these clocks, as well as fractional clocks.
Hardcode debe clocks parent to pll5.


# 1.46 01-Apr-2018 ryo

Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)


Revision tags: pgoyette-compat-0330 pgoyette-compat-0322
# 1.45 19-Mar-2018 bouyer

Add some more A10/A20 clocks definitions; related to display engines.
The video PLLs requires a new clock type, SUNXI_CCU_FRACTIONAL


# 1.44 17-Mar-2018 ryo

move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c,
and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag

no functional change. (preliminary changes for merging aarch64)


Revision tags: pgoyette-compat-0315
# 1.43 07-Mar-2018 bouyer

fdt-ise the allwinner can and lradc drivers.


Revision tags: pgoyette-compat-base
# 1.42 18-Feb-2018 jmcneill

branches: 1.42.2;
Add support for Allwinner H6 CPUX and CPUS port controllers.


# 1.41 14-Feb-2018 jakllsch

Adjust Allwinner emac(4) drivers to be compatible with root on NFS.


# 1.40 14-Feb-2018 jakllsch

Adjust comment; sun4i_emac is also used on sun5i.


# 1.39 31-Jan-2018 jakllsch

Add sun6i SPI driver.

Currently PIO-only.


Revision tags: tls-maxphys-base-20171202
# 1.38 10-Nov-2017 jmcneill

branches: 1.38.2;
Allwinner NAND Flash Controller driver. Work in progress.


# 1.37 23-Oct-2017 jmcneill

Change SUNXI_MMC_DEBUG to a bitmask, allowing for isolation of specific
device units. Useful for debugging sdio without seeing debug spam from the
SD card.


# 1.36 20-Oct-2017 jmcneill

Add driver for sun4i/sun7i 10/100 Fast Ethernet controller (EMAC).


# 1.35 11-Oct-2017 jmcneill

Add H5 (sun50i) support.


# 1.34 09-Oct-2017 jmcneill

Add driver for sun4i SRAM controller.


# 1.33 09-Oct-2017 jmcneill

sunxits needs sysmon_envsys


# 1.32 08-Oct-2017 jmcneill

Add Allwinner A80 (sun9i) support.


# 1.31 07-Oct-2017 jmcneill

Add A31 audio codec support.


# 1.30 07-Oct-2017 jmcneill

Add A10/A20 SATA support


# 1.29 07-Oct-2017 jmcneill

Add support for sun6i/sun7i ethernet


# 1.28 06-Oct-2017 jmcneill

Add sun4i (A10) and sun7i (A20) GPIO support.


# 1.27 06-Oct-2017 jmcneill

Add driver for sun4i (A10) and sun7i (A20) clock controller.


# 1.26 05-Oct-2017 jmcneill

Add driver for thermal sensor controller found in Allwinner H3, A64, and
A83T SoCs.


# 1.25 03-Oct-2017 jmcneill

Add a simple Security ID EFUSE driver.


# 1.24 30-Sep-2017 jmcneill

Add support for Allwinner H3 PRCM clock controller.


# 1.23 09-Sep-2017 jmcneill

Add support for USB OTG controllers in "host" mode.


# 1.22 07-Sep-2017 jmcneill

Add support for Allwinner A64 SoCs.


# 1.21 27-Aug-2017 jmcneill

branches: 1.21.2;
Remove the sunxi_debe driver in favour of the more generic simplefb.


# 1.20 27-Aug-2017 jmcneill

Add sun4i DMA and audio codec support.


# 1.19 27-Aug-2017 jmcneill

Add sun5i touchscreen driver.


# 1.18 26-Aug-2017 jmcneill

Add a basic sun5i FB driver. This assumes that firmware (U-Boot) has
already setup the chip and re-uses the same settings / FB memory.


Revision tags: nick-nhusb-base-20170825
# 1.17 25-Aug-2017 jmcneill

Add initial support for Allwinner A13 and R8 SoCs.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.2; 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.66 03-Aug-2019 tnn

sun4i_spi: spi(4) driver for Allwinner A10/A20 platform


Revision tags: netbsd-9-base
# 1.65 14-Jun-2019 tnn

sunxihstimer: add support for Allwinner High-Speed Timer


Revision tags: phil-wifi-20190609
# 1.64 28-May-2019 jmcneill

Add A80 USB support.


# 1.63 27-May-2019 jmcneill

Add apb0 and cpus clock drivers for A80


# 1.62 08-May-2019 isaki

Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base
# 1.61 30-Jan-2019 jmcneill

branches: 1.61.2;
Add support for Allwinner A64's display pipeline.


Revision tags: pgoyette-compat-20190127
# 1.60 22-Jan-2019 jmcneill

Add drivers for DE2 bus and clock controllers.


Revision tags: pgoyette-compat-20190118
# 1.59 03-Jan-2019 jmcneill

Add Allwinner A80 SMP support.


# 1.58 03-Jan-2019 jmcneill

Add Allwinner A83T SMP support.


Revision tags: pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625
# 1.57 01-Jun-2018 jmcneill

branches: 1.57.2;
Move simplefb declaration to files.fdt


# 1.56 27-May-2018 jmcneill

Rename sunxi_com to dw_apb_uart and move it to dev/fdt since it is not
sunxi-specific.


Revision tags: pgoyette-compat-0521
# 1.55 10-May-2018 jmcneill

Add support for Allwinner A64 audio codec.


# 1.54 06-May-2018 jmcneill

Add driver for Allwinner PWM controller.


# 1.53 05-May-2018 jmcneill

Add driver for Allwinner A64 PRCM CCU


# 1.52 02-May-2018 jmcneill

Add driver for Allwinner NMI / R_INTC interrupt controller.


# 1.51 02-May-2018 jmcneill

Add driver for Allwinner H6 PRCM CCU.


Revision tags: pgoyette-compat-0502
# 1.50 01-May-2018 jmcneill

Add driver for Allwinner USB3 PHY.


# 1.49 01-May-2018 jmcneill

Add support for Allwinner H6 CCU.


Revision tags: pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407
# 1.48 03-Apr-2018 bouyer

work in progress on porting graphics drivers from arm/allwinner to fdt.
sunxidebe: display backend drivers
sunxitcon: lcd controller driver
sunxihdmi: hdmi controller driver
sunxidep: display engine pipeline driver. Its role is only to parse the
fdt display-engine node, and activate de backend drivers based on the
content of allwinner,pipelines

So far HDMI and lvds output works, in dual-framebuffer mode.
It has only been tested on A20. It should be OK on the A10 too, but
will likely need more work for other SoCs.
Console is not handled yet, and it conflicts with the simplefb driver if
it has been activated by u-boot.


# 1.47 01-Apr-2018 bouyer

Add a round_rate() callback for the sunxi clock domain.
Add a sunxi_ccu_display.c file with helpers for setting up display engine
clocks.
for fractional clocks, rename frac_en to div_en, I got the logic inverted.
Adjust tcon0-ch0, tcon0-ch1, tcon1-ch0 and tcon1-ch1 definitions to
automatically select a parent. tcon0 hardcoded to pll3 and tcon1 to pll7.
Define a round_rate() callback for these clocks, as well as fractional clocks.
Hardcode debe clocks parent to pll5.


# 1.46 01-Apr-2018 ryo

Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)


Revision tags: pgoyette-compat-0330 pgoyette-compat-0322
# 1.45 19-Mar-2018 bouyer

Add some more A10/A20 clocks definitions; related to display engines.
The video PLLs requires a new clock type, SUNXI_CCU_FRACTIONAL


# 1.44 17-Mar-2018 ryo

move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c,
and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag

no functional change. (preliminary changes for merging aarch64)


Revision tags: pgoyette-compat-0315
# 1.43 07-Mar-2018 bouyer

fdt-ise the allwinner can and lradc drivers.


Revision tags: pgoyette-compat-base
# 1.42 18-Feb-2018 jmcneill

branches: 1.42.2;
Add support for Allwinner H6 CPUX and CPUS port controllers.


# 1.41 14-Feb-2018 jakllsch

Adjust Allwinner emac(4) drivers to be compatible with root on NFS.


# 1.40 14-Feb-2018 jakllsch

Adjust comment; sun4i_emac is also used on sun5i.


# 1.39 31-Jan-2018 jakllsch

Add sun6i SPI driver.

Currently PIO-only.


Revision tags: tls-maxphys-base-20171202
# 1.38 10-Nov-2017 jmcneill

branches: 1.38.2;
Allwinner NAND Flash Controller driver. Work in progress.


# 1.37 23-Oct-2017 jmcneill

Change SUNXI_MMC_DEBUG to a bitmask, allowing for isolation of specific
device units. Useful for debugging sdio without seeing debug spam from the
SD card.


# 1.36 20-Oct-2017 jmcneill

Add driver for sun4i/sun7i 10/100 Fast Ethernet controller (EMAC).


# 1.35 11-Oct-2017 jmcneill

Add H5 (sun50i) support.


# 1.34 09-Oct-2017 jmcneill

Add driver for sun4i SRAM controller.


# 1.33 09-Oct-2017 jmcneill

sunxits needs sysmon_envsys


# 1.32 08-Oct-2017 jmcneill

Add Allwinner A80 (sun9i) support.


# 1.31 07-Oct-2017 jmcneill

Add A31 audio codec support.


# 1.30 07-Oct-2017 jmcneill

Add A10/A20 SATA support


# 1.29 07-Oct-2017 jmcneill

Add support for sun6i/sun7i ethernet


# 1.28 06-Oct-2017 jmcneill

Add sun4i (A10) and sun7i (A20) GPIO support.


# 1.27 06-Oct-2017 jmcneill

Add driver for sun4i (A10) and sun7i (A20) clock controller.


# 1.26 05-Oct-2017 jmcneill

Add driver for thermal sensor controller found in Allwinner H3, A64, and
A83T SoCs.


# 1.25 03-Oct-2017 jmcneill

Add a simple Security ID EFUSE driver.


# 1.24 30-Sep-2017 jmcneill

Add support for Allwinner H3 PRCM clock controller.


# 1.23 09-Sep-2017 jmcneill

Add support for USB OTG controllers in "host" mode.


# 1.22 07-Sep-2017 jmcneill

Add support for Allwinner A64 SoCs.


# 1.21 27-Aug-2017 jmcneill

branches: 1.21.2;
Remove the sunxi_debe driver in favour of the more generic simplefb.


# 1.20 27-Aug-2017 jmcneill

Add sun4i DMA and audio codec support.


# 1.19 27-Aug-2017 jmcneill

Add sun5i touchscreen driver.


# 1.18 26-Aug-2017 jmcneill

Add a basic sun5i FB driver. This assumes that firmware (U-Boot) has
already setup the chip and re-uses the same settings / FB memory.


Revision tags: nick-nhusb-base-20170825
# 1.17 25-Aug-2017 jmcneill

Add initial support for Allwinner A13 and R8 SoCs.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.2; 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.65 14-Jun-2019 tnn

sunxihstimer: add support for Allwinner High-Speed Timer


Revision tags: phil-wifi-20190609
# 1.64 28-May-2019 jmcneill

Add A80 USB support.


# 1.63 27-May-2019 jmcneill

Add apb0 and cpus clock drivers for A80


# 1.62 08-May-2019 isaki

Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base
# 1.61 30-Jan-2019 jmcneill

branches: 1.61.2;
Add support for Allwinner A64's display pipeline.


Revision tags: pgoyette-compat-20190127
# 1.60 22-Jan-2019 jmcneill

Add drivers for DE2 bus and clock controllers.


Revision tags: pgoyette-compat-20190118
# 1.59 03-Jan-2019 jmcneill

Add Allwinner A80 SMP support.


# 1.58 03-Jan-2019 jmcneill

Add Allwinner A83T SMP support.


Revision tags: pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625
# 1.57 01-Jun-2018 jmcneill

branches: 1.57.2;
Move simplefb declaration to files.fdt


# 1.56 27-May-2018 jmcneill

Rename sunxi_com to dw_apb_uart and move it to dev/fdt since it is not
sunxi-specific.


Revision tags: pgoyette-compat-0521
# 1.55 10-May-2018 jmcneill

Add support for Allwinner A64 audio codec.


# 1.54 06-May-2018 jmcneill

Add driver for Allwinner PWM controller.


# 1.53 05-May-2018 jmcneill

Add driver for Allwinner A64 PRCM CCU


# 1.52 02-May-2018 jmcneill

Add driver for Allwinner NMI / R_INTC interrupt controller.


# 1.51 02-May-2018 jmcneill

Add driver for Allwinner H6 PRCM CCU.


Revision tags: pgoyette-compat-0502
# 1.50 01-May-2018 jmcneill

Add driver for Allwinner USB3 PHY.


# 1.49 01-May-2018 jmcneill

Add support for Allwinner H6 CCU.


Revision tags: pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407
# 1.48 03-Apr-2018 bouyer

work in progress on porting graphics drivers from arm/allwinner to fdt.
sunxidebe: display backend drivers
sunxitcon: lcd controller driver
sunxihdmi: hdmi controller driver
sunxidep: display engine pipeline driver. Its role is only to parse the
fdt display-engine node, and activate de backend drivers based on the
content of allwinner,pipelines

So far HDMI and lvds output works, in dual-framebuffer mode.
It has only been tested on A20. It should be OK on the A10 too, but
will likely need more work for other SoCs.
Console is not handled yet, and it conflicts with the simplefb driver if
it has been activated by u-boot.


# 1.47 01-Apr-2018 bouyer

Add a round_rate() callback for the sunxi clock domain.
Add a sunxi_ccu_display.c file with helpers for setting up display engine
clocks.
for fractional clocks, rename frac_en to div_en, I got the logic inverted.
Adjust tcon0-ch0, tcon0-ch1, tcon1-ch0 and tcon1-ch1 definitions to
automatically select a parent. tcon0 hardcoded to pll3 and tcon1 to pll7.
Define a round_rate() callback for these clocks, as well as fractional clocks.
Hardcode debe clocks parent to pll5.


# 1.46 01-Apr-2018 ryo

Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)


Revision tags: pgoyette-compat-0330 pgoyette-compat-0322
# 1.45 19-Mar-2018 bouyer

Add some more A10/A20 clocks definitions; related to display engines.
The video PLLs requires a new clock type, SUNXI_CCU_FRACTIONAL


# 1.44 17-Mar-2018 ryo

move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c,
and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag

no functional change. (preliminary changes for merging aarch64)


Revision tags: pgoyette-compat-0315
# 1.43 07-Mar-2018 bouyer

fdt-ise the allwinner can and lradc drivers.


Revision tags: pgoyette-compat-base
# 1.42 18-Feb-2018 jmcneill

branches: 1.42.2;
Add support for Allwinner H6 CPUX and CPUS port controllers.


# 1.41 14-Feb-2018 jakllsch

Adjust Allwinner emac(4) drivers to be compatible with root on NFS.


# 1.40 14-Feb-2018 jakllsch

Adjust comment; sun4i_emac is also used on sun5i.


# 1.39 31-Jan-2018 jakllsch

Add sun6i SPI driver.

Currently PIO-only.


Revision tags: tls-maxphys-base-20171202
# 1.38 10-Nov-2017 jmcneill

branches: 1.38.2;
Allwinner NAND Flash Controller driver. Work in progress.


# 1.37 23-Oct-2017 jmcneill

Change SUNXI_MMC_DEBUG to a bitmask, allowing for isolation of specific
device units. Useful for debugging sdio without seeing debug spam from the
SD card.


# 1.36 20-Oct-2017 jmcneill

Add driver for sun4i/sun7i 10/100 Fast Ethernet controller (EMAC).


# 1.35 11-Oct-2017 jmcneill

Add H5 (sun50i) support.


# 1.34 09-Oct-2017 jmcneill

Add driver for sun4i SRAM controller.


# 1.33 09-Oct-2017 jmcneill

sunxits needs sysmon_envsys


# 1.32 08-Oct-2017 jmcneill

Add Allwinner A80 (sun9i) support.


# 1.31 07-Oct-2017 jmcneill

Add A31 audio codec support.


# 1.30 07-Oct-2017 jmcneill

Add A10/A20 SATA support


# 1.29 07-Oct-2017 jmcneill

Add support for sun6i/sun7i ethernet


# 1.28 06-Oct-2017 jmcneill

Add sun4i (A10) and sun7i (A20) GPIO support.


# 1.27 06-Oct-2017 jmcneill

Add driver for sun4i (A10) and sun7i (A20) clock controller.


# 1.26 05-Oct-2017 jmcneill

Add driver for thermal sensor controller found in Allwinner H3, A64, and
A83T SoCs.


# 1.25 03-Oct-2017 jmcneill

Add a simple Security ID EFUSE driver.


# 1.24 30-Sep-2017 jmcneill

Add support for Allwinner H3 PRCM clock controller.


# 1.23 09-Sep-2017 jmcneill

Add support for USB OTG controllers in "host" mode.


# 1.22 07-Sep-2017 jmcneill

Add support for Allwinner A64 SoCs.


# 1.21 27-Aug-2017 jmcneill

branches: 1.21.2;
Remove the sunxi_debe driver in favour of the more generic simplefb.


# 1.20 27-Aug-2017 jmcneill

Add sun4i DMA and audio codec support.


# 1.19 27-Aug-2017 jmcneill

Add sun5i touchscreen driver.


# 1.18 26-Aug-2017 jmcneill

Add a basic sun5i FB driver. This assumes that firmware (U-Boot) has
already setup the chip and re-uses the same settings / FB memory.


Revision tags: nick-nhusb-base-20170825
# 1.17 25-Aug-2017 jmcneill

Add initial support for Allwinner A13 and R8 SoCs.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.2; 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.64 28-May-2019 jmcneill

Add A80 USB support.


# 1.63 27-May-2019 jmcneill

Add apb0 and cpus clock drivers for A80


# 1.62 08-May-2019 isaki

Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base
# 1.61 30-Jan-2019 jmcneill

branches: 1.61.2;
Add support for Allwinner A64's display pipeline.


Revision tags: pgoyette-compat-20190127
# 1.60 22-Jan-2019 jmcneill

Add drivers for DE2 bus and clock controllers.


Revision tags: pgoyette-compat-20190118
# 1.59 03-Jan-2019 jmcneill

Add Allwinner A80 SMP support.


# 1.58 03-Jan-2019 jmcneill

Add Allwinner A83T SMP support.


Revision tags: pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625
# 1.57 01-Jun-2018 jmcneill

Move simplefb declaration to files.fdt


# 1.56 27-May-2018 jmcneill

Rename sunxi_com to dw_apb_uart and move it to dev/fdt since it is not
sunxi-specific.


Revision tags: pgoyette-compat-0521
# 1.55 10-May-2018 jmcneill

Add support for Allwinner A64 audio codec.


# 1.54 06-May-2018 jmcneill

Add driver for Allwinner PWM controller.


# 1.53 05-May-2018 jmcneill

Add driver for Allwinner A64 PRCM CCU


# 1.52 02-May-2018 jmcneill

Add driver for Allwinner NMI / R_INTC interrupt controller.


# 1.51 02-May-2018 jmcneill

Add driver for Allwinner H6 PRCM CCU.


Revision tags: pgoyette-compat-0502
# 1.50 01-May-2018 jmcneill

Add driver for Allwinner USB3 PHY.


# 1.49 01-May-2018 jmcneill

Add support for Allwinner H6 CCU.


Revision tags: pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407
# 1.48 03-Apr-2018 bouyer

work in progress on porting graphics drivers from arm/allwinner to fdt.
sunxidebe: display backend drivers
sunxitcon: lcd controller driver
sunxihdmi: hdmi controller driver
sunxidep: display engine pipeline driver. Its role is only to parse the
fdt display-engine node, and activate de backend drivers based on the
content of allwinner,pipelines

So far HDMI and lvds output works, in dual-framebuffer mode.
It has only been tested on A20. It should be OK on the A10 too, but
will likely need more work for other SoCs.
Console is not handled yet, and it conflicts with the simplefb driver if
it has been activated by u-boot.


# 1.47 01-Apr-2018 bouyer

Add a round_rate() callback for the sunxi clock domain.
Add a sunxi_ccu_display.c file with helpers for setting up display engine
clocks.
for fractional clocks, rename frac_en to div_en, I got the logic inverted.
Adjust tcon0-ch0, tcon0-ch1, tcon1-ch0 and tcon1-ch1 definitions to
automatically select a parent. tcon0 hardcoded to pll3 and tcon1 to pll7.
Define a round_rate() callback for these clocks, as well as fractional clocks.
Hardcode debe clocks parent to pll5.


# 1.46 01-Apr-2018 ryo

Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)


Revision tags: pgoyette-compat-0330 pgoyette-compat-0322
# 1.45 19-Mar-2018 bouyer

Add some more A10/A20 clocks definitions; related to display engines.
The video PLLs requires a new clock type, SUNXI_CCU_FRACTIONAL


# 1.44 17-Mar-2018 ryo

move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c,
and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag

no functional change. (preliminary changes for merging aarch64)


Revision tags: pgoyette-compat-0315
# 1.43 07-Mar-2018 bouyer

fdt-ise the allwinner can and lradc drivers.


Revision tags: pgoyette-compat-base
# 1.42 18-Feb-2018 jmcneill

branches: 1.42.2;
Add support for Allwinner H6 CPUX and CPUS port controllers.


# 1.41 14-Feb-2018 jakllsch

Adjust Allwinner emac(4) drivers to be compatible with root on NFS.


# 1.40 14-Feb-2018 jakllsch

Adjust comment; sun4i_emac is also used on sun5i.


# 1.39 31-Jan-2018 jakllsch

Add sun6i SPI driver.

Currently PIO-only.


Revision tags: tls-maxphys-base-20171202
# 1.38 10-Nov-2017 jmcneill

branches: 1.38.2;
Allwinner NAND Flash Controller driver. Work in progress.


# 1.37 23-Oct-2017 jmcneill

Change SUNXI_MMC_DEBUG to a bitmask, allowing for isolation of specific
device units. Useful for debugging sdio without seeing debug spam from the
SD card.


# 1.36 20-Oct-2017 jmcneill

Add driver for sun4i/sun7i 10/100 Fast Ethernet controller (EMAC).


# 1.35 11-Oct-2017 jmcneill

Add H5 (sun50i) support.


# 1.34 09-Oct-2017 jmcneill

Add driver for sun4i SRAM controller.


# 1.33 09-Oct-2017 jmcneill

sunxits needs sysmon_envsys


# 1.32 08-Oct-2017 jmcneill

Add Allwinner A80 (sun9i) support.


# 1.31 07-Oct-2017 jmcneill

Add A31 audio codec support.


# 1.30 07-Oct-2017 jmcneill

Add A10/A20 SATA support


# 1.29 07-Oct-2017 jmcneill

Add support for sun6i/sun7i ethernet


# 1.28 06-Oct-2017 jmcneill

Add sun4i (A10) and sun7i (A20) GPIO support.


# 1.27 06-Oct-2017 jmcneill

Add driver for sun4i (A10) and sun7i (A20) clock controller.


# 1.26 05-Oct-2017 jmcneill

Add driver for thermal sensor controller found in Allwinner H3, A64, and
A83T SoCs.


# 1.25 03-Oct-2017 jmcneill

Add a simple Security ID EFUSE driver.


# 1.24 30-Sep-2017 jmcneill

Add support for Allwinner H3 PRCM clock controller.


# 1.23 09-Sep-2017 jmcneill

Add support for USB OTG controllers in "host" mode.


# 1.22 07-Sep-2017 jmcneill

Add support for Allwinner A64 SoCs.


# 1.21 27-Aug-2017 jmcneill

branches: 1.21.2;
Remove the sunxi_debe driver in favour of the more generic simplefb.


# 1.20 27-Aug-2017 jmcneill

Add sun4i DMA and audio codec support.


# 1.19 27-Aug-2017 jmcneill

Add sun5i touchscreen driver.


# 1.18 26-Aug-2017 jmcneill

Add a basic sun5i FB driver. This assumes that firmware (U-Boot) has
already setup the chip and re-uses the same settings / FB memory.


Revision tags: nick-nhusb-base-20170825
# 1.17 25-Aug-2017 jmcneill

Add initial support for Allwinner A13 and R8 SoCs.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.2; 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.63 27-May-2019 jmcneill

Add apb0 and cpus clock drivers for A80


# 1.62 08-May-2019 isaki

Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base
# 1.61 30-Jan-2019 jmcneill

branches: 1.61.2;
Add support for Allwinner A64's display pipeline.


Revision tags: pgoyette-compat-20190127
# 1.60 22-Jan-2019 jmcneill

Add drivers for DE2 bus and clock controllers.


Revision tags: pgoyette-compat-20190118
# 1.59 03-Jan-2019 jmcneill

Add Allwinner A80 SMP support.


# 1.58 03-Jan-2019 jmcneill

Add Allwinner A83T SMP support.


Revision tags: pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625
# 1.57 01-Jun-2018 jmcneill

Move simplefb declaration to files.fdt


# 1.56 27-May-2018 jmcneill

Rename sunxi_com to dw_apb_uart and move it to dev/fdt since it is not
sunxi-specific.


Revision tags: pgoyette-compat-0521
# 1.55 10-May-2018 jmcneill

Add support for Allwinner A64 audio codec.


# 1.54 06-May-2018 jmcneill

Add driver for Allwinner PWM controller.


# 1.53 05-May-2018 jmcneill

Add driver for Allwinner A64 PRCM CCU


# 1.52 02-May-2018 jmcneill

Add driver for Allwinner NMI / R_INTC interrupt controller.


# 1.51 02-May-2018 jmcneill

Add driver for Allwinner H6 PRCM CCU.


Revision tags: pgoyette-compat-0502
# 1.50 01-May-2018 jmcneill

Add driver for Allwinner USB3 PHY.


# 1.49 01-May-2018 jmcneill

Add support for Allwinner H6 CCU.


Revision tags: pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407
# 1.48 03-Apr-2018 bouyer

work in progress on porting graphics drivers from arm/allwinner to fdt.
sunxidebe: display backend drivers
sunxitcon: lcd controller driver
sunxihdmi: hdmi controller driver
sunxidep: display engine pipeline driver. Its role is only to parse the
fdt display-engine node, and activate de backend drivers based on the
content of allwinner,pipelines

So far HDMI and lvds output works, in dual-framebuffer mode.
It has only been tested on A20. It should be OK on the A10 too, but
will likely need more work for other SoCs.
Console is not handled yet, and it conflicts with the simplefb driver if
it has been activated by u-boot.


# 1.47 01-Apr-2018 bouyer

Add a round_rate() callback for the sunxi clock domain.
Add a sunxi_ccu_display.c file with helpers for setting up display engine
clocks.
for fractional clocks, rename frac_en to div_en, I got the logic inverted.
Adjust tcon0-ch0, tcon0-ch1, tcon1-ch0 and tcon1-ch1 definitions to
automatically select a parent. tcon0 hardcoded to pll3 and tcon1 to pll7.
Define a round_rate() callback for these clocks, as well as fractional clocks.
Hardcode debe clocks parent to pll5.


# 1.46 01-Apr-2018 ryo

Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)


Revision tags: pgoyette-compat-0330 pgoyette-compat-0322
# 1.45 19-Mar-2018 bouyer

Add some more A10/A20 clocks definitions; related to display engines.
The video PLLs requires a new clock type, SUNXI_CCU_FRACTIONAL


# 1.44 17-Mar-2018 ryo

move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c,
and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag

no functional change. (preliminary changes for merging aarch64)


Revision tags: pgoyette-compat-0315
# 1.43 07-Mar-2018 bouyer

fdt-ise the allwinner can and lradc drivers.


Revision tags: pgoyette-compat-base
# 1.42 18-Feb-2018 jmcneill

branches: 1.42.2;
Add support for Allwinner H6 CPUX and CPUS port controllers.


# 1.41 14-Feb-2018 jakllsch

Adjust Allwinner emac(4) drivers to be compatible with root on NFS.


# 1.40 14-Feb-2018 jakllsch

Adjust comment; sun4i_emac is also used on sun5i.


# 1.39 31-Jan-2018 jakllsch

Add sun6i SPI driver.

Currently PIO-only.


Revision tags: tls-maxphys-base-20171202
# 1.38 10-Nov-2017 jmcneill

branches: 1.38.2;
Allwinner NAND Flash Controller driver. Work in progress.


# 1.37 23-Oct-2017 jmcneill

Change SUNXI_MMC_DEBUG to a bitmask, allowing for isolation of specific
device units. Useful for debugging sdio without seeing debug spam from the
SD card.


# 1.36 20-Oct-2017 jmcneill

Add driver for sun4i/sun7i 10/100 Fast Ethernet controller (EMAC).


# 1.35 11-Oct-2017 jmcneill

Add H5 (sun50i) support.


# 1.34 09-Oct-2017 jmcneill

Add driver for sun4i SRAM controller.


# 1.33 09-Oct-2017 jmcneill

sunxits needs sysmon_envsys


# 1.32 08-Oct-2017 jmcneill

Add Allwinner A80 (sun9i) support.


# 1.31 07-Oct-2017 jmcneill

Add A31 audio codec support.


# 1.30 07-Oct-2017 jmcneill

Add A10/A20 SATA support


# 1.29 07-Oct-2017 jmcneill

Add support for sun6i/sun7i ethernet


# 1.28 06-Oct-2017 jmcneill

Add sun4i (A10) and sun7i (A20) GPIO support.


# 1.27 06-Oct-2017 jmcneill

Add driver for sun4i (A10) and sun7i (A20) clock controller.


# 1.26 05-Oct-2017 jmcneill

Add driver for thermal sensor controller found in Allwinner H3, A64, and
A83T SoCs.


# 1.25 03-Oct-2017 jmcneill

Add a simple Security ID EFUSE driver.


# 1.24 30-Sep-2017 jmcneill

Add support for Allwinner H3 PRCM clock controller.


# 1.23 09-Sep-2017 jmcneill

Add support for USB OTG controllers in "host" mode.


# 1.22 07-Sep-2017 jmcneill

Add support for Allwinner A64 SoCs.


# 1.21 27-Aug-2017 jmcneill

branches: 1.21.2;
Remove the sunxi_debe driver in favour of the more generic simplefb.


# 1.20 27-Aug-2017 jmcneill

Add sun4i DMA and audio codec support.


# 1.19 27-Aug-2017 jmcneill

Add sun5i touchscreen driver.


# 1.18 26-Aug-2017 jmcneill

Add a basic sun5i FB driver. This assumes that firmware (U-Boot) has
already setup the chip and re-uses the same settings / FB memory.


Revision tags: nick-nhusb-base-20170825
# 1.17 25-Aug-2017 jmcneill

Add initial support for Allwinner A13 and R8 SoCs.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.2; 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.62 08-May-2019 isaki

Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base
# 1.61 30-Jan-2019 jmcneill

branches: 1.61.2;
Add support for Allwinner A64's display pipeline.


Revision tags: pgoyette-compat-20190127
# 1.60 22-Jan-2019 jmcneill

Add drivers for DE2 bus and clock controllers.


Revision tags: pgoyette-compat-20190118
# 1.59 03-Jan-2019 jmcneill

Add Allwinner A80 SMP support.


# 1.58 03-Jan-2019 jmcneill

Add Allwinner A83T SMP support.


Revision tags: pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625
# 1.57 01-Jun-2018 jmcneill

Move simplefb declaration to files.fdt


# 1.56 27-May-2018 jmcneill

Rename sunxi_com to dw_apb_uart and move it to dev/fdt since it is not
sunxi-specific.


Revision tags: pgoyette-compat-0521
# 1.55 10-May-2018 jmcneill

Add support for Allwinner A64 audio codec.


# 1.54 06-May-2018 jmcneill

Add driver for Allwinner PWM controller.


# 1.53 05-May-2018 jmcneill

Add driver for Allwinner A64 PRCM CCU


# 1.52 02-May-2018 jmcneill

Add driver for Allwinner NMI / R_INTC interrupt controller.


# 1.51 02-May-2018 jmcneill

Add driver for Allwinner H6 PRCM CCU.


Revision tags: pgoyette-compat-0502
# 1.50 01-May-2018 jmcneill

Add driver for Allwinner USB3 PHY.


# 1.49 01-May-2018 jmcneill

Add support for Allwinner H6 CCU.


Revision tags: pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407
# 1.48 03-Apr-2018 bouyer

work in progress on porting graphics drivers from arm/allwinner to fdt.
sunxidebe: display backend drivers
sunxitcon: lcd controller driver
sunxihdmi: hdmi controller driver
sunxidep: display engine pipeline driver. Its role is only to parse the
fdt display-engine node, and activate de backend drivers based on the
content of allwinner,pipelines

So far HDMI and lvds output works, in dual-framebuffer mode.
It has only been tested on A20. It should be OK on the A10 too, but
will likely need more work for other SoCs.
Console is not handled yet, and it conflicts with the simplefb driver if
it has been activated by u-boot.


# 1.47 01-Apr-2018 bouyer

Add a round_rate() callback for the sunxi clock domain.
Add a sunxi_ccu_display.c file with helpers for setting up display engine
clocks.
for fractional clocks, rename frac_en to div_en, I got the logic inverted.
Adjust tcon0-ch0, tcon0-ch1, tcon1-ch0 and tcon1-ch1 definitions to
automatically select a parent. tcon0 hardcoded to pll3 and tcon1 to pll7.
Define a round_rate() callback for these clocks, as well as fractional clocks.
Hardcode debe clocks parent to pll5.


# 1.46 01-Apr-2018 ryo

Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)


Revision tags: pgoyette-compat-0330 pgoyette-compat-0322
# 1.45 19-Mar-2018 bouyer

Add some more A10/A20 clocks definitions; related to display engines.
The video PLLs requires a new clock type, SUNXI_CCU_FRACTIONAL


# 1.44 17-Mar-2018 ryo

move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c,
and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag

no functional change. (preliminary changes for merging aarch64)


Revision tags: pgoyette-compat-0315
# 1.43 07-Mar-2018 bouyer

fdt-ise the allwinner can and lradc drivers.


Revision tags: pgoyette-compat-base
# 1.42 18-Feb-2018 jmcneill

branches: 1.42.2;
Add support for Allwinner H6 CPUX and CPUS port controllers.


# 1.41 14-Feb-2018 jakllsch

Adjust Allwinner emac(4) drivers to be compatible with root on NFS.


# 1.40 14-Feb-2018 jakllsch

Adjust comment; sun4i_emac is also used on sun5i.


# 1.39 31-Jan-2018 jakllsch

Add sun6i SPI driver.

Currently PIO-only.


Revision tags: tls-maxphys-base-20171202
# 1.38 10-Nov-2017 jmcneill

branches: 1.38.2;
Allwinner NAND Flash Controller driver. Work in progress.


# 1.37 23-Oct-2017 jmcneill

Change SUNXI_MMC_DEBUG to a bitmask, allowing for isolation of specific
device units. Useful for debugging sdio without seeing debug spam from the
SD card.


# 1.36 20-Oct-2017 jmcneill

Add driver for sun4i/sun7i 10/100 Fast Ethernet controller (EMAC).


# 1.35 11-Oct-2017 jmcneill

Add H5 (sun50i) support.


# 1.34 09-Oct-2017 jmcneill

Add driver for sun4i SRAM controller.


# 1.33 09-Oct-2017 jmcneill

sunxits needs sysmon_envsys


# 1.32 08-Oct-2017 jmcneill

Add Allwinner A80 (sun9i) support.


# 1.31 07-Oct-2017 jmcneill

Add A31 audio codec support.


# 1.30 07-Oct-2017 jmcneill

Add A10/A20 SATA support


# 1.29 07-Oct-2017 jmcneill

Add support for sun6i/sun7i ethernet


# 1.28 06-Oct-2017 jmcneill

Add sun4i (A10) and sun7i (A20) GPIO support.


# 1.27 06-Oct-2017 jmcneill

Add driver for sun4i (A10) and sun7i (A20) clock controller.


# 1.26 05-Oct-2017 jmcneill

Add driver for thermal sensor controller found in Allwinner H3, A64, and
A83T SoCs.


# 1.25 03-Oct-2017 jmcneill

Add a simple Security ID EFUSE driver.


# 1.24 30-Sep-2017 jmcneill

Add support for Allwinner H3 PRCM clock controller.


# 1.23 09-Sep-2017 jmcneill

Add support for USB OTG controllers in "host" mode.


# 1.22 07-Sep-2017 jmcneill

Add support for Allwinner A64 SoCs.


# 1.21 27-Aug-2017 jmcneill

branches: 1.21.2;
Remove the sunxi_debe driver in favour of the more generic simplefb.


# 1.20 27-Aug-2017 jmcneill

Add sun4i DMA and audio codec support.


# 1.19 27-Aug-2017 jmcneill

Add sun5i touchscreen driver.


# 1.18 26-Aug-2017 jmcneill

Add a basic sun5i FB driver. This assumes that firmware (U-Boot) has
already setup the chip and re-uses the same settings / FB memory.


Revision tags: nick-nhusb-base-20170825
# 1.17 25-Aug-2017 jmcneill

Add initial support for Allwinner A13 and R8 SoCs.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.2; 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


Revision tags: isaki-audio2-base
# 1.61 30-Jan-2019 jmcneill

Add support for Allwinner A64's display pipeline.


Revision tags: pgoyette-compat-20190127
# 1.60 22-Jan-2019 jmcneill

Add drivers for DE2 bus and clock controllers.


Revision tags: pgoyette-compat-20190118
# 1.59 03-Jan-2019 jmcneill

Add Allwinner A80 SMP support.


# 1.58 03-Jan-2019 jmcneill

Add Allwinner A83T SMP support.


Revision tags: pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625
# 1.57 01-Jun-2018 jmcneill

Move simplefb declaration to files.fdt


# 1.56 27-May-2018 jmcneill

Rename sunxi_com to dw_apb_uart and move it to dev/fdt since it is not
sunxi-specific.


Revision tags: pgoyette-compat-0521
# 1.55 10-May-2018 jmcneill

Add support for Allwinner A64 audio codec.


# 1.54 06-May-2018 jmcneill

Add driver for Allwinner PWM controller.


# 1.53 05-May-2018 jmcneill

Add driver for Allwinner A64 PRCM CCU


# 1.52 02-May-2018 jmcneill

Add driver for Allwinner NMI / R_INTC interrupt controller.


# 1.51 02-May-2018 jmcneill

Add driver for Allwinner H6 PRCM CCU.


Revision tags: pgoyette-compat-0502
# 1.50 01-May-2018 jmcneill

Add driver for Allwinner USB3 PHY.


# 1.49 01-May-2018 jmcneill

Add support for Allwinner H6 CCU.


Revision tags: pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407
# 1.48 03-Apr-2018 bouyer

work in progress on porting graphics drivers from arm/allwinner to fdt.
sunxidebe: display backend drivers
sunxitcon: lcd controller driver
sunxihdmi: hdmi controller driver
sunxidep: display engine pipeline driver. Its role is only to parse the
fdt display-engine node, and activate de backend drivers based on the
content of allwinner,pipelines

So far HDMI and lvds output works, in dual-framebuffer mode.
It has only been tested on A20. It should be OK on the A10 too, but
will likely need more work for other SoCs.
Console is not handled yet, and it conflicts with the simplefb driver if
it has been activated by u-boot.


# 1.47 01-Apr-2018 bouyer

Add a round_rate() callback for the sunxi clock domain.
Add a sunxi_ccu_display.c file with helpers for setting up display engine
clocks.
for fractional clocks, rename frac_en to div_en, I got the logic inverted.
Adjust tcon0-ch0, tcon0-ch1, tcon1-ch0 and tcon1-ch1 definitions to
automatically select a parent. tcon0 hardcoded to pll3 and tcon1 to pll7.
Define a round_rate() callback for these clocks, as well as fractional clocks.
Hardcode debe clocks parent to pll5.


# 1.46 01-Apr-2018 ryo

Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)


Revision tags: pgoyette-compat-0330 pgoyette-compat-0322
# 1.45 19-Mar-2018 bouyer

Add some more A10/A20 clocks definitions; related to display engines.
The video PLLs requires a new clock type, SUNXI_CCU_FRACTIONAL


# 1.44 17-Mar-2018 ryo

move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c,
and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag

no functional change. (preliminary changes for merging aarch64)


Revision tags: pgoyette-compat-0315
# 1.43 07-Mar-2018 bouyer

fdt-ise the allwinner can and lradc drivers.


Revision tags: pgoyette-compat-base
# 1.42 18-Feb-2018 jmcneill

branches: 1.42.2;
Add support for Allwinner H6 CPUX and CPUS port controllers.


# 1.41 14-Feb-2018 jakllsch

Adjust Allwinner emac(4) drivers to be compatible with root on NFS.


# 1.40 14-Feb-2018 jakllsch

Adjust comment; sun4i_emac is also used on sun5i.


# 1.39 31-Jan-2018 jakllsch

Add sun6i SPI driver.

Currently PIO-only.


Revision tags: tls-maxphys-base-20171202
# 1.38 10-Nov-2017 jmcneill

branches: 1.38.2;
Allwinner NAND Flash Controller driver. Work in progress.


# 1.37 23-Oct-2017 jmcneill

Change SUNXI_MMC_DEBUG to a bitmask, allowing for isolation of specific
device units. Useful for debugging sdio without seeing debug spam from the
SD card.


# 1.36 20-Oct-2017 jmcneill

Add driver for sun4i/sun7i 10/100 Fast Ethernet controller (EMAC).


# 1.35 11-Oct-2017 jmcneill

Add H5 (sun50i) support.


# 1.34 09-Oct-2017 jmcneill

Add driver for sun4i SRAM controller.


# 1.33 09-Oct-2017 jmcneill

sunxits needs sysmon_envsys


# 1.32 08-Oct-2017 jmcneill

Add Allwinner A80 (sun9i) support.


# 1.31 07-Oct-2017 jmcneill

Add A31 audio codec support.


# 1.30 07-Oct-2017 jmcneill

Add A10/A20 SATA support


# 1.29 07-Oct-2017 jmcneill

Add support for sun6i/sun7i ethernet


# 1.28 06-Oct-2017 jmcneill

Add sun4i (A10) and sun7i (A20) GPIO support.


# 1.27 06-Oct-2017 jmcneill

Add driver for sun4i (A10) and sun7i (A20) clock controller.


# 1.26 05-Oct-2017 jmcneill

Add driver for thermal sensor controller found in Allwinner H3, A64, and
A83T SoCs.


# 1.25 03-Oct-2017 jmcneill

Add a simple Security ID EFUSE driver.


# 1.24 30-Sep-2017 jmcneill

Add support for Allwinner H3 PRCM clock controller.


# 1.23 09-Sep-2017 jmcneill

Add support for USB OTG controllers in "host" mode.


# 1.22 07-Sep-2017 jmcneill

Add support for Allwinner A64 SoCs.


# 1.21 27-Aug-2017 jmcneill

branches: 1.21.2;
Remove the sunxi_debe driver in favour of the more generic simplefb.


# 1.20 27-Aug-2017 jmcneill

Add sun4i DMA and audio codec support.


# 1.19 27-Aug-2017 jmcneill

Add sun5i touchscreen driver.


# 1.18 26-Aug-2017 jmcneill

Add a basic sun5i FB driver. This assumes that firmware (U-Boot) has
already setup the chip and re-uses the same settings / FB memory.


Revision tags: nick-nhusb-base-20170825
# 1.17 25-Aug-2017 jmcneill

Add initial support for Allwinner A13 and R8 SoCs.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.2; 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.39 31-Jan-2018 jakllsch

Add sun6i SPI driver.

Currently PIO-only.


Revision tags: tls-maxphys-base-20171202
# 1.38 10-Nov-2017 jmcneill

branches: 1.38.2;
Allwinner NAND Flash Controller driver. Work in progress.


# 1.37 23-Oct-2017 jmcneill

Change SUNXI_MMC_DEBUG to a bitmask, allowing for isolation of specific
device units. Useful for debugging sdio without seeing debug spam from the
SD card.


# 1.36 20-Oct-2017 jmcneill

Add driver for sun4i/sun7i 10/100 Fast Ethernet controller (EMAC).


# 1.35 11-Oct-2017 jmcneill

Add H5 (sun50i) support.


# 1.34 09-Oct-2017 jmcneill

Add driver for sun4i SRAM controller.


# 1.33 09-Oct-2017 jmcneill

sunxits needs sysmon_envsys


# 1.32 08-Oct-2017 jmcneill

Add Allwinner A80 (sun9i) support.


# 1.31 07-Oct-2017 jmcneill

Add A31 audio codec support.


# 1.30 07-Oct-2017 jmcneill

Add A10/A20 SATA support


# 1.29 07-Oct-2017 jmcneill

Add support for sun6i/sun7i ethernet


# 1.28 06-Oct-2017 jmcneill

Add sun4i (A10) and sun7i (A20) GPIO support.


# 1.27 06-Oct-2017 jmcneill

Add driver for sun4i (A10) and sun7i (A20) clock controller.


# 1.26 05-Oct-2017 jmcneill

Add driver for thermal sensor controller found in Allwinner H3, A64, and
A83T SoCs.


# 1.25 03-Oct-2017 jmcneill

Add a simple Security ID EFUSE driver.


# 1.24 30-Sep-2017 jmcneill

Add support for Allwinner H3 PRCM clock controller.


# 1.23 09-Sep-2017 jmcneill

Add support for USB OTG controllers in "host" mode.


# 1.22 07-Sep-2017 jmcneill

Add support for Allwinner A64 SoCs.


# 1.21 27-Aug-2017 jmcneill

branches: 1.21.2;
Remove the sunxi_debe driver in favour of the more generic simplefb.


# 1.20 27-Aug-2017 jmcneill

Add sun4i DMA and audio codec support.


# 1.19 27-Aug-2017 jmcneill

Add sun5i touchscreen driver.


# 1.18 26-Aug-2017 jmcneill

Add a basic sun5i FB driver. This assumes that firmware (U-Boot) has
already setup the chip and re-uses the same settings / FB memory.


Revision tags: nick-nhusb-base-20170825
# 1.17 25-Aug-2017 jmcneill

Add initial support for Allwinner A13 and R8 SoCs.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.2; 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


Revision tags: tls-maxphys-base-20171202
# 1.38 10-Nov-2017 jmcneill

branches: 1.38.2;
Allwinner NAND Flash Controller driver. Work in progress.


# 1.37 23-Oct-2017 jmcneill

Change SUNXI_MMC_DEBUG to a bitmask, allowing for isolation of specific
device units. Useful for debugging sdio without seeing debug spam from the
SD card.


# 1.36 20-Oct-2017 jmcneill

Add driver for sun4i/sun7i 10/100 Fast Ethernet controller (EMAC).


# 1.35 11-Oct-2017 jmcneill

Add H5 (sun50i) support.


# 1.34 09-Oct-2017 jmcneill

Add driver for sun4i SRAM controller.


# 1.33 09-Oct-2017 jmcneill

sunxits needs sysmon_envsys


# 1.32 08-Oct-2017 jmcneill

Add Allwinner A80 (sun9i) support.


# 1.31 07-Oct-2017 jmcneill

Add A31 audio codec support.


# 1.30 07-Oct-2017 jmcneill

Add A10/A20 SATA support


# 1.29 07-Oct-2017 jmcneill

Add support for sun6i/sun7i ethernet


# 1.28 06-Oct-2017 jmcneill

Add sun4i (A10) and sun7i (A20) GPIO support.


# 1.27 06-Oct-2017 jmcneill

Add driver for sun4i (A10) and sun7i (A20) clock controller.


# 1.26 05-Oct-2017 jmcneill

Add driver for thermal sensor controller found in Allwinner H3, A64, and
A83T SoCs.


# 1.25 03-Oct-2017 jmcneill

Add a simple Security ID EFUSE driver.


# 1.24 30-Sep-2017 jmcneill

Add support for Allwinner H3 PRCM clock controller.


# 1.23 09-Sep-2017 jmcneill

Add support for USB OTG controllers in "host" mode.


# 1.22 07-Sep-2017 jmcneill

Add support for Allwinner A64 SoCs.


# 1.21 27-Aug-2017 jmcneill

branches: 1.21.2;
Remove the sunxi_debe driver in favour of the more generic simplefb.


# 1.20 27-Aug-2017 jmcneill

Add sun4i DMA and audio codec support.


# 1.19 27-Aug-2017 jmcneill

Add sun5i touchscreen driver.


# 1.18 26-Aug-2017 jmcneill

Add a basic sun5i FB driver. This assumes that firmware (U-Boot) has
already setup the chip and re-uses the same settings / FB memory.


Revision tags: nick-nhusb-base-20170825
# 1.17 25-Aug-2017 jmcneill

Add initial support for Allwinner A13 and R8 SoCs.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.2; 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.37 23-Oct-2017 jmcneill

Change SUNXI_MMC_DEBUG to a bitmask, allowing for isolation of specific
device units. Useful for debugging sdio without seeing debug spam from the
SD card.


# 1.36 20-Oct-2017 jmcneill

Add driver for sun4i/sun7i 10/100 Fast Ethernet controller (EMAC).


# 1.35 11-Oct-2017 jmcneill

Add H5 (sun50i) support.


# 1.34 09-Oct-2017 jmcneill

Add driver for sun4i SRAM controller.


# 1.33 09-Oct-2017 jmcneill

sunxits needs sysmon_envsys


# 1.32 08-Oct-2017 jmcneill

Add Allwinner A80 (sun9i) support.


# 1.31 07-Oct-2017 jmcneill

Add A31 audio codec support.


# 1.30 07-Oct-2017 jmcneill

Add A10/A20 SATA support


# 1.29 07-Oct-2017 jmcneill

Add support for sun6i/sun7i ethernet


# 1.28 06-Oct-2017 jmcneill

Add sun4i (A10) and sun7i (A20) GPIO support.


# 1.27 06-Oct-2017 jmcneill

Add driver for sun4i (A10) and sun7i (A20) clock controller.


# 1.26 05-Oct-2017 jmcneill

Add driver for thermal sensor controller found in Allwinner H3, A64, and
A83T SoCs.


# 1.25 03-Oct-2017 jmcneill

Add a simple Security ID EFUSE driver.


# 1.24 30-Sep-2017 jmcneill

Add support for Allwinner H3 PRCM clock controller.


# 1.23 09-Sep-2017 jmcneill

Add support for USB OTG controllers in "host" mode.


# 1.22 07-Sep-2017 jmcneill

Add support for Allwinner A64 SoCs.


# 1.21 27-Aug-2017 jmcneill

branches: 1.21.2;
Remove the sunxi_debe driver in favour of the more generic simplefb.


# 1.20 27-Aug-2017 jmcneill

Add sun4i DMA and audio codec support.


# 1.19 27-Aug-2017 jmcneill

Add sun5i touchscreen driver.


# 1.18 26-Aug-2017 jmcneill

Add a basic sun5i FB driver. This assumes that firmware (U-Boot) has
already setup the chip and re-uses the same settings / FB memory.


Revision tags: nick-nhusb-base-20170825
# 1.17 25-Aug-2017 jmcneill

Add initial support for Allwinner A13 and R8 SoCs.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.2; 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.35 11-Oct-2017 jmcneill

Add H5 (sun50i) support.


# 1.34 09-Oct-2017 jmcneill

Add driver for sun4i SRAM controller.


# 1.33 09-Oct-2017 jmcneill

sunxits needs sysmon_envsys


# 1.32 08-Oct-2017 jmcneill

Add Allwinner A80 (sun9i) support.


# 1.31 07-Oct-2017 jmcneill

Add A31 audio codec support.


# 1.30 07-Oct-2017 jmcneill

Add A10/A20 SATA support


# 1.29 07-Oct-2017 jmcneill

Add support for sun6i/sun7i ethernet


# 1.28 06-Oct-2017 jmcneill

Add sun4i (A10) and sun7i (A20) GPIO support.


# 1.27 06-Oct-2017 jmcneill

Add driver for sun4i (A10) and sun7i (A20) clock controller.


# 1.26 05-Oct-2017 jmcneill

Add driver for thermal sensor controller found in Allwinner H3, A64, and
A83T SoCs.


# 1.25 03-Oct-2017 jmcneill

Add a simple Security ID EFUSE driver.


# 1.24 30-Sep-2017 jmcneill

Add support for Allwinner H3 PRCM clock controller.


# 1.23 09-Sep-2017 jmcneill

Add support for USB OTG controllers in "host" mode.


# 1.22 07-Sep-2017 jmcneill

Add support for Allwinner A64 SoCs.


# 1.21 27-Aug-2017 jmcneill

branches: 1.21.2;
Remove the sunxi_debe driver in favour of the more generic simplefb.


# 1.20 27-Aug-2017 jmcneill

Add sun4i DMA and audio codec support.


# 1.19 27-Aug-2017 jmcneill

Add sun5i touchscreen driver.


# 1.18 26-Aug-2017 jmcneill

Add a basic sun5i FB driver. This assumes that firmware (U-Boot) has
already setup the chip and re-uses the same settings / FB memory.


Revision tags: nick-nhusb-base-20170825
# 1.17 25-Aug-2017 jmcneill

Add initial support for Allwinner A13 and R8 SoCs.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.2; 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.22 07-Sep-2017 jmcneill

Add support for Allwinner A64 SoCs.


# 1.21 27-Aug-2017 jmcneill

branches: 1.21.2;
Remove the sunxi_debe driver in favour of the more generic simplefb.


# 1.20 27-Aug-2017 jmcneill

Add sun4i DMA and audio codec support.


# 1.19 27-Aug-2017 jmcneill

Add sun5i touchscreen driver.


# 1.18 26-Aug-2017 jmcneill

Add a basic sun5i FB driver. This assumes that firmware (U-Boot) has
already setup the chip and re-uses the same settings / FB memory.


Revision tags: nick-nhusb-base-20170825
# 1.17 25-Aug-2017 jmcneill

Add initial support for Allwinner A13 and R8 SoCs.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.2; 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.21 27-Aug-2017 jmcneill

Remove the sunxi_debe driver in favour of the more generic simplefb.


# 1.20 27-Aug-2017 jmcneill

Add sun4i DMA and audio codec support.


# 1.19 27-Aug-2017 jmcneill

Add sun5i touchscreen driver.


# 1.18 26-Aug-2017 jmcneill

Add a basic sun5i FB driver. This assumes that firmware (U-Boot) has
already setup the chip and re-uses the same settings / FB memory.


Revision tags: nick-nhusb-base-20170825
# 1.17 25-Aug-2017 jmcneill

Add initial support for Allwinner A13 and R8 SoCs.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.2; 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.19 27-Aug-2017 jmcneill

Add sun5i touchscreen driver.


# 1.18 26-Aug-2017 jmcneill

Add a basic sun5i FB driver. This assumes that firmware (U-Boot) has
already setup the chip and re-uses the same settings / FB memory.


Revision tags: nick-nhusb-base-20170825
# 1.17 25-Aug-2017 jmcneill

Add initial support for Allwinner A13 and R8 SoCs.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.2; 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.17 25-Aug-2017 jmcneill

Add initial support for Allwinner A13 and R8 SoCs.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.2; 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.16 06-Aug-2017 jmcneill

Add support for Allwinner H3 audio codec.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.15 05-Aug-2017 jmcneill

Add DMA controller driver for sun6i and later family SoCs.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.14 25-Jul-2017 jmcneill

Add watchdog timer support.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.13 23-Jul-2017 jmcneill

Add sun50i gpio and platform support.


Revision tags: perseant-stdc-iso10646-base
# 1.12 17-Jul-2017 jmcneill

branches: 1.12.4;
Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.12 17-Jul-2017 jmcneill

Add SDMMC[012] sample/output clock phase controls.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.11 08-Jul-2017 jmcneill

Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.10 07-Jul-2017 jmcneill

Add A83T files


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.9 02-Jul-2017 jmcneill

Add P2WI/RSB driver, based on awin_p2wi.c.


# 1.8 02-Jul-2017 jmcneill

Add basic FDT GPIO support.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.7 02-Jul-2017 jmcneill

Add basic support for Allwinner A31.


# 1.6 01-Jul-2017 jmcneill

Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.

This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.5 29-Jun-2017 jmcneill

Add RTC driver.


# 1.4 29-Jun-2017 jmcneill

Add i2c glue.


# 1.3 29-Jun-2017 jmcneill

Add USB stuff. Doesn't quite work yet.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.


# 1.2 29-Jun-2017 jmcneill

Add H3 MMC support


# 1.1 28-Jun-2017 jmcneill

Add initial support for Allwinner H3 SoC.