Truncate ratio if period is lowered. Tested on Rpi2 and Rpi3. Rpi3 requires DTB->DTS->edit->DTB hack
11 lines
161 B
Makefile
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>
|