freebsd-skq/sys/modules/bcm283x_pwm/Makefile
phk 0f399435e7 Rename rpi_pwm to bcm283x_pwm, and build it on armv[67] and arm64.
Truncate ratio if period is lowered.

Tested on Rpi2 and Rpi3.

Rpi3 requires DTB->DTS->edit->DTB hack
2018-01-21 21:27:41 +00:00

11 lines
161 B
Makefile

# $FreeBSD$
.PATH: ${SRCTOP}/sys/arm/broadcom/bcm2835/
KMOD= bcm283x_pwm
SRCS= bcm2835_pwm.c
SRCS+= bus_if.h device_if.h ofw_bus_if.h
.include <bsd.kmod.mk>