freebsd-nq/sys/dev/gpio
Michael Zhilin 662e30fca3 [gpioths] new driver for temperature/humidity sensor DHT11
This patch adds driver for temperature/humidity sensor connected via GPIO.
To compile it into kernel add "device gpioths". To activate driver, use
hints (.at and .pins) for gpiobus. As result it will provide temperature &
humidity values via sysctl.

DHT11 is cheap & popular temperature/humidity sensor used via GPIO on ARM
or MIPS devices like Raspberry Pi or Onion Omega.

Reviewed by:	adrian
Approved by:	adrian (mentor)
Differential Revision:	https://reviews.freebsd.org/D9185
2017-01-16 15:36:36 +00:00
..
bytgpio.c [bytgpio] prepare bytgpio(4) for modularization 2016-11-21 19:43:01 +00:00
gpio_if.m
gpiobacklight.c Use GPIO pin management API in gpiobacklight 2016-05-11 00:26:52 +00:00
gpiobus_if.m Add a new ioctl to allow the setting of GPIO pin names. 2015-03-08 00:47:50 +00:00
gpiobus.c Remove a too strict test and instead, just filter the passed flags with the 2016-12-13 03:36:41 +00:00
gpiobusvar.h Stop including a possibly GPLd header from the GPIO code. Add the only 2016-10-26 12:41:44 +00:00
gpioc.c Convert gpioc to use the make_dev_s(9) KPI. This fix a possible race where 2017-01-08 20:41:32 +00:00
gpioiic.c Sort and remove a couple of unnecessary headers. 2016-05-22 04:02:34 +00:00
gpiokeys_codes.c Add gpiokeys driver 2016-05-11 17:57:26 +00:00
gpiokeys.c Fix detach routine for gpiokeys 2016-05-12 20:15:23 +00:00
gpiokeys.h Add gpiokeys driver 2016-05-11 17:57:26 +00:00
gpioled_fdt.c Refactor FDT part of gpioled driver 2016-11-07 21:15:39 +00:00
gpioled.c Refactor FDT part of gpioled driver 2016-11-07 21:15:39 +00:00
gpiopower.c Add a GPIO poweroff and reset driver. 2016-11-16 02:14:07 +00:00
gpiopps.c Add a PPS driver that takes the timing pulse from a gpio pin. Currently 2016-05-26 23:56:12 +00:00
gpioregulator.c Add driver for GPIO controlled regulator. 2016-10-15 20:04:14 +00:00
gpiospi.c [gpiospi] add clock delay to avoid smashing of bits 2016-12-13 10:03:29 +00:00
gpioths.c [gpioths] new driver for temperature/humidity sensor DHT11 2017-01-16 15:36:36 +00:00
ofw_gpiobus.c Only write to *active once, even when GPIO_ACTIVE_LOW is set. 2017-01-07 22:55:23 +00:00