freebsd-skq/sys/arm/broadcom/bcm2835
Oleksandr Tymoshenko 3b1d758fba [pi] Do not attach bcm2835_pwm if DTB node is not enabled
Switch to standard FDT-base driver behavior and don't attach
if node "status" property value nn DTS is not set to "okay"

On RPi PWM by default is disabled, to enable it pwm.dtbo
from official repo[1] should be copied to overlays directory
on SD card FAT partition and "dtoverlay=pwm" line added to
config.txt. For more details see pwm overlay documentation[2]

sysutils/rpi-firmware port now includes overlays, so they
can be installed as a part of release image build.

[1] https://github.com/raspberrypi/firmware/tree/master/boot
[2] https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README

No objections from:	phk@
2018-04-10 20:31:25 +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 Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +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 Stop including fdt_common.h from the arm code when it's unneeded. 2016-11-14 11:41:22 +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 [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +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 [pi] Do not attach bcm2835_pwm if DTB node is not enabled 2018-04-10 20:31:25 +00:00
bcm2835_rng.c [rpi] remove IRQ support for BCM233x RNG 2018-03-10 02:49:58 +00:00
bcm2835_sdhci.c Switch to mainstream DTS for Raspberry Pi-B and Pi-2. 2018-02-27 15:01:17 +00:00
bcm2835_spi.c [rpi] Add fdt_pinctrl(4) support to Raspberry Pi GPIO driver 2018-04-08 00:56:19 +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 [rpi] Add fdt_pinctrl(4) support to Raspberry Pi GPIO driver 2018-04-08 00:56:19 +00:00
files.bcm283x Revert r327250 as it broke the build for some armv6 kernel and all armv4/5 2017-12-28 07:31:14 +00:00
files.bcm2835
files.bcm2836
std.bcm2835
std.bcm2836 Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +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