lkml.org 
[lkml]   [2014]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] OMAP3 temperature sensor
Date
Hi,

I've prepared an updated variant of the omap34xx temperature monitor driver.
It's based on the N9 driver instead of the N900 driver (and thus has omap36xx
support).

The differences compared to the original driver are:

* DT based
* No includes from arch, instead uses syscon DT node + regmap
* Removed support for raw temperature reading
- I assume this was used for debugging and regmap can be used
instead with newer kernels.
* Introduction of managed resources where possible
* Usage of module_platform_driver() macro
* Added some comments referencing the TRM

So far the patchset is _compile-tested only_. I will test it on my N900 in
the next days.

-- Sebastian

Sebastian Reichel (3):
DT Binding for omap3 temperature sensor
hwmon: Driver for OMAP3 temperature sensor
ARM: dts: OMAP34xx/36xx: Add temperature sensor

.../bindings/hwmon/omap3-temperature.txt | 25 ++
arch/arm/boot/dts/omap34xx.dtsi | 7 +
arch/arm/boot/dts/omap36xx.dtsi | 7 +
drivers/hwmon/Kconfig | 8 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/omap3-temp.c | 307 +++++++++++++++++++++
6 files changed, 355 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/omap3-temperature.txt
create mode 100644 drivers/hwmon/omap3-temp.c

--
2.1.3



\
 
 \ /
  Last update: 2014-12-26 14:01    [W:2.352 / U:0.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site