freebsd-skq/sys/arm/broadcom/bcm2835
marius 608c05f554 o Don't allocate resources for SDMA in sdhci(4) if the controller or the
front-end doesn't support SDMA or the latter implements a platform-
  specific transfer method instead. While at it, factor out allocation
  and freeing of SDMA resources to sdhci_dma_{alloc,free}() in order to
  keep the code more readable when adding support for ADMA variants.

o Base the size of the SDMA bounce buffer on MAXPHYS up to the maximum
  of 512 KiB instead of using a fixed 4-KiB-buffer. With the default
  MAXPHYS of 128 KiB and depending on the controller and medium, this
  reduces the number of SDHCI interrupts by a factor of ~16 to ~32 on
  sequential reads while an increase of throughput of up to ~84 % was
  seen.

  Front-ends for broken controllers that only support an SDMA buffer
  boundary of a specific size may set SDHCI_QUIRK_BROKEN_SDMA_BOUNDARY
  and supply a size via struct sdhci_slot. According to Linux, only
  Qualcomm MSM-type SDHCI controllers are affected by this, though.

  Requested by: Shreyank Amartya (unconditional bump to 512 KiB)

o Introduce a SDHCI_DEPEND macro for specifying the dependency of the
  front-end modules on the sdhci(4) one and bump the module version
  of sdhci(4) to 2 via an also newly introduced SDHCI_VERSION in order
  to ensure that all components are in sync WRT struct sdhci_slot.

o In sdhci(4):
  - Make pointers const were applicable,
  - replace a few device_printf(9) calls with slot_printf() for
    consistency, and
  - sync some local functions with their prototypes WRT static.
2018-12-30 23:08:06 +00:00
..
bcm283x_dwc_fdt.c Switch to mainstream DTS for Raspberry Pi-B and Pi-2. 2018-02-27 15:01:17 +00:00
bcm2835_audio.c [rpi] Fix bcm2835_audio locking and samples starvation 2016-12-27 19:08:08 +00:00
bcm2835_bsc.c [rpi] Add fdt_pinctrl(4) support to Raspberry Pi GPIO driver 2018-04-08 00:56:19 +00:00
bcm2835_bscreg.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
bcm2835_bscvar.h [rpi] Add fdt_pinctrl(4) support to Raspberry Pi GPIO driver 2018-04-08 00:56:19 +00:00
bcm2835_clkman.c Add skeleton manual page for bcm283x_pwm 2018-01-22 07:43:54 +00:00
bcm2835_clkman.h Add a skeleton Clock Manager for RPi2/3, and use that from pwm 2018-01-22 07:10:30 +00:00
bcm2835_cpufreq.c [rpi] Fix compatiblity with upstream DTB for RPi 3B and 3B+ 2018-06-24 23:19:31 +00:00
bcm2835_dma.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
bcm2835_dma.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
bcm2835_fb.c [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
bcm2835_fbd.c [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
bcm2835_ft5406.c evdev: remove soft context from evdev methods parameter list. 2018-08-13 19:00:42 +00:00
bcm2835_gpio.c Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
bcm2835_intr.c [rpi] Add fdt_pinctrl(4) support to Raspberry Pi GPIO driver 2018-04-08 00:56:19 +00:00
bcm2835_machdep.c [rpi] Fix compatiblity with upstream DTB for RPi 3B and 3B+ 2018-06-24 23:19:31 +00:00
bcm2835_mbox_prop.h Force framebuffer virtual viewport to be the same as physical 2016-04-20 22:38:00 +00:00
bcm2835_mbox.c Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
bcm2835_mbox.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
bcm2835_pwm.c [rpi] Add support for the second PWM channel 2018-07-02 01:30:33 +00:00
bcm2835_rng.c Remove the Yarrow PRNG algorithm option in accordance with due notice 2018-08-26 12:51:46 +00:00
bcm2835_sdhci.c o Don't allocate resources for SDMA in sdhci(4) if the controller or the 2018-12-30 23:08:06 +00:00
bcm2835_sdhost.c o Don't allocate resources for SDMA in sdhci(4) if the controller or the 2018-12-30 23:08:06 +00:00
bcm2835_spi.c Retrieve the bus clock speed and mode (polarity/phase) from the child device 2018-06-23 23:44:36 +00:00
bcm2835_spireg.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
bcm2835_spivar.h [rpi] Add fdt_pinctrl(4) support to Raspberry Pi GPIO driver 2018-04-08 00:56:19 +00:00
bcm2835_systimer.c Switch to mainstream DTS for Raspberry Pi-B and Pi-2. 2018-02-27 15:01:17 +00:00
bcm2835_vcbus.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
bcm2835_vcio.c Remove some NULL checks after M_WAITOK allocations from sys/arm/. 2016-08-09 16:02:35 +00:00
bcm2835_wdog.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
bcm2835_wdog.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
bcm2836_mp.c Change leading spaces to tabs, no functional change. 2017-09-02 19:22:16 +00:00
bcm2836_mp.h RPI2: Add support for PLATFORM_SMP so we can later add it to GENERIC. 2016-09-29 06:54:02 +00:00
bcm2836.c Unbreak RaspberryPi 2 boot after r332839 2018-05-02 20:04:25 +00:00
files.bcm283x [rpi] Add SDHOST device driver for Raspberry Pi 2018-06-28 21:14:33 +00:00
files.bcm2835
files.bcm2836
std.bcm2835
std.bcm2836 Remove IPI_IRQ_START and IPI_IRQ_END from the arm kernel config files. 2018-07-28 06:46:10 +00:00
std.rpi Make kernel option KERNVIRTADDR optional, remove it from std.<platform> 2017-12-30 00:20:49 +00:00
vc_vchi_audioserv_defs.h