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:
parent
48bdd70a07
commit
68be7b7d26
4 changed files with 194 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
ccflags-y +=-I$(srctree)/drivers
|
||||
|
||||
obj-$(CONFIG_SENSOR_DELAYED_WORK) += sensor.o
|
||||
|
||||
obj-$(CONFIG_MCP9808) += sensor_mcp9808.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue