From 2abb9b42a53c39a8b781e25a05de1de9e98b8b9a Mon Sep 17 00:00:00 2001 From: Oleksandr Tymoshenko Date: Mon, 3 Oct 2016 01:08:34 +0000 Subject: [PATCH] Add rpi_ft5406 module and add it to extra modules in Raspberry Pi configs --- sys/arm/conf/RPI-B | 2 +- sys/arm/conf/RPI2 | 2 +- sys/modules/rpi_ft5406/Makefile | 10 ++++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 sys/modules/rpi_ft5406/Makefile diff --git a/sys/arm/conf/RPI-B b/sys/arm/conf/RPI-B index 962b6ef9c896..66d702e0238d 100644 --- a/sys/arm/conf/RPI-B +++ b/sys/arm/conf/RPI-B @@ -94,4 +94,4 @@ options FDT # Configure using FDT/DTB data # handed to kernel via U-Boot and ubldr. #options FDT_DTB_STATIC #makeoptions FDT_DTS_FILE=rpi.dts -makeoptions MODULES_EXTRA=dtb/rpi +makeoptions MODULES_EXTRA="dtb/rpi rpi_ft5406" diff --git a/sys/arm/conf/RPI2 b/sys/arm/conf/RPI2 index 1e2d65e3e735..e700399e2752 100644 --- a/sys/arm/conf/RPI2 +++ b/sys/arm/conf/RPI2 @@ -99,4 +99,4 @@ options FDT # Configure using FDT/DTB data # handed to kernel via U-Boot and ubldr. #options FDT_DTB_STATIC #makeoptions FDT_DTS_FILE=rpi2.dts -makeoptions MODULES_EXTRA=dtb/rpi +makeoptions MODULES_EXTRA="dtb/rpi rpi_ft5406" diff --git a/sys/modules/rpi_ft5406/Makefile b/sys/modules/rpi_ft5406/Makefile new file mode 100644 index 000000000000..2360ceda44a9 --- /dev/null +++ b/sys/modules/rpi_ft5406/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../arm/broadcom/bcm2835/ + +KMOD= rpi_ft5406 +SRCS= bcm2835_ft5406.c + +SRCS+= bus_if.h device_if.h ofw_bus_if.h + +.include