sht21: driver for the SHT21 humidity & temp sensor

Change-Id: Ia71168e394a7b260019e74973db6c9d75d3d4482
This commit is contained in:
Thomas Cort
2013-08-19 09:54:20 -04:00
parent 845aabfe65
commit 3bdd1ae659
8 changed files with 719 additions and 2 deletions

View File

@@ -69,6 +69,9 @@ enum dev_style { STYLE_NDEV, STYLE_DEV, STYLE_DEVA, STYLE_TTY, STYLE_CTTY,
#define TSL2550B1S39_MAJOR 47 /* 47 = /dev/tsl2550b1s39 (tsl2550) */
#define TSL2550B2S39_MAJOR 48 /* 48 = /dev/tsl2550b2s39 (tsl2550) */
#define TSL2550B3S39_MAJOR 49 /* 49 = /dev/tsl2550b3s39 (tsl2550) */
#define SHT21B1S40_MAJOR 50 /* 50 = /dev/sht21b1s40 (sht21) */
#define SHT21B2S40_MAJOR 51 /* 51 = /dev/sht21b2s40 (sht21) */
#define SHT21B3S40_MAJOR 52 /* 52 = /dev/sht21b3s40 (sht21) */
/* Minor device numbers for memory driver. */