sensor: Add driver for MCP9808 temperature sensor

The driver only supports simple temperature readings.  It does not
support the alarm feature.  Datasheet available at
<http://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf>.

Origin: Original
Change-Id: I283e6697fc6947975323d280f5ff0ba625fac5a9
Signed-off-by: Vlad Dogaru <vlad.dogaru@intel.com>
This commit is contained in:
Vlad Dogaru 2016-02-23 17:21:38 +02:00 committed by Anas Nashif
commit 68be7b7d26
4 changed files with 194 additions and 0 deletions

View file

@ -1,3 +1,5 @@
ccflags-y +=-I$(srctree)/drivers
obj-$(CONFIG_SENSOR_DELAYED_WORK) += sensor.o
obj-$(CONFIG_MCP9808) += sensor_mcp9808.o