opnsense-src/sys/arm/broadcom/bcm2835
Bartlomiej Grzesik 2f9a9149e5 mmc: switch mmc_helper to device_ api
Add generic mmc_helper which uses newly introduced device_*_property
api. Thanks to this change the sd/mmc drivers will be capable
of parsing both DT and ACPI description.

Ensure backward compatibility for all mmc_fdt_helper users.

Reviewed by: manu, mw
Sponsored by: Semihalf
Differential revision: https://reviews.freebsd.org/D31598

(cherry picked from commit 8a8166e5bc)

mmc: Fix regression in 8a8166e5bc breaking Stratix 10 boot

The refactoring in 8a8166e5bc introduced a functional change that
breaks booting on the Stratix 10, hanging when it should be attaching
da0. Previously OF_getencprop was called with a pointer to host->f_max,
so if it wasn't present then the existing value was left untouched, but
after that commit it will instead clobber the value with 0. The dwmmc
driver, as used on the Stratix 10, sets a default value before calling
mmc_fdt_parse and so was broken by this functional change. It appears
that aw_mmc also does the same thing, so was presumably also broken on
some boards.

Fixes:	8a8166e5bc ("mmc: switch mmc_helper to device_ api")
Reviewed by:	manu, mw
Differential Revision:	https://reviews.freebsd.org/D32209

(cherry picked from commit 4a331971d2)
2022-03-30 00:24:26 +02:00
..
bcm283x_dwc_fdt.c
bcm2835_audio.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
bcm2835_bsc.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
bcm2835_bscreg.h
bcm2835_bscvar.h
bcm2835_clkman.c
bcm2835_clkman.h
bcm2835_cpufreq.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
bcm2835_dma.c bcm2835: push address mapping conversion for DMA/mailbox to runtime 2019-11-20 03:57:46 +00:00
bcm2835_dma.h bcm2835_sdhci: "fix" DMA on the RPi 4 2019-11-23 01:46:02 +00:00
bcm2835_fb.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
bcm2835_fbd.c Split long lines in the Raspberry Pi FB driver 2020-07-10 09:34:47 +00:00
bcm2835_firmware.c arm64: rpi4: firmware: Attach at BUS_PASS_BUS + BUS_PASS_ORDER_LATE 2021-02-20 20:17:40 +01:00
bcm2835_firmware.h Aadd Raspberry Pi firmware messages to manage GPIOs 2020-07-28 11:13:37 +00:00
bcm2835_ft5406.c rpi_ft5406: Recognize raspberrypi,firmware-ts touchscreen 2021-05-23 15:31:22 +02:00
bcm2835_gpio.c arm64: rpi4: gpio: Add brcm,bcm2711-gpio compatible 2021-02-20 20:17:44 +01:00
bcm2835_intr.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
bcm2835_machdep.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
bcm2835_mbox.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
bcm2835_mbox.h
bcm2835_mbox_prop.h arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
bcm2835_pwm.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
bcm2835_rng.c arm64: Add support for bcm2838 RNG 2021-03-20 11:12:13 +01:00
bcm2835_sdhci.c mmc: switch mmc_helper to device_ api 2022-03-30 00:24:26 +02:00
bcm2835_sdhost.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
bcm2835_spi.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
bcm2835_spireg.h
bcm2835_spivar.h
bcm2835_systimer.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
bcm2835_vcbus.c bcm2835_vcbus: unifdef all platform definitions 2020-01-17 21:39:28 +00:00
bcm2835_vcbus.h RPI: Fix DMA/SDHCI on the BCM2836 (Raspberry Pi 2) 2019-12-09 17:34:40 +00:00
bcm2835_vcio.c
bcm2835_wdog.c Fix reboot command on the Raspberry Pi series. 2020-06-22 08:12:21 +00:00
bcm2835_wdog.h
bcm2836.c bcm_lintc: don't attach if "interrupt-controller" is missing 2019-11-07 21:31:15 +00:00
bcm2836_mp.c
bcm2836_mp.h Remove "all rights reserved" from copyright for the file I own. 2019-12-03 21:00:45 +00:00
bcm2838_pci.c bcm2838_pci.c: Respect DMA limits of controller. 2020-09-12 23:49:43 +00:00
bcm2838_xhci.c Add the missing terminator to the bcm_xhci methods 2022-01-10 10:54:20 +00:00
files.bcm283x Handle Raspberry Pi 4 xhci firmware loading. 2020-08-03 10:19:50 +00:00
files.bcm2835
files.bcm2836
raspberrypi_gpio.c Add a GPIO driver for the Raspberry Pi firmware GPIOs 2020-08-03 17:18:12 +00:00
std.bcm2835
std.bcm2836
std.rpi
vc_vchi_audioserv_defs.h