Home | History | Annotate | Download | only in broadcom
History log of /src/sys/arch/arm/broadcom/bcm2835_dmac.c
RevisionDateAuthorComments
 1.19  29-Jan-2021  skrll fdtbus_intr_establish -> fdtbus_intr_establish_xname
 1.18  27-Jan-2021  thorpej Rename of_match_compat_data() to of_compatible_match(). Similarly,
rename of_search_compatible() to of_compatible_lookup().

Standardize on of_compatible_match() for driver matching, and adapt
all call sites.
 1.17  30-Sep-2020  jmcneill branches: 1.17.2;
Fix off-by-one in channel count, from Mark Millard.
 1.16  10-Dec-2017  skrll FDTise RapberryPI support. Thanks for jmcneill for a lot of help with this.

The kernel image that the RPI firmware boots is now netbsd.img in the
kernel build directory.

XXX fdtbus_get_reg needs reworking
 1.15  01-Jun-2017  chs branches: 1.15.8;
remove checks for failure after memory allocation calls that cannot fail:

kmem_alloc() with KM_SLEEP
kmem_zalloc() with KM_SLEEP
percpu_alloc()
pserialize_create()
psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.
 1.14  09-Aug-2015  mlelstv Make the DMA halt procedure follow better the documentation.
 1.13  09-Aug-2015  mlelstv Invoke callback routine for all DMA interrupts.
Pass status and error bits to callback instead of filtering them early.
Adjust the current only callback routine in the EMMC driver.
 1.12  02-Aug-2015  jmcneill When halting a channel, abort the current DMA CB and reset the channel
before stopping DMA.
 1.11  29-Jul-2015  skrll When expanding an inline function make sure you get the argument order
correct!

Now there's no functional change to expanding bcm2835_intr_establish
 1.10  29-Jul-2015  skrll Expand the bcm2835_intr_establish inline.

No functional change.
 1.9  14-Sep-2014  jmcneill branches: 1.9.2;
return NULL when failing to establish interrupt
 1.8  12-Sep-2014  jmcneill initialise ch_ih
 1.7  12-Sep-2014  jmcneill improve error handling in bcm_dmac_alloc and disestablish the irq handler in bcm_dmac_free
 1.6  12-Sep-2014  jakllsch Move DMA interrupt establishement to time of engine allocation so as to
allow the IPL to be specified by the driver using the DMA engine.
 1.5  12-Sep-2014  jmcneill trust the firmware and use whatever it advertises between DMA0-DMA11
 1.4  12-Sep-2014  jmcneill not sure how this compiles for me, but remove extra * on prop_dictionary_t decl
 1.3  12-Sep-2014  jmcneill use dma channel mask from firmware
 1.2  07-Sep-2014  jmcneill branches: 1.2.2;
fix a stupid bug at attach
 1.1  07-Sep-2014  jmcneill bcm2835 dma controller driver
 1.2.2.3  03-Oct-2014  martin Pull up following revision(s) (requested by skrll in ticket #126):
sys/arch/evbarm/rpi/rpi_machdep.c: revision 1.47
sys/arch/arm/broadcom/bcm2835reg.h: revision 1.12
sys/arch/evbarm/conf/RPI: revision 1.52
sys/arch/evbarm/conf/RPI: revision 1.53
sys/arch/evbarm/conf/RPI: revision 1.54
sys/arch/arm/broadcom/bcm2835_emmc.c: revision 1.10
sys/arch/arm/broadcom/bcm2835_emmc.c: revision 1.11
sys/arch/arm/broadcom/bcm2835_emmc.c: revision 1.12
sys/arch/arm/broadcom/bcm2835_emmc.c: revision 1.13
sys/arch/arm/broadcom/bcm2835_emmc.c: revision 1.14
sys/arch/arm/broadcom/bcm2835_emmc.c: revision 1.15
sys/arch/arm/broadcom/bcm2835_dmac.c: revision 1.3
sys/arch/arm/broadcom/bcm2835_dmac.c: revision 1.4
sys/arch/arm/broadcom/bcm2835_dmac.h: revision 1.2
sys/arch/arm/broadcom/bcm2835_dmac.c: revision 1.5
sys/arch/arm/broadcom/bcm2835_emmc.c: revision 1.18
sys/arch/arm/broadcom/bcm2835_dmac.h: revision 1.3
sys/arch/arm/broadcom/bcm2835_dmac.c: revision 1.6
sys/arch/arm/broadcom/bcm2835_dmac.c: revision 1.7
sys/arch/arm/broadcom/bcm2835_dmac.c: revision 1.8
sys/arch/arm/broadcom/bcm2835_dmac.c: revision 1.9
sys/arch/arm/broadcom/files.bcm2835: revision 1.23
sys/dev/sdmmc/sdhc.c: revision 1.45
sys/dev/sdmmc/sdhc.c: revision 1.46
sys/dev/sdmmc/sdhc.c: revision 1.47
sys/dev/sdmmc/sdhcvar.h: revision 1.14
Various RPI DMAC and sdhc improvements.
 1.2.2.2  11-Sep-2014  martin Pull up the following changes (requested by skrll, #83):
sys/arch/arm/broadcom/bcm2835_dmac.c 1.1-1.2
sys/arch/arm/broadcom/bcm2835_dmac.h 1.1
sys/arch/arm/broadcom/bcm2835_intr.c 1.4
sys/arch/arm/broadcom/bcm2835_obio.c 1.21
sys/arch/arm/broadcom/bcm2835reg.h 1.11
sys/arch/arm/broadcom/files.bcm2835 1.22
sys/arch/evbarm/conf/RPI 1.51
sys/arch/evbarm/rpi/rpi_machdep.c 1.46

Add bcm2835 dma controller driver.
 1.2.2.1  07-Sep-2014  martin file bcm2835_dmac.c was added on branch netbsd-7 on 2014-09-11 14:20:11 +0000
 1.9.2.2  28-Aug-2017  skrll Sync with HEAD
 1.9.2.1  22-Sep-2015  skrll Sync with HEAD
 1.15.8.2  03-Dec-2017  jdolecek update from HEAD
 1.15.8.1  01-Jun-2017  jdolecek file bcm2835_dmac.c was added on branch tls-maxphys on 2017-12-03 11:35:52 +0000
 1.17.2.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed