Fix some modules to export more used symbols(cherry picked from commit 5bb3134a8c21cb87b30e135ef168483f0333dabb)
Add module build stuff for gpioths(4), a driver for DHT11/DHT22 sensors.
Add missing file to gpiobus moduleofw_gpiobus.c is needed when FDT is used.MFC after: 2 weeks
sys/modules: normalize .CURDIR-relative paths to SRCTOPThis simplifies make output/logicTested with: `cd sys/modules; make ALL_MODULES=` on amd64MFC after: 1 monthSponsored by: Dell EMC Isilon
Refactor FDT part of gpioled driver- Split driver in two parts: FDT and non-FDT- Instead of reattach gpioled nodes to GPIO bus use gpio_pin_get_by_ofw_idx and add ofwbus and simplebus as parre
Refactor FDT part of gpioled driver- Split driver in two parts: FDT and non-FDT- Instead of reattach gpioled nodes to GPIO bus use gpio_pin_get_by_ofw_idx and add ofwbus and simplebus as parrent busesReviewed by: loosDifferential Revision: https://reviews.freebsd.org/D8233
show more ...
- Add required header for fixing `make` in sys/modules/gpioReviewed by: imp, loosDifferential Revision: https://reviews.freebsd.org/D7815
Add gpiokeys to the list of GPIO modules built only if FDT is enabled
When building modules, define make variable OPT_FDT if the kernel configincludes the FDT option. Use OPT_FDT to conditionally compile modulesthat require FDT support.In the past we've gotten awa
When building modules, define make variable OPT_FDT if the kernel configincludes the FDT option. Use OPT_FDT to conditionally compile modulesthat require FDT support.In the past we've gotten away with using the arch name as a proxy for FDTsupport in makefile conditional logic, but now mips has some platforms withfdt support and some without and we need a more direct test.
Fix parallel builds by specifying *all* required headers in SRCS.Submitted by: manuPointy hat: ian
[gpio] add gpiospi to the gpio module.
Add a PPS driver that takes the timing pulse from a gpio pin. Currentlysupports only ofw/fdt systems. Some day, hinted attachment for non-fdtsystems should be possible too.
[gpiospi] add initial gpio SPI bit bang driver.Submitted by: rayObtained from: zrouter
Revert r299739. That did not make it better.Instead disconnect gpiokeys from the build until it's fixed and buildable;the SUBDIR list was not ordered properly anyway ;-)
Blind long shot. Add ofw_gpiobus.c to the SRCS list in the hope tomake the remaining MIPS kernels compile which set MODULES_OVERRIDE="gpio..."
Add loadable module for gpiokeys
Fix the build of gpiobus as a module.Add the missing newbus interfaces and gpioc, which is part of basic gpiobusframework.Sponsored by: Rubicon Communications (Netgate)
Inspired by r262522, fix make depend. This fixes the build of gpio modules.Approved by: adrian (mentor)
Allow building the GPIO bus and associated bits as modules.This is primarily done to save a few bytes here and there on embeddedsystems with limited flash space for kernels - a very limited (sub-1
Allow building the GPIO bus and associated bits as modules.This is primarily done to save a few bytes here and there on embeddedsystems with limited flash space for kernels - a very limited (sub-1MB)space may be available for the kernel and may only support gzip encoding.The rootfs can be LZMA compressed.